1 |
dpavlin |
1.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://www.ncc.org.ve/php-nuke.php |
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, $storynum, $user, $cookie; |
19 |
|
|
if(isset($user)) { |
20 |
|
|
if($cookie[9]=="") $cookie[9]="Default"; |
21 |
|
|
include("themes/$cookie[9]/footer.php"); |
22 |
|
|
} else { |
23 |
|
|
include("themes/Default/footer.php"); |
24 |
|
|
} |
25 |
|
|
|
26 |
|
|
include("config.php"); |
27 |
|
|
echo " |
28 |
|
|
<font face=Arial,Helvetica size=1><center> |
29 |
|
|
$foot1<br> |
30 |
|
|
$foot2<br> |
31 |
|
|
$foot3<br> |
32 |
|
|
$foot4<br> |
33 |
|
|
</body> |
34 |
|
|
</html> |
35 |
|
|
"; |
36 |
|
|
|
37 |
|
|
} |
38 |
|
|
|
39 |
|
|
foot(); |
40 |
|
|
|
41 |
|
|
?> |