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/list_print.php
<?php
$ebits = ini_get('error_reporting');
error_reporting($ebits ^ E_NOTICE);
include("dbconfig.php");
include( "function.php" );
if (isset($_GET['inspector'])) $insName = $_GET['inspector']; 
else $insName ='';
?>
<html>
<head>
<title>Print</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;แสดงใบขออนุญาตใช้รถ<?php 
 			if (empty($insName)) echo ' ทั้งหมด ';
			else echo 'ที่รับผิดชอบโดย '.$insName;
 	  ?></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="10%" height="22"  
          
          align=middle><SPAN class=thsans2 
            id=n1><a href="index.php">หน้าแรก</a></SPAN></TD>
              <TD  
          
           align=middle width="13%">&nbsp;</TD>
              <TD 
          
           align=middle width="10%"><SPAN 
            class=thsans2 id=n5></SPAN></TD>
              <TD 
          
           align=middle width="10%">&nbsp;</TD>
              <TD 
          
           align=middle width="14%">&nbsp;</TD>
              <TD 
          
           align=middle width="16%"><SPAN 
            class=thsans2 id=n5></SPAN></TD>
              <TD 
          
         align=middle width="20%"><A 
            class=no_de href="        "></A><SPAN 
            class=thsans2 id=n5></SPAN></TD>
              <TD class=thtahomasmall  
           align=middle width="7%">&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="90%" border="0" align="center" cellpadding="2" cellspacing="0">
                    <tr> 
                      <td class=thtahomasmall bgColor=#c7d2ff width="10%"><div align="left">เลขที่ใบขอ</div></td>
                      <td width="18%" class=thtahomasmall bgColor=#c7d2ff><div align="left">ผู้ขอ</div></td>
                      <td width="29%" class=thtahomasmall bgColor=#c7d2ff>สถานที่ไป</td>
                      <td width="19%" class=thtahomasmall bgColor=#c7d2ff>วันที่</td>
                      <td width="15%" class=thtahomasmall bgColor=#c7d2ff>เวลา</td>
                      <td width="9%" class=thtahomasmall bgColor=#c7d2ff><div align="center"></div></td>
                    </tr>
                    <?php	
					mysql_select_db($__db__);
					mysql_query(" SET NAMES 'tis620'; ");
					if (empty($insName))	$sql="select  * from tran where approv <> '0' and audit_id is null  or audit_id ='' order by no DESC";
					else $sql="select  * from tran tr where approv = '$insName' and audit_id is null  or audit_id =''  order by no DESC";
					$result=mysql_query($sql);
					while ($object = mysql_fetch_object($result)) {
						$user_id = $object ->user_id;
						mysql_select_db($__dbwp__);
						mysql_query(" SET NAMES 'tis620'; ");
						$sqll="select  id,name  from user  where id = '$user_id'";
						$lresult=mysql_query($sqll);
						while ($objectl = mysql_fetch_object($lresult)) {
							$name = $objectl->name;
						}
						mysql_free_result($lresult);
						?>
						<tr> 
						  <td height="22"><div align="center"><a href="view_rq.php?no=<? echo $object ->no."&name=".$name ; ?>" > 
							  <? echo $object ->no; ?></a></div></td>
						  <td> <? echo  $name ;  ?> </td>
						  <td> <? echo $object ->target ;?> </td>
						  <td><? echo formatdateshow($object ->date1); ?></td>
						  <td><? echo  $object ->time1; ?></td>
						  <td><div align="center"><a href="list_print1.php?no=<? echo $object ->no."&name=".$name ; ?>" > 
							พิมพ์</a></div></td>
						</tr>
						<?php
				  }
				  mysql_free_result($result);
				?>
                  </table></TD>
              </TR>
            </TBODY>
          </TABLE> </TD>
      </TR>
    </TBODY>
  </TABLE>
  </form>
 
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit