-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
executable file
·49 lines (43 loc) · 1.58 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
<?php require_once($_SERVER['DOCUMENT_ROOT']."/github/Eckl/_config/bootstrap.php"); ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Ecologikal</title>
<?php if (function_exists('load_css_files')){ load_css_files($view);} ?>
<?php if (function_exists('load_js_scripts')){ load_js_scripts($view);$js_loaded=true;} ?>
</head>
<body>
<header>
<toolbar>
<account>
<?php if (is_logged_in()){?>
<div class="icon tiptip" id="account" title="My Account"></div>
<div class="icon tiptip" id="notifications" title="Notifications">
<nomessages>
18
</nomessages>
</div>
<div class="icon tiptip" id="messages" title="My Messages">
<nomessages>
12
</nomessages>
</div>
<div id="accountlist">
<ul>
<li><a href="<?=_VIEWS_URL_?>members/member_profile.php">Profile</a></li>
<li><a href="#">Settings</a></li>
<li><a href="?command=logout">Log out</a></li>
</ul>
</div>
<?php }else{
include(_ROOT_PATH_."login/login_form.php");
?>
<div id="login_btn" class="icon tiptip" title="Login"></div>
<?php }?>
</account>
<div class="icon" id="search_btn"></div>
<input id="search" type="text">
</toolbar>
<logo onClick="load_html('content', '<?php echo $array_goto["profile"][1].$array_goto["profile"][2];?>?no_page='+current_gallery_page+'&user_id=<?php echo $user_id;?>')"></logo>
</header>