This repository was archived by the owner on Jun 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgroup_edit.php
90 lines (75 loc) · 2.82 KB
/
group_edit.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
<?php
/*
+----------------------------------------------------------------------+
| DILPS - Distributed Image Library System |
+----------------------------------------------------------------------+
| Copyright (c) 2002-2004 Juergen Enge |
| http://www.dilps.net |
+----------------------------------------------------------------------+
| This source file is subject to the GNU General Public License as |
| published by the Free Software Foundation; either version 2 of the |
| License, or (at your option) any later version. |
| |
| Distributed Playout Infrastructure is distributed in the hope that |
| it will be useful,but WITHOUT ANY WARRANTY; without even the implied |
| warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| See the GNU General Public License for more details. |
| |
| You should have received a copy of the GNU General Public License |
| along with this program; if not, write to the Free Software |
| Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA |
| 02111-1307, USA |
+----------------------------------------------------------------------+
*/
/*
* Group Managament
* -------------------------------------------------------------
* File: edit_groups.php
* Purpose: Implements the functionality of the group
* management (found in edit_groups.tpl)
* -------------------------------------------------------------
*/
// import standard libraries and configuraiton values
require('includes.inc.php');
global $db, $db_prefix, $user;
/*
print_r($_REQUEST);
$db->debug = true;
*/
// read sessiond id from get/post
if (isset($_REQUEST['PHPSESSID']))
{
$sessionid = $_REQUEST['PHPSESSID'];
}
else
{
$sessionid = '';
}
if (!empty($_REQUEST['action'])){
$action = $_REQUEST['action'];
} else {
$action = array();
}
if (!empty($_REQUEST['lastL1'])){
$lastL1 = trim($_REQUEST['lastL1']);
} else {
$lastL1 = '';
}
if (!empty($_REQUEST['lastL2'])){
$lastL2 = trim($_REQUEST['lastL2']);
} else {
$lastL2 = '';
}
/*
echo ("Action: \n<br>\n");
print_r($action);
echo ("\n<br>\n");
*/
$smarty->assign('sessionid',$sessionid);
$smarty->assign('action',$action);
$smarty->assign('lastL1', $lastL1);
$smarty->assign('lastL2', $lastL2);
$smarty->display( $config['skin'].'/'.'group_edit.tpl' );
//phpinfo();
?>