2012-07-23 V1.1
1.޸ҳͼƬ޷ʾӴ
2.޸ҳ ѡӾ ѡΪյ
3.ʹ˵nginx,iis,apacherewrite
4.ڵӰҳģp.html ʹ {$playname} ΪӰƽSEO
5.ڵӰҳģm.html ʹ {$gettitle} ΪӰ SEO
6.1.0滻ѾõݡֻҪ滻2ļ kkkk.phpclass/kkkk_Controller.php

վģĿ¼
template
foot.html ҳ湫õײ
head.html ҳ湫ͷ
index.html ҳģ
list.html ҳģ
m.html Ӱҳģ
p.html Ӱҳģ
search.html ҳģ

޸ģ  ޸

pic  Ŀ¼
wpic Ŀ¼
tmp  Ŀ¼
class\tempcompile Ŀ¼

4Ŀ¼뱣֤дȨ ޷

 / Ŀ¼
 18025.jpg
 22040.jpg
и,ıͼƬߴ͸ʽ 2ͼƬǶȡĿվͼƬˮӡ

гPHP5.0 CURL

پ̬Ͷ̬޸ run.php
 define('KKKK_REWRITE', false); ĳ define('KKKK_REWRITE', true);
վ͹ؼҲ޸

żǰǸ img\wdplay.js

ʾվ㣺http://www.kkdsyy.com

nginxд
location / {
         rewrite ^/index.html$ /index.php last;
         rewrite ^/pic/(.*?)$ /index.php?action=pic&pid=$1 last;
         rewrite ^/wpic/(.*?)$ /index.php?action=wpic&pid=$1 last;
         rewrite ^/m/([0-9]+)/([0-9a-z]+)/$ /index.php?action=moive&cid=$1&n=$2 last;
         rewrite ^/m/([0-9]+)/([0-9]+)_([0-9]+)_([0-9]+).html$ /index.php?action=play&cid=$1&aid=$2&p1=$3&p2=$4 last;
         rewrite ^/m/([0-9]+)/$ /index.php?action=sort&cid=$1 last;
         rewrite ^/m/([0-9]+)/index([0-9]+).html$ /index.php?action=sort&cid=$1&p=$2 last;
         rewrite ^/m/([0-9]+)/index([0-9]+)_Y_([0-9]+).html$ /index.php?action=sort&cid=$1&p=$2&yy=$3 last;
         rewrite ^/m/([0-9]+)/index([0-9]+)_T_([0-9]+).html$ /index.php?action=sort&cid=$1&p=$2&sj=$3 last;
         rewrite ^/m/([0-9]+)/index([0-9]+)_M_([0-9]+).html$ /index.php?action=sort&cid=$1&p=$2&diqu=$3 last;
         rewrite ^/m/([0-9]+)/index([0-9]+)_M_([0-9]+)_T_([0-9]+)_Y_([0-9+]).html$ /index.php?action=sort&cid=$1&p=$2&diqu=$3&sj=&4&yy=$5 last;
         rewrite ^/m/([0-9]+)/index([0-9]+)_M_([0-9]+)_T_([0-9]+).html$ /index.php?action=sort&cid=$1&p=$2&diqu=$3&sj=$4 last;
         rewrite ^/m/([0-9]+)/index([0-9]+)_M_([0-9]+)_Y_([0-9+]).html$ /index.php?action=sort&cid=$1&p=$2&diqu=$3&yy=$4 last;
         rewrite ^/m/([0-9]+)/index([0-9]+)_T_([0-9]+)_Y_([0-9+]).html$ /index.php?action=sort&cid=$1&p=$2&sj=$3&yy=$4 last;
         }

iisapacheд
RewriteRule ^(.*)/index.html$ $1/index.php [L]
RewriteRule ^(.*)/pic/(.*)$ $1/index.php?action=pic&pid=$2 [L]
RewriteRule ^(.*)/wpic/(.*)$ $1/index.php?action=wpic&pid=$2 [L]
RewriteRule ^(.*)/m/([0-9]+)/([0-9]+)_([0-9]+)_([0-9]+).html$ $1/index.php?action=play&cid=$2&aid=$3&p1=$4&p2=$5 [L]
RewriteRule ^(.*)/m/([0-9]+)/$ $1/index.php?action=sort&cid=$2 [L]
RewriteRule ^(.*)/m/([0-9]+)/([0-9a-zA-Z]+)/$ $1/index.php?action=moive&cid=$2&n=$3 [L]
RewriteRule ^(.*)/m/([0-9]+)/index([0-9]+).html$ $1/index.php?action=sort&cid=$2&p=$3 [L]
RewriteRule ^(.*)/m/([0-9]+)/index([0-9]+)_Y_([0-9]+).html$ $1/index.php?action=sort&cid=$2&p=$3&yy=$4 [L]
RewriteRule ^(.*)/m/([0-9]+)/index([0-9]+)_T_([0-9]+).html$ $1/index.php?action=sort&cid=$2&p=$3&sj=$4 [L]
RewriteRule ^(.*)/m/([0-9]+)/index([0-9]+)_M_([0-9]+).html$ $1/index.php?action=sort&cid=$2&p=$3&diqu=$4 [L]
RewriteRule ^(.*)/m/([0-9]+)/index([0-9]+)_M_([0-9]+)_T_([0-9]+)_Y_([0-9+]).html$ $1/index.php?action=sort&cid=$2&p=$3&diqu=$4&sj=&5&yy=$6 [L]
RewriteRule ^(.*)/m/([0-9]+)/index([0-9]+)_M_([0-9]+)_T_([0-9]+).html$ $1/index.php?action=sort&cid=$2&p=$3&diqu=$4&sj=$5 [L]
RewriteRule ^(.*)/m/([0-9]+)/index([0-9]+)_M_([0-9]+)_Y_([0-9+]).html$ $1/index.php?action=sort&cid=$2&p=$3&diqu=$4&yy=$5 [L]
RewriteRule ^(.*)/m/([0-9]+)/index([0-9]+)_T_([0-9]+)_Y_([0-9+]).html$ $1/index.php?action=sort&cid=$2&p=$3&sj=$4&yy=$5 [L]

άɫ͸
QQ64202200