Server IP : 162.241.126.129 / Your IP : 3.12.76.168 Web Server : Apache System : Linux 162-241-126-129.cprapid.com 4.18.0-477.27.2.el8_8.x86_64 #1 SMP Fri Sep 29 08:21:01 EDT 2023 x86_64 User : rvway5nu4 ( 1018) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/rvway5nu4/www/page_content/ |
Upload File : |
<?php $fileName = end(explode('/',$_SERVER['PHP_SELF'])); if( $fileName == 'item_detail.php' ){ $fileName = 'used.php'; } $model_array = array(); $brand_array = array(); $type_array = array(); $querym = "select * from tbl_items where c_status = '1' "; $result=$db->query($querym); if ($result->num_rows) { $slno=$page+1; foreach($result->rows AS $key=>$val ) { foreach($val AS $key1=>$val1 ) { $$key1 = trim(stripslashes($val1)); if( $key1 == 'brand' ){ $brand_array[$brand] = $brand; }else if( $key1 == 'model' ){ $model_array[$model] = $model; }else if( $key1 == 'type' ){ $type_array[$type] = $type; } } } } ?> <div class="row" > <div class="col-lg-12 d-none d-sm-block"> <section class="product_loop login-area"> <div class="row"> <div class="col-sm-6"> <!-- Login Panel Starts --> <div class="panel panel-smart"> <div class="panel-heading"> <h3 class="panel-title"> </h3> </div> </div> </div> </div> </section> <BR/><BR/> <input type="text" name="search" placeholder="Search here..."><BR/><BR/> <input type="submit" value="Go" style="background-color:#4AAA52;color:#fff; width:40%;" ><a href="<?php echo site_url.''.$fileName; ?>" ><input type="button" value="Reset" style="background-color:#4AAA52;color:#fff; width:40%; float:right;" ></a> </div> </div>