-
Notifications
You must be signed in to change notification settings - Fork 0
/
inventory-1.php
552 lines (494 loc) · 35.5 KB
/
inventory-1.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
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
<?php
require 'header.php';
?>
<?php
if (isset($_SESSION['yhy'])) {
$user = $_SESSION['yhy'];
$sql = "select firstname, lastname approved from employees where username='" . $user . "'";
$result = mysqli_query($conn, $sql);
$row = mysqli_fetch_array($result);
$fn = $row[0];
$ln = $row[1];
} else {
echo '<script> alert("Please Re-login!")</script>';
print '<script> location.replace("index.php"); </script>';
}
?>
<?php
$columns = array('sku', 'brand', 'category', 'price', 'ram', 'cpu', 'quality', 'shanghai', 'transit', 'nc','sold');
$column = isset($_GET['column']) && in_array($_GET['column'], $columns) ? $_GET['column'] : $columns[0];
$sort_order = isset($_GET['order']) && strtolower($_GET['order']) == 'desc' ? 'DESC' : 'ASC';
$search = "";
if (isset($_POST['search'])) {
$sql = "SELECT * FROM product where sku LIKE '%" . @$_POST['searchtext'] . "%' ORDER BY " . $column . ' ' . $sort_order;
} else {
$sql = "SELECT * FROM product ORDER BY " . $column . ' ' . $sort_order;
}
$result = mysqli_query($conn, $sql);
$totalrow = mysqli_num_rows($result);
//$totalpage = ceil($totalrow / $perpage);
if ($totalrow != 0) {
$up_or_down = str_replace(array('ASC', 'DESC'), array('up', 'down'), $sort_order);
$asc_or_desc = $sort_order == 'ASC' ? 'desc' : 'asc';
$add_class = ' class="highlight"';
while ($arr = mysqli_fetch_array($result)) {
$data[] = $arr;
}
}
?>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>Unihorn| Manage System</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- favicon
============================================ -->
<link rel="shortcut icon" type="image/x-icon" href="img/favicon.ico">
<!-- Google Fonts
============================================ -->
<link href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,700,900" rel="stylesheet">
<!-- Bootstrap CSS
============================================ -->
<link rel="stylesheet" href="css/bootstrap.min.css">
<!-- Bootstrap CSS
============================================ -->
<link rel="stylesheet" href="css/font-awesome.min.css">
<!-- nalika Icon CSS
============================================ -->
<link rel="stylesheet" href="css/nalika-icon.css">
<!-- owl.carousel CSS
============================================ -->
<link rel="stylesheet" href="css/owl.carousel.css">
<link rel="stylesheet" href="css/owl.theme.css">
<link rel="stylesheet" href="css/owl.transitions.css">
<!-- animate CSS
============================================ -->
<link rel="stylesheet" href="css/animate.css">
<!-- normalize CSS
============================================ -->
<link rel="stylesheet" href="css/normalize.css">
<!-- meanmenu icon CSS
============================================ -->
<link rel="stylesheet" href="css/meanmenu.min.css">
<!-- main CSS
============================================ -->
<link rel="stylesheet" href="css/main.css">
<!-- morrisjs CSS
============================================ -->
<link rel="stylesheet" href="css/morrisjs/morris.css">
<!-- mCustomScrollbar CSS
============================================ -->
<link rel="stylesheet" href="css/scrollbar/jquery.mCustomScrollbar.min.css">
<!-- metisMenu CSS
============================================ -->
<link rel="stylesheet" href="css/metisMenu/metisMenu.min.css">
<link rel="stylesheet" href="css/metisMenu/metisMenu-vertical.css">
<!-- calendar CSS
============================================ -->
<link rel="stylesheet" href="css/calendar/fullcalendar.min.css">
<link rel="stylesheet" href="css/calendar/fullcalendar.print.min.css">
<!-- style CSS
============================================ -->
<link rel="stylesheet" href="style.css">
<!-- responsive CSS
============================================ -->
<link rel="stylesheet" href="css/responsive.css">
<!-- modernizr JS
============================================ -->
<script src="js/vendor/modernizr-2.8.3.min.js"></script>
</head>
<body>
<!--[if lt IE 8]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<div class="left-sidebar-pro">
<nav id="sidebar" class="">
<div class="nalika-profile">
<div class="profile-dtl">
<a href="homepage.php"><img src="img/uni.jpg" alt="" /></a>
<h2> <?php print $fn; ?> <span class="min-dtn"> <?php print $ln; ?></span></h2>
</div>
<div class="profile-social-dtl">
<ul class="dtl-social">
<li><a href="#" onclick="openNewWin('http://www.facebook.com');"><i class="icon nalika-facebook"></i></a></li>
<li><a href="#" onclick="openNewWin('http://www.twitter.com');"><i class="icon nalika-twitter"></i></a></li>
<li><a href="#" onclick="openNewWin('http://www.linkedin.com');"><i class="icon nalika-linkedin"></i></a></li>
</ul>
</div>
</div>
<div class="left-custom-menu-adp-wrap comment-scrollbar">
<nav class="sidebar-nav left-sidebar-menu-pro">
<ul class="metismenu" id="menu1">
<li>
<a class="has-arrow" href="homepage.php">
<i class="icon nalika-home icon-wrap"></i>
<span class="mini-click-non">Dashboard</span>
</a>
<ul class="submenu-angle" aria-expanded="false">
<li><a title="Dashboard" href="homepage.php"><span class="mini-sub-pro">Dashboard</span></a></li>
<li><a title="Notification" href="notification.php"><span class="mini-sub-pro">Notification</span></a></li>
</ul>
</li>
<li>
<a class="has-arrow" href="product-list.php">
<i class="icon nalika-table icon-wrap"></i>
<span class="mini-click-non">Product</span>
</a>
<ul class="submenu-angle" aria-expanded="false">
<li><a title="Product List" href="product-list.php"><span class="mini-sub-pro">Product List</span></a></li>
<li><a title="Product Edit" href="product-edit.php"><span class="mini-sub-pro">Product Edit</span></a></li>
<li><a title="Product Detail" href="product-detail.php"><span class="mini-sub-pro">Product Detail</span></a></li>
</ul>
</li>
<li>
<a class="has-arrow" href="mailbox.html" aria-expanded="false"><i class="icon nalika-mail icon-wrap"></i> <span class="mini-click-non">Export & Import</span></a>
<ul class="submenu-angle" aria-expanded="false">
<li><a class="has-arrow" title="Import" href="supply.php"><span >Incoming</span></a>
<ul class="submenu-angle" aria-expanded="false">
<li><a title="Supply" href="supply.php"><span class="mini-sub-pro">Supply & Return(NC)</span></a></li>
<li><a title="Supply" href="supplysh.php"><span class="mini-sub-pro">Supply & Return(SH)</span></a></li>
<li><a title="Import Stock" href="stockaccept.php"><span class="mini-sub-pro">Import Stock</span></a></li>
</ul>
</li>
<li><a class="has-arrow" title="Export" href="outgoingnc.php"><span >Outgoing</span></a>
<ul class="submenu-angle" aria-expanded="false">
<li><a title="Order & Replacement" href="outgoingnc.php"><span class="mini-sub-pro">Order & Replace(NC)</span></a></li>
<li><a title="Order & Replacement" href="outgoingsh.php"><span class="mini-sub-pro">Order & Replace(SH)</span></a></li>
<li><a title="Export Stock" href="stocktrans.php"><span class="mini-sub-pro">Export Stock</span></a></li>
</ul>
</li>
</ul>
</li>
<li class="active">
<a class="has-arrow" href="inventory-1.php" aria-expanded="false"><i class="icon nalika-diamond icon-wrap"></i> <span class="mini-click-non">Warehouse</span></a>
<ul class="submenu-angle" aria-expanded="false">
<li><a title="Inventory" href="inventory-1.php"><span class="mini-sub-pro">Inventory</span></a></li>
<li><a title="Shanghai" href="recordsh.php"><span class="mini-sub-pro">Record SH</span></a></li>
<li><a title="Greensboro" href="recordnc.php"><span class="mini-sub-pro">Record NC</span></a></li>
</ul>
</li>
<li>
<a class="has-arrow" href="bar-charts.html" aria-expanded="false"><i class="icon nalika-bar-chart icon-wrap"></i> <span class="mini-click-non">Charts</span></a>
<ul class="submenu-angle" aria-expanded="false">
<li><a title="Bar Charts" href="bar-charts.html"><span class="mini-sub-pro">Bar Charts</span></a></li>
<li><a title="Line Charts" href="line-charts.html"><span class="mini-sub-pro">Line Charts</span></a></li>
<li><a title="Area Charts" href="area-charts.html"><span class="mini-sub-pro">Area Charts</span></a></li>
<li><a title="Rounded Charts" href="rounded-chart.html"><span class="mini-sub-pro">Rounded Charts</span></a></li>
<li><a title="C3 Charts" href="c3.html"><span class="mini-sub-pro">C3 Charts</span></a></li>
<li><a title="Sparkline Charts" href="sparkline.html"><span class="mini-sub-pro">Sparkline Charts</span></a></li>
<li><a title="Peity Charts" href="peity.html"><span class="mini-sub-pro">Peity Charts</span></a></li>
</ul>
</li>
<li>
<a class="has-arrow" href="static-table.html" aria-expanded="false"><i class="icon nalika-table icon-wrap"></i> <span class="mini-click-non">Data Tables</span></a>
<ul class="submenu-angle" aria-expanded="false">
<li><a title="Peity Charts" href="static-table.html"><span class="mini-sub-pro">Static Table</span></a></li>
<li><a title="Data Table" href="data-table.html"><span class="mini-sub-pro">Data Table</span></a></li>
</ul>
</li>
<li>
<a class="has-arrow" href="#" aria-expanded="false"><i class="icon nalika-new-file icon-wrap"></i> <span class="mini-click-non">Website Link</span></a>
<ul class="submenu-angle" aria-expanded="false">
<li><a title="Finance" href="bookmark.php"><span class="mini-sub-pro">Bookmark</span></a></li>
</ul>
</li>
</ul>
</nav>
</div>
</nav>
</div>
<!-- Mobile Menu end -->
<div class="all-content-wrapper">
<div class="header-advance-area">
<div class="header-top-area">
<div class="container-fluid">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<div class="header-top-wraper">
<div class="row">
<div class="col-lg-1 col-md-0 col-sm-1 col-xs-12">
<div class="menu-switcher-pro">
<button type="button" class="btn bar-button-pro header-drl-controller-btn btn-info navbar-btn">
<i class="fa fa-bars"></i>
</button>
</div>
</div>
<div class="col-lg-6 col-md-7 col-sm-6 col-xs-12">
<div class="header-top-menu tabl-d-n">
<ul class="nav navbar-nav mai-top-nav">
<li class="nav-item"><a href="#" class="nav-link">Home</a>
</li>
<li class="nav-item"><a href="#" class="nav-link">About</a>
</li>
<li class="nav-item"><a href="#" class="nav-link">Services</a>
</li>
<li class="nav-item"><a href="#" class="nav-link">Support</a>
</li>
</ul>
</div>
</div>
<div class="col-lg-5 col-md-6 col-sm-12 col-xs-12">
<div class="header-right-info">
<ul class="nav navbar-nav mai-top-nav header-right-menu">
<li class="nav-item"><a href="#" data-toggle="dropdown" role="button" aria-expanded="false" class="nav-link dropdown-toggle"><i class="icon nalika-menu-task"></i></a>
<ul role="menu" class="dropdown-header-top author-log dropdown-menu animated zoomIn">
<li><a href="#"><span class="icon nalika-home author-log-ic"></span> Dashboard</a>
<a title="Dashboard" href="homepage.php"><span class="mini-sub-pro">Dashboard</span></a>
<a title="Notification" href="notification.php"><span class="mini-sub-pro">Notification</span></a>
</li>
<li><a href="#"><span class="icon nalika-diamond author-log-ic"></span> Warehouse</a>
<li><a title="Inventory" href="inventory-1.php"><span class="mini-sub-pro">Inventory</span></a>
<a title="Shanghai" href="recordsh.php"><span class="mini-sub-pro">Record SH</span></a>
<a title="Greensboro" href="recordnc.php"><span class="mini-sub-pro">Record NC</span></a></li>
</ul>
</li>
<li class="nav-item"><a href="#" data-toggle="dropdown" role="button" aria-expanded="false" class="nav-link dropdown-toggle"><i class="icon nalika-alarm" aria-hidden="true"></i><span class="<?php if($totalnotes!=0)print 'indicator-nt'?>"></span></a>
<div role="menu" class="notification-author dropdown-menu animated zoomIn">
<div class="notification-single-top">
<h1>Notifications</h1>
</div>
<ul class="notification-menu">
<?php
for($i=0;$i<count($datanote)&&$i<3;$i++){
print "<li>
<a href='notification.php'>
<div class='notification-icon'>
<i class='icon nalika-tick' aria-hidden='true'></i>
</div>
<div class='notification-content'>
<h2>";print $datanote[$i]['date']; print "</h2>
<p>".$datanote[$i]['subject']."</p>
</div>
</a>
</li>";}
?>
</ul>
<div class="notification-view">
<?php if(count($datanote)>3) print "<a href='notification.php'>View All Notification</a>";?>
</div>
</div>
</li>
<li class="nav-item">
<a href="#" data-toggle="dropdown" role="button" aria-expanded="false" class="nav-link dropdown-toggle">
<i class="icon nalika-user"></i>
<span class="admin-name"><?php print $user ?></span>
<i class="icon nalika-down-arrow nalika-angle-dw"></i>
</a>
<ul role="menu" class="dropdown-header-top author-log dropdown-menu animated zoomIn">
<li><a href="register.php"><span class="icon nalika-home author-log-ic"></span> Register</a>
</li>
<li><a href="#"><span class="icon nalika-user author-log-ic"></span> My Profile</a>
</li>
<li><a href="lock.php"><span class="icon nalika-diamond author-log-ic"></span> Lock</a>
</li>
<li><a href="#"><span class="icon nalika-settings author-log-ic"></span> Settings</a>
</li>
<li><a href="logout.php"><span class="icon nalika-unlocked author-log-ic"></span> Log Out</a>
</li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Mobile Menu start -->
<!-- Mobile Menu end -->
<div class="breadcome-area">
<div class="container-fluid">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<div class="breadcome-list">
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-6">
<div class="breadcomb-wp">
<div class="breadcomb-icon">
<i class="icon nalika-diamond"></i>
</div>
<div class="breadcomb-ctn">
<h2>Warehouse</h2>
<p>Welcome to Unihorn Management System <span class="bread-ntd"></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="product-status mg-b-30">
<div class="container-fluid">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<div class="product-status-wrap">
<h4>Inventory</h4>
<div>
<div class="col-lg-6 col-md-7 col-sm-6 col-xs-12">
<div class="header-top-menu tabl-d-n">
<div class="breadcome-heading">
<form method="post" role="search" class="">
<div style="width:200px;float:left;"><input name="searchtext" type="text" placeholder="Search Content....." value="<?php
if (isset($_POST['searchtext'])) {
print $_POST['searchtext'];
}
?>" ></div>
<div style="color:#fff;width:000px;float:left;">
<button name="search" type="submit" value="search" class="pd-setting-ed"><i class="fa fa-search-plus" aria-hidden="true"></i></button>
</div>
</form>
</div>
</div>
</div>
</div>
<form action="" method="post" name="form">
<table >
<tr>
<th><a style="color: #fff" href="inventory-1.php?column=sku&order=<?php echo $asc_or_desc; ?>">Product SKU <i class=" fa fa-sort<?php echo $column == 'sku' ? '-' . $up_or_down : ''; ?>"></i></a></th>
<th><a style="color: #fff" href="inventory-1.php?column=brand&order=<?php echo $asc_or_desc; ?>">Brand <i class=" fa fa-sort<?php echo $column == 'brand' ? '-' . $up_or_down : ''; ?>"></i></a></th>
<th><a style="color: #fff" href="inventory-1.php?column=category&order=<?php echo $asc_or_desc; ?>">Category <i class="fa fa-sort<?php echo $column == 'category' ? '-' . $up_or_down : ''; ?>"></i></a></th>
<th><a style="color: #fff" href="inventory-1.php?column=price&order=<?php echo $asc_or_desc; ?>">Original Price <i class="fa fa-sort<?php echo $column == 'price' ? '-' . $up_or_down : ''; ?>"></i></a></th>
<th><a style="color: #fff" href="inventory-1.php?column=ram&order=<?php echo $asc_or_desc; ?>">RAM Type <i class="fa fa-sort<?php echo $column == 'ram' ? '-' . $up_or_down : ''; ?>"></i></a></th>
<th><a style="color: #fff" href="inventory-1.php?column=cpu&order=<?php echo $asc_or_desc; ?>">Cpu Type <i class="fa fa-sort<?php echo $column == 'cpu' ? '-' . $up_or_down : ''; ?>"></i></a></th>
<th><a style="color: #fff" href="inventory-1.php?column=quality&order=<?php echo $asc_or_desc; ?>">Quality <i class="fa fa-sort<?php echo $column == 'quality' ? '-' . $up_or_down : ''; ?>"></i></a></th>
<th><a style="color: #fff" href="inventory-1.php?column=sold&order=<?php echo $asc_or_desc; ?>">Sold <i class="fa fa-sort<?php echo $column == 'sold' ? '-' . $up_or_down : ''; ?>"></i></a></th>
<th><a style="color: #fff" href="inventory-1.php?column=shanghai&order=<?php echo $asc_or_desc; ?>">SH Inventory <i class="fa fa-sort<?php echo $column == 'shanghai' ? '-' . $up_or_down : ''; ?>"></i></a></th>
<th><a style="color: #fff" href="inventory-1.php?column=transit&order=<?php echo $asc_or_desc; ?>">In Transit <i class="fa fa-sort<?php echo $column == 'transit' ? '-' . $up_or_down : ''; ?>"></i></a></th>
<th><a style="color: #fff" href="inventory-1.php?column=nc&order=<?php echo $asc_or_desc; ?>">NC Inventory <i class="fa fa-sort<?php echo $column == 'nc' ? '-' . $up_or_down : ''; ?>"></i></a></th>
</tr>
<?php
if ($totalrow != 0) {
//for ($i = 0; $i < $perpage; $i++) {
//$index = ($page - 1) * $perpage + $i;
//if ($index >= count($data))
//break;
//else {
$ncall=0;
$shall=0;
$transitall=0;
$all=0;
for ($index = 0; $index < count($data); $index++) {
print '<tr>';
print "<td>{$data[$index]['sku']}</td>";
print "<td>{$data[$index]['brand']}</td>";
print "<td>{$data[$index]['category']}</td>";
print "<td>{$data[$index]['price']}</td>";
print "<td>{$data[$index]['ram']}</td>";
print "<td>{$data[$index]['cpu']}</td>";
print "<td>{$data[$index]['quality']}</td>";
print "<td>{$data[$index]['sold']}</td>";
print "<td>{$data[$index]['shanghai']}</td>";
print "<td>{$data[$index]['transit']}</td>";
print "<td>{$data[$index]['nc']}</td>";
print "</tr>";
$transitall=$data[$index]['transit']+$transitall;
$shall=$data[$index]['shanghai']+$shall;
$ncall=$data[$index]['nc']+$ncall;
$all = $transitall + $shall + $ncall ;
}
}
?>
</table>
<!-- <div class="custom-pagination " >
<ul class="pagination ">
<?php
for ($i = 1; $i <= $totalpage; $i++) {
if ($i == $page) {
printf("<li ><a >%d</a></li>", $i);
} else {
printf("<li class='page-item'><a class='page-link' href='%s?page=%d'>%d</a></li>", $_SERVER["PHP_SELF"], $i, $i);
}
}
?>
</ul>
</div>-->
<p style="color:#ff4"> NC Inventory: <?php print $ncall;?> SH Inventory: <?php print $shall;?> In Transit Total: <?php print $transitall;?></p>
</form>
</div>
</div>
</div>
</div>
</div>
<div class="footer-copyright-area">
<div class="container-fluid">
<div class="row">
<div class="col-lg-12">
<div class="footer-copy-right">
<p>Copyright © 2019 <a href="https://www.unihorn.tech">Unihorn</a> All rights reserved.</p>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- jquery
============================================ -->
<script src="js/vendor/jquery-1.12.4.min.js"></script>
<!-- bootstrap JS
============================================ -->
<script src="js/bootstrap.min.js"></script>
<!-- wow JS
============================================ -->
<script src="js/wow.min.js"></script>
<!-- price-slider JS
============================================ -->
<script src="js/jquery-price-slider.js"></script>
<!-- meanmenu JS
============================================ -->
<script src="js/jquery.meanmenu.js"></script>
<!-- owl.carousel JS
============================================ -->
<script src="js/owl.carousel.min.js"></script>
<!-- sticky JS
============================================ -->
<script src="js/jquery.sticky.js"></script>
<!-- scrollUp JS
============================================ -->
<script src="js/jquery.scrollUp.min.js"></script>
<!-- mCustomScrollbar JS
============================================ -->
<script src="js/scrollbar/jquery.mCustomScrollbar.concat.min.js"></script>
<script src="js/scrollbar/mCustomScrollbar-active.js"></script>
<!-- metisMenu JS
============================================ -->
<script src="js/metisMenu/metisMenu.min.js"></script>
<script src="js/metisMenu/metisMenu-active.js"></script>
<!-- sparkline JS
============================================ -->
<script src="js/sparkline/jquery.sparkline.min.js"></script>
<script src="js/sparkline/jquery.charts-sparkline.js"></script>
<!-- calendar JS
============================================ -->
<script src="js/calendar/moment.min.js"></script>
<script src="js/calendar/fullcalendar.min.js"></script>
<script src="js/calendar/fullcalendar-active.js"></script>
<!-- float JS
============================================ -->
<script src="js/flot/jquery.flot.js"></script>
<script src="js/flot/jquery.flot.resize.js"></script>
<script src="js/flot/curvedLines.js"></script>
<script src="js/flot/flot-active.js"></script>
<!-- plugins JS
============================================ -->
<script src="js/plugins.js"></script>
<!-- main JS
============================================ -->
<script src="js/main.js"></script>
<script type="text/javascript">
function openNewWin(url)
{
window.open(url);
}
function confirmation(url) {
return confirm('Are you sure?');
}
</script>
</body>
</html>