Parašė _Tomas· 2007 Rugp. 27 23:08:30
#7
ozzWANTED parašė:
Tu naudok pradžioje kodo:
<?php
o gale:
?>
Ir viskas veiks. Nes, kaip matau, greičiausiai nenaudoji...
Ziurek ka man meta.
Parse error: syntax error, unexpected '<' in /home/savgir/cs-orbita.xz.lt/administration/panel_editor.php(111) : eval()'d code on line 1
Naudojau ant sito Scripto
<?php
openside("Naujausi siuntiniai");
$result = dbquery(
"SELECT td.*,tdc.* FROM ".$db_prefix."downloads td
INNER JOIN ".$db_prefix."download_cats tdc ON td.download_cat=tdc.download_cat_id
WHERE ".groupaccess('download_cat_access')." ORDER BY download_datestamp DESC LIMIT 0,10"
);
if (dbrows($result) != 0) {
while($data = dbarray($result)) {
$itemsubject = trimlink($data['download_title'], 23);
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>$itemsubject</a><br>\n";
}
} else {
echo "<center>".$locale['004']."</center>\n";
}
closeside();
?>
Redagavo _Tomas· 2007 Rugp. 27 23:08:49