Codice: |
<?php
if (eregi("block-Prova_Articoli.php", $_SERVER['PHP_SELF'])) {
Header("Location: index.php");
die();
}
global $prefix, $db;
$sql = "select title, sid FROM ".$prefix."_stories WHERE topic='7' order by sid DESC limit 0,5";
$result = $db->sql_query($sql);
while ($row = $db->sql_fetchrow($result)) {
$title = $row[title];
$sid = $row[sid];
$content .= "<strong>.:</strong> ;;<a href=\"modules.php?name=News&file=article&sid=$sid\" title=\"$title\"><font face=\"Verdana, Arial, Helvetica, sans-serif\" size=\"1\"><b>$title</b></font></a><br>";
}
?> |