Notice

FORUM CLOSED! This forum is permanently read-only. No registration can be made. It's also not possible to write new contributions. This forum only serves as an archive.

Latest Downloads?

  • Bartlomiej
  • Bartlomiej's Avatar Topic Author
12 years 10 months ago #774 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?
More
12 years 10 months ago #778 by Gamer-Templates
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!
  • WalaPL
  • WalaPL's Avatar
12 years 8 months ago #1124 by WalaPL
bei mir zeigt es auch nur top downloads. Ich habe version 4.01.02 mein web ist
www.webzabavy.info
  • tycholoke
  • tycholoke's Avatar
12 years 8 months ago #1132 by tycholoke
dürfte ne Änderung der sc_files von nöten sein, schreib doch mal den Code der datei hier rein bitte ^^
  • WalaPL
  • WalaPL's Avatar
12 years 7 months ago #1136 by WalaPL
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++;
}
?>

Powered by Kunena Forum

Looking for something? Use search

© 2010 - 2020 by Gamer-Templates.com. All rights reserved.
All templates, psd, logos and all other materials on this site are copyrighted. To selling downloads is strictly prohibited. Pay attention to the respective licenses.
The names Joomla!, Wordpress, Drupal and all other CMS Names are used under limited licenses. We do not sell anything!
We use cookies

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience or to advertise. You can decide yourself whether you want to allow cookies or not. Please note that in the event of a rejection, not all functionalities of the site may be 100% available.