-
Notifications
You must be signed in to change notification settings - Fork 0
/
eventsmodifier.php
80 lines (63 loc) · 1.5 KB
/
eventsmodifier.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
<?php
/**
* @author Chris & Robert Whetzel
* @copyright 2010
*/
session_start();
$cancelProcess = false;
if (!isset($_SESSION['authUser'])) {
$cancelProcess = true;
header("Location: login.php");
} else {
require 'lib/db.php';
$KoolControlsFolder = "KoolControls";
require $KoolControlsFolder."/KoolAjax/koolajax.php";
$i;
$eventName;
$expirationDate;
$UserID = $_SESSION['UserID'];
$getWhere = $_GET['u'];
if($getWhere == "")
{
$cancelProcess = true;
}
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<title>BUMC Admin</title>
<script src="js/regadmin.js" type="text/javascript"></script>
<link href="css/regadmin.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="images/site.ico">
<script type="text/javascript">
</script>
</head>
<body>
<div id="header" class="header"></div>
<div class="page">
<?php
require "header.php";
?>
<div id="containerHolder" class="contHolderSingle">
<?php
echo "<div style='width:100%'>";
echo "<br />!!!Panels!!!<br /><br />";
echo " Create New<br /><br />";
$result = db::get_connection("SELECT IsRequired,Left,Right FROM tblPanels WHERE UserID='".$UserID."'");
if($result)
{
//do something with them
} else {
echo "No fields added yet.";
}
?>
<div style="clear: both;"></div>
</div>
</div>
</body>
</html>
<?php
//mysqli_close($db_con);
}
?>