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

Parašė d0mce· 2009 Gru. 20 12:12:44
#12

Pakeičiau pagal manjack ir jau rašo taip
   
Table 'd0mce_aaaa.DB_COMMENTS' doesn't existTable 'd0mce_aaaa.DB_COMMENTS' doesn't existTable 'd0mce_aaaa.DB_COMMENTS' doesn't existTable 'd0mce_aaaa.DB_COMMENTS' doesn't existTable 'd0mce_aaaa.DB_COMMENTS' doesn't existTable 'd0mce_aaaa.DB_COMMENTS' doesn't exist
Wallpapers in different genres Pack 136    Komentarai:       Atsiusta:    0
last_seen_users_panel    Komentarai:       Atsiusta:    0
Nokia Themos    Komentarai:       Atsiusta:    0
Comic life    Komentarai:       Atsiusta:    1
Sexy Girls Wallpapers Pack    Komentarai:       Atsiusta:    0
Table 'd0mce_aaaa.fusion_DB_DOWNLOADS' doesn't existTable 'd0mce_aaaa.fusion_DB_DOWNLOADS' doesn't existMusu siuntinius palaiko Failai! Table 'd0mce_aaaa.fusion_DB_DOWNLOADS' doesn't existTable 'd0mce_aaaa.fusion_DB_DOWNLOADS' doesn't existAtsisiusta: []




Na žodžiu aš nelabai čia gaudaus, gal galite jūs pakeisti, štai visas kodas:
echo "<table width='100%'>
<tr>
<td width='33%'>";
openside("Naujausia muzika");
echo "

<div class='side-label'><b></b></div>\n";
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 20");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while ($data = dbarray($result)) {
echo "<tr>
<td class='small'>
<img src='http://wiskas.lt/images/rs.png'>
<a href='".BASEDIR."downloads.php?d_id=".$data['download_id']."' title='".$data['download_title']."'
class='side'>".trimlink($data['download_title'], 75)."</a>

</td>
<td align='right'><img src='http://wiskas.lt/images/bullet.gif'<a> Komentarai:</td>
<td align='right'>".dbcount("(comment_id)", "comments", "comment_type='D' AND comment_item_id='".$data['download_id']."'")."</td>

<td align='right'><img src='http://wiskas.lt/images/bullet.gif'<a> Atsiusta:</td>
<td align='right'>".$data['download_count']."</td>
</tr>";
}
echo "</table>";
} else {
echo "<div style='text-align:center'>".$locale['004']."</div>\n";
}

$result = dbquery("SELECT count(download_id) FROM ".$db_prefix."downloads");
echo "<MARQUEE direction='left'>Musu grojarašti palaiko <b>".dbresult($result, 0)."</b> dainos!</MARQUEE>\n";

$result = dbquery("SELECT SUM(download_count) FROM ".$db_prefix."downloads");
echo "<MARQUEE direction='right'>Atsisiusta: [".dbresult($result, 0)."]</MARQUEE> ";
closeside();
echo "</tr>
</table>";




Ačiū.

Redagavo d0mce· 2009 Gru. 20 12:12:16