home *** CD-ROM | disk | FTP | other *** search
/ PC World 2001 March / PCWorld_2001-03_cd.bin / KOMUNIK / progweb / progweb.exe / phpnuke / html / themes / AnalogX / header.php < prev    next >
PHP Script  |  2000-11-18  |  2KB  |  58 lines

  1. <?php
  2. include("config.php");
  3. global $admin;
  4. echo "
  5. <body onload=init() marginwidth=0 marginheight=0 topmargin=0 leftmargin=0 bgcolor=FFFFFF text=454A53 link=3E6EB6 vlink=3E6EB6 alink=3E6EB6 background=themes/AnalogX/back.gif>
  6.  
  7. <table border=0 cellpadding=0 cellspacing=0 width=800>
  8. <tr><td width=10>  </td>
  9. <td align=right width=150 valign=top>
  10.  
  11. <table border=0 cellpadding=0 cellspacing=0 width=100%>
  12. <tr><td>
  13. <br><br><br><br><br>
  14. </td></tr><tr>
  15. <td align=left valign=top>
  16. <table border=0 cellspacing=0 cellpadding=0>";
  17.  
  18. mainblock();
  19. if (isset($cookie[3])) $storynum = $cookie[3]; else $storynum = $storyhome;
  20. if ($admin) {
  21.     adminblock();
  22. }
  23. if (!$user) {
  24.     loginbox();
  25. } elseif ($cookie[8]) {
  26.     $getblock = mysql_query("select ublock from users where uid='$cookie[0]'");
  27.     $title = "".translate("Menu for")." $cookie[1]";
  28.     list($ublock) = mysql_fetch_row($getblock);
  29.     themesidebox($title, $ublock);
  30. }
  31. pollNewest();
  32. bigstory();
  33. oldNews($storynum);
  34. leftblocks();
  35. rightblocks();
  36. if ($Ephemerids==1) {
  37.         ephemblock();
  38. }
  39. headlines();
  40. searchbox();
  41. online();
  42.  
  43. echo "
  44. </table></td></tr></table></td>
  45. <td width=10>  </td>
  46. <td align=left width=640 valign=top>
  47.  
  48. <table border=0 cellpadding= 0 cellspacing=0 width=100%>
  49. <tr><td align=center valign=top>
  50.  
  51. <a href=$nuke_url><img src=themes/AnalogX/logo.gif Alt=\"".translate("Welcome to")." $sitename\" border=0></a>
  52. <font size=1 color=373B42><div align=left><br>   $slogan<br></div></font></td></tr>
  53. <tr>
  54. <td valign=top align=left>
  55. <font color=373B42 size=-1><center><br>
  56.  <br><br></center></font>
  57. ";
  58. ?>