| |
<?php //By AmirMoazzami [Zero-F] - PHPNuke.ir @require_once("mainfile.php"); function Lbox() { $ThemeSel = get_theme(); $ThemeSel = addslashes($ThemeSel); echo "<LINK REL=\"StyleSheet\" HREF=\"themes/$ThemeSel/style/style.css\" TYPE=\"text/css\">\n\n\n"; echo "<META HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=UTF-8\">"; global $prefix, $db; $newsnum = 200; $content .= "<table dir = 'rtl' border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">"; $result3 = $db->sql_query("SELECT sid, title FROM ".$prefix."_stories ORDER BY RAND() LIMIT $newsnum"); $i=1; while ($row3 = $db->sql_fetchrow($result3)) { $sid = intval($row3['sid']); $title = filter($row3['title'], "nohtml"); if ($i==1) { $content .= "<tr>"; } $content .= " <TD width=\"220\"><img src = \"images/con-green.gif\" border = \"0\"> <a href=\"modules.php?name=News&file=article&sid=$sid\">$title</a></td>"; if ($i==2) { $i=0; $content .= "</tr>"; }; $i++; };
$content .= "</table>"; $content .= "<center><br><a href = \"modules.php?name=News\">آرشيو لينک ها</a></center>"; return $content; } switch($req) { case "LinkView": echo @Lbox(); break; } ?>
| |
| |
|