For Templates News & Updates follow us on Facebook

Community Forum

Welcome to our Gamer Templates Forum

Latest Downloads?

11 years 6 months ago #774 by Bartlomiej
Latest Downloads? was created by Bartlomiej
Ich suche ne anzeige die die Letzten 5 Downloads anzeigt und nicht wie die orginale sc_files.php die meisten downloads!

gibt es da was?

Please Log in or Create an account to join the conversation.

11 years 6 months ago #778 by Gamer-Templates
Replied by Gamer-Templates on topic Latest Downloads?
Dies
<? include("sc_files.php"); ?>
sollte eigentlich die letzten Downloads anzeigen.

Welche webSPELL Version nutzt du? 3Link zu deiner Seite bitte ;)

No support via e-mail!

Please Log in or Create an account to join the conversation.

11 years 4 months ago #1124 by WalaPL
Replied by WalaPL on topic Latest Downloads?
bei mir zeigt es auch nur top downloads. Ich habe version 4.01.02 mein web ist
www.webzabavy.info

Please Log in or Create an account to join the conversation.

11 years 4 months ago #1132 by tycholoke
Replied by tycholoke on topic Latest Downloads?
dürfte ne Änderung der sc_files von nöten sein, schreib doch mal den Code der datei hier rein bitte ^^

Please Log in or Create an account to join the conversation.

11 years 4 months ago #1136 by WalaPL
Replied by WalaPL on topic Latest Downloads?
Allso mein ist:

<?php
/*
########################################################################
# #
# Version 4 / / / #
#


__---/__---__
__----__---/---/- #
# | /| / /___) / ) (_ ` / ) /___) / / #
# _|/_|/__(___ _(___/_(__)___/___/_(___ _/___/___ #
# Free Content / Management System #
# / #
# #
# #
# Copyright 2005-2006 by webspell.org #
# #
# visit webSPELL.org, webspell.info to get webSPELL for free #
# - Script runs under the GNU GENERAL PUBLIC LICENSE #
# - It's NOT allowed to remove this copyright-tag #
# -- www.fsf.org/licensing/licenses/gpl.html #
# #
# Code based on WebSPELL Clanpackage (Michael Gruber - webspell.at), #
# Far Development by Development Team - webspell.org #
# #
# visit webspell.org #
# #
########################################################################
*/

//Options:
$list = 1; //1=top 5 downloads , 2=latest 5 downloads

//dont edit above this line

if($list==1) $list="downloads"; else $list="date";

$accesslevel = 1;
if(isclanmember($userID)) $accesslevel = 2;

$ergebnis=safe_query("SELECT * FROM ".PREFIX."files WHERE accesslevel<=".$accesslevel." ORDER BY ".$list." DESC LIMIT 0,5");
$n=1;
while($ds=mysql_fetch_array($ergebnis)) {
$fileID = $ds[fileID];
$count = $ds[downloads];
$filename = $ds[filename];
$number = $n;

echo'<table width="100%" cellspacing="4" cellpadding="0">';
eval ("\$sc_files = \"".gettemplate("sc_files")."\";");
echo $sc_files;
echo'</table>';

$n++;
}
?>

Please Log in or Create an account to join the conversation.