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

  1. <?php
  2. global $admin;
  3.  
  4. echo "<body onload=init() bgcolor=\"#FFC53A\" text=\"#000000\" link=\"#035D8A\" vlink=\"#035D8A\">\n";
  5. echo "<center>\n";
  6. echo "<table border=0 width=100% cellpadding=3 cellspacing=0><tr><td>\n";
  7. echo "<a href=$nuke_url><img src=themes/Sunset/logo.gif Alt=\"".translate("Welcome to")." $sitename\" border=0></a>\n";
  8. if ($admin) {
  9.     $result = mysql_query("select qid from queue");
  10.     $num = mysql_num_rows($result);
  11.     echo "<br>".translate("New Submissions: ")."$num\n";
  12. }
  13. echo "</td><td align=right>\n";
  14. echo "<form action=search.php method=post><font size=2 color=000000>\n";
  15. echo "".translate("Search")."\n";
  16. echo "<input type=text name=query>\n";
  17. echo "</form>\n";
  18. echo "</td></tr></table>\n";
  19. echo "<br><br>\n";
  20. echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td valign=top width=140>\n";
  21.  
  22. mainblock();
  23. if ($admin) {
  24.     adminblock();
  25. }
  26. leftblocks();
  27. if ($Ephemerids) {
  28.     ephemblock();
  29. }
  30. headlines();
  31. online();
  32.  
  33. echo "</td><td> </td><td valign=top width=100%>";
  34.  
  35. ?>