Davex
Weezy Tanks.. Pls give me your exat filelist for java games.. That will display click to make money online and all items that is there
Weezy
Davex Copy below, replace the folder path!
<!--parser:xtscript-->
# GET CURRENT VALUES OR SET DEFAULTS #
get_or_default srtby;updated
get_or_default srtdir;desc
get_or_default prpg;10
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="text-align:center;background-color:#C0C0C0;border:1px solid #3b5998;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:1px solid #ffffff;border-radius:2px;background:#3b5998;color:#ffffff;padding:0 1px !important;margin: 1px !important;font-size:.75em;text-decoration:none !important
# SHOW SEARCH FILTER#
print {{
<img src="/i/i5/fs.png" alt="" /><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"><b>Updated</b></a> . <a style="$style;$cst2" href="?srtby=name&srtdir=$srtdir&fltr=$fltr&prpg=$prpg&__filelist_page=$__filelist_page" title="Name"><b>Name</b></a> . <a style="$style;$cst3" href="?srtby=size&srtdir=$srtdir&fltr=$fltr&prpg=$prpg&__filelist_page=$__filelist_page" title="Size"><b>Size</b></a> . <a style="$style;$cst4" href="?srtby=type&srtdir=$srtdir&fltr=$fltr&prpg=$prpg&__filelist_page=$__filelist_page" title="type"><b>Type</b></a>
}}
# SHOW SORT DIRECTION #
print {{
<br/><a style="$style;$csd1" href="?srtby=$srtby&srtdir=asc&fltr=$fltr&prpg=$prpg&__filelist_page=$__filelist_page" title="Ascending"><b>Ascending</b></a> . <a style="$style;$csd2" href="?srtby=$srtby&srtdir=desc&fltr=$fltr&prpg=$prpg&__filelist_page=$__filelist_page" title="Descending"><b>Descending</b></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>
<div align="center" class="full"><a href="/App/games/search_games?srch=$fltr&fldr=App%2Fgames%2F128x128&typ=name&dir=$srtdir&per_page=$prpg"><b>Advanced Search Engine</b></a></div>
}}
/* THE XT:FILELIST FUNCTION */
/* Set your own folder and template */
print <xt:filelist sort_type="$srtby" sort_dir="$srtdir" folder="/uploads" template="<table width='100%'><tr><td width='25%' class='DIV_CLASS' align='center'><img src='http://iMAGE_PREVIEW_LINK.png' width='100%' height='100%'></td><td width='75%' align='left' class='DIV_CLASS'><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.'><b style='color:red'>Download Now!</b></a></td></tr></table>" filter="$fltr*" per_page="$prpg" />
<!--/parser:xtscript-->
Copy code
Davex
Weezy I dnt understand the code, pls teach me what i should edit in d code
Weezy
Davex Edit only the folder path in the XT:FILELIST FUNCTION section in the code!
Davex
Weezy Okay ,,tanks
i want to create a random ad scrips. Pls help
Davex
Weezy Okay ,,tanks
i want to create a random ad scrips. Pls give me the code u are using
Weezy
Davex Am not using any random ad script on my site!
Davex
Weezy Give me the random image code in your other pages
Weezy
Davex Copy below, replace the logo urls
/* http://weezywap.xtgem.com */
var quotes=new Array()
quotes[0]='<center><div align="center" style="background:url(http://weezywap.xtgem.com/Pic/Weezywap1.jpg) no-repeat top left; width:190px;"><div style="background:url(http://greentooth.xtgem.com/ranban/xt3.png) no-repeat bottom right; padding-top:54px;"></div></div></center>'
quotes[1]='<center><div align="center" style="margin:2px; background:url(http://weezywap.xtgem.com/Pic/Weezywap2.jpg) no-repeat top left; padding-bottom:5; width:190px;"><div style="background:url(http://greentooth.xtgem.com/ranban/xt4.png) no-repeat bottom right; padding-top:49px;"></div></div></center>'
quotes[2]='<center><div align="center" style="margin:2px; background:url(http://weezywap.xtgem.com/Pic/Weezywap3.jpg) no-repeat top left; width:190px;"><div style="background:url(http://greentooth.xtgem.com/ranban/xt7.png) no-repeat bottom right; padding-top:54px;"></div></div></center>'
quotes[3]='<center><div align="center" style="margin:2px; background:url(http://weezywap.xtgem.com/Pic/Weezywap6.jpg) no-repeat top left; width:190px;"><div style="background:url(http://greentooth.xtgem.com/ranban/xt5.png) no-repeat bottom right; padding-top:59px;"></div></div></center>'
quotes[4]='<center><div align="center" style="margin:2px; background:url(http://weezywap.xtgem.com/Pic/Weezywap5.jpg) no-repeat top left; width:216px;"><div style="background:url(http://greentooth.xtgem.com/ranban/xt8.png) no-repeat bottom right; padding-top:49px;"></div></div></center>'
quotes[5]='<center><div align="center" style="margin:2px; background:url(http://weezywap.xtgem.com/Pic/Weezywap6.jpg) no-repeat top left; width:216px;"><div style="background:url(http://greentooth.xtgem.com/ranban/xt2.png) no-repeat bottom right; padding-top:54px;"></div></div></center>'
quotes[6]='<center><div align="center" style="margin:2px; background:url(http://weezywap.xtgem.com/Pic/Weezywap8.jpg) no-repeat top left; padding-bottom:8; width:190px;"><div style="background:url(http://greentooth.xtgem.com/ranban/xt9.png) no-repeat bottom right; padding-top:44px;"></div></div></center>'
quotes[7]='<center><div align="center" style="margin:2px; background:url(http://weezywap.xtgem.com/Pic/Weezywap9.jpg) no-repeat top left; width:194px;"><div style="background:url(http://greentooth.xtgem.com/ranban/xt10.png) no-repeat bottom right; padding-top:54px;"></div></div></center>'
quotes[8]='<center><div align="center" style="margin:2px; background:url(http://weezywap.xtgem.com/Pic/Weezywap6.jpg) no-repeat top left; width:216px;"><div style="background:url(http://greentooth.xtgem.com/ranban/xt6.png) no-repeat bottom right; padding-top:54px;"></div></div></center>'
quotes[9]='<center><div align="center" style="margin:2px; background:url(http://weezywap.xtgem.com/Pic/Weezywap1.jpg) no-repeat top left; width:194px;"><div style="background:url(http://greentooth.xtgem.com/ranban/xt1.png) no-repeat bottom right; padding-top:49px;"></div></div></center>'
var whichquote=Math.floor(Math.random()*(quotes.length))
document.write(quotes[whichquote])
Copy code
Davex
Weezy The randon images display half