| Code: : |
| /************************************************************/ /* Function themefooter() */ /* */ /* Control the footer for your site. */ /************************************************************/ function themefooter() { echo "<br>"; if (defined('INDEX_FILE')) { echo "</td><td><img src=\"themes/GunPowder/images/pixel.gif\" width=\"15\" height=\"1\" border=\"0\" alt=\"\"></td><td valign=\"top\" width=\"155\">\n"; blocks("right"); } echo "</td><td><img src=\"themes/GunPowder/images/pixel.gif\" width=\"10\" height=\"1\" border=0 alt=\"\">\n" ."</td></tr></table>\n" ."<table width=\"99%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" align=\"center\"><tr valign=\"top\">\n" ."<td height=\"17\"> </td>\n" ."</tr></table>\n" ."<br>" ."<table width=\"97%\" cellpadding=\"0\" cellspacing=\"0\" border=\"1\" bgcolor=\"\" align=\"center\"><tr valign=\"top\">\n" ."</tr><tr align=\"center\">\n" ."<td width=\"100%\" colspan=\"3\">\n"; footmsg(); echo "</td>\n" ."</tr>\n" ."</table>\n" ."</tr></table>\n"; } /************************************************************/ |
| Code: : |
| $maxshow = 10; // Number of downloads to display in the block. $a = 1; $result = sql_query("select lid, title, hits from ".$prefix."_downloads_downloads order by date DESC limit 0,$maxshow", $dbi); while(list($lid, $title, $hits) = sql_fetch_row($result, $dbi)) { $title2 = ereg_replace("_", " ", "<b>$title</b>"); $show .= " $a: <a href=\"modules.php?name=Downloads&d_op=viewdownloaddetails&lid=$lid&title=$title\">$title2</a><br> <b><font color=\"#FFFFFF\">$hits</b><font color=\"#FFFFEE\"> times<br>"; $showdownloads = " <A name= \"scrollingCodedownloads\"></A><MARQUEE behavior= \"scroll\" align= \"center\" direction= \"up\" height=\"114\" scrollamount= \"2\" scrolldelay= \"90\" onmouseover='this.stop()' onmouseout='this.start()'><table width=\"100%\"><tr> <td></td></tr>$show</table></marquee>"; $a++; } |
| Code: : |
| $maxshow = 10; // Number of web links to display in the block. $a = 1; $result = sql_query("select lid, title, hits from ".$prefix."_links_links order by date DESC limit 0,$maxshow", $dbi); while(list($lid, $title, $hits) = sql_fetch_row($result, $dbi)) { $title2 = ereg_replace("_", " ", "<b>$title</b>"); $show2 .= " $a: <a href=\"modules.php?name=Web_Links&l_op=viewlinkdetails&lid=$lid&ttitle=$title\">$title2</a><br> <b><font color=\"#FFFFFF\">$hits</b><font color=\"#FFFFEE\"> times<br>"; $showlinks = " <A name= \"scrollingCodeweblinks\"></A><MARQUEE behavior= \"scroll\" align= \"center\" direction= \"up\" height=\"114\" scrollamount= \"2\" scrolldelay= \"90\" onmouseover='this.stop()' onmouseout='this.start()'><table width=\"100%\"><tr> <td></td></tr>$show2</table>"; $a++; } |