403Webshell
Server IP : 103.234.187.230  /  Your IP : 216.73.216.216
Web Server : Apache
System : Linux lserver42043-ind.megavelocity.net 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
User : apache ( 48)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/b2bzend/application/views/scripts/transport/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/b2bzend/application/views/scripts/transport/add-transport.phtml
<?php
$options = Zend_Controller_Front::getInstance()->getParam('bootstrap')->getOption('bootstrap');
$params = Zend_Controller_Front::getInstance()->getRequest()->getParams();
$key = @$params['key'];
$id = @$params['id'];

?>

<!--Advance Transport start-->
<script src="<?php echo $this->baseUrl('public/js/transport/transport.js'); ?>"></script>
<!--Advance Transport start-->

<section id="min-wrapper" class="active">
    <div id="main-content">
        <div class="container-fluid">
            <div class="row">
                <div class="col-md-12">
                    <!--Top header start-->
                    <h3 class="ls-top-header">Add Transports</h3>
                    <!--Top header end -->

                    <!--Top breadcrumb start -->
                    <ol class="breadcrumb">
                        <li><a href="#"><i class="fa fa-home"></i></a></li>
                        <li class="active"><a href="<?php echo $this->baseUrl('transport/manage-transport'); ?>">Transports List</a></li>
                        <li class="active">Add Transport</li>
                    </ol>
                    <!--Top breadcrumb start -->
                </div>

                <div class="col-md-12" id="message_div" style="display:none;">
                    <div class="alert alert-success">
                        <button aria-hidden="true" id="hideMessage" class="close" type="button">×</button>
                        <span id="success-message-box"></span>
                    </div>
                </div>

                <!--for display message div-->
                <?php if (count($this->messages)) { ?>
                    <div class="col-md-12" id="message_div_page">
                        <div class="alert alert-success">
                            <button aria-hidden="true" id="hideMessagePage" class="close" type="button">×</button>
                            <?php foreach ($this->messages as $message) {  ?>
                                <span id="success-message-box"><?php echo $this->escape($message); ?></span>
                            <?php } ?>
                        </div>
                    </div>
                <?php } ?>

            </div>
            <!-- Main Content Element  Start-->
            <script type="text/javascript">
                $("#hideMessage").click(function() {
                    $("#message_div").hide();
                });

                $("#hideMessagePage").click(function() {
                    $("#message_div_page").hide();
                });
            </script>

            <div class="row">


                <div class="col-md-12">
                    <div class="leadeBorder">

                        <!--Ajax Div Loading-->
                        <div class="panel-body" id="transport-entry-form-via-ajax">

                            <form name="frm_individual_transport" id="frm_individual_transport" method="post" action="<?php echo $this->baseUrl('transport/save-vehicle'); ?>" enctype="multipart/form-data">
                                <div class="panel-body individualTab">

                                    <input type="hidden" name="VehSysId" id="VehSysId" value="0">
                                    <div class="col-md-4">
                                        <div class="form-group vehicle_typeDropdown">
                                            <label>Car Type</label>
                                            <select id="vehicle_type" name="vehicle_type" class="demo-default select-country" placeholder="Select">
                                                <option value="0">Select </option>
                                                <?php
                                                if (!empty($this->arrVehicleTypeList)) {
                                                    foreach ($this->arrVehicleTypeList as $VehicleType) { ?>
                                                        <option value="<?php echo $VehicleType['VehicleTypeSysId']; ?>"><?php echo $VehicleType['Title']; ?></option>
                                                <?php
                                                    }
                                                }
                                                ?>
                                            </select>
                                        </div>
                                    </div>


                                    <div class="col-md-4">
                                        <div class="form-group">
                                            <label>Car Name</label>
                                            <input type="text" id="VehName" name="VehName" value="" class="form-control whbg">
                                        </div>
                                    </div>


                                    <div class="col-md-4">
                                        <div class="form-group">
                                            <label>Seating Capacity</label>
                                            <input type="text" id="vehicle_seating_capacity" name="vehicle_seating_capacity" maxlength="3" value="" class="form-control whbg">
                                            <!--                        <select id="vehicle_seating_capacity" name="vehicle_seating_capacity" class="demo-default select-country" placeholder="Select">
                            <option value="0">Select Car Capacity</option>
                            <?php
                            //                                $car_seating_capacity_arr  = unserialize(CAR_SEATING_CAPACITY);
                            //                                foreach($car_seating_capacity_arr as $val) { 
                            ?>    
                                <option value="<?php //echo $val; 
                                                ?>"><?php //echo $val;
                                                    ?></option>
                            <?php //} 
                            ?>
                        </select>-->
                                        </div>
                                    </div>


                                    <div class="col-md-4">
                                        <div class="form-group">
                                            <label>AC</label>
                                            <select id="car_ac_type" name="car_ac_type" class="demo-default select-supplier" placeholder="Select">
                                                <?php
                                                $car_type_arr  = unserialize(CAR_AC_TYPE);
                                                foreach ($car_type_arr as $key => $val) {
                                                ?>
                                                    <option value="<?php echo $key; ?>"><?php echo $val; ?></option>
                                                <?php } ?>
                                            </select>
                                        </div>
                                    </div>


                                    <div class="col-md-4">
                                        <div class="form-group">
                                            <label>Image</label>
                                            <input type="file" name="image" id="image" />
                                        </div>
                                    </div>

                                    <div class="col-md-12 no-padding no-margin text-right">
                                        <a href="<?php echo $this->baseUrl('transport/manage-transport'); ?>" class="btn btn-primarygray">Cancel</a>
                                        <button class="btn btn-warning" type="submit" onclick="return addVehicleValidate();">Save</button>
                                    </div>

                                </div>
                            </form>


                        </div>

                    </div>
                </div>


            </div>
            <!-- Main Content Element  End-->
        </div>
    </div>
    <?php echo $this->render('copyrightfooter.phtml'); ?>
    <!--<section id="footer" class=""><a target="_blank" href="http://aimmate.com">&copy; TripsBank 2016</a></section>-->
</section>

<?php echo $this->render("newfooter.phtml"); ?>

Youez - 2016 - github.com/yon3zu
LinuXploit