Parašė tevas· 2009 Gru. 31 19:12:29
#6
Visi siuntiniai
echo "<br><b><font size=2>
Čia yra surašyti visi siuntiniai kuriuos galit atsisiūsti iš mūsu tinklapio. Jei norite greitai surasti siuntini spauskite <u>Ctrl+F</u>.</b></font><br><br>";
$result = dbquery("SELECT count(download_id) FROM ".$db_prefix."downloads");
echo "° Turim siuntinių: [".dbresult($result, 0)."]<br>";
echo "<hr>";
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_title");
$rows = dbrows($result);
if ($rows != 0) {
$counter = 0; $columns = 1;
echo "<table cellpadding='0' cellspacing='0' width='90%'>\n<tr>\n";
while ($data = dbarray($result)) {
if ($counter != 0 && ($counter % $columns == 0)) echo "</tr>\n<tr>\n";
echo "<td align='left' valign='top' width='90%'><a href='http://remixai.xz.lt/downloads.php?d_id=".$data['download_id']."'>".$data['download_title']."</a>";
echo "</td>\n" ;
$counter++;
}
echo "</tr>\n</table>\n";
} else {
echo "<center><br>\n".$locale['430']."<br><br>\n</center>\n";
}
Pamokos žaidėjui
openside("Pamokos zaidejui");
echo "<taašd height='70'>";
$result = dbquery(
"SELECT ta.*,tac.* FROM ".$db_prefix."articles ta
INNER JOIN ".$db_prefix."article_cats tac ON ta.article_cat=tac.article_cat_id
WHERE ".groupaccess('article_cat_access')." ORDER BY article_datestamp DESC LIMIT 0,77"
);
if (dbrows($result) != 0) {
while($data = dbarray($result)) {
$itemsubject = trimlink($data['article_subject'], 20);
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."readarticle.php?article_id=".$data['article_id']."' title='".$data['article_subject']."' class='side'>$itemsubject</a><br>\n";
}
} else {
echo "<center>".$locale['004']."</center>\n";
}
echo "</td></tr></table>";
closeside();
Redagavo Karolis· 2009 Gru. 31 20:12:43