/
forum-header.php
193 lines (162 loc) · 6.23 KB
/
forum-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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
<?php
if(!defined('TSEntry') || !TSEntry) die('Not A Valid Entry Point');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en-gb">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><? echo get_lang('site_title');?></title>
<link href="<?=$fullsite?>/css/style.css" rel="stylesheet" media="all" />
<link type="text/css" href="<?=$fullsite?>/css/template.css" rel="stylesheet">
<link href="<?=$fullsite?>/themes/admintasia/css/styles/light_blue/ui.css" rel="stylesheet" title="style" media="all" />
<link rel="stylesheet" href="<?=$fullsite?>/css/ui/css/redmond/jquery-ui.custom.css" type="text/css">
<link rel="stylesheet" href="<?=$fullsite?>/css/login.css" type="text/css">
<style>
.myClass {
background-color: #88FF88;
}
</style>
<script type="text/javascript" src="<?=$fullsite?>/css/jquery-1.4.2.min.js"></script>
<!--<script type="text/javascript" src="<?=$fullsite?>/css/site.js"></script>-->
<script>
$(document).ready(
/* This is the function that will get executed after the DOM is fully loaded */
function () {
/* Next part of code handles hovering effect and submenu appearing */
$('.nav li').hover(
function () { //appearing on hover
$('ul', this).fadeIn();
},
function () { //disappearing on hover
$('ul', this).fadeOut();
}
);
}
);
</script>
<script type="text/javascript">
$(function(){
$('#button_login').click(function(){
var $leftLogin=$('#den_mo').width();//lấy chiều rộng thẻ #den_mo
var $topLogin=$('#den_mo').height();//lấy chiều cao thẻ #den_mo
var $heightLogin=$('#login').height();//lấy chiều cao thẻ #login
$('#login').css({'left':($leftLogin-300)/2,'top':($topLogin-$heightLogin-20)/2});//canh ra giữa trang web+thêm 10px len trên
$('#den_mo,#login').fadeIn();//cho hiện đèn và khung LOGIN
});
$('#login_close').click(function(){
$('#den_mo,#login').hide();//ĐÓNG đèn mờ và khung LOGIN
});
});
</script>
</head>
<body id="bd" class=" wide fs3" >
<div id="den_mo">
</div>
<div id="login">
<div id="content_login">
<div class="lft-title" style="background-color:#71baf1;"> <? echo get_lang('login_title'); ?>
</div>
<br />
<div id="login_main">
<form name="frm_login" id="frm_login" action="<?=$fullsite?>/0/0/dang-nhap.html" method="POST" >
<div align="center">
<table>
<tr>
<td><? echo get_lang('login_text_email'); ?></td>
<td><input type="text" style="width:130px;" id="email" name="email" value=""></td>
</tr>
<tr>
<td><? echo get_lang('login_text_password'); ?></td>
<td><input type="password" style="width:130px;" id="password" name="password" value=""></td>
</tr>
<tr>
<td colspan="2">
<input style="text-align:center" type="submit" name="btnlogin" value="<? echo get_lang('login_text_btn_login'); ?>"/>
</td>
</tr>
<tr>
<td>
<span style=""><? echo get_lang('login_text_register_here'); ?> <a href="<?=$fullsite?>/0/0/dang-ky-thanh-vien.html"><? echo get_lang('login_text_register_here_here'); ?></a></span>
</td>
</tr>
</table>
</div>
</form>
</div>
<div style="text-align:center;"><input id="login_close" type="submit" value="<? echo get_lang('login_text_close'); ?>"/></div>
</div><!--end#content_login-->
</div><!--end#login-->
<div id="ja-wrapper">
<!-- BEGIN: CPANEL -->
<div id="ja-cpanel">
<div id="ja-search">
<div id="jflanguageselection">
<div class="rawimages">
<?if($_SESSION[_PLATFORM_]['is_login'] && is_array($_SESSION[_PLATFORM_]['USER_INFO'])){?>
<span>
<span style="color:#FFF;"><? echo get_lang('hello'); ?></span> <b><a title="Thông tin thành viên" href="<?=$fullsite?>/0/0/thong-tin-thanh-vien.html"><?php echo $_SESSION[_PLATFORM_]['USER_INFO']['full_name']?></a></b>
<a title="<? echo get_lang('logout_link'); ?>" href="<?=$fullsite?>/0/0/dang-xuat.html">[<? echo get_lang('logout_link'); ?>]</a>
</span>
<?
}else{?>
<span>
<a id="button_login">
<?echo get_lang('login_title')?>
</a>
<span style="color:#FFF;"><? echo get_lang('login_text_register_here'); ?> <a href="<?=$fullsite?>/0/0/dang-ky-thanh-vien.html"><? echo get_lang('login_text_register_here_here'); ?></a></span>
</span>
<?
}
?>
<span>
<a href="?language=vi">
<img src="<?=$fullsite?>/images/vi.gif" alt="Viet Nam" title="Viet Nam"/>
</a>
</span>
<span id="active_language">
<a href="?language=en">
<img src="<?=$fullsite?>/images/en.gif" alt="English (United Kingdom)" title="English (United Kingdom)" />
</a>
</span>
</div>
</div>
<!-- © 2003-2009 Think Network, released under the GPL. -->
<!-- More information: at http://www.joomfish.net -->
</div>
<div id="ja-pathway">
<strong></strong>
</div>
</div>
<!-- END: CPANEL -->
<!-- BEGIN: HEADER -->
<div id="ja-header" class="clearfix">
<h1 class="logo">
<a href="<?=$fullsite?>" title="Hội Phẫu Thuật Thần Kinh Việt Nam"><span>Hội Phẫu Thuật Thần Kinh Việt Nam</span></a>
</h1>
<!-- BEGIN: MAIN NAVIGATION -->
<div id="flash">
<img src="<?=$fullsite?>/images/banneren.jpg" alt="" /><br />
</div>
<div id="ja-mainnavwrap">
<div class="navigation" id="ja-mainnav">
<div id="ja-mainnav" class="navigation">
<ul class="nav">
<li><a style="cursor:pointer" href="<? echo forum_path ;?>" id="" title="" data-actor=""><span><? echo get_lang('text_home_forum') ;?></span></a>
</li>
</ul>
<ul class="nav">
<li><a style="cursor:pointer" href="<? echo forum_path ;?>/-1/0/dang-bai.html" id="" title="" data-actor=""><span><? echo get_lang('text_post_forum') ;?></span></a>
</li>
</ul>
</div>
<?
$page_menu = forum_menu(-1,0,'nav');
echo $page_menu;
?>
</div>
</div>
<!-- END: MAIN NAVIGATION -->
</div>
<!-- END: HEADER -->