|
19.09.2005, 23:14
Я в php не разбираюсь…
Как мне вставит эта с права с текстам в блок.?
PHP код:
global $prefix, $multilingual, $currentlang, $db; if ($multilingual == 1) { $querylang = "WHERE (alanguage='$currentlang' OR alanguage='')"; } else { $querylang = ""; } $content = "<img src=\"images/topics/Logo.gif\" />"; $content = "<table width=\"100%\" border=\"0\">"; $result = $db->sql_query("SELECT sid, title, comments, counter FROM " . $prefix . "_stories WHERE topic='9' ORDER BY sid DESC LIMIT 0,5"); while ($row = $db->sql_fetchrow($result)) { $sid = intval($row['sid']); $title = stripslashes($row['title']); $comtotal = stripslashes($row['comments']); $counter = $row['counter']; $content .= "<tr><td align=\"left\"><strong><big>·</big></strong> <a href=\"modules.php?name=News&file=article&sid=$sid\">$title</a></td><td align=\"right\">[ $comtotal "._COMMENTS." - $counter "._READS." ]</td></tr>"; } $content .= "</table>"; $content .= "<br><center>[ <a href=\"modules.php?name=News\">"._MORENEWS."</a> ]</center>";
|
|