<div id="sbg-emp-password-entry" style="width:610px;margin: 5px 5px 5px 5px;">
	<div id="emp-password-tabs">
		<ul style="font-size: 0.8em;">
			<li><a href="#emp-password-general">General</a></li>
			<span class="sbg-tab-title">Reset Employee Password</span>
		</ul>
		<div id="emp-password-general">
			<table>
				<tr style="height:30px">
					<td style="text-align:right;width:140px"><span>Employee ID : </span></td>
					<td style="width:460px"><span id="lblResetPwdEmpId"></span></td>
				</tr>
				<tr style="height:30px">
					<td style="text-align:right"><span>Employee Code : </span></td>
					<td><span id="lblResetPwdEmpCode"></span></td>
				</tr>
				<tr style="height:30px">
					<td style="text-align:right"><span>Employee Name : </span></td>
					<td><span id="lblResetPwdEmpName"></span></td>
				</tr>
				<tr style="height:30px">
					<td style="text-align:right"><span>Last Login : </span></td>
					<td><span id="lblResetPwdEmpLogin"></span></td>
				</tr>
			</table>
		</div>
	</div>
	<div class="ui-widget-content ui-corner-all" style="height:40px;margin-top:2px;">
		<div class="sbg-entry-error" style="width:300px;">
			<span id="emp_password_err_mesg" class="sbg-error"></span>
		</div>
		<div class="sbg-entry-command">
			<input id="btnResetEmpPwd" type="button" value="Reset"></input>
			<input id="btnResetEmpPwdClear" type="button" value="Clear"></input>
		</div>
	</div>
</div>
<div style="margin-top:5px">
	<div id="emp-password-filter" class="ui-widget-content ui-corner-all" style="width: 99%; margin-left: 5px;">
		<table cellspacing="3" width="100%">
			<tr>
				<td>
					<span>Company : </span><select style="margin-right: 10px;" id="cobEmployeePasswordCompany"><?php echo $this->getCompany("", true, false) ; ?></select>
					<span>Department : </span><select style="margin-right: 10px;" id="cobEmployeePasswordDepartment"><?php echo $this->getDepartment("", true, false) ; ?></select>
					<input id="btnEmpPasswordList" type="button" value="Get List" class="ui-button ui-widget ui-state-default ui-corner-all"></input>
				</td>
			</tr>
		</table>
	</div>

	<div>
		<div class="sbg-table">
			<div class="ui-widget-header">
				<table style="table-layout: fixed;" id="sbg-emp-password-header" class="header" cellspacing="0" cellpadding="5">
	                <tr class="ui-widget-header">
	                <td style="width: 50px;text-decoration: underline;cursor: pointer;" onclick='sortEmpTable(this)'>ID</td>
	                <td style="width: 100px;text-decoration: underline;cursor: pointer;" onclick='sortEmpTable(this)'>Code</td>
	                <td style="width: 250px;text-decoration: underline;cursor: pointer;" onclick='sortEmpTable(this)'>Name</td>
	                <td style="width: 250px;text-decoration: underline;cursor: pointer;" onclick='sortEmpTable(this)'>Company</td>
					<td style="width: 250px;text-decoration: underline;cursor: pointer;" onclick='sortEmpTable(this)'>Department</td>
					<td style="width: 25px;"></td>
	                </tr>
				</table>
			</div>
	        <div id="sbg-emp-password-data" style="overflow: auto;">
	            <table style="table-layout: fixed" id="sbg-emp-password-table" cellspacing="0" cellpadding="5" class="data">
					<tr>
					<td style="width:50px;height:1px"></td>
					<td style="width:100px"></td>
					<td style="width:250px"></td>
					<td style="width:250px"></td>
					<td style="width:250px"></td>
					<td style="width:25px"></td>
					</tr>
					
	            </table>
	        </div>
		</div>
	</div> 
</div>
<script type="text/javascript">
var emp_password_url = "<?php echo Util::convertLink("EmployeePassword") ; ?>" ;
<?php include (PATH_CODE . "js/hr/employeepassword.js") ; ?>
</script>