| Server IP : 104.21.21.239 / Your IP : 216.73.216.30 Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5 System : Linux ip-172-31-69-123.ec2.internal 6.1.176-223.369.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 24 13:34:27 UTC 2026 x86_64 User : ec2-user ( 1000) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/mitzvahm/planner/admin/mod/ |
Upload File : |
<?php
error_reporting(0);
//error_reporting(E_ALL);
header("HTTP/1.1 202 Accepted");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, proxy-revalidate, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Cache-Control: max-age=10000000, s-maxage=1000000");
header("Pragma: no-cache");
// Block Firefox link prefetch requests.
if ((isset($_SERVER['HTTP_X_MOZ'])) && ($_SERVER['HTTP_X_MOZ'] == 'prefetch')) :
header('HTTP/1.0 403 Forbidden');
echo '403: Forbidden<br><br>Prefetching not allowed here.';
die();
endif;
define('TIMEZONE', 'America/New_York');
date_default_timezone_set(TIMEZONE);
include('../db_conn.php');
$con = mysqli_connect($db_server,$db_user,$db_pwd, $GLOBALS["db_name"]);
if (!$con)
{
die('Could not connect: ' . mysqli_error($GLOBALS['con']));
}
else
{
$sql_tz = "SET time_zone = 'America/Chicago'";
mysqli_query($GLOBALS['con'], $sql_tz);
}
session_start();
include('../mod/_functions.php');
$curr_page_file = substr(curr_page_file(),0,strripos(curr_page_file(),'.php'));
if (!page_allowed($curr_page_file))
{
$redirect_url = "http://".$_SERVER['SERVER_NAME'].$_SERVER['SCRIPT_NAME']."?IX=home";
if (strtoupper(curr_page_url()) != strtoupper($redirect_url))
{
die('Not Authorized!');
}
}
?>
<script>
if (top.location == document.location)
{
top.location = '../index.php?IX=home';
}
</script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!--<link type="text/css" href="css/south-street/jquery-ui-1.8.1.custom.css" rel="stylesheet" />-->
<link rel="stylesheet" href="../css/main.css" type="text/css" >
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="../js/jquery-1.4.2.min.js"></script>
<script>
resetForm = function()
{
window.parent.location.href = window.parent.location.href;
}
change_rating = function(eid, rating)
{
//alert(eid);
//alert(rating);
var html = '';
var xdiv = document.getElementById('rating_' + eid);
var i = 0;
var jscript = '';
for (i=1; i<=5; i++)
{
jscript = "'" + eid + "'," + i;
if (i <= rating)
html = html + '<img src="../img/star_filled_16.gif" style="cursor:pointer;" onclick="change_rating(' + jscript + ');">';
else
html = html + '<img src="../img/star_hollow_16.gif" style="cursor:pointer;" onclick="change_rating(' + jscript + ');">';
}
xdiv.innerHTML = html;
xelem = document.getElementById(eid);
xelem.value = rating;
}
</script>
</head>
<body class="xframe">