-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathupload_manage.php
48 lines (47 loc) · 1005 Bytes
/
upload_manage.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
<?php
include("include/db.php");
include("include/utility.php");
include("include/session.php");
include("include/paging.php");
define("APP_START", 1);
$tab_array=array("list", "add", "delete", "bulk_action", "upload_center");
if(isset($_REQUEST["tab"]) && in_array($_REQUEST["tab"], $tab_array)){
$tab=$_REQUEST["tab"];
}
else{
$tab="list";
}
switch($tab){
case 'add':
include("modules/upload/add_do.php");
break;
case 'delete':
include("modules/upload/delete_do.php");
break;
case 'upload_center':
include("modules/upload/upload_center_do.php");
break;
case 'bulk_action':
include("modules/upload/bulkactions.php");
break;
}
?>
<?php include("include/header.php");?>
<div class="container-widget row">
<div class="col-md-12">
<?php
switch($tab){
case 'list':
include("modules/upload/list.php");
break;
case 'add':
include("modules/upload/add.php");
break;
}
?>
</div>
</div>
</div>
<?php include("include/footer.php");?>
</body>
</html>