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

  1. <?php
  2. global $admin; 
  3. echo "
  4. <body onload=init() bgcolor=FFFFFF text=000000 link=101070 vlink=101070>
  5. <center>
  6. <table cellpadding=0 cellspacing=0 border=0 width=99% align=center><tr><td align=left>
  7. <a href=$nuke_url><img src=themes/SlashOcean/logo.gif Alt=\"".translate("Welcome to")." $sitename\" border=0></a>
  8. </td><td align=right width=100%>
  9.     <form action=search.php method=post>
  10.     <font size=2><input type=text name=query width=20 size=20 length=20>
  11.     </td>
  12.     <td align=right>  <input type=image src=$uimages/search.gif border=0 align=middle></td>
  13.     </form>";
  14. if ($admin) {
  15.     $res=mysql_query("select * from queue");
  16.     $num = mysql_num_rows($res);
  17.     echo "</td></tr><tr><td><font size=1>".translate("New Submissions: ")."$num";
  18.     echo "</td></tr></table><br>";
  19. } else {
  20.     echo "</td></tr></table><br>";
  21. }
  22. echo "
  23. <table cellpadding=0 cellspacing=0 border=0 width=99% bgcolor=101070><tr><td>
  24. <table cellpadding=5 cellspacing=1 border=0 width=100% bgcolor=FFFFFF><tr><td>
  25. <font size=2>$slogan</td></tr></table></td></tr></table><P>
  26. <table width=99% align=center cellpadding=0 cellspacing=0 border=0><tr><td valign=top rowspan=15>";
  27.  
  28. mainblock();
  29. if ($admin) {
  30.     adminblock();
  31. }
  32. leftblocks();
  33. if ($Ephemerids==1) {
  34.     ephemblock();
  35. }
  36. headlines();
  37. online();
  38. echo "</td><td>  </td><td valign=top width=100%>";
  39.  
  40. ?>