Requisition Form
[insert_php]
$admission_obj = new Smgt_Admission;
$result = $admission_obj->getadmissiondate();
$today_start = time();
$date = $result[0]->open_date;
$edate= $result[0]->close_date;
$date_timestamp = strtotime($date);
$edate_timestamp = strtotime($edate);
//die($date.” “.$edate).” “.$date_timestamp.” “.$edate_timestamp.” “.$today_start;
if ($today_start <= $edate_timestamp && $today_start>=$date_timestamp) {
}else{
$opendate = date(‘d-m-Y’,$date_timestamp);
$closedate = date(‘d-m-Y’,$edate_timestamp);
// echo “Please visit this page in the first week of January,2020“;
echo “Online application will open on $opendate to $closedate“;
//echo “Disabled”;
die();
}
[/insert_php]