Old school Swatch Watches
ADS By Strikecoded:
Smash Your 2018/19 Jamb, Waec, Neco With CAMPUSBASE Visit Now..
Best Java, Android Games, Apps
No1. Naija Awarded Download Portal For Both Mobile And Pc Users..
Home
|
Blog
|
Search
|
Uploads
Forum
Services
Menu↓
Main Menu
Games
Apps
Chat(
1
)
Tools
Themes
Handlers
Webmasters
Musics
Videos
2go
Guestbook
Facebook
Close↑
Menu↓
Games
Apps
Themes
Musics
Videos
2go
FB
«Close
Home
Forum
Blog
Xtgem Guide
Css Tutorials
Wapka Guide
Php Scripts
Filelist Generator
Css Collections
Chat
(
1
)
Main Menu
STRIKECODED Members Forum
Join Us
·
Signup
Forum
General
Off-Topic / General Disscussions
Script Confirmed
Login To Reply
·
From End
STRIKELORD
2016-12-06 04:08
Filelist
<!--parser:xtscript-->
# GET CURRENT VALUES OR SET DEFAULTS #
get_or_default srtby;name
get_or_default srtdir;asc
get_or_default prpg;5
get_or_default fltr;
get_or_default __filelist_page;1
/* MARK CURRENT SORT TYPE */
var $cst = color:#0f0 !important
if $srtby==updated
var $cst1=$cst
elseif $srtby==name
var $cst2=$cst
elseif $srtby==size
var $cst3=$cst
elseif $srtby==type
var $cst4=$cst
endif
/* MARK CURRENT SORT DIRECTION */
if $srtdir==asc
var $csd1=$cst
elseif $srtdir==desc
var $csd2=$cst
endif
/* SET CURRENT PER PAGE */
var $sel = selected="selected" class="selected"
if $prpg==3
var $pp1=$sel
elseif $prpg==5
var $pp2=$sel
elseif $prpg==10
var $pp3=$sel
elseif $prpg==20
var $pp4=$sel
elseif $prpg==50
var $pp5=$sel
elseif $prpg <=1
var $pp6=$sel
endif
# SET OUTER HOLDERS AND FORM HIDDEN FIELDS #
print {{
<div style="text-align:center">
<div style="display:inline-block;text-align:center;background-color:#aab;border:1px solid #000;border-radius:3px;padding:2px;margin:0 auto">
<form action=" " method="get">
<input style="display:inline" type="hidden" name="srtby" value="$srtby" />
<input style="display:inline" type="hidden" name="srtdir" value="$srtdir" />
<input style="display:inline" type="hidden" name="__filelist_page" value="$__filelist_page" />
}}
# SET THE COMMON STYLES #
var $style=border:none;border-radius:2px;background:#555;color:#ffd;padding:0 1px !important;margin: 1px !important;font-size:.75em;text-decoration:none !important
# SHOW SEARCH FILTER#
print {{
<input style="$style;width:5em" type="search" name="fltr" value="$fltr" /><input style="$style" type="submit" value="Search" />
<br />
}}
# SHOW SORT TYPE #
print {{
<a style="$style;$cst1" href="?srtby=updated&srtdir=$srtdir&fltr=$fltr&prpg=$prpg&__filelist_page=$__filelist_page" title="Updated">Updated</a><a style="$style;$cst2" href="?srtby=name&srtdir=$srtdir&fltr=$fltr&prpg=$prpg&__filelist_page=$__filelist_page" title="Name">Name</a><a style="$style;$cst3" href="?srtby=size&srtdir=$srtdir&fltr=$fltr&prpg=$prpg&__filelist_page=$__filelist_page" title="Size">Size</a><a style="$style;$cst4" href="?srtby=type&srtdir=$srtdir&fltr=$fltr&prpg=$prpg&__filelist_page=$__filelist_page" title="type">Type</a>
}}
# SHOW SORT DIRECTION #
print {{
<a style="$style;$csd1" href="?srtby=$srtby&srtdir=asc&fltr=$fltr&prpg=$prpg&__filelist_page=$__filelist_page" title="Ascending">Ascending</a><a style="$style;$csd2" href="?srtby=$srtby&srtdir=desc&fltr=$fltr&prpg=$prpg&__filelist_page=$__filelist_page" title="Descending">Descending</a>
<br />
}}
# SHOW PER PAGE #
print {{
<select style="$style;" name="prpg">
<option $pp1>3</option>
<option $pp2>5</option>
<option $pp3>10</option>
<option $pp4>20</option>
<option $pp5>50</option>
<option $pp6 value=" ">all</option>
</select><input style="$style" type="submit" value="per page" />
}}
# CLOSE FORM AND HOLDERS #
print {{
</form>
</div>
</div>
/* THE XT:FILELIST FUNCTION */
/* Set your own folder and template */
print <xt:filelist sort_type="$srtby" sort_dir="$srtdir" folder="/2go_files" template="<table width='100%'><tr><td width='25%' class='zxfourborder' align='left'><img src='http://strikecoded.xtgem.com/sub/javagame.png' width='100%' height='100%'></td><td width='75%' align='left' class='zxfourborder'><img src='http://weezywap.xtgem.com/images/rating.gif'/><br/><b>Name: </b><b style='color:blue'>.file_name_parsed.</b><br/><b>File Size: </b><b style='color:green'>.file_size.</b><br/><b>• </b><a href='/download?file=.file_name.&name=.file_name_parsed.&category=.file_mime.&size=.file_size.&href=.file_url.&date=.file_date.&time=.file_time.&fold=games/game11'><b style='color:red'>Download Game!</b></a></td></tr></table>" filter="$fltr*" per_page="$prpg" />
}}
<!--/parser:xtscript-->
Copy code
Paging Script
<!--parser:xtscript-->
# Paging function
function paging_template $url;$page;$active_page;$total_pages;
# Only one page so exit
if $total_pages == 1
return
endif
# Paging container
if $page == 1
print
endif
# Previous button
if ($page+1) == $active_page
print <div class="mido" style="background:url"><table align="center" width=100%"><tr><td width="34%" align="left"><a class="prev" href="$url"><b>« Previous</b></a></td>
endif
# jump box
if ($page-1) == $active_page
print <span class="mido"><td width="33%" align="center"><b>Jump to Chapter:</b><br/><form action="<xt:url type="path" /><input type="text" width: 2px; height:2px;" name="__filelist_page" value=""><input type="submit" value="jump"></form></td>
endif
print <div class="custom_paging">
# Next button
if ($page-1) == $active_page
print <td width="33%" align="right"><a class="next" href="$url"><b>Next »</b></a></td></tr></table></div>
endif
# Last page button
if $page == $total_pages
print </div></span>
endif
endfunction
<!--/parser:xtscript-->
Copy code
EXTERNAL CSS
·
rated(0)
search
Forum
General
Off-Topic / General Disscussions
Script Confirmed
Online Members
2 Guests
Twig by :
LORDMIDO™
Promote
Advertise
Terms
Credits
Contact
Partners
Policy
F.A.Q
Theme Created By:
LORDMIDO
Powered By:
STRIKECODED. INC
Copyright © 2015 -
All Rights Reserved.
Page Details
Page Statistics
Data
Loads
Online
1
Today's Hits
260
Total Today's Hits
361
Total Hits This Week
1204
Total Page Hits
630398
Total Forum Members
190
Close Page Information
Go Back
•
Promote
•
Forum
•
Services
•
Members
•
About us
•
Terms of use
•
Advertise
•
News room
•
Contact us
•
Feedback
FOLLOW US ON
OFFICIAL BOARD
Credits
•
Admin
•
FAQ
•
Our Privacy
•
Site Rules
Email subscription
Enter your email address:
Copyright © 2015 -
STRIKECODED TECH.
All Rights Reserved.
Go To Top
Log in
1
260
361
1204
630398
190
View Page Datas
Page Statistics
Data
Loads
Online
1
Today's Hits
260
Total Today's Hits
361
Total Hits This Week
1204
Total Page Hits
630398
Total Forum Members
190
Close Page Information
Go Back
•
Promote
•
Forum
•
Services
•
Members
•
About us
•
Terms of use
•
Advertise
•
News update
•
Contact us
•
Feedback
FOLLOW US ON
Back to the Top
Copyright © .
Theme by STRIKECODED TECH.
Desktop View