List a Special Event Class"; $green_box_img = "bar_icon02.gif"; $green_box = "List a Special Event Class"; include "../include/header.php"; //�ο� ?> alert('You need to upload your school infomation to list a class.'); location.replace('/company/reg_school.php'); "); exit; } if(!$_REQUEST[no]) { $selling_no = cntHistory('listing',$_SESSION[p_seq_no],$connect); $list_limit = $mycom_row[list_limit]; $expiry = date("Ymd",strtotime($mycom_row[valid])); $today = date("Ymd"); if($today > $expiry) { echo (" "); exit; } if($list_limit <= $selling_no) { echo (" "); exit; } } else { $query = "select * from e_auct_master where anum='$_REQUEST[no]'"; $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]; } ?>