-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathviewcust.php
More file actions
209 lines (164 loc) · 7.83 KB
/
Copy pathviewcust.php
File metadata and controls
209 lines (164 loc) · 7.83 KB
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
<?php
include("dbconnection.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
<?php
include("header.php");
?>
<style type="text/css">
<!--
.style14 {font-size: 14px}
.style17 {font-size: 14px; font-weight: bold; color: #FFFFFF; }
.style24 {font-size: 16px; font-weight: bold; color: #FFCC66; }
.style25 {color: #FFFFFF; font-size: 14px;}
.style26 {color: #009933; font-weight: bold;}
-->
</style>
<title>Lubna Power View Customer List</title>
</head>
<body>
<div class="container">
<?php
include("banner.php");
?>
<?php
include("username.php");
?>
<?php
include("menu.php");
?>
<div class="headerplace">You are here >> Customer Information >> <a href="viewcust.php">View Customer List </a></div>
<div class="headercontent">
<div id="tabs">
<script type="text/javascript">
$(function()
{
// Tabs
$('#tabs').tabs();
});
</script>
<style type="text/css">
/*demo page css*/
ul#icons {margin: 0; padding: 0;}
ul#icons li {margin: 2px; position: relative; padding: 2px 0; cursor: pointer; float: left; list-style: none;}
ul#icons span.ui-icon {float: left; margin: 0 4px;}
</style>
<ul>
<li><a href="#tabs-1">View Customer Information Type: Individual</a></li>
<li><a href="#tabs-2">View Customer Information Type: Company</a></li>
</ul>
<div id="tabs-1">
<table align="center" border="1" width="100%">
<thead><tr>
<!--<th><span class="style24">Serial No.</span></th>-->
<th><span class="style24">Ref. No.</span></th><th><span class="style24">Customer Name</span></th><th><span class="style24">Customer <br>Mail Add.</span></th><th><span class="style24">Customer<br> Mobile No.</span></th><th><span class="style24">Customer <br>T&T No.</span></th><th><span class="style24">Customer <br>e-mail Add.</span></th></tr></thead>
<?php
$query = mysql_query("SELECT * from custind");
while($data = mysql_fetch_array($query)) { ?>
<tbody>
<tr>
<!-- <td><?php echo $data['serial'];?></td> -->
<td><?php echo $data['refno'];?></td>
<td><?php echo $data['custname'];?></td>
<td><?php echo $data['custmail'];?></td>
<td><?php echo $data['custmob'];?></td>
<td><?php echo $data['custland'];?></td>
<td><?php echo $data['custemail'];?></td>
</tr>
</tbody>
<?php } ?>
</table>
</div>
<div id="tabs-2">
<table align="center" border="1" width="100%" bordercolordark="#000000" bordercolorlight="#000000">
<thead><tr>
<!-- <th><span class="style24">Serial</span></th>-->
<th><span class="style24">Ref. No.</span></th>
<th><span class="style24">Company<br> Name</span></th>
<th><span class="style24">Comapny <br>Mail Add.</span></th>
<th><span class="style24">Company <br>Phone No.</span></th>
<th><span class="style24">Company<br> e-mail Add.</span></th>
<th><span class="style24">Conatct <br>Person</span></th>
<th><span class="style24">Person <br>Phone No.</span></th>
<th><span class="style24">Person <br>e-mail Add.</span></th></tr></thead>
<?php
$query = mysql_query("SELECT * from custcom");
while($data = mysql_fetch_array($query)) { ?>
<tbody>
<tr>
<!-- <td><?php echo $data['serial'];?></td> -->
<td><?php echo $data['refno'];?></td>
<td><?php echo $data['comname'];?></td>
<td><?php echo $data['commail'];?></td>
<td><?php echo $data['comphn'];?></td>
<td><?php echo $data['comemail'];?></td>
<td><?php echo $data['contactperson'];?></td>
<td><?php echo $data['personphn'];?></td>
<td><?php echo $data['personemail'];?></td>
</tr>
</tbody>
<?php } ?>
</table>
</div>
</div>
</div>
<!--<div class="main_right">
<div class="padded">
<h1>Etiam placerat</h1>
<p>Fusce porta pede nec eros. Maecenas ipsum sem, interdum non, aliquam vitae, interdum nec, metus. Maecenas ornare lobortis risus. Donec mattis <a href="index.html">quam aliquam</a> risus. Nulla non felis sollicitudin urna blandit egestas. Integer et libero varius pede tristique ultricies. Cras nisl. Proin quis massa semper felis euismod ultricies.</p>
<h1>Maecenas</h1>
<p>Fusce porta pede nec eros. Maecenas ipsum sem, interdum non, aliquam vitae, interdum nec, metus. Maecenas ornare lobortis risus.</p>
<h1>Lobortis</h1>
<p>Interdum nec, metus. Maecenas ornare lobortis risus. Donec mattis quam aliquam risus. Nulla non felis sollicitudin urna blandit egestas. Integer et libero <a href="index.html">varius pede</a> tristique ultricies. Cras nisl. Proin quis massa semper felis euismod ultricies.</p>
</div>
</div>-->
<!--<div class="subnav">
<h1>Something</h1>
<ul>
<li><a href="index.html">pellentesque</a></li>
<li><a href="index.html">sociis natoque</a></li>
<li><a href="index.html">semper</a></li>
<li><a href="index.html">convallis</a></li>
</ul>
<h1>Another thing</h1>
<ul>
<li><a href="index.html">consequat molestie</a></li>
<li><a href="index.html">sem justo</a></li>
<li><a href="index.html">semper</a></li>
<li><a href="index.html">sociis natoque</a></li>
</ul>
<h1>Third and last</h1>
<ul>
<li><a href="index.html">sociis natoque</a></li>
<li><a href="index.html">magna sed purus</a></li>
<li><a href="index.html">tincidunt</a></li>
<li><a href="index.html">consequat molestie</a></li>
</ul>
</div>-->
<!--<div class="main">
<div class="padded">
<h1>Porttitor posuere</h1>
<p class="meta">October 24th, 2006 by Duis porttitor</p>
<p>In hac habitasse platea dictumst. Duis porttitor. Sed vulputate elementum nisl. Vivamus et mi at arcu mattis iaculis. Nullam posuere tristique tortor. In bibendum. Aenean ornare, <a href="index.html">nunc eget pretium</a> porttitor, sem est pretium leo, non euismod nulla dui non diam. Pellentesque dictum faucibus leo. Vestibulum ac ante. Sed in est.</p>
<blockquote><p>Sed sodales nisl sit amet augue. Donec ultrices, augue ullamcorper posuere laoreet, turpis massa tristique justo, sed egestas metus magna sed purus.</p></blockquote>
<p>Aliquam risus justo, mollis in, laoreet a, consectetuer nec, risus. Nunc blandit sodales lacus. Nam luctus semper mi. In eu diam.</p>
<p>Fusce porta pede nec eros. Maecenas ipsum sem, interdum non, aliquam vitae, interdum nec, metus. Maecenas ornare lobortis risus. Etiam placerat varius mauris. Maecenas viverra. Sed feugiat. Donec mattis <a href="index.html">quam aliquam</a> risus. Nulla non felis sollicitudin urna blandit egestas. Integer et libero varius pede tristique ultricies. Cras nisl. Proin quis massa semper felis euismod ultricies.
</p>
<h1>Adipiscing</h1>
<p class="meta">September 31st, 2006 by Mauris</p>
<p>Aliquam risus justo, mollis in, laoreet a, consectetuer nec, risus. Nunc blandit sodales lacus. Nam luctus semper mi. In eu diam. Phasellus rutrum elit vel nisi. Cras mauris nulla, egestas quis, cursus at, venenatis ac, ante. Fusce accumsan enim et arcu. Duis sagittis libero at lacus. Suspendisse lacinia nulla eget urna.</p>
<ul>
<li>Tristique</li>
<li>Aenean</li>
<li>Pretium</li>
</ul>
<p>In hac habitasse platea dictumst. Duis porttitor. Sed vulputate elementum nisl. Vivamus et mi at arcu mattis iaculis. Nullam posuere tristique tortor. In bibendum. Aenean ornare, nunc eget pretium porttitor, sem est pretium leo, non euismod nulla dui non diam. Pellentesque dictum faucibus leo. Vestibulum ac ante. Sed in est. Sed sodales nisl sit amet augue. Donec ultrices, augue ullamcorper posuere laoreet, turpis massa tristique justo, sed egestas metus magna sed purus. Fusce eleifend, dui ut posuere auctor, justo elit posuere sapien, at blandit enim quam fringilla mi.</p>
</div>
</div>-->
<div class="clearer"><span></span></div>
<?php include("footer.php");?>
</div>
</body>
</html>