| Server IP : 61.19.30.66 / Your IP : 216.73.216.59 Web Server : Apache/2.2.22 (Ubuntu) System : Linux klw 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64 User : www-data ( 33) PHP Version : 5.3.10-1ubuntu3.48 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /var/www/admissions3/ |
Upload File : |
<?
require_once "connectdb.php";
$crsql="SELECT (day_at) FROM daytest where day_id='6'";
$slr=mysql_query($crsql) or die(mysql_error()."<br>".$crsql);
$dcrd = mysql_fetch_array($slr);
$day1=$dcrd[0];
$crsql="SELECT (day_at) FROM daytest where day_id='7'";
$slr=mysql_query($crsql) or die(mysql_error()."<br>".$crsql);
$dcrd = mysql_fetch_array($slr);
$day2=$dcrd[0];
$crsql="SELECT (day_at) FROM daytest where day_id='8'";
$slr=mysql_query($crsql) or die(mysql_error()."<br>".$crsql);
$dcrd = mysql_fetch_array($slr);
$day3=$dcrd[0];
$crsql="SELECT (day_at) FROM daytest where day_id='9'";
$slr=mysql_query($crsql) or die(mysql_error()."<br>".$crsql);
$dcrd = mysql_fetch_array($slr);
$day4=$dcrd[0];
$crsql="SELECT (day_at) FROM daytest where day_id='10'";
$slr=mysql_query($crsql) or die(mysql_error()."<br>".$crsql);
$dcrd = mysql_fetch_array($slr);
$day5=$dcrd[0];
?>
<html>
<head>
<title>-:- ADMIN -:-</title>
<meta http-equiv="Content-Type" content="text/html; charset=tis-620">
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#FFFFFF" onLoad="javascript:document.getElementById('useradmin').focus();">
<table width="50%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#003399">
<div align="center"><font color="#FFFFFF" size="+1"><strong>ʶԵÔÃѺÊÁѤà Á.4 <font color="#FFFF00"></font></strong></font></div></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="1" cellpadding="1">
</table>
</li>
<tr>
<table width="100%" border="0" align="center" cellpadding="1" cellspacing="1">
<tr>
<td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr class="jobscss">
<td bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#000000"><table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr bgcolor="#006666">
<td width="44" height="24"> <div align="center"><font color="#FFFFFF" size="2">#</font></div></td>
<td width="200"><div align="center"><font color="#FFFFFF" size="2">»ÃÐàÀ··Õèà»Ô´ÃѺÊÁѤÃ</font></div></td>
<td width="120"><div align="center"><font color="#FFFFFF" size="2"> Çѹ·Õè <? echo "$day1"; ?>
<br>Ã.Ã.à´ÔÁ/Í×è¹ </br> </font></div></td>
<td width="120"> <div align="center"><font color="#FFFFFF" size="2">Çѹ·Õè<? echo "$day2"; ?> <br>Ã.Ã.à´ÔÁ/Í×è¹ </br></font></div></td>
<td width="120"> <div align="center"><font color="#FFFFFF" size="2">Çѹ·Õè <? echo "$day3"; ?><br>Ã.Ã.à´ÔÁ/Í×è¹ </br> </font></div></td>
<td width="120"> <div align="center"><font color="#FFFFFF" size="2">Çѹ·Õè <? echo "$day4"; ?> <br>Ã.Ã.à´ÔÁ/Í×è¹ </br> </font></div></td>
<td width="120"> <div align="center"><font color="#FFFFFF" size="2">Çѹ·Õè <? echo "$day5"; ?> <br>Ã.Ã.à´ÔÁ/Í×è¹ </br> </font></div></td>
<td width="50"> <div align="center"><font color="#FFFFFF" size="2">excel</font></div></td>
</tr>
</table></td>
</tr>
</table>
<?
$page = $_GET['page'];
$num = 1;
$select_type="select * from member4 order by id asc";
$query_select=mysql_query($select_type);
$num_rows=mysql_num_rows($query_select);
if($num_rows<1){
echo "<br><br><center><font color=#666666 face=tahoma size=2>ÂѧäÁèÁÕ¡ÒÃà¾ÔèÁ¢éÍÁÙŤèÐ</font></center>";
}else{
$select="select * from member4 order by id asc";
$q_ry = mysql_query($select);
$num_rows=mysql_num_rows($q_ry);
$pagesize=4500;
$rt=$num_rows%$pagesize;
if($rt!=0)
{
$totalpage=floor($num_rows/$pagesize)+1;
}
else
{
$totalpage=floor($num_rows/$pagesize);
$toppic_id=1;
}
if(empty($page))
{
$page=1;
}
mysql_free_result($q_ry);
$goto=($page-1)*$pagesize;
$sql_select_mem="Select * From tpyad4 where idtpy_status>0 order by idtpy asc limit $goto,$pagesize";
$fect=mysql_query($sql_select_mem);
if(!$fect)
{
("µÔ´µèͰҹ¢éÍÁÙÅäÁèä´é".mysql_error());
exit;
}
$bgcount=0;
while($rows=mysql_fetch_array($fect))
{
$idmember =$rows['idtpy'];
$idstudent =$rows['idtpy_id'];
$name =$rows['idtpy_name'];
$surname =$rows['surname'];
$sex =$rows['sex'];
$pin =$rows['pin'];
$room =$rows['room'];
$idtest =$rows['idtest'];
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#000000"><table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr bgcolor="#FFFFFF">
<td width="44" height="24"> <div align="center"><font color="#990000" size="2"><? echo "$num"; ?></font></div></td>
<td width="200"> <font color="#003366" size="2"><a href=search41.php?id=<? echo "$idstudent"; ?> target="_blank"><? echo "$name"; ?></a></font><br>
<div align="left"></div></td>
<td width="120"><font color="#003366" size="2"><? echo "$idtest"; ?></font>
<?
$crsql="SELECT count(idstudent) FROM member4 where idstudent='$idstudent' and statuss=3 and signup2='$day1' ";
$slr=mysql_query($crsql) or die(mysql_error()."<br>".$crsql);
$dcrd = mysql_fetch_array($slr);
$numday1x=$dcrd[0];
$crsql="SELECT count(idstudent) FROM member4 where idstudent='$idstudent' and statuss=4 and signup2='$day1'";
$slr=mysql_query($crsql) or die(mysql_error()."<br>".$crsql);
$dcrd = mysql_fetch_array($slr);
$numday1y=$dcrd[0];
$crsql="SELECT count(idstudent) FROM member4 where idstudent='$idstudent' and signup2='$day1' ";
$slr=mysql_query($crsql) or die(mysql_error()."<br>".$crsql);
$dcrd = mysql_fetch_array($slr);
$nums1=$dcrd[0];
$crsql="SELECT count(idstudent) FROM member4 where signup2='$day1'";
$slr=mysql_query($crsql) or die(mysql_error()."<br>".$crsql);
$dcrd = mysql_fetch_array($slr);
$num11=$dcrd[0];
$crsql="SELECT count(idstudent) FROM member4 where signup2='$day2'";
$slr=mysql_query($crsql) or die(mysql_error()."<br>".$crsql);
$dcrd = mysql_fetch_array($slr);
$num12=$dcrd[0];
$crsql="SELECT count(idstudent) FROM member4 where signup2='$day3'";
$slr=mysql_query($crsql) or die(mysql_error()."<br>".$crsql);
$dcrd = mysql_fetch_array($slr);
$num13=$dcrd[0];
$crsql="SELECT count(idstudent) FROM member4 where signup2='$day4'";
$slr=mysql_query($crsql) or die(mysql_error()."<br>".$crsql);
$dcrd = mysql_fetch_array($slr);
$num14=$dcrd[0];
$crsql="SELECT count(idstudent) FROM member4 where signup2='$day5' ";
$slr=mysql_query($crsql) or die(mysql_error()."<br>".$crsql);
$dcrd = mysql_fetch_array($slr);
$num15=$dcrd[0];
$crsql="SELECT count(idstudent) FROM member4";
$slr=mysql_query($crsql) or die(mysql_error()."<br>".$crsql);
$dcrd = mysql_fetch_array($slr);
$numall=$dcrd[0];
//////////////
$numtotal4=$num11+$num12+$num13+$num14+$num15;
?>
<? echo "$numday1x"; ?>/<? echo "$numday1y"; ?> <? echo "$nums1"; ?></td>
<td width="120"><font color="#003366" size="2">
<?
$crsql="SELECT count(idstudent) FROM member4 where idstudent='$idstudent' and statuss=3 and signup2='$day2'";
$slr=mysql_query($crsql) or die(mysql_error()."<br>".$crsql);
$dcrd = mysql_fetch_array($slr);
$numday2x=$dcrd[0];
$crsql="SELECT count(idstudent) FROM member4 where idstudent='$idstudent' and statuss=4 and signup2='$day2'";
$slr=mysql_query($crsql) or die(mysql_error()."<br>".$crsql);
$dcrd = mysql_fetch_array($slr);
$numday2y=$dcrd[0];
$crsql="SELECT count(idstudent) FROM member4 where idstudent='$idstudent' and signup2='$day2'";
$slr=mysql_query($crsql) or die(mysql_error()."<br>".$crsql);
$dcrd = mysql_fetch_array($slr);
$nums20=$dcrd[0];
//////////////
?>
<? echo "$numday2x"; ?>/<? echo "$numday2y"; ?> <? echo "$nums20"; ?></td>
</font></td>
<td width="120"><div align="center">
<?
$crsql="SELECT count(idstudent) FROM member4 where idstudent='$idstudent' and statuss=3 and signup2='$day3'";
$slr=mysql_query($crsql) or die(mysql_error()."<br>".$crsql);
$dcrd = mysql_fetch_array($slr);
$numday3x=$dcrd[0];
$crsql="SELECT count(idstudent) FROM member4 where idstudent='$idstudent' and statuss=4 and signup2='$day3'";
$slr=mysql_query($crsql) or die(mysql_error()."<br>".$crsql);
$dcrd = mysql_fetch_array($slr);
$numday3y=$dcrd[0];
$crsql="SELECT count(idstudent) FROM member4 where idstudent='$idstudent' and signup='$day3' and signup2='$day3'";
$slr=mysql_query($crsql) or die(mysql_error()."<br>".$crsql);
$dcrd = mysql_fetch_array($slr);
$nums21=$dcrd[0];
$crsql="SELECT count(idstudent) FROM member4 where idstudent='$idstudent'";
$slr=mysql_query($crsql) or die(mysql_error()."<br>".$crsql);
$dcrd = mysql_fetch_array($slr);
$numtotal=$dcrd[0];
//////////////
?>
<? echo "$numday3x"; ?>/<? echo "$numday3y"; ?> <? echo "$nums21"; ?></td>
</td>
<td width="120"><div align="center">
<?
$crsql="SELECT count(idstudent) FROM member4 where idstudent='$idstudent' and statuss=3 and signup2='$day4'";
$slr=mysql_query($crsql) or die(mysql_error()."<br>".$crsql);
$dcrd = mysql_fetch_array($slr);
$numday4x=$dcrd[0];
$crsql="SELECT count(idstudent) FROM member4 where idstudent='$idstudent' and statuss=4 and signup2='$day4'";
$slr=mysql_query($crsql) or die(mysql_error()."<br>".$crsql);
$dcrd = mysql_fetch_array($slr);
$numday4y=$dcrd[0];
$crsql="SELECT count(idstudent) FROM member4 where idstudent='$idstudent' and signup2='$day4'";
$slr=mysql_query($crsql) or die(mysql_error()."<br>".$crsql);
$dcrd = mysql_fetch_array($slr);
$nums22=$dcrd[0];
$crsql="SELECT count(idstudent) FROM member4 where idstudent='$idstudent' and statuss=3 and signup2='$day5' ";
$slr=mysql_query($crsql) or die(mysql_error()."<br>".$crsql);
$dcrd = mysql_fetch_array($slr);
$numday5x=$dcrd[0];
$crsql="SELECT count(idstudent) FROM member4 where idstudent='$idstudent' and statuss=4 and signup2='$day5'";
$slr=mysql_query($crsql) or die(mysql_error()."<br>".$crsql);
$dcrd = mysql_fetch_array($slr);
$numday5y=$dcrd[0];
$crsql="SELECT count(idstudent) FROM member4 where idstudent='$idstudent' and signup2='$day5'";
$slr=mysql_query($crsql) or die(mysql_error()."<br>".$crsql);
$dcrd = mysql_fetch_array($slr);
$nums23=$dcrd[0];
$crsql="SELECT count(idstudent) FROM member4 where idstudent='$idstudent' and signup2='$day4'";
$slr=mysql_query($crsql) or die(mysql_error()."<br>".$crsql);
$dcrd = mysql_fetch_array($slr);
$nums4=$dcrd[0];
$crsql="SELECT count(idstudent) FROM member4 where idstudent='$idstudent' and signup2='$day5'";
$slr=mysql_query($crsql) or die(mysql_error()."<br>".$crsql);
$dcrd = mysql_fetch_array($slr);
$nums5=$dcrd[0];
//////////////
$crsql="SELECT count(idstudent) FROM member4 where idstudent='1' and Status=1";
$slr=mysql_query($crsql) or die(mysql_error()."<br>".$crsql);
$dcrd = mysql_fetch_array($slr);
$singin=$dcrd[0];
?>
<? echo "$numday4x"; ?>/<? echo "$numday4y"; ?> <? echo "$nums22"; ?></td>
</td>
<td width="120"><div align="center">
<? echo "$numday5x"; ?>/<? echo "$numday5y"; ?> <? echo "$nums5"; ?></td>
</td>
<td width="50"><div align="center">
<a href=excellroom4.php?id=<? echo "$idstudent"; ?> target="_blank">
<? echo "$numtotal"; ?></a></td>
</tr>
</table></td>
</tr>
</table>
<?
$num = $num+1;
}
echo "";
}
?>
</td>
</tr>
</table></td>
</tr>
</table>
</div></td>
</tr>
</table></td>
</tr>
<table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr bgcolor="#006666">
<td width="44" height="24"> <div align="center"><font color="#FFFFFF" size="2">#</font></div></td>
<td width="200"><div align="center"><font color="#FFFFFF" size="2">¨Ó¹Ç¹ÊÁѤÃÃÒÂÇѹ</font></div></td>
<td width="120"><div align="center"><font color="#FFFFFF" size="2">
<? echo "$num11"; ?></font></div></td>
<td width="120"><div align="center"><font color="#FFFFFF" size="2"><? echo "$num12"; ?></font></div></td>
<td width="120"> <div align="center"><font color="#FFFFFF" size="2"><? echo "$num13"; ?></font></div></td>
<td width="120"> <div align="center"><font color="#FFFFFF" size="2"><? echo "$num14"; ?></font></div></td>
<td width="120"> <div align="center"><font color="#FFFFFF" size="2"><? echo "$num15"; ?></font></div></td>
<td width="50"> <div align="center"><font color="#FFFFFF" size="2"><? echo "$numall"; ?></font></div></td>
</tr>
</table>
<br>
<br>
</center>
</body>
</html>