]>
src.bluestatic.org Git - bugdar.git/blob - admin/fields.php
2 /*=====================================================================*\
3 || ################################################################### ||
4 || # BugStrike [#]version[#]
5 || # --------------------------------------------------------------- # ||
6 || # Copyright ©2002-[#]year[#] by Iris Studios, Inc. All Rights Reserved. # ||
7 || # This file may not be reproduced in any way without permission. # ||
8 || # --------------------------------------------------------------- # ||
9 || # User License Agreement at http://www.iris-studios.com/license/ # ||
10 || ################################################################### ||
11 \*=====================================================================*/
13 require_once('./global.php');
15 if (!can_perform('canadminfields'))
20 // ###################################################################
22 if (empty($_REQUEST['do']))
24 $_REQUEST['do'] = 'modify';
27 // ###################################################################
29 if ($_REQUEST['do'] == 'kill')
31 // run code to remove item in database
34 // ###################################################################
36 if ($_REQUEST['do'] == 'delete')
38 // display delete confirmation message
41 // ###################################################################
43 if ($_POST['do'] == 'insert')
45 // run code to insert new item into database
48 // ###################################################################
50 if ($_REQUEST['do'] == 'add')
52 // display form to add new item
55 // ###################################################################
57 if ($_POST['do'] == 'update')
59 // run code to update item in database
62 // ###################################################################
64 if ($_REQUEST['do'] == 'edit')
66 // display form to edit item
69 // ###################################################################
71 if ($_REQUEST['do'] == 'modify')
73 // show default branch for this script
76 /*=====================================================================*\
77 || ###################################################################
80 || ###################################################################
81 \*=====================================================================*/