MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.15.14.245
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/etc/../fozan.in/../loveitchocoiza.com/../instabus.in/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/etc/../fozan.in/../loveitchocoiza.com/../instabus.in/package-search-section.php
<?/* 
  <div class="col-md-12 col-sm-12 ">
                            <div class="banner-welcome">
                                
                                <form action="<?=$site_url?>/pre-booking.html" method="post"  enctype="multipart/form-data" onsubmit="return checkValidationCommenBooking();">
                                   
                                    <p>
                                       <!-- <select class="wide" name="booking_package_id" id="commen_booking_package_id">
                                            <option value=""> --- Select Bus Tour --- </option>
    <?php
$pack_sql=db_query("select * from tbl_category where category_status='Active' order by category_id asc");
while($pack_res=mysqli_fetch_array($pack_sql))
{?>  
<option value="<?=$pack_res['category_id']?>"><?=$pack_res['category_display_name']?></option>
<?}?>   
                                        
                                        </select>-->
<!--<select class="wide" name="" id="commen_booking_package_id">
<option value="all" selected >Agra Tour Bus</option>
</select>  -->
<input type="text" id="commen_booking_package_id" value="Search Insta Bus" readonly style="color:red; font-weight:bold; text-transform: uppercase;">




                                    </p>
                                     <p>
                                      
                                        <input type="text" placeholder="Phone Number" name="booking_mobile_no" id="commen_booking_mobile_no" maxlength="10">
                                    </p>
                                    <p>
                                           <input  type="text" name="booking_date" id="commen_booking_date" placeholder="Select Travel Date " onfocus="(this.type='date')" onblur="(this.type='text')">
                                      
                                    </p>
                                    <p>
                                        <button type="submit" name="submit_booking">Search Now</button>
                                    </p>
                                </form>
                            </div>
                        </div>




<script>

document.getElementById("commen_booking_date").min = new Date().getFullYear() + "-" +  parseInt(new Date().getMonth() + 1 ) + "-" + new Date().getDate();


    function checkValidationCommenBooking(){
      
        var package=document.getElementById("commen_booking_package_id");
         var mobile=document.getElementById("commen_booking_mobile_no");
        var date=document.getElementById("commen_booking_date");

         
        if(package.value==""){
           alert("Please select package!");
             package.focus();
            return false;
        }


           if(mobile.value==""){
             alert("Please enter phone number!");
            mobile.focus();

            return false;
        }

        if(isNaN(mobile.value)){
               alert("Please enter numeric value!");
            mobile.focus();

            return false;
        }

        if(mobile.value.length<10 || mobile.value.length>10){
              alert("Phone number should be 10 digit long!");
            mobile.focus();
            return false;
        }

        if(date.value==""){
          alert("Please select date!");
            date.focus();
           
            return false;
        }
        
      

    }
    
  
</script>

*/?>

MMCT - 2023