-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
executable file
·66 lines (41 loc) · 1.69 KB
/
header.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?php session_start();
define( 'ABSPATH', dirname(__FILE__) .'/' );
include_once (ABSPATH . "addlogic.php");
//print_r($_SESSION);
// query db to find base folder url
$db->query ="SELECT * FROM ".RSSDATA.".siteinfo";
//echo $db->query;
$resultsetf = mysql_query($db->query) or die(mysql_error());
if (mysql_num_rows($resultsetf) > 0 ) {
while ($row = mysql_fetch_object($resultsetf)) {
$siteinfo[$row->type] = $row->siteinfo;
}
}
$basefolderurl = $siteinfo[baseurl];
$abspath = $siteinfo[absolpath];
define( 'LLFOLDER', $basefolderurl );
publicme ();
// sets display and user context for the page
mecontexttt ();
pageheader();
?>
<body>
<div id="container"> <!--is closed in footer.php-->
<div id="header">
<div id="topTitle">
<!--For Logo and Title Text-->
<a href="<?php makeurl('index.php') ?>?mags=1"><img src="<?php makeurl('display/images/lifestylelinking.png') ?>" title="lifestylelinking" alt="lifestylelinking" class="logo" /></a>
<!--Need way to reference this definitions text for styling-->
<a href="<?php makeurl('definitions/index.php?letid=S') ?>">A to Z index</a>
</div><!-- end #topTitle -->
<div id="topNav">
<!--Site Functions Navigation-->
<ul>
<li><a href="<?php makeurl('index.php') ?>">Home</a> </li>
<!-- <li><a href="<?php makeurl('') ?>" id="current">Sign-in/openID</a></li> -->
<!-- <li><a href="<?php makeurl('register.php') ?>" >Register</a> </li> -->
<li><a href="<?php makeurl('help.php') ?>">Help</a></li>
</ul>
<h2 class="clear">Welcome to lifestylelinking</h2>
</div><!-- end #topNav -->
</div><!-- end #header -->