Ring ring
KENHXEM.WAP.SH
13:39:4627/11/2024
Tải wap_hanhkk jar | jad
share file list game có dấu cho xtgem
Đây là code filelist wapgame xtgem chưa nâng cấp,filelist có dấu.cấu trúc gồm 2 file:
index
view
và 4 thư mục:
name/
desc/
jar/
img/
game sẽ được up theo id.
Ví dụ: game với id là 1 thì ta sẽ up như sau:
name/1.txt đây là tên game
desc/1.txt giới thiệu về game
img/1/ hình minh họa,ko giới hạn số lượng và định dạng
jar/1/chứa các phiên bản jar hay khác của game


Đây là file index


    <meta http-equiv="Content-Type" content="application/vnd.wap.xhtml xml; charset=utf-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1">
<xt:code>
  <!--parser:xtscript-->
  get theme
  assign $themeurl=/theme/$theme/style.css
  assign $check=call source $file=$themeurl;$html_safe=0;$nl2br=1;$space2nbsp=0
  if not $theme or not $check
  assign $theme=default
  endif
print <link rel="stylesheet" href="/theme/$theme/style.css" type="text/css" />
  <!--/parser:xtscript--> </xt:code>
    <title>XtGem.com</title>
</head>
<body>
    <div data-xtcontainer="container" class="xt_container">
    </div>
<xt:code>
<!--parser:xtscript-->
assign $dir=/name/
assign $list=<xt:filelist  sort_type="updated" sort_dir="desc" per_page="10" folder="$dir" template="&lt;div class=&quot;list2&quot;&gt; &lt;a href=&quot;.file_url.&quot;&gt;&lt;b&gt;&bull;~start~.file_name_parsed.~end~&lt;/a&gt;&lt;/b&gt; &lt;/div&gt;" filter=""/>
assign $html=$list
@start
if not $text
assign $text=$list
endif
assign $end=call strrpos $haystack=$text;$needle=~end~; $offset=0
assign $start=call strrpos $haystack=$text;$needle=~start~; $offset=0
assign $startt=($start 7)
assign $length=0
assign $replace = call substr $val=$html;$start=$startt;$length=$length
assign $text = call substr $val=$text;$start=0;$length=$start
assign $file=/name/$replace
assign $rep=call source $file=$file;$html_safe=0;$nl2br=0;$space2nbsp=0
assign $need=~start~$replace~end~
assign $html = call str_replace $subject=$html; $search=$need;$replace=$rep
if $start > 20
goto @start
endif
assign $html = call str_replace $subject=$html; $search=$dir;$replace=/view?article=
assign $html = call str_replace $subject=$html; $search=.txt;$replace=&page=1
assign $html = call str_replace $subject=$html; $search=>...</a>;$replace=></a>
assign $html = call str_replace $subject=$html; $search=<span>;$replace=<span class="currentpage">
print <div class="maintxt">
print $html
print </div>
print <div class="footer">Load:
call execution_time
print </div>
<!--/parser:xtscript-->
</xt:code>


Đây là file view

    <meta http-equiv="Content-Type" content="application/vnd.wap.xhtml xml; charset=utf-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1" />
<xt:code>
  <!--parser:xtscript-->
  get theme
  assign $themeurl=/theme/$theme/style.css
  assign $check=call source $file=$themeurl;$html_safe=0;$nl2br=1;$space2nbsp=0
  if not $theme or not $check
  assign $theme=default
  endif
print <link rel="stylesheet" href="/theme/$theme/style.css" type="text/css" />
get page
if not $page or $page==0
assign $page=1
endif
get article
if not $article or $article==0
assign $article=1
endif
assign $textl=name/$article.txt
assign $title=call source $file=$textl;$html_safe=0;$nl2br=1;$space2nbsp=0
assign $output = call strip_tags $val=$title;$allowable_tags=
print <title>$output</title>
<!--/parser:xtscript-->
</xt:code>
</head>
<body>
    <div data-xtcontainer="container" class="xt_container">
    </div>
<xt:code>
<!--parser:xtscript-->
get page
if not $page or $page==0
assign $page=1
endif
get article
if not $article or $article==0
assign $article=1
endif
assign $nameurl=name/$article.txt
assign $descurl=desc/$article.txt
assign $dirjar=jar/$article/
assign $dirimg=img/$article/

assign $img=<xt:filelist  sort_type="updated" sort_dir="desc" per_page="10" folder="$dirimg" template="&lt;img src=&quot;.file_url.&quot; width=&quot;80%&quot;&gt;&lt;br /&gt;" filter=""/>
assign $jar=<xt:filelist  sort_type="updated" sort_dir="desc" per_page="10" folder="$dirjar" template="&lt;div class=&quot;gmenu&quot;&gt;&lt;b&gt;»  &lt;a href=&quot;.file_url.&quot; &gt;.file_name.&lt;/a&gt;(.file_size.)&lt;/b&gt;&lt;/div&gt;" filter=""/>

assign $name=call source $file=$nameurl;$html_safe=0;$nl2br=1;$space2nbsp=0
assign $name = call strip_tags $val=$name;$allowable_tags=

assign $text=call source $file=$descurl;$html_safe=1;$nl2br=1;$space2nbsp=0
assign $bstart =
assign $bend =

assign $imgstart =₪ Tập tin đính kèm :
₪ Xem thêm
Filelist truyện có dấu - phân trang Xtgem
Full Code tự động get title blog Xtgem
₪ Trang chủ » view
Trang Chủ
Gử­i cho bạn bè
FacebookTwitter
Link: [SMS]
ads : Thế giới của mobile
ads : Liên hệ admin » Like