<div style="color: red;padding-left: 587px;font-weight: bold;"> <?php echo  $this->message; ?> </div>
<form name="admFrmLogin" id="admFrmLogin" action="<?php echo ConfigUrl::base();?>index" method="post">

<div class="admin_login_txts">
</div>
<div class="login_form_div">
<table class="form_tbls" width="100%" border="0" cellspacing="0" cellpadding="0"s>
   <tr>
        <td width="23%"></td>
        <td width="77%"></td>
    </tr>
    <tr>
        <td>Username</td>
        <td><input type="text"  class="txt_area" name="txtLoginName" id="txtLoginName" value="">
            <label class="error" for="txtLoginName" style="background: none" generated="true"></label>
        </td>
    </tr>
    <tr>
        <td>Password</td>
        <td><input type="password" class="txt_area"  name="txtLoginPassword" id="txtLoginPassword" value="">
            <label class="error" for="txtLoginPassword" style="background: none" generated="true"></label>
        </td>
    </tr>
    <tr>
        <td>&nbsp;</td>
        <td><div class="login_btn"><input type="submit" class="btn_styles" value="Submit"></div></td>
    </tr>
</table>
<div class="clear"></div>
</div>
</form>
<script type="text/javascript">
    $("#admFrmLogin").validate({
        rules: {
            txtLoginName: {required: true},
            txtLoginPassword: {required:true}
        },
        messages: {
            txtLoginName: {required:"Enter Login Name"},
            txtLoginPassword: {required:"Enter Password"}
        },
        success: function(label) {
            // set   as text for IE
            //label.html(" ").addClass("checked");
        }

    });

</script>
