Parašė WyPuk· 2009 Lie. 31 19:07:31
#3
<tr>
<td colspan='11'
background='".THEME."images/IMG_siunt.jpg' width='769' height='150' alt=''>
<table align='left' width='200px' cellpadding='0' cellspacing='0'>";
echo "</td><td></td><td style='padding-top: 18px; padding-left: 5px;' align='left' width='200'>";
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 0,7");
if (dbrows($result) != 0) {
echo "<table style='padding-left: 15px;' width='200' cellpadding='0' cellspacing='0'>";
while ($data = dbarray($result)) {
$itemsubject = trimlink($data['download_title'], 30);
echo "<tr>\n<td class='small'>» <a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>$itemsubject</a>
</td>
<td align='right'>".$data['download_count']."</td>
</tr>";
}
echo "</table>";
}
echo "</table>
<table align='left' width='200px' cellpadding='0' cellspacing='0'>";
echo "</td><td></td><td style='padding-top: 18px; padding-left: 40px;' align='right' width='200'>";
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_count DESC LIMIT 0,7");
if (dbrows($result) != 0) {
echo "<table width='200' cellpadding='0' cellspacing='0'>";
while($data = dbarray($result)) {
$itemsubject = trimlink($data['download_title'], 30);
echo "<tr>\n<td class='small'>» <a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>$itemsubject</a>
<td align='right'>".$data['download_count']."</td>\n</tr>\n";
}
echo "</table>";
} else {
echo "<center>".$locale['004']."</center>\n";
}
echo "</table>
<table align='left' width='20px' cellpadding='0' cellspacing='0'>";
echo "</td></tr></table></td></tr></table>";
echo "<table align='center' cellpadding='0' cellspacing='0' width='769px'>\n<tr>\n";echo"
<img src='http://mp3music.gan.lt/images/folder.png'> <a href='http://mp3music.gan.lt/downloads.php?cat_id=1'>Lietuviskos dainos</a><br>
<img src='http://mp3music.gan.lt/images/folder.png'> <a href='http://mp3music.gan.lt/downloads.php?cat_id=2'>Angliskos dainos</a><br>
<img
src='http://mp3music.gan.lt/images/folder.png'> <a href='http://mp3music.gan.lt/downloads.php?cat_id=3'>Rusiskos dainos</a><br>
<img
src='http://mp3music.gan.lt/images/folder.png'> <a href='http://mp3music.gan.lt/downloads.php?cat_id=4'>Setai</a><br>
<img
src='http://mp3music.gan.lt/images/folder.png'> <a href='http://mp3music.gan.lt/downloads.php?cat_id=5'>Club/House Dainos</a><br>
<br>";
$data = dbarray(dbquery("SELECT user_id,user_name FROM ".$db_prefix."users WHERE user_status='0' ORDER BY user_joined DESC LIMIT 0,1"));
$result = dbquery("SELECT count(download_id) FROM ".$db_prefix."downloads");
echo "° Turime dainu: [".dbresult($result, 0)."]<br>";
echo '
<form action="search.php?stype=all" method="post" name="searchform">
<input type="text" style="width: 150px;" class="textbox" value="" name="stext">
<input type="submit" class="button" value="Ieškoti" name="ieškoti">
</form>
';
}
Pabandyk