Old school Swatch Watches
Tru Thần Tru Thần
Game mở ra một thế giới Tiên Hiệp đầy huyền ảo với Thần – Người – Ma, cùng với những tính năng vô cùng đặc sắc, độc đáo. Mang lại cho game thủ những trải nghiệm thú vị.
wap tai game mien phi, game cho dien thoai, game android, game iphone, game java, game mien phi, tai game dien thoai mien phi
Home | Online | Offline | Ứng dụng | Android | Phim 3GP | Truyện | Wapmaster | Upload | Admin
Share module hỗ trợ SEO JohnCMS - 1| JohnCMS code | movigame.wap.sh
Trang chủ > Wapmaster club > JohnCMS code > Share module hỗ trợ SEO JohnCMS

Share module hỗ trợ SEO JohnCMS

Xem:

Share module hỗ trợ SEO JohnCMS

Modules Seo

Mô tả: tối ưu hoá thẻ keywords & description

By Krite

- Mở forum/index.php Tìm

[c">$textl = mb_strlen ( $res [ 'text' ">) > 30 ? $hdr . '...' : $hdr ;

Thêm bên dưới

[c">if( $res [ 'type' ">== 't' ) {

$id_post = mysql_result ( mysql_query ( "SELECT MIN(`id`) FROM`forum` WHERE `type`= 'm' AND `refid`=' $id ';" ), 0 );

$q = mysql_fetch_assoc ( mysql_query ( "SELECT `text` FROM `forum` WHERE `id`= '" . $id_post . "' LIMIT 1;" ));

functions :: create_keywords ( $q [ 'text' ">, ', ' , 20 );

}

- Mở incfiles/classes/functions.php

thêm function bên dưới[c">public static function create_keywords ( $story , $separator = ', ' , $keyword_count = 20 ) {

global $set ;



$fastquotes = array ( "\x22" , "\x60" , " " , "

" , "\r" , '"' , "\" , '\r' , '

' , "-" , "{" , "}" , "[" , "">" );

$story1 = str_replace ( $fastquotes , " " , $story );

$story2 = preg_replace 0;

$story = preg_replace ";



$story3 = str_replace ( $fastquotes , '' , trim ( strip_tags ( str_replace ( '

' , ' ' , stripslashes ( $story1 ) ) ) ) );



$story3 = preg_replace ";





$set [ 'meta_desc' "> = mb_substr -8;



$arr = explode ( " " , $story );



foreach ( $arr as $word ) {

if-8 > 4 ) $newarr ["> = $word ;

}
$arr = array_count_values ( $newarr );

arsort ( $arr );



$arr = array_keys ( $arr );



$total = count ( $arr );



$offset = 0 ;



$arr = array_slice ( $arr , $offset , $keyword_count );



$set [ 'meta_key' "> = implode ( $separator , $arr );

}
Tags: JohnCMS, code, Share, module, hỗ, trợ, SEO, JohnCMS, Wapmaster, club
Game hay tuyển chọn
Thiên Địa Quyết Thiên Địa Quyết
GMO đa nền tảng có đồ họa bắt mắt và hơn 200 nhiệm vụ khiến bạn không thể rời mắt
Load: 0.001128s
U-ON
Nhấn vào đây để đi tiếp..>>
C-STAT

Trình duyệt web cực nhanh cho di động miễn phí !