home *** CD-ROM | disk | FTP | other *** search
/ PC World 2001 March / PCWorld_2001-03_cd.bin / KOMUNIK / progweb / progweb.exe / phpnuke / html / footer.php < prev    next >
PHP Script  |  2000-12-05  |  1KB  |  46 lines

  1. <?php
  2.  
  3. ######################################################################
  4. # PHP-NUKE: Web Portal System
  5. # ===========================
  6. #
  7. # Copyright (c) 2000 by Francisco Burzi (fburzi@ncc.org.ve)
  8. # http://phpnuke.org
  9. #
  10. # This modules is to be included in the foot of each page
  11. #
  12. # This program is free software. You can redistribute it and/or modify
  13. # it under the terms of the GNU General Public License as published by
  14. # the Free Software Foundation; either version 2 of the License.
  15. ######################################################################
  16.  
  17. function foot() {
  18.     global $index;
  19.     if (!isset($index)) {
  20.     include("config.php");
  21.     global $user, $cookie;
  22.     } else {
  23.     global $storynum, $user, $cookie, $Default_Theme, $foot1, $foot2, $foot3, $foot4;
  24.     }
  25.     if(isset($user)) {
  26.     if($cookie[9]=="") $cookie[9]=$Default_Theme;
  27.     include("themes/$cookie[9]/footer.php");
  28.     } else {
  29.     include("themes/$Default_Theme/footer.php");
  30.     }
  31.     echo "
  32.     <br><br>\n
  33.     <center><font size=1>\n
  34.     $foot1<br>\n
  35.     $foot2<br>\n
  36.     $foot3<br>\n
  37.     $foot4<br>\n
  38.     </font></center>\n
  39.     </body>\n
  40.     </html>";
  41. }
  42.  
  43. foot();
  44.  
  45. ?>
  46.