<form name="searchfrm" id="searchfrm" action="<?php echo $page_name?>" method="post" target="_parent">
<input type="hidden" name="act" id="act" value="" />
<div style="padding-top:100px;">
<table width="70%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td align="left" class="breadcrumb"><a href="index.php">Home</a> &raquo; Member Login</td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                </tr>
              <tr>
                <td><h3 align="center">JPC Member Login</h3></td>
                </tr>
			<tr>
                <td align="center"><?php if($error_msg=="false"){echo "Invalid Login Detail";};?></td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                </tr>
              <tr>
                <td><table width="70%" border="0" align="center" cellpadding="10" cellspacing="1" class="table table-bordered">
                 
                  <tr>
                    <td width="46%" align="right">eMail ID/Mobile No.</td>
                    <td width="54%" align="left">
					<div class="form-group">
						<input name="uname" type="text" class="form-control" id="textfield" />
					<div id="uname_vmsg"></div>
                      </div>
					</td>
                  </tr>
                  <tr>
                    <td align="right">Password</td>
                    <td align="left">
					<div class="form-group">
						<input name="pass" type="password" class="form-control" id="textfield2" />
					<div id="pass_vmsg"></div>
                      </div>
					</td>
                  </tr>
                  <tr>
                    <td align="center">&nbsp;</td>
                    <td align="left"><input type="submit" value="Submit" class="btn btn-primary" /></td>
                  </tr>
                  <tr>
                    <td colspan="2" align="center"><a href="forgotpwd">Forgot Password?</a> <!--| <a href="memberreg">New Registration</a>--></td>
                  </tr>
                 
                </table></td>
                </tr>
             
              </table>
<br>
<br>
<br>
              </div>
</form>
<script type="text/javascript">
$(document).ready(function() {
    $('#searchfrm').bootstrapValidator({
        message: 'This value is not valid',
        fields: {
            uname: {
				container:'#uname_vmsg',
                message: 'The Email is not valid',
                validators: {
                    notEmpty: {
                        message: 'The Email is required and can\'t be empty'
                    }
                }
            },pass: {
				container:'#pass_vmsg',
                message: 'The Password is not valid',
                validators: {
                    notEmpty: {
                        message: 'The Password is required and can\'t be empty'
                    }
                }
            }
        }
    });
});
</script>