<?
/*
* Exemplar Web hosting
* http://www.exemplar.biz
*
* Title: PHP Online Invoice System
* Version: 2.0
* Author: Exemplar
* Date: 01-01-2006
*
*/
include "inc/dbconnect.php";
include ("inc/date.php");
session_start();
if(!session_is_registered("client_id"))
{
header("Location: index.php");
exit;
}
if ($clientid == $client_id)
{
header("Location: index.php");
exit;
}
?>
<html>
<head>
<title><? echo $yourcompany ?> Invoice #<? echo "$invoiceid for $clientcompany"; ?></title>
<link rel="stylesheet" href="inc/style.css" type="text/css">
<script language="JavaScript">
var newWin = null;
function popUp(strURL, strType, strHeight, strWidth) {
if (newWin != null && !newWin.closed)
newWin.close();
var strOptions="";
if (strType=="console")
strOptions="resizable,height="+
strHeight+",width="+strWidth;
if (strType=="fixed")
strOptions="status,height="+
strHeight+",width="+strWidth;
if (strType=="elastic")
strOptions="toolbar,menubar,scrollbars,"+
"resizable,location,height="+
strHeight+",width="+strWidth;
newWin = window.open(strURL, 'newWin', strOptions);
newWin.focus();
}
</script>
</head>
<body text="#800000" leftmargin=10 topmargin=0 marginwidth=0 marginheight=0 background="images/bkglobe2.gif">
<table width="<?=$main_table_width?>" height="<?=$main_table_height?>" id="table1" style="border: <?=$main_table_borderwidth?>px solid #<?=$main_table_bordercolor?>">
<tr>
<td align="center" valign="top" style="border: <?=$main_cell_borderwidth?>px solid #<?=$main_cell_bordercolor?>" width="98%" height="98%">
<h1><B><? echo $yourcompany ?> Invoice System</B></h1>
<blockquote>
<? include "inc/client_nav.inc";?>
</blockquote>
<br>