Esempio n. 1
0
<?php

session_start();
//------------IF the person is not login. It will go back to login.php for authentication
if (!isset($_SESSION['user_log'])) {
    header('Location: log.php');
}
include "lib/dataprocess.php";
$dataprocess = new DataProcess();
$dataprocess->settings();
// GET THE LIST OF QUOTATION OF THE PERSON WHO LOGGED-IN
$rows = $dataprocess->getListing($_SESSION['user_log'], 'Q');
// GET THE LIST OF QUOTATION IN DRAFT OF THE PERSON WHO LOGGED-IN
$rowsDraft = $dataprocess->getListing($_SESSION['user_log'], 'D');
?>
<!DOCTYPE html>
<html>
<head>
	<title>><?php 
echo $_SESSION['company'];
?>
 - Quotation - Staff login</title>
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<link href="quote.css" type="text/css" rel="stylesheet" />
	<script language="Javascript" type="text/javascript" src="quote.js"></script>
	<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
    <script language="Javascript" type="text/javascript" src="js/listing.js"></script>
	<link href="listing.css" type="text/css" rel="stylesheet" />
</head>
<body >