<div class="Left">
<div class="col">
<?php echo getRoundTabTop(); ?>
<div id="round_content">
<div class="Block">
<form name="loginForm" method="post" action="<?=SP_WEBPATH?>/login.php">
<input type="hidden" name="sec" value="login">
<input type="hidden" name="referer" value="<?=$post['referer']?>"></input>
<table width="500px" cellpadding="0" cellspacing="0" class="actionForm" style="margin-top: 20px;">
<tr>
<td style="text-align: right;"><img src="<?=SP_WEBPATH?>/images/lock-icon.png"></td>
<th class="main_header"><?=ucwords($spText['common']['signin'])?></th>
</tr>
<tr>
<th><?=$spText['login']['Login']?>:</th>
<td><input type="text" name="userName" id="userName" value="<?=$post['userName']?>"><?=$errMsg['userName']?></td>
</tr>
<tr>
<th><?=$spText['login']['Password']?>:</th>
<td><input type="password" name="password" value=""><?=$errMsg['password']?></td>
</tr>
<tr>
<th> </th>
<td class="actionsBox">
<input class="button" type="submit" name="login" value="<?=ucwords($spText['common']['signin'])?> >>"/>
<?php if(!isLoggedIn() && SP_USER_REGISTRATION){ ?>
<a href="<?=SP_WEBPATH?>/register.php" style="font-size: 13px;"><?=$spText['login']['Register']?></a>
<?php }?>
</td>
</tr>
</table>
<script>
window.onload = function() {
document.getElementById("userName").focus();
}
</script>
</form>
</div>
</div>
<?php echo getRoundTabBot(); ?>
</div>
</div>