NAijaloyal
I know na. I want to use d code in my wapka site @
http://examprove.tk
Weezy
NAijaloyal then request for the code in any thread under wapka coding help category @
http://weezywap.xtgem.com/forum/index/__xt/wapka-coding-help/board-oon8wg4ki2cqrt9e1ac9wv8eo4sq2kyzb9m1.html or create a new thread there if u dnt have an old thread inside that category!
NAijaloyal
Weezy Weezy hw do i enlarge my filelist image preview size... I am using dat of zealwap.cf bt d preview image is very small n cant be seen well hw do i make it large like dat of eaglenet
Weezy
NAijaloyal paste the filelist with the image preview code here let me teach u how to resize an image using code!
NAijaloyal
Weezy Weezy dis is d filelist... And also teach me aw i can resize the preview image. And also make it to be randomising files.
<!--parser:xtscript-->
function paging_template
endfunction
<!--/parser:xtscript-->
<!--parser:xtscript-->
<div class="zxfourborder">
var $path=/FOLDER
var $xtuser=naijaloyal
var $key=129331
get file_name
var $template=<hr class='name' style='border: 1px dotted blue;'/><div class='full' style='background:url&#40;/B/Bg/download.png&#41;'><a class='product-link' href='http://wap4dollar.com/ad/nonadult/serve.php?id=uogeb4ju6j'><table cellspacing='0px'><tr align='right'><td align='middle'><br/><img src='/thumb/.file_name..png' alt='**' class='ico' width='27px' height='30px' /></td><td align='left'><div class=''><a href='http://wap4dollar.com/ad/nonadult/serve.php?id=uogeb4ju6j'><b>NAME:</b><font style='color:black'> .file_name_parsed. </font></a><br/><b>SIZE:</b><font style='color:black'> .file_size. </font><br/><b>HITS:</b><font style='color:black'> <xt:widget id="xt.c.a.t." tool="Counter" type="display1" key="$key" xtuser= "$xtuser" call=".file_name."/></font></div></td><td align='right'><div class=''><br/><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=/thumb/.file_name..png&fold=$path'><b align'right' class='zxfourborder' style='background: #483d8b; color: #fff;'>Download</b></a></td></tr></table></a></div></hr>
var $template=call htmlspecialchars $val=$template
var $list =<xt:filelist sort_type="updated" sort_dir="desc" folder="$path" template="$template" per_page="5" filter="*.*"/>
print $list
print <a href="?__filelist_page=$__filelist_page"/></a>
endif
</div>
<!--/parser:xtscript--> <div align="right"><a href="/music"><div
class="name"><font style="bold"><font color="white"><b>
[More ]</b></font></font></a></div></div></div>
Copy code
Weezy
NAijaloyal check well in the filelist code image preview section ..u will see the values assigned to the height and width of the image preview ..like in the above code u wl see
width="27px" height="30px" ..increase the values to increase the size of the image ..and u cant randomise files with such advanced filelist!
NAijaloyal
Weezy Pls weezy in dat facebook css, whick one has "name" as a div class is it facebook css1 or 2 drop d css for me
NAijaloyal
Weezy Bros drop any code or script dat
can detect curent url bt it self e.g in wapka dat
code dat will be added like dis
HOME>MUSIC>COMEDY widout me putting the url
Weezy
NAijaloyal Copy the path to page code below
<!--parser:xtscript-->
/* INITIALIZE VARS */
var $path= <xt:url type="path" />/
var $offset=0
var $len=call strlen $val=$path
var $button_class= xt_button xt_text small
var $button_style= padding:0 1px !important;margin:01px !important
/* HOME LINK*/
print <a href="/"><span class="$button_class" style="$button_style">home</span></a>
/* MAIN LOOP START*/
@loop
var $strt = call strpos $haystack=$path;$needle=/;$offset=$offset
var $end= call strpos $haystack=$path;$needle=/;$offset=($strt+1)
var $link=call substr $val=$path;$start=0;$length=$end
var $linktext=call substr $val=$path;$start=($strt+1);$length=($end-$strt-1)
/* EXIT IF INDEX FILE */
if $linktext == index
goto @end
endif
/* LINKS */
print <span class="$button_class" style="$button_style">»</span><a href="$link"><span class="$button_class" style="$button_style">$linktext</span></a>
/* MAIN LOOP END */
var $offset=($strt+1)
if $end < ($len-1)
goto @loop
endif
/* END */
@end
<!--/parser:xtscript-->
Copy code