Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: top 30

Parašė ovvvis· 2008 Kov. 1 12:03:20
#1

Gal kas galite padeti? man reikia top, naujiausiu mp3 30 skripto. :(

Parašė lilas· 2008 Kov. 1 12:03:04
#2

O kur tu mp3 laikai? Kaip siuntinius?

Parašė ovvvis· 2008 Kov. 1 13:03:55
#3

jo :)

Parašė Giedrunskis· 2008 Kov. 1 14:03:25
#4

Sekmes naudojant ;)

openside("Naujausi 30 mp3");
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 30");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while ($data = dbarray($result)) {
echo "<tr>
<td class='small'>
<img src='".THEME."images/bullet.gif'>
<a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>".trimlink($data['download_title'], 23)."</a>
</td>
<td align='right'>".$data['download_count']."</td>
</tr>";
}
echo "</table>";
} else {
echo "<div style='text-align:center'>".$locale['004']."</div>\n";
}
echo "";
closeside();



Parašė bad_user· 2008 Kov. 1 14:03:13
#5

openside("Siuntiniai");
echo "<div class='side-label'><b>Nauji 30 MP3</b></div>\n";
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 0,30");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while ($data = dbarray($result)) {
echo "<tr>
<td class='small'>
<img src='".THEME."images/bullet.gif'>
<a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>".trimlink($data['download_title'], 23)."</a>
</td>
<td align='right'>".$data['download_count']."</td>
</tr>";
}
echo "</table>";
} else {
echo "<div style='text-align:center'>".$locale['004']."</div>\n";
}
echo "<br>";
echo "<div class='side-label'><b>Top 30 MP3</b></div>\n";
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_count DESC LIMIT 0,30");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while($data = dbarray($result)) {
$itemsubject = trimlink($data['download_title'], 23);
echo "<tr>\n<td class='small'><img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>$itemsubject</a></td>\n
<td align='right'>".$data['download_count']."</td>\n</tr>\n";
}
echo "</table>";
} else {
echo "<center>".$locale['004']."</center>\n";
}

closeside();

Redagavo bad_user· 2008 Kov. 1 14:03:37

Parašė ovvvis· 2008 Kov. 1 15:03:34
#6

labai aciu;) tik dar vienas dalykas, gal gaite padaryt kad rodytu 2 stulpeliais? kad vienas sale kito butu, o ne vienas po kito :) labai aciu :D

Parašė Giedrunskis· 2008 Kov. 1 15:03:31
#7

echo "<table width='100%'>
<tr>
<td width='33%'>";
openside("Naujausi 30 mp3");
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 30");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while ($data = dbarray($result)) {
echo "<tr>
<td class='small'>
<img src='".THEME."images/bullet.gif'>
<a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>".trimlink($data['download_title'], 23)."</a>
</td>
<td align='right'>".$data['download_count']."</td>
</tr>";
}
echo "</table>";
} else {
echo "<div style='text-align:center'>".$locale['004']."</div>\n";
}
echo "";
closeside();
echo "</td>
<td width='33%'>";
openside("Top 30 mp3");
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_count DESC LIMIT 30");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while($data = dbarray($result)) {
$itemsubject = trimlink($data['download_title'], 23);
echo "<tr>\n<td class='small'><img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>$itemsubject</a></td>\n
<td align='right'>".$data['download_count']."</td>\n</tr>\n";
}
echo "</table>";
} else {
echo "<center>".$locale['004']."</center>\n";
}
closeside();
echo "</tr>
</table>";



Parašė ovvvis· 2008 Kov. 1 15:03:38
#8

dekoju tau labai c|;)

Parašė Giedrunskis· 2008 Kov. 1 15:03:21
#9

I sveikata tau :DB)

Parašė bad_user· 2008 Kov. 1 15:03:01
#10

<br> nemokėjai nusiimti? xDDD:o