Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Muzikos panele, kodel jinai neveikia...

Parašė Lietuvos_pilietis· 2008 Geg. 1 14:05:25
#1

Muzikos panele, kodel jinai neveikia... ar tai joje reik redaguoti ir nurodyti ka rodyti jai?


echo "<table width='100%'>
<tr>
<td width='33%'>";
openside("Muzika");
echo "<div class='side-label'><b></b></div>\n";
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 1,00");
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'], 40)."</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 100 muzika");
echo "<div class='side-label'><b></b></div>\n";
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_count DESC LIMIT 1,00");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while($data = dbarray($result)) {
$itemsubject = trimlink($data['download_title'], 40);
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>";
?>



Redagavo Lietuvos_pilietis· 2008 Geg. 1 14:05:52

Parašė bad_user· 2008 Geg. 1 14:05:52
#2

Taigi ji rodo siuntinius. O kur tu dedi muziką?

Parašė Lietuvos_pilietis· 2008 Geg. 1 14:05:05
#3

na tai siuntiniuose sudejes kaip nuorodas turetu rodyti o va nerodo... kur problema?

Parašė bad_user· 2008 Geg. 1 14:05:07
#4

Naudoji papastą downloads.php?

Parašė Lietuvos_pilietis· 2008 Geg. 1 14:05:23
#5

o kokie buna dar?:?