Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: kas turit?...
Parašė kesiukas· 2008 Lap. 21 17:11:59
#1
Gal kas galite ideti toki koda kad rodytu top ir naujausius siuntinius, bet kas jis veiktu ant pridetiniu puslapiu. Kas ides tam +10 duodu
Parašė Žmogus· 2008 Lap. 21 17:11:07
#2
Tigi modų saite yra... POD BOT
Parašė kesiukas· 2008 Lap. 21 18:11:48
#3
tai kad ten tik tokie kur pro paneles veikia, o ant pridetiniu psl neveikia.
Parašė Saul1us· 2008 Lap. 21 18:11:32
#4
Atsiusk i pm man ta paneles koda padarysiu kad veiktu ant pridėtiniu arba čia idėk:)
Parašė kesiukas· 2008 Lap. 21 18:11:53
#5
va idejau:
openside("Informacija");
echo "<div class='side-label'><b>Nauji siuntiniai</b></div>\n";
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 0,7");
if (dbrows($result) != 0) {
echo "<table width='50%' 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 5 siuntiniai</b></div>\n";
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_count DESC LIMIT 0,7");
if (dbrows($result) != 0) {
echo "<table width='50%' 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();
Parašė kesiukas· 2008 Lap. 23 18:11:22
#6
WorkMan tai idesi koda?????
Parašė sniuff· 2008 Lap. 23 18:11:58
#7
<?php
echo "<div class='side-label'><b>Nauji siuntiniai</b></div>\n";
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 0,7");
if (dbrows($result) != 0) {
echo "<table width='50%' 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']."'>".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 5 siuntiniai</b></div>\n";
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_count DESC LIMIT 0,7");
if (dbrows($result) != 0) {
echo "<table width='50%' cellpadding='0' cellspacing='0'>";
while($data = dbarray($result)) {
$itemsubject = trimlink($data['download_title'], 23);
echo "<tr>\n<td><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']."'>$itemsubject</a></td>\n
<td align='right'>".$data['download_count']."</td>\n</tr>\n";
}
echo "</table>";
} else {
echo "<center>".$locale['004']."</center>\n";
}
?>
Parašė kesiukas· 2008 Lap. 24 17:11:39
#8
Dekui Sniuff tau +10 duodu