| 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/gpa/sport/ |
Upload File : |
<?
require_once "../config/confiteacher.inc.php";
require_once "head.php";
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
</head>
<body>
<div id="Layer1" style="position:absolute; left:30px; top:10px; width:750px; height:416px; z-index:1"></div>
<div id="Layer2" style="position:absolute; left:100px; top:100px; width:250px; height:407px; z-index:2">
<br>
<br>
<br>
<br>
<br>
<br>
<table width="500">
<table width="150" ><tr>
<?
$pass=$objResult["password"];
$teachcode=$objResult["teachcode"];
$tel=$objResult["tel"];
?>
<br> <img src="image/great.gif" width="20" height="20" >
<font size="2" color='0033FF'>คุณครู</td>
<?=$objResult["teachcode"];?>
<?=$objResult["prefix"];?>
<?=$objResult["name"];?>
<?=$objResult["lastname"];?>
</font></td>
<? if($pass==$teachcode)
{
echo "<span style=\"color: #ff0000;\">รหัสผ่านไม่ปลอดภัยกรุณาเปลี่ยน</span>";
}
else if($pass!=$teachcode)
{
echo "";
}
else
{
echo "";
}
?>
</tr>
<!-- กรณีต้องการให้ตัวอักษรถูกเน้นก็ใส่ class="active" เข้าไปใน <a href=...> เป็นแบบอันด้านล่างนี้น่ะครับ -->
<p style="text-align: right;">
<ul id="miniflex">
<li><img src="../imagemain/index.jpeg" width="20" height="20" > <a href="../main.php"><font size='2'>หน้าหลัก</font></a> </li>
<li><img src="../imagemain/index.jpeg" width="20" height="20" > <a href="add.php"><font size='2'>เพิ่มประเภทกีฬา</font></a> </li>
<br>
<br>
<a href="logout.php"><font size='2'><img src="images/out.jpg" width="30" height="30" ></a>ออกจากระบบ</li>
</ul>
</p>
</div>
<div id="Layer3" style="position:absolute; left:180px; top:85px; width:487px; height:407px; z-index:3">
</div>
<br><?
$sql2="SELECT namesc,tumbolsc,amps,dissc,years FROM config";
mysql_query("SET character_set_results=tis620");//ตั้งค่าการดึงข้อมูลออกมาให้เป็น tis620
mysql_query("SET character_set_client=tis620");//ตั้งค่าการส่งข้อมุลลงฐานข้อมูลออกมาให้ เป็น tis620
mysql_query("SET character_set_connection=tis620");//ตั้งค่าการติดต่อฐานข้อมูลให้เป็น ti
$result2 = mysql_query($sql2);
while (list($namesc,$tumbolsc,$amps,$dissc,$years) = mysql_fetch_row($result2)) {
$xsc_Name = $namesc;
$xsc_tumbolsc = $tumbolsc;
$xsc_disc = $dissc;
$xsc_amps = $amps;
$xsc_years = $years;
}
?>
<center>ระบบข้อมูลสารสนเทศนักเรียน โรงเรียน<? echo $xsc_Name; ?>ตำบล <? echo $xsc_tumbolsc?>อำเภอ <? echo $xsc_amps?>จังหวัด <? echo $xsc_disc?>ปีการศึกษา <? echo $xsc_years?></center>
</body>
</table>
</html>