nice1, that wht i wnt 2 hear frm u
i wnt my file list 2 be having dfrnt preview image
Hmm stil confused nw wat wil i nam d file screenshot folda ? Nd dix d code
<div class="full"><br /><div class="name">»File Screenshot </div></div><br /><div class="zxfourborder" align="center"><a href="{_$href|codedbase}"><img src="{_$img|http://strikecoded.xtgem.com/admin/no_screenshot.png}" style="width:100px;height:100px;" alt="{_$name|codedbase}" /></a></div></div>
Copy code nd help me edit dix code like urx
<div class="zxfourborder"><b style=color: #3b5995">download {_$name|} From codedbase.xtgem.com, {_$name|} Has Been Fully Tested Proved To Be Virus [?] 100% Free And Most Especially Compatible And Good For <xt:browser/> And It Has Many Features With A Standard Quality, So Download, Install , Listen , Watch And Play The Software/File. Should Any Problem Occur Or Bug In Downloading Or Using This File, Hesitate Not In Contacting Us!For It To Be Solved Or Removed Immediately...</b></div>
Copy code adin dat dnt hesitat nt in contactin us.
Now Read Slowly To Understand, if u wnt ur files to have there own preview image without havin 1 default image..
Firstly, lets take u wnt all ur music to have there own artist pic/image...
Upload the music files after uploadin them... Lets assume u upload a music file name GOBE.mp3 and u wnt the GOBE.mp3 to hav davido picture as preview, Nw after u must hav uploaded The Music File Named GOBE.mp3 u create another folda fr the music Icon/Preview Image name it eg music_preview_images inside the above folda u upload the GOBE.mp3 preview image after u must have uploaded it successfully, then rename the GOBE.mp3 image to the same exact name of its file eg the file is GOBE.mp3 then the image with be renamed GOBE.mp3.png Y DID I ADD .png AT THE END?
Nw, Y i added .png at the end is becous in every image law its format is .jpg, .png, .gif etc nt .mp3, .jar, .jap etc so inorder fr the image to show u must add .png @ the end of the of the music file image..
After these processes inorder to say job well-done u wil need an edited filelist fr it to work prefectly, so paste ur music / software filelist fr editing....
Fr The image preview code there is nothin wrong in it, Lastly the hestitate has been added!
THATS ALL!
Now Read Slowly To Understand, if u wnt ur files to have there own preview image without havin 1 default image..
Firstly, lets take u wnt all ur music to have there own artist pic/image...
Upload the music files after uploadin them... Lets assume u upload a music file name GOBE.mp3 and u wnt the GOBE.mp3 to hav davido picture as preview, Nw after u must hav uploaded The Music File Named GOBE.mp3 u create another folda fr the music Icon/Preview Image name it eg music_preview_images inside the above folda u upload the GOBE.mp3 preview image after u must have uploaded it successfully, then rename the GOBE.mp3 image to the same exact name of its file eg the file is GOBE.mp3 then the image with be renamed GOBE.mp3.png Y DID I ADD .png AT THE END?
Nw, Y i added .png at the end is becous in every image law its format is .jpg, .png, .gif etc nt .mp3, .jar, .jap etc so inorder fr the image to show u must add .png @ the end of the of the music file image..
After these processes inorder to say job well-done u wil need an edited filelist fr it to work prefectly, so paste ur music / software filelist fr editing....
Fr The image preview code there is nothin wrong in it, Lastly the hestitate has been added!
THATS ALL!
Nd bro dis is d filelist dat i want it 2 hav dis file screenshoter below
<center><!--parser:xtscript-->
# GET CURRENT VALUES OR SET DEFAULTS #
get_or_default srtby;updated
get_or_default srtdir;asc
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="display:inline-block;text-align:center;background-color:#aab;border:1px solid #fff;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:#3b5998;color:#fff;padding:0 1px !important;margin: 2px !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 */
<xt:filelist sort_type="$srtby" sort_dir="$srtdir" folder="/APPLICATIONS/modding" template="<table width='100%'><tr><td width='25%' class='zxfourborder' align='center'><img src='http://codedbase.xtgem.com/site/zip.png' width='50px' height='50px' /></td><td width='75%' align='left' class='zxfourborder'><img src='http://strikecoded.xtgem.com/admin/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.&img=/site/zip.png'><b style='color:red'>Download Now!</b></a></td></tr></table>" filter="$fltr*" per_page="$prpg" /><br/><b style=color:black;->Jump To Page:</b><form action="<xt:url type="path" />" method="get"><input type="text" style="width:15px" name="__filelist_page"><input
type="submit" value="jump"></form></center>
}}
<!--/parser:xtscript-->
Copy code Done! PASTE AND CHECK IT..
(Edited by 2016-05-01 07:39 STRIKELORD )
Yea, its becous u didnt order the related files code usin variable.