<!--{eval $_TPL['nosidebar']=1;}-->
<!--{template header}-->
<form id="loginform" name="loginform" action="do.php?ac=$_SCONFIG[login_action]&$url_plus&ref" method="post" class="c_form">
<table cellpadding="0" cellspacing="0" class="formtable">
<caption>
<h2>Login Zone</h2>
<p>if you have account with us. Use your username to login remember not email id,</p>
</caption>
<!--{if $invitearr}-->
<tr>
<th width="100">Friend invitation</th>
<td>
<a href="space.php?$url_plus" target="_blank"><!--{avatar($invitearr[uid],small)}--></a>
<a href="space.php?$url_plus" target="_blank">{$_SN[$invitearr[uid]]}</a>
</td>
</tr>
<!--{/if}-->
<!--{if $_SCONFIG['seccode_login']}-->
<!--{if $_SGLOBAL['input_seccode']}-->
<tr>
<th width="100"> </th>
<td>
Please verify the following code and proceed,
</td>
</tr>
<!--{/if}-->
<!--{if $_SCONFIG['questionmode']}-->
<tr>
<th width="100" style="vertical-align: top;">Answer these Question before you login</th>
<td>
<p><!--{eval question();}--></p>
<input type="text" id="seccode" name="seccode" value="" tabindex="1" class="t_input"<!--{if empty($_SGLOBAL['input_seccode'])}--> onBlur="checkSeccode()"<!--{/if}--> /> <span id="checkseccode"> </span>
</td>
</tr>
<!--{else}-->
<tr>
<th width="100" style="vertical-align: top;">Verification Code: </th>
<td>
<script>seccode();</script>
<p>Type above words.<br> Can't read the above words?<a href="javascript:updateseccode()">Try different words</a></p>
<input type="text" id="seccode" name="seccode" value="" tabindex="1" class="t_input"<!--{if empty($_SGLOBAL['input_seccode'])}--> onBlur="checkSeccode()"<!--{/if}--> /> <span id="checkseccode"> </span>
</td>
</tr>
<!--{/if}-->
<!--{/if}-->
<tbody style="display:<!--{if $_SGLOBAL['input_seccode']}-->none<!--{/if}-->;">
<tr><th width="100"><label for="username">User Name: </label></th><td><input type="text" name="username" id="username" class="t_input" value="$membername" tabindex="2" /></td></tr>
<tr><th width="100"><label for="password">Password: </label></th><td><input type="password" name="password" id="password" class="t_input" tabindex="3" value="$password" /></td></tr>
<tr>
<th width="100"> </th>
<td>
<input type="checkbox" id="cookietime" name="cookietime" value="315360000" $cookiecheck style="margin-bottom: -2px;"><label for="cookietime">Remember Me</label>
</td>
</tr>
</tbody>
<tr><th width="100"> </th><td>
<input type="hidden" name="refer" value="$refer" />
<input type="submit" id="loginsubmit" name="loginsubmit" value="Login" class="submit" tabindex="5" />
<a href="do.php?ac=lostpasswd">Forgot Password?</a>
</td></tr>
</table>
<input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /></form>
<script type="text/javascript">
var lastSecCode = '';
function checkSeccode() {
var seccodeVerify = $('seccode').value;
if(seccodeVerify == lastSecCode) {
return;
} else {
lastSecCode = seccodeVerify;
}
ajaxresponse('checkseccode', 'op=checkseccode&seccode=' + (is_ie && document.charset == 'utf-8' ? encodeURIComponent(seccodeVerify) : seccodeVerify));
}
function ajaxresponse(objname, data) {
var x = new Ajax('XML', objname);
x.get('do.php?ac=$_SCONFIG[register_action]&' + data, function(s){
var obj = $(objname);
s = trim(s);
if(s.indexOf('succeed') > -1) {
obj.style.display = '';
obj.innerHTML = '<img src="image/check_right.gif" width="13" height="13">';
obj.className = "warning";
} else {
warning(obj, s);
}
});
}
function warning(obj, msg) {
if((ton = obj.id.substr(5, obj.id.length)) != 'password2') {
$(ton).select();
}
obj.style.display = '';
obj.innerHTML = '<img src="image/check_error.gif" width="13" height="13"> ' + msg;
obj.className = "warning";
}
</script>
<!--{if $_SGLOBAL['input_seccode']}-->
<script>
$('seccode').style.background = '#FFFFCC';
$('seccode').focus();
</script>
<!--{/if}-->
<div class="c_form">
<table cellpadding="0" cellspacing="0" class="formtable">
<caption>
<h2>Not a member yet?</h2>
<p>It's very simple one step registration, It's Free, Hurry! use your real name before some one get it!<br>Register your own account for free if you dont have one with us!</p>
</caption>
<tr>
<td>
<a href="do.php?ac=$_SCONFIG[register_action]" style="display: block; margin: 0 110px 2em; width: 100px; border: 1px solid #486B26; background: #76A14F; line-height: 30px; font-size: 14px; text-align: center; text-decoration: none;"><strong style="display: block; border-top: 1px solid #9EBC84; color: #FFF; padding: 0 0.5em;">JOIN NOW</strong></a>
</td>
</tr>
</table>
</div>
<!--{template footer}-->