Parašė Mantas..· 2009 Vas. 23 17:02:06
#1
Sveiki,man reikejo pagalbos su theme.php failu.Imetu i theme.php faila siuntinius,kad rodytu ant headerio o tie siuntiniai yra virs saito kame problemos?
Va foto:
http://www.myup.ir/files/n3v1nw2...qy912m.jpg
Va theme.php failo siuntiniu kodas:
echo"<td width='40%'>";
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 0,5");
if (dbrows($result) != 0) {
echo "<table width='100%'>";
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 "</td><td width='60%' style='padding-left:80px;' >";
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_count DESC LIMIT 0,5");
if (dbrows($result) != 0) {
echo "<table width='100%'>";
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 "</tr>
</table>";
echo "</td></tr>
<tr></tr>
<tr><td height=31></td></tr>
</table>
";
Padekit labai laukiu atsakymo ;)
Parašė Ginciuss· 2009 Vas. 23 17:02:03
#2
Tai pasiimk temą free. Nereiks knistis ant siuntinių, nes jau yra nemokamų temų su siuntiniais, susiredaguosi kaip tau reik ir viskas.
Parašė Mantas..· 2009 Vas. 23 18:02:03
#3
As pats theme pagal save kuriu...Ir negaliu tu siuntniu uzdeti ;(