-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathcustomer-data.php
executable file
·92 lines (69 loc) · 3.22 KB
/
customer-data.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<?php
include_once('jcart/jcart.php');
require("admin/bootstrap.php");
include( dirname(__FILE__) . SYSPATH_LANG );
defined('SYSPATH_ADMIN') or die('No direct script access.');
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="https://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="scripts/jquery.min.js"></script>
<script type="text/javascript" src="scripts/jquery.curvycorners.min.js"></script>
<script type="text/javascript" src="scripts/jquery-ui-1.8.4.custom.min.js"></script>
<link rel="stylesheet" type="text/css" href="scripts/jqueryui/css/redmond/jquery-ui-1.8.4.custom.css" />
<script type="text/javascript" src="scripts/thickbox.js"></script>
<link rel="stylesheet" type="text/css" href="scripts/thickbox.css" />
<link rel="SHORTCUT ICON" href="favicon.ico" />
<title></title>
<!-- OVERLAY -->
<script src="scripts/jquery.tools.min.js"></script>
<link rel="stylesheet" type="text/css" href="stylesheet/overlay-apple.css" />
<link rel="stylesheet" type="text/css" href="stylesheet/stylesheet.css" />
<!-- OVERLAY -->
</head>
<!-- header -->
<?php require("_header.inc.php"); ?>
<!-- header -->
<?php
if (!isset($_SESSION)) session_start();
include_once ROOTDIR . DIR . "/jcart/jcart.php";
if ( !isset( $_SESSION['IDCUSTOMER'] ) and empty( $_SESSION['IDCUSTOMER'] ))
{
GenericSql::Redirect($sec=0, $file="log-in");
die;
}
$array_empresa = GenericSql::getEmpresa( );
$arrayCustomer = GenericSql::getCustomerById( $_SESSION['IDCUSTOMER'] );
$arrayOrders = GenericSql::getOrdersByCustomer( $_SESSION['IDCUSTOMER'] );
?>
<body>
<div style="height:0px; overflow:hidden;"></div>
<table width="999" border="0" cellpadding="0" cellspacing="0" align="center" id="table990" class="table bg">
<tr>
<td width="638" id="left_column" valign="top">
<table border="0" cellspacing="0" cellpadding="0" align="center" width="980">
<tr>
<td width="10"> </td>
<td width="980" valign="top" id="left_column">
<!-- <div style="background-color:#dcdcdc; height:1px; overflow:hidden; width:990px; margin-top:20px; margin-bottom:10px;" class="table bg"></div> -->
<br /><br /><br /><div class="title_1"> <?php echo H2_CUSTOMER_AREA; ?> <?php echo $link = '<a class="link_1" href="javascript:void(0);" onclick="tb_show(\'Show Data\', \'Cliente/customer-data.php?item_id=&item_pos=&KeepThis=true&TB_iframe=true&height=600&width=990\', false);"><img height="16" title="' . VIEW_DATA . '" src="images/icons/free-vector-user-interface-icons/PNG/eye.png" /></a>'; ?> </div><br /><br />
<div class="txt_1"> <?php echo TXT_CUSTOMER_AREA; ?> </div><br /><br />
</td>
<td width="10"> </td>
</tr>
<tr><td colspan=3> </td></tr>
<tr>
<td colspan=3>
<div style="background-color:#dcdcdc; height:1px; overflow:hidden; width:997px; margin-top:20px; margin-bottom:10px;" class="table bg"></div>
</td>
</tr>
<tr><td colspan=3> </td></tr>
</table>
</td>
</tr>
</table>
<!-- footer -->
<?php require("_footer.inc.php"); ?>
<!-- footer -->
</body>
</html>