$top_menu = "event";
$grey_box = "Special Event > List a Special Event";
$green_box_img = "bar_icon02.gif";
$green_box = "List a Special Event";
include "../include/header.php"; //�ο�
?>
if(!$_SESSION[p_id]){
include "../member/login_page.php";
}else{
if($_REQUEST[inum]) {
$sub_inum = substr($_REQUEST[inum],0,2);
if($sub_inum == 'FG') {
$table = "f_grocery";
} else if($sub_inum == 'FR') {
$table = "f_resturant";
} else {
$message = "You might have typed a wrong url.";
include("../help/error_page.php");
include("../include/footer.php");
exit;
}
$query = "select * from $table where inum='$_REQUEST[inum]'";
$result = mysqli_query($query);
$row = mysqli_fetch_array($result);
if($row[seq_num] != $_SESSION[p_seq_no]) {
$message = "Sorry, only the member who posted this list has permission to access this page.";
include("../help/error_page.php");
include("../include/footer.php");
exit;
}
$sc1=(int)($row[scatenum]/1000000)*1000000;
$sc2=(int)($row[scatenum]/10000)*10000;
$sc4=$row[sc4];
}
?>
}
include "../include/footer.php"; //�ο�
?>