query($sql); $row = mysqli_fetch_array($result); } $date = $row['form_created_on']; $d = date_parse_from_format("Y-m-d", $date); //echo $d["month"].' MONTH'; if ($d["month"] <'11'){ $ch = curl_init('https://crm.techlounge.co.in/api/order_id.php?orderId='.$_POST["order_id"].'&website='.$current_url.''); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec ($ch); curl_close($ch); //echo $response; $array=explode(',',$response); //print_r($array); } if($row['order_id']==''){ echo " Incorrect Order Id / Not Found"; echo"
"; echo''; echo "
"; } if ($d["month"] >'10'){ $ch = curl_init('https://crm2.techlounge.co.in/api/order_id.php?orderId='.$_POST["order_id"].'&website='.$current_url.''); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec ($ch); curl_close($ch); if($response == ",,,,,"){ $ch = curl_init('https://crm11.techlounge.co.in/api/order_id.php?orderId='.$_POST["order_id"].'&website='.$current_url.''); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec ($ch); curl_close($ch); } //echo $response; $array=explode(',',$response); //print_r($array); } } ?> <?php echo strtoupper($_SERVER['SERVER_NAME']);?> TRACK
>
Order Id Details
Name:
Mobile:
Email:
Amount:
Payment Status:
Description: