Documente Academic
Documente Profesional
Documente Cultură
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
</head>
<center>
<body bgcolor="#060">
<div id="wrapper">
<div id="header"></div>
<br />
</div>
</div>
<div id="footer"></div>
</div>
</body>
</center>
</html>
<?php
session_start();
include_once('functions/conn.php');
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
</head>
<center>
<body bgcolor="#060">
<div id="wrapper">
<div id="header"></div>
<?php
echo $_SESSION['error'];
unset($_SESSION['error']);
?>
<tr><td style="color:#990000"
height="50"><b> &nbs
p; Username:</b></td><td> &n
bsp; &nb
sp; <input type="text" name="username" size="30" /></td></tr>
<tr><td
style="color:#990000"><b> &
nbsp; Password:</b></td><td>
<input type="password" name="password" size="30" /></td></tr>
<tr><td></td><td> &n
bsp; <input type="submit"
name="submit" value="Login" /><input type="reset" name="reset" value="Reset" /></td></tr>
</table>
<br>
</form>
</div>
</div>
<div id="footer"></div>
</div>
</body>
</center>
</html>
<?php
session_start();
include_once('functions/conn.php');
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
</head>
<center>
<body bgcolor="#060">
<div id="wrapper">
<div id="header"></div>
<div id="link">
<a
href="forms.php">Forms</a>
<a
<?php
echo $_SESSION['error'];
unset($_SESSION['error']);
?>
</div>
<div id="footer"></div>
</div>
</body>
</center>
</html>
<?php
session_start();
include_once('functions/conn.php');
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
</head>
<center>
<body bgcolor="#060">
<div id="wrapper">
<div id="header"></div>
<a
href="customer.php">Customer</a>
<a
href="department.php">Department</a> &nb
sp;
<a
href="item.php">Item</a> &n
bsp;
<a href="employee.php">Sales
Person</a> &nb
sp; &nbs
p;
<?php
if(isset($_SESSION['error'])){
echo $_SESSION['error'];
unset($_SESSION['error']);
?>
<?php
if(isset($_POST['register'])){
$cid=$_POST['cust_id'];
$fn=$_POST['fullname'];
$ad=$_POST['address'];
$gd=$_POST['gender'];
$pn=$_POST['phoneno'];
if(strlen($cid) <=0 || strlen($fn) <=0 || strlen($ad) <=0 || strlen($gd) <=0 || strlen($pn) <=0
){
header('location:customer.php');
exit();
if(isset($query)){
header('location:customer.php');
exit();
?>
<tr>
</tr>
<tr>
<td colspan="2">Customer Name<font color="#CC0000">*</font></td><td><input
type="text" name="fullname" size="50" /></td>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
</table>
</form>
</div>
</div>
<div id="footer"></div>
</body>
</center>
</html>
<?php
session_start();
include_once('functions/conn.php');
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
</head>
<center>
<body bgcolor="#060">
<div id="wrapper">
<div id="header"></div>
<div id="link">
<a
href="customer.php">Customer</a>
<a
href="department.php">Department</a> &nb
sp;
<a
href="item.php">Item</a> &n
bsp;
<a href="employee.php">Sales
Person</a> &nb
sp; &nbs
p;
<?php
if(isset($_SESSION['error'])){
echo $_SESSION['error'];
unset($_SESSION['error']);
?>
<?php
if(isset($_POST['register'])){
$cid=$_POST['cust_id'];
$fn=$_POST['fullname'];
$ad=$_POST['address'];
$gd=$_POST['gender'];
$pn=$_POST['phoneno'];
if(strlen($cid) <=0 || strlen($fn) <=0 || strlen($ad) <=0 || strlen($gd) <=0 || strlen($pn) <=0
){
header('location:customer.php');
exit();
}
if(isset($query)){
header('location:customer.php');
exit();
?>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
</table>
</form>
</div>
</div>
<div id="footer"></div>
</body>
</center>
</html>
<?php
session_start();
include_once('functions/conn.php');
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
</head>
<center>
<body bgcolor="#060">
<div id="wrapper">
<div id="header"></div>
<div id="link">
<a
href="customer.php">Customer</a>
<a
href="department.php">Department</a> &nb
sp;
<a
href="item.php">Item</a> &n
bsp;
<a href="employee.php">Sales
Person</a> &nb
sp; &nbs
p;
if(isset($_SESSION['error'])){
echo $_SESSION['error'];
unset($_SESSION['error']);
?>
<?php
if(isset($_POST['register'])){
$cid=$_POST['cust_id'];
$fn=$_POST['fullname'];
$ad=$_POST['address'];
$gd=$_POST['gender'];
$pn=$_POST['phoneno'];
if(strlen($cid) <=0 || strlen($fn) <=0 || strlen($ad) <=0 || strlen($gd) <=0 || strlen($pn) <=0
){
header('location:customer.php');
exit();
if(isset($query)){
header('location:customer.php');
exit();
}
?>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
</table>
</form>
</div>
</div>
<div id="footer"></div>
</body>
</center>
</html>