Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Your IP : 18.217.14.208
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css" />
<script src="datepicker/grid/js/jquery.min.js" type="text/javascript"></script>
<script src="datepicker/grid/js/themes/jquery-ui.custom.min.js" type="text/javascript"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="jscript/mainpage.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
$('#div_employees').hide();
$("#txtassnothr").click(function(){
$("#div_employees").css("visibility", "visible");
$("#div_employees").fadeIn();
});
$("#cmdselect").click(function(){
$("#div_employees").fadeOut();
});
$("#cmdcancel").click(function(){
$("#div_employees").fadeOut();
});
});
</script>
</head>
<body>
<div id="div_employees_content">
<div id="div_employees_header">
<div class="head_blue">Select Employees</div>
</div>
<div id="div_employees_middle">
<?php
$mysql1="select masempl.*,masdesn.* from masempl,masdesn where masempl.fdesncode=masdesn.fdesncode and ifnull(factive,'')='T' and fusertype<>'user' and fusercode<>'' order by fdesnordr,femplname";
$myres1=mysqli_query($mycon,$mysql1);
echo "<table class=table_list border=1>";
echo "<tr>";
echo "<th width=40% style=text-align:center;> Name </th>";
echo "<th width=30% style=text-align:center;> Designation </th>";
echo "<th> Department </th>";
echo "<th> <input type=checkbox id=CheckAll name=CheckAll onClick='check_all(document.". $link_name .")'/></th>";
echo "</tr>";
$i=1;
while($row1 = @mysqli_fetch_assoc($myres1))
{
$checkedbox="";
$mysql2="select * from taskreminder where fassignto='$row1[fusercode]'";
$myres2=mysqli_query($mycon,$mysql2);
while($row2 = @mysqli_fetch_assoc($myres2))
{
$checkedbox='checked="checked"';
}
echo "<tr>";
echo "<td width=40% align=left>$row1[femplname]</td>";
echo "<td width=30% align=left>$row1[fdesncode]</td>";
echo "<td width=10% align=center>$row1[fdeptcode]</td>";
echo "<td width=1% align=center> <input type=checkbox name=check_list[] id=check_list[] value=$row1[fusercode] $checkedbox></td>";
echo "</tr>";
$i++;
}
echo "</table>";
?>
</div>
<div id="div_employees_footer">
<input type="button" id="cmdselect" value="Select"/>
<input type="button" id="cmdcancel" value="Cancel"/>
</div>
</div>
</body>
</html>
|