| Server IP : 61.19.30.66 / Your IP : 216.73.216.15 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/cooperative/sell/ |
Upload File : |
<?
ob_start();
session_start();
if($_SESSION["adminlogin"]=="")
{
header('location:index.php');
exit();
}
//============ Start Session และทำการเรียก Function ติดต่อฐานข้อมูล
require_once('../connect/connect.php');
$user=$_SESSION["user"];
?>
<script>
function setFocus(){
webForm.bacodesell.focus();
}
</script>
<title>-:- ADMIN -:-</title>
<meta http-equiv="Content-Type" content="text/html; charset=tis-620">
<link href="style.css" rel="stylesheet" type="text/css">
<body onLoad="setFocus()">
<table width="75%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#003399">
<div align="center"><font color="#FFFFFF" size="+5"><strong><font color="#FFFF00">ระบบการขาย</font>มา-เดอะ-มอ-มินิมาร์ท</strong></div></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr>
<td><div align="right"><font color="#ff0000" size="2"><font color="#333333">ยินดีต้อนรับ
:</font> <font color="#ff0000"> <? echo $user?> <?=$objResult["name"];?> <?=$objResult["lastname"];?>
<font color="#666666">เข้าสู่ระบบค่ะ </font></font></font></div></td>
</tr>
<tr>
<td><div align="right"><font color="#666666" size="+2"><a href="./menu.php">หน้าหลักระบบ</a>
| <a href="">เติมโทรศัพท์</a> | <a href="regisinbill.php">บิลย้อนหลัง</a>
|<a href="logout.php">ออกจากระบบ</a></font></div></td>
</tr>
<tr>
<td><div align="center">
<table width="773" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
</tr>
</table>
<table width="76%" border="0" align="center" cellpadding="1" cellspacing="1">
<tr>
<td> </td>
</tr>
<tr>
<td><div align="center">
</div>
<table width="100%" border="0" align="center" cellpadding="1" cellspacing="1">
<form method="post" action="addsaveba.php" name="webForm" onSubmit="return checkpost()">
<tr>
<td width="140" higth="200" ><div align="right"><font color="#333333" size="+5">รหัสสินค้า : Code
:</font></div></td>
<td width="6"><font size="+5">
<input name=bacodesell id=bacodesell type=text class="input" style="font-size:20px; maxlength =32" onKeyUp="if(isNaN(this.value)){ alert('เฉพาะตัวเลข'); this.value='';}" >
</font></td>
</tr>
<tr>
<td width="140" higth="200" ><div align="right"><font color="#333333" size="+5">จำนวน : unit
:</font></div></td>
<td width="6"><font size="+5">
<input name=unitsell id=unitsell type=text class="input" style="font-size:20px; maxlength =6" onKeyUp="if(isNaN(this.value)){ alert('เฉพาะตัวเลข'); this.value='';} " value='1'>
</font></td>
</tr>
<tr>
<td><div align="right"><font color="#333333" size="+5">รหัสผู้ขาย : seller
:</font></div></td>
<td><font size="3">
<input name=usersell readonly=readonly id=usersell type=text class="input" style="font-size:20px; maxlength =50" value='<? echo $user?>'>
</font></td>
</tr>
<tr>
<td> </td>
<td><input name=submit type=submit class=submit style="font-size:30px;" value=เพิ่มสินค้า>
<input name=submit2 type=reset class=submit style="font-size:20px;" value=ยกเลิกข้อมูล ></td>
</tr>
</form>
</table></td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td> </td>
</tr>
</table></td>
</tr>
<tr>
<td><div align="center"><? echo "<font size=2 color=#ffffff>$footerweb</font>"; ?></div></td>
</tr>
</table>
<?
require_once "homebacode.php";
?>
</body>
</html>