| 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 : |
<?php
$ebits = ini_get('error_reporting');
error_reporting($ebits ^ E_NOTICE);
?>
<?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> แสดงใบขออนุญาตใช้รถ ที่ยังไม่ได้กรอกเลขระยะทาง</font></a></div></TD>
<TD width="10%" height=28 align=right vAlign=center bgColor=#c7d1e7 class=thsans><div align="right"><A
href=""><IMG height=18
alt="" src="picture/youraccount.gif" width=18
align=absMiddle border=0></A> <A
href=""></A> <A
href=""><IMG height=18 alt=Help!
src="picture/q.gif" width=18 align=absMiddle border=0></A> <A href=""></A>
<IMG height=18
alt="" hspace=3 src="picture/cart.gif" width=18
align=absMiddle border=0><A
href=""></A> </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%"> </TD>
<TD
align=middle width="10%"><SPAN
class=thsans2 id=n5></SPAN></TD>
<TD
align=middle width="10%"> </TD>
<TD
align=middle width="14%"> </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%"> </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> <img src="picture/home.gif" width="16" height="15">
คลิ๊กเมาส์ที่ คำว่าคลิ๊ก เพื่อกรอกเลข<BR>
<TABLE cellSpacing=0 cellPadding=3 width="100%" border=0>
<TBODY>
<TR>
<TD class=thtahomasmall bgColor=#c7d2e7
height=5> </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="92%" border="0" align="center" cellpadding="2" cellspacing="0">
<tr>
<td class=thtahomasmall bgColor=#c7d2ff width="9%"><div align="left">เลขที่ใบขอ</div></td>
<td width="19%" class=thtahomasmall bgColor=#c7d2ff><div align="left">ผู้ขอ</div></td>
<td width="25%" class=thtahomasmall bgColor=#c7d2ff>สถานที่ไป</td>
<td width="16%" class=thtahomasmall bgColor=#c7d2ff>วันที่</td>
<td width="9%" class=thtahomasmall bgColor=#c7d2ff>เวลา</td>
<td width="22%" class=thtahomasmall bgColor=#c7d2ff><div align="center">กรอกเลขระยะทาง</div></td>
</tr>
<?php
mysql_select_db($__db__);
mysql_query(" SET NAMES 'tis620'; ");
$sql="select * from tran where car_start = '0' and car_end = '0' order by no asc ";
$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;
}
?>
<tr>
<td height="22"><img src="picture/cart.gif" width="18" height="18"><a href="view_rq.php?no=<? echo $object ->no."&name=".$name ; ?>" >
<? echo $object ->no; ?></a></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="mile_record1.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>