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

  1. <?php
  2.  
  3. if ($index == 1) {
  4.     echo "<td> </td><td valign=\"top\" bgcolor=\"white\">";
  5.     pollNewest();
  6.     bigstory();
  7.     if (!$user) {
  8.     loginbox();
  9.     }
  10.     
  11. if($cookie[8]) {
  12.         $getblock = mysql_query("select ublock from users where uid='$cookie[0]'");
  13.         $title = "".translate("Menu for")." $cookie[1]";
  14.         list($ublock) = mysql_fetch_row($getblock);
  15.         themesidebox($title, $ublock);
  16.     }
  17.     oldNews($storynum);
  18.     rightblocks();
  19.     echo "</td>";
  20. }
  21. echo "
  22. </td></tr></table>
  23. </td></tr></table>
  24. <form action=search.php method=post>
  25. <table border=0 cellpadding=0 cellspacing=0 width=100% background=themes/Metal/steel3.jpg>
  26. <tr>
  27. <td background=themes/Metal/tbar1.gif height=17><img src=themes/Metal/tleft1.gif width=17 height=17></td>
  28. <td background=themes/Metal/tbar1.gif align=center width=99%><font size=-2> </font></td>
  29. <td><img src=themes/Metal/tright1.gif width=17 height=17 alt= ></td>
  30. </tr>
  31. <tr bgcolor=#ffffff>
  32.     <td background=themes/Metal/leftbar1.gif align=left> </td>
  33.     <td width=100% valign=top background=themes/Metal/steel3.jpg><center><font size=2><form action=search.php method=post>".translate("Search:")." <input type=text name=query></form></font></center></td>
  34. <td background=themes/Metal/rightbar1.gif> </td>
  35. </tr>
  36. <tr>
  37. <TD background=themes/Metal/bbar1.gif valign=top><IMG src=themes/Metal/bleft1.gif width=17 height=17></TD>
  38. <TD background=themes/Metal/bbar1.gif valign=top align=center> </TD>
  39. <TD background=themes/Metal/bbar1.gif valign=top><IMG src=themes/Metal/bright1.gif width=17 height=17></TD>
  40. </TR>
  41. </table>
  42. </form>
  43. ";
  44.  
  45. ?>