• Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership from 10$ a month today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Share phân trang mỗi topic ở trang chủ wapka

Admin

Well-Known Member
Staff member
Administrator
Demo ở trang chủ nhé.

Bọc quanh ::last_site:: của TIF Exloader như sau:
[TEXT]<span name="last">::last_site::</span>[/TEXT]

Post code sau ở dưới Exloader
[TEXT]<script language="javascript"> var msg=document.getElementsByName("last"); for(var i=0;i<msg.length;i++){ var oldtext=document.getElementsByName("last").innerHTML; var newtext=oldtext.replace(/(^|[\n ])([\w]+?:\/\/[^ ,\"\n\r\t<]*)/ig,"$1$2"); so=newtext.replace(/\<a href=\"(.+?)&n=(.+?)\">(.+?)<\/a>/ig,'$2'); so1=so*1+1; so2=newtext.replace(/\<a href=\"(.+?)&n=(.+?)\">(.+?)<\/a>/ig,'<a href="$1&n=$2" class="trang">'+so1+'</a>'); newtext=newtext.replace(/\<a href=\"(.+?)&n=1\">(.+?)<\/a>/ig,'<a href="$1&n=1" class="trang">2</a>'); newtext=newtext.replace(/\<a href=\"(.+?)&n=2\">(.+?)<\/a>/ig,'<a href="$1&n=1" class="trang">2</a> <a href="$1&n=2" class="trang">3</a>'); newtext=newtext.replace(/\<a href=\"(.+?)&n=3\">(.+?)<\/a>/ig,'<a href="$1&n=1" class="trang">2</a> <a href="$1&n=2" class="trang">3</a> <a href="$1&n=3" class="trang">4</a>'); newtext=newtext.replace(/\<a href=\"(.+?)&n=4\">(.+?)<\/a>/ig,'<a href="$1&n=1" class="trang">2</a> <a href="$1&n=2" class="trang">3</a> <a href="$1&n=3" class="trang">4</a>...'+so2+''); newtext=newtext.replace(/\<a href=\"(.+?)&n=5\">(.+?)<\/a>/ig,'<a href="$1&n=1" class="trang">2</a> <a href="$1&n=2" class="trang">3</a> <a href="$1&n=3" class="trang">4</a>...'+so2+''); newtext=newtext.replace(/\<a href=\"(.+?)&n=6\">(.+?)<\/a>/ig,'<a href="$1&n=1" class="trang">2</a> <a href="$1&n=2" class="trang">3</a> <a href="$1&n=3" class="trang">4</a>...'+so2+''); newtext=newtext.replace(/\<a href=\"(.+?)&n=7\">(.+?)<\/a>/ig,'<a href="$1&n=1" class="trang">2</a> <a href="$1&n=2" class="trang">3</a> <a href="$1&n=3" class="trang">4</a>...'+so2+''); newtext=newtext.replace(/\<a href=\"(.+?)&n=8\">(.+?)<\/a>/ig,'<a href="$1&n=1" class="trang">2</a> <a href="$1&n=2" class="trang">3</a> <a href="$1&n=3" class="trang">4</a>...'+so2+''); newtext=newtext.replace(/\<a href=\"(.+?)&n=9\">(.+?)<\/a>/ig,'<a href="$1&n=1" class="trang">2</a> <a href="$1&n=2" class="trang">3</a> <a href="$1&n=3" class="trang">4</a>...'+so2+''); newtext=newtext.replace(/\<a href=\"(.+?)&n=10\">(.+?)<\/a>/ig,'<a href="$1&n=1" class="trang">2</a> <a href="$1&n=2" class="trang">3</a> <a href="$1&n=3" class="trang">4</a>...'+so2+''); document.getElementsByName("last").innerHTML=newtext; }</script>[/TEXT]

Đây là tạm thời thôi. Phân trang tối đa 10 pape. 100 bài viết.

Nguồn: IZZIWAP
 

Facebook Comments

New posts New threads New resources

Back
Top