XtGem Forum catalog
Bẫy Rồng - Sự trỗi dậy của loài Rồng Bẫy Rồng - Sự trỗi dậy của loài Rồng
Công nghệ đồ họa tuyệt đỉnh, phong cách Anime độc đáo
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
Kỳ Tiên Kỳ Tiên
Game nhập vai với hệ thống bang phái gồm 4 chủng tộc cùng 8 đại môn phái. Có hệ thống nhiệm vụ phong phú: hệ thống cánh, thách chiến, hệ thống đặc kĩ,... kết hợp với hệ thống PK và xử lý thất bại. Kỳ Tiên là game mobile đầu tiên có hệ thống trùng sinh.
Load: 0.000069s
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í !