EN - Technical supportLatest file issue (sc_files)


29.11.2006, 10:53 - EUR1LEC - webSPELL newbie - 52 Posts
Hi everyone! is there anyway to get more then the 5 last files? and how can i remove so there is not that big of space between the files?

Best Regards
David \"DaLo\" Andersson

www.zapnetwork.org - Interactive design and developement

 
29.11.2006, 13:54 - warcry - Moderator - 1014 Posts
OPEN sc_files.php
SEARCH
Code:
1.
$ergebnis=safe_query(\"SELECT * FROM \".PREFIX.\"files WHERE accesslevel<=\".$accesslevel.\" ORDER BY \".$list.\" DESC LIMIT 0,5\");

EDIT \"LIMIT 0,5\" to what ever you want, e.g. \"LIMIT 0,10\" (10 last files)
SEARCH cellspacing=\"4\"
REPLACE WITH cellspacing=\"0\"

 
29.11.2006, 15:28 - EUR1LEC - webSPELL newbie - 52 Posts
Thanks! it works like the charm!

www.zapnetwork.org - Interactive design and developement