Thank You!
[insert_php]
$orderArr = $_SESSION;
//echo “
"; //print_r($orderArr); //print_r($_SESSION); //echo "
“;
//$totalTour = count($orderArr[‘tourcmsdata’][‘selected_date’])-1;
$totalTour = count($orderArr[‘tourcmsdata’][‘customer_info’])-1;
if(empty($_SESSION[‘tourcmsdata’])){
echo ‘‘; exit;
}
include(“/home/ghostadventurest/public_html/wp-config.php”);
Tour_Cms_Public::sendMail();
[/insert_php]
Customer Detail / ‘.$orderArr[“tourcmsdata”][“tour_name”][$i].’
‘;
} [/insert_php]
Payment Info
$total = array();
$personArr = array();
$componetKeyArr = array();
$selectedDateArr = array();
for($j=0; $j<=$totalTour; $j++){ $total[] = number_format($_SESSION['tourcmsdata']['customer_info'][$j]['total_price'],2); $selectedDateArr[] = date('d/m/Y',strtotime($_SESSION['tourcmsdata']['customer_info'][$j]['selected_date'])); $personArr[] = $_SESSION['tourcmsdata']['customer_info'][$j]['no_of_people']; echo '
‘. date(“d/m/Y”,strtotime($orderArr[“tourcmsdata”][‘customer_info’][$j][“selected_date”])).’ @ ‘. $orderArr[“tourcmsdata”][‘customer_info’][$j][“start_time”].’
‘.$_SESSION[‘tourcmsdata’][‘customer_info’][$j][‘price_row’][0].’
‘.$_SESSION[‘tourcmsdata’][‘customer_info’][$j][‘price_row’][1].’
‘;
}
[/insert_php]
[insert_php] session_destroy(); [/insert_php]