home *** CD-ROM | disk | FTP | other *** search
- <?php
-
- ######################################################################
- # PHP-NUKE: Web Portal System
- # ===========================
- #
- # Copyright (c) 2000 by Francisco Burzi (fburzi@ncc.org.ve)
- # http://phpnuke.org
- #
- # This modules is to be included in the foot of each page
- #
- # This program is free software. You can redistribute it and/or modify
- # it under the terms of the GNU General Public License as published by
- # the Free Software Foundation; either version 2 of the License.
- ######################################################################
-
- function foot() {
- global $index;
- if (!isset($index)) {
- include("config.php");
- global $user, $cookie;
- } else {
- global $storynum, $user, $cookie, $Default_Theme, $foot1, $foot2, $foot3, $foot4;
- }
- if(isset($user)) {
- if($cookie[9]=="") $cookie[9]=$Default_Theme;
- include("themes/$cookie[9]/footer.php");
- } else {
- include("themes/$Default_Theme/footer.php");
- }
- echo "
- <br><br>\n
- <center><font size=1>\n
- $foot1<br>\n
- $foot2<br>\n
- $foot3<br>\n
- $foot4<br>\n
- </font></center>\n
- </body>\n
- </html>";
- }
-
- foot();
-
- ?>
-