80s toys - Atari. I still have
Hoàng Đế Online Hoàng Đế Online
Trải nghiệm những phút đam mê chiến đấu vì sự nghiệp thống nhất quốc gia vĩ đại cùng “Vua của game di động”
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
Chiến Thần Online Chiến Thần Online
Game hạng nặng, đồ họa khủng. Đánh quái, làm nhiêm vụ, cày level.
Load: 0.000126s
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í !