-
Notifications
You must be signed in to change notification settings - Fork 0
/
circulationarea_modify_action.php
executable file
·377 lines (305 loc) · 10.5 KB
/
circulationarea_modify_action.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
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
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
<?php
session_start();
if ($_SESSION['is_logged_in'] == 0) {
header("Location:login.php");
die();
}
if($_SESSION['isadmin']==0)
{
header("Location:notauthorised.php");
die();
}
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Postnoon</title>
<!-- CSS -->
<!-- Reset Stylesheet -->
<link rel="stylesheet" href="resources/css/reset.css" type="text/css" media="screen" />
<!-- Main Stylesheet -->
<link rel="stylesheet" href="resources/css/style.css" type="text/css" media="screen" />
<!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid -->
<link rel="stylesheet" href="resources/css/invalid.css" type="text/css" media="screen" />
<!-- Colour Schemes
Default colour scheme is green. Uncomment prefered stylesheet to use it.
<link rel="stylesheet" href="resources/css/blue.css" type="text/css" media="screen" />
<link rel="stylesheet" href="resources/css/red.css" type="text/css" media="screen" />
-->
<!-- Internet Explorer Fixes Stylesheet -->
<!--[if lte IE 7]>
<link rel="stylesheet" href="resources/css/ie.css" type="text/css" media="screen" />
<![endif]-->
<!-- Javascripts -->
<!-- jQuery -->
<script type="text/javascript" src="resources/scripts/jquery-1.3.2.min.js"></script>
<!-- jQuery Configuration -->
<script type="text/javascript" src="resources/scripts/simpla.jquery.configuration.js"></script>
<!-- Facebox jQuery Plugin -->
<script type="text/javascript" src="resources/scripts/facebox.js"></script>
<!-- jQuery WYSIWYG Plugin -->
<script type="text/javascript" src="resources/scripts/jquery.wysiwyg.js"></script>
<!-- Internet Explorer .png-fix -->
<!--[if IE 6]>
<script type="text/javascript" src="resources/scripts/DD_belatedPNG_0.0.7a.js"></script>
<script type="text/javascript">
DD_belatedPNG.fix('.png_bg, img, li');
</script>
<![endif]-->
</head>
<body><div id="body-wrapper"> <!-- Wrapper for the radial gradient background -->
<div id="sidebar"><div id="sidebar-wrapper"> <!-- Sidebar with logo and menu -->
<h1 id="sidebar-title"><a href="#">Simpla Admin</a></h1>
<!-- Logo (221px wide) -->
<a href="#"><img id="logo" src="resources/images/logo.png" alt="Simpla Admin logo" /></a>
<!-- Sidebar Profile links -->
<div id="profile-links">
<a href="logout.php" title="Sign Out">Sign Out</a>
</div>
<ul id="main-nav"> <!-- Accordion Menu -->
<li>
<a href="index.php" class="nav-top-item no-submenu"> <!-- Add the class "no-submenu" to menu items with no sub menu -->
Home
</a>
</li>
<?php
if($_SESSION['isadmin']==1)
echo " <li>
<a href='users.php' class='nav-top-item'> Users
</a>
<ul>
<li><a href='users.php'>Users</a></li>
</ul>
"
?>
<li>
<a href=employee_form.php class=nav-top-item>
employee
</a>
<ul>
<li><a href=employee_form.php>Insert</a></li>
<li><a href=employee_view.php>View</a></li>
<li><a href=employee_delete.php>Delete Entry</a></li>
<li><a href=employee_modify.php>Modify Entry</a></li>
</ul>
</li>
<li>
<a href=payroll_form.php class=nav-top-item>
payroll
</a>
<ul>
<li><a href=payroll_form.php>Insert</a></li>
<li><a href=payroll_view.php>View</a></li>
<li><a href=payroll_delete.php>Delete Entry</a></li>
<li><a href=payroll_modify.php>Modify Entry</a></li>
</ul>
</li>
<li>
<a href=dependents_form.php class=nav-top-item>
dependents
</a>
<ul>
<li><a href=dependents_form.php>Insert</a></li>
<li><a href=dependents_view.php>View</a></li>
<li><a href=dependents_delete.php>Delete Entry</a></li>
<li><a href=dependents_modify.php>Modify Entry</a></li>
</ul>
</li>
<li>
<a href=department_form.php class=nav-top-item>
department
</a>
<ul>
<li><a href=department_form.php>Insert</a></li>
<li><a href=department_view.php>View</a></li>
<li><a href=department_delete.php>Delete Entry</a></li>
<li><a href=department_modify.php>Modify Entry</a></li>
</ul>
</li>
<li>
<a href=BalanceSheet_form.php class=nav-top-item>
BalanceSheet
</a>
<ul>
<li><a href=BalanceSheet_form.php>Insert</a></li>
<li><a href=BalanceSheet_view.php>View</a></li>
<li><a href=BalanceSheet_delete.php>Delete Entry</a></li>
<li><a href=BalanceSheet_modify.php>Modify Entry</a></li>
</ul>
</li>
<li>
<a href=Advertisements_form.php class=nav-top-item>
Advertisements
</a>
<ul>
<li><a href=Advertisements_form.php>Insert</a></li>
<li><a href=Advertisements_view.php>View</a></li>
<li><a href=Advertisements_delete.php>Delete Entry</a></li>
<li><a href=Advertisements_modify.php>Modify Entry</a></li>
</ul>
</li>
<li>
<a href=adclients_form.php class=nav-top-item>
adclients
</a>
<ul>
<li><a href=adclients_form.php>Insert</a></li>
<li><a href=adclients_view.php>View</a></li>
<li><a href=adclients_delete.php>Delete Entry</a></li>
<li><a href=adclients_modify.php>Modify Entry</a></li>
</ul>
</li>
<li>
<a href=newssection_form.php class=nav-top-item>
newssection
</a>
<ul>
<li><a href=newssection_form.php>Insert</a></li>
<li><a href=newssection_view.php>View</a></li>
<li><a href=newssection_delete.php>Delete Entry</a></li>
<li><a href=newssection_modify.php>Modify Entry</a></li>
</ul>
</li>
<li>
<a href=reporter_form.php class=nav-top-item>
reporter
</a>
<ul>
<li><a href=reporter_form.php>Insert</a></li>
<li><a href=reporter_view.php>View</a></li>
<li><a href=reporter_delete.php>Delete Entry</a></li>
<li><a href=reporter_modify.php>Modify Entry</a></li>
</ul>
</li>
<li>
<a href=photographer_form.php class=nav-top-item>
photographer
</a>
<ul>
<li><a href=photographer_form.php>Insert</a></li>
<li><a href=photographer_view.php>View</a></li>
<li><a href=photographer_delete.php>Delete Entry</a></li>
<li><a href=photographer_modify.php>Modify Entry</a></li>
</ul>
</li>
<li>
<a href=clicksfor_form.php class=nav-top-item>
clicksfor
</a>
<ul>
<li><a href=clicksfor_form.php>Insert</a></li>
<li><a href=clicksfor_view.php>View</a></li>
<li><a href=clicksfor_delete.php>Delete Entry</a></li>
<li><a href=clicksfor_modify.php>Modify Entry</a></li>
</ul>
</li>
<li>
<a href=nfvarticles_form.php class=nav-top-item>
nfvarticles
</a>
<ul>
<li><a href=nfvarticles_form.php>Insert</a></li>
<li><a href=nfvarticles_view.php>View</a></li>
<li><a href=nfvarticles_delete.php>Delete Entry</a></li>
<li><a href=nfvarticles_modify.php>Modify Entry</a></li>
</ul>
</li>
<li>
<a href=newsfeedvendor_form.php class=nav-top-item>
newsfeedvendor
</a>
<ul>
<li><a href=newsfeedvendor_form.php>Insert</a></li>
<li><a href=newsfeedvendor_view.php>View</a></li>
<li><a href=newsfeedvendor_delete.php>Delete Entry</a></li>
<li><a href=newsfeedvendor_modify.php>Modify Entry</a></li>
</ul>
</li>
<li>
<a href=circulationarea_form.php class=nav-top-item>
circulationarea
</a>
<ul>
<li><a href=circulationarea_form.php>Insert</a></li>
<li><a href=circulationarea_view.php>View</a></li>
<li><a href=circulationarea_delete.php>Delete Entry</a></li>
<li><a href=circulationarea_modify.php>Modify Entry</a></li>
</ul>
</li>
<li>
<a href=localdistributer_form.php class=nav-top-item>
localdistributer
</a>
<ul>
<li><a href=localdistributer_form.php>Insert</a></li>
<li><a href=localdistributer_view.php>View</a></li>
<li><a href=localdistributer_delete.php>Delete Entry</a></li>
<li><a href=localdistributer_modify.php>Modify Entry</a></li>
</ul>
</li>
<li>
<a href=papervendor_form.php class=nav-top-item>
papervendor
</a>
<ul>
<li><a href=papervendor_form.php>Insert</a></li>
<li><a href=papervendor_view.php>View</a></li>
<li><a href=papervendor_delete.php>Delete Entry</a></li>
<li><a href=papervendor_modify.php>Modify Entry</a></li>
</ul>
</li>
<li>
<a href=daytodaygoods_form.php class=nav-top-item>
daytodaygoods
</a>
<ul>
<li><a href=daytodaygoods_form.php>Insert</a></li>
<li><a href=daytodaygoods_view.php>View</a></li>
<li><a href=daytodaygoods_delete.php>Delete Entry</a></li>
<li><a href=daytodaygoods_modify.php>Modify Entry</a></li>
</ul>
</li> <!-- End #main-nav -->
</div></div> <!-- End #sidebar -->
<div id="main-content"> <!-- Main Content Section with everything -->
<noscript> <!-- Show a notification if the user has disabled javascript -->
<div class="notification error png_bg">
<div>
Javascript is disabled or is not supported by your browser. Please <a href="http://browsehappy.com/" title="Upgrade to a better browser">upgrade</a> your browser or <a href="http://www.google.com/support/bin/answer.py?answer=23852" title="Enable Javascript in your browser">enable</a> Javascript to navigate the interface properly.
</div>
</div>
</noscript>
<!-- Page Head -->
<h2>Circulation Area Form</h2>
<p id="page-intro">Enter Circulation Area Details</p>
<div class="clear"></div> <!-- End .clear -->
<div class="content-box"><!-- Start Content Box -->
<div class="content-box-header">
<div class="clear"></div>
</div> <!-- End .content-box-header -->
<div class="tab-content" id="tab2">
<form action="circulationarea_insert.php" method="post">
<fieldset> <!-- Set class to "column-left" or "column-right" on fieldsets to divide the form into columns -->
<p>
<label> Name:</label>
<input class="text-input small-input" type="text" name="name" />
</p>
<p>
<label>Executive ID:</label>
<input class="text-input small-input" type="text" size="9" maxlength="9" name="executiveid" />
</p>
<p>
<label> Handeled By:</label>
<input class="text-input small-input" type="text" name="handeledby" />
</p>
<p>
<input class="button" type="submit" value="Submit" />
</p>
</fieldset>
<div class="clear"></div><!-- End .clear -->
</form>
</div> <!-- End #tab2 -->
</div> <!-- End .content-box-content -->
</div> <!-- End .content-box -->
</div> <!-- End #main-content -->
</div></body>
</html>