/[nuke]/html/header.php
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /html/header.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (show annotations) (vendor branch)
Fri Sep 22 07:22:13 2000 UTC (23 years, 7 months ago) by dpavlin
Branch: dbp, MAIN
CVS Tags: r3_6, HEAD
Changes since 1.1: +0 -0 lines
import of version 3.6

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 head for 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 include("config.php");
18 dbconnect();
19 if ($banners) {
20 echo "<html>";
21 include("banners.php");
22 } else {
23 echo "<html>";
24 }
25
26 function head($titletag="", $titlebar="") {
27 // header() is reserved by php3 for HTTP/1.0 headers
28 global $siteaddr, $user, $hr, $theme, $cookie;
29 global $bgcolor1, $bgcolor2, $bgcolor3, $textcolor1, $textcolor2;
30 if(isset($user)) {
31 $user2 = base64_decode($user);
32 $cookie = explode(":", $user2);
33 if($cookie[9]=="") $cookie[9]="Default";
34 if(isset($theme)) $cookie[9]=$theme;
35 // extra logic to override previous with $theme override var
36 include("themes/$cookie[9]/header.php");
37 include("themes/$cookie[9]/theme.php");
38 } else {
39 include("themes/Default/header.php");
40 include("themes/Default/theme.php");
41 }
42 }
43
44 head($titletag, $titlebar);
45 include("counter.php");
46
47 ?>

  ViewVC Help
Powered by ViewVC 1.1.26