Parašė oswaldux· 2009 Vas. 9 13:02:05
#1
Sveiki, turiu cs web'a ir turiu viena problemele sone pas mane rodo Siuntiniu skilti ir pamokas serveriu kurejams taigi as noreciau kad rodytu ir pamokas zaidejams is straipsniu kaip man padaryti? Va toki naudoju pamokas kurejams
openside("Serveriu kurejmas");
echo "<img src='/images/pamokos.png'><table><td 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='/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 oswaldux· 2009 Vas. 9 15:02:57
Parašė namo· 2009 Vas. 9 14:02:14
#2
Pirma smailus isjunk, gal tada padesim :P:[