home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #12 / Amiga Plus CD - 2002 - No. 12.iso / AmigaOS / Aplus_Dev / AP-Website / links / themes / original / navbar.top.php < prev    next >
Encoding:
PHP Script  |  2002-10-28  |  3.1 KB  |  83 lines

  1. <?
  2. // *******************************************************************
  3. //  themes/original/navbar.top.php
  4. // *******************************************************************
  5.  
  6. $html = "\r\n<!-- Start Top NavBar Table themes/original/navbar.top.php -->";
  7. $html .= "\r\n<table cellspacing=\"2\" cellpadding=\"2\" width=\"100%\" ";
  8. $html .= "border=\"0\">\r\n<tr>\r\n\t<td nowrap=\"nowrap\">\r\n\t<table ";
  9. $html .= "class=\"homebalkback\" cellspacing=\"1\" cellpadding=\"0\" ";
  10. $html .= "width=\"100%\" border=\"0\">\r\n\t<tr>\r\n\t\t<td nowrap=\"nowrap\" ";
  11. $html .= "width=\"16%\" class=\"navbaroff\" align=\"center\"><a class=\"ttd\" ";
  12. $html .= "target=\"_top\" href=\"index.php?" . session_name() . "=";
  13. $html .= session_id() . "\">Browse</a></td>";
  14.  
  15. if($show=="new"){
  16.     
  17.     $html .= "\r\n\t\t<td width=\"16%\" class=\"navbaron\" ";
  18.     $html .= "align=\"center\" nowrap=\"nowrap\">What's New</td>";
  19. } else {
  20.     
  21.     $html .= "\r\n\t\t<td width=\"16%\" class=\"navbaroff\" ";
  22.     $html .= "align=\"center\" nowrap=\"nowrap\"><a target=\"_top\" class=\"ttd\" ";
  23.     $html .= "href=\"index.php?" . session_name() . "=" . session_id();
  24.     $html .= "&show=new\">What's New</a></td>";
  25. }
  26.         
  27. if($show=="cool"){
  28.     
  29.     $html .= "\r\n\t\t<td width=\"17%\" class=\"navbaron\" ";
  30.     $html .= "align=\"center\" nowrap=\"nowrap\">What's Cool</td>";
  31. } else {
  32.     
  33.     $html .= "\r\n\t\t<td width=\"17%\" class=\"navbaroff\" ";
  34.     $html .= "align=\"center\" nowrap=\"nowrap\"><a target=\"_top\" class=\"ttd\" ";
  35.     $html .= "href=\"index.php?" . session_name() . "=" . session_id();
  36.     $html .= "&show=cool\">What's Cool</a></td>";
  37. }
  38.  
  39. if($show=="pop"){
  40.     
  41.     $html .= "\r\n\t\t<td width=\"17%\" class=\"navbaron\" ";
  42.     $html .= "align=\"center\" nowrap=\"nowrap\">What's Popular</td>";
  43. } else {
  44.     
  45.     $html .= "\r\n\t\t<td width=\"17%\" class=\"navbaroff\" ";
  46.     $html .= "align=\"center\" nowrap=\"nowrap\"><a target=\"_top\" class=\"ttd\" ";
  47.     $html .= "href=\"index.php?" . session_name() . "=" . session_id();
  48.     $html .= "&show=pop\">What's Popular</a></td>";
  49. }
  50.  
  51. if($show=="add"){
  52.     
  53.     $html .= "\r\n\t\t<td width=\"16%\" class=\"navbaron\" ";
  54.     $html .= "align=\"center\" nowrap=\"nowrap\">Add A Site</td>";
  55. } else {
  56.     
  57.     $html .= "\r\n\t\t<td width=\"16%\" class=\"navbaroff\" ";
  58.     $html .= "align=\"center\" nowrap=\"nowrap\"><a target=\"_top\" class=\"ttd\" ";
  59.     $html .= "href=\"index.php?" . session_name() . "=" . session_id();
  60.     $html .= "&show=add&PID=" . $PID . "\" ";
  61.     $html .= "target=\"_top\">Add A Site</a></td>";
  62. }
  63.  
  64. if($show=="about"){
  65.     
  66.     $html .= "\r\n\t\t<td width=\"16%\" class=\"navbaron\" ";
  67.     $html .= "align=\"center\" nowrap=\"nowrap\">About</td>";
  68. } else {
  69.     
  70.     $html .= "\r\n\t\t<td width=\"16%\" class=\"navbaroff\" ";
  71.     $html .= "align=\"center\" nowrap=\"nowrap\"><a target=\"_top\" class=\"ttd\" ";
  72.     $html .= "href=\"index.php?" . session_name() . "=" . session_id();
  73.     $html .= "&show=about\">About</a></td>";
  74. }
  75.  
  76. $html .= "\r\n\t</tr>\r\n\t</table>\r\n\t</td>\r\n</tr>\r\n</table>";
  77. $html .= "\r\n<!-- Stop Top NavBar Table -->\r\n";
  78.  
  79. echo $html;
  80. unset($html);
  81.  
  82. ?>
  83.