Parašė Zten· 2010 Vas. 24 16:02:47
#1
sveiki, galit kas padet sutvarkyt esu idejęs top uploideriai. ir man rašo taip.. kaip spaudžiu ant nicko
www.tavosaitas.lt/narys-hlapex-id208
The requested URL /narys-hlapex-id208 was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the reques
galit kas padet sutvarkyt?
čia pridedu top_uploideriai.php
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
openside("Uploaderiu TOP 15");
$result = dbquery("SELECT user_name, user_id, count(user_id) AS downloads_count FROM ".$db_prefix."downloads
INNER JOIN ".$db_prefix."users ON download_author=user_id GROUP BY user_name ORDER BY downloads_count DESC LIMIT 0,15");
echo "<br><table width='100%' cellpadding='0' cellspacing='0'>";
if(dbrows($result)!=0){
while($data=dbarray($result)){
echo "<tr><td class='small2' align='left'> <img src='/images/star.png'>
<a href='".BASEDIR."narys-".$data['user_name']."-id".$data['user_id']."' class='side'><span style='color: #FFFFF'>$data[user_name]</span></a></td>
<td class='side' align='right'><span style='color:#19a5ef'>[".$data['downloads_count']."]</span><br></td></tr>";
}
} else echo "<tr><td align='center'>Nieko nera.</td></tr>";
echo "</table><br>";
closeside();
Redagavo Zten· 2010 Vas. 24 20:02:16