Bản này lúc trướt Diễn Đàn mình sài nhưng giờ thì xóa nó đi rồi
Bạn chèn tất cả CODE này vào cuối Index Body nhé:
Bạn chèn tất cả CODE này vào cuối Index Body nhé:
- Code:
<!-- BEGIN switch_user_logged_out --><script> function hideLoginBoard(){document.getElementById('loginboard').style.display = 'none'; }</script><!--
Start Login Board --></p><div id="loginboard" style="z-index: 1000; filter: alpha(opacity=70); position: absolute; top: 50px; opacity: 0.70">
<table align="center" border="0" cellpadding="0" cellspacing="0" style="padding-top: 0px; border-collapse: collapse" width="350">
<tbody>
<tr>
<td align="middle" valign="center" width="100%">
<table align="center" bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="350">
<tbody>
<tr>
<td align="middle" colspan="2" valign="center" width="100%">
<!--
End Welcome --> <fieldset class="fieldset">
<fieldset class="fieldset">
<table align="center" bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="350">
<tbody>
<tr>
<td align="middle" colspan="2" valign="center" width="100%">
<p>
<font face="Verdana" size="2"><span style="font-size: 12px"><strong><font face="Verdana">Chào mừng bạn ghé thăm diễn đàn StartNew</font></strong></span><a href="#Close" onclick="hideLoginBoard(); return false"><b>»[X]«</b></a></font></p>
</td>
</tr>
<!--
Site Life Status --> </tbody>
<tbody>
<tr>
<td align="middle" bgcolor="black" class="tfoot" colspan="2">
<font color="white"><b>Diễn Đàn StartNew</b></font></td>
</tr>
</tbody>
<!--
/ Site Life Status --> </table>
</fieldset>
<!--
End Welcome --> <br />
<!--
Login if you're Member --> <fieldset class="fieldset">
<legend align="center"><a href="#top" onclick="return toggle_collapse("><font face="Verdana" size="2">:::»+ Mời bạn đăng nhập tại đây+«:::</font></a></legend>
<form action="/login.forum" method="post" name="form_login">
<table border="0" cellpadding="0" cellspacing="0" class="user_login_form forumline" width="100%">
<tbody>
<tr>
<td align="middle" class="row1" valign="top" width="100%">
<span style="font-size: 12px"><strong>Tên Truy Cập:</strong></span><input class="post" name="username" size="10" type="text" /><strong><span class="genmed"><span style="font-size: 12px"><strong><font face="Verdana"><span class="genmed"><strong>Mật khẩu:</strong></span></font></strong></span></span></strong><input class="post" name="password" size="10" type="password" /><br />
<br />
<input class="mainoption" name="login" type="submit" value="Đăng Nhập" /><br />
<strong><span class="gensmall">Đăng nhập tự động mỗi khi truy cập</span></strong> <input checked="checked" class="radio" name="&" type="checkbox" /></td>
</tr>
</tbody>
</table>
</form>
</fieldset>
<!--
End Login if you're Member --> </fieldset>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
<script>
var curx=350;
var cury=0;
</script><script>
var curx=350;
var cury=0;
</script><script>
var ie45,ns6,ns4,dom;
if (navigator.appName=="Windows Internet Explorer") ie45=parseInt(navigator.appVersion)>=4;
else if (navigator.appName=="Netscape"){ ns6=parseInt(navigator.appVersion)>=5; ns4=parseInt(navigator.appVersion)<5;}
dom=ie45 || ns6;
var timershow=false;
var win_w=window.innerWidth ? window.innerWidth : document.body.offsetWidth;
var mid_w=win_w/2;
var timershow1=window.setInterval("stayMiddle()",1);
function getobj(id) {
el = document.all ? document.all[id] : dom ? document.getElementById(id) : document.layers[id];
return el;
}
function moveobj(obj,x,y) {
obj.style.left=x + "px";
obj.style.top=y+ "px";
curx=x;
cury=y;
}
function stayMiddle() {
if (document.documentElement && document.documentElement.scrollTop)
var pY = document.documentElement.scrollTop;
else if (document.body)
var pY = document.body.scrollTop;
obj = getobj('loginboard');
newy = cury+((pY-cury)/16)+5;
moveobj(obj,curx,newy);
}
</script><!-- END switch_user_logged_out -->