SM0 She11
Path:
/
/
home
/
saienerg
/
public_html
/
intra
Full Path (server): /home/saienerg/public_html/intra
Create Fil3
Upl04d Fil3
📄 ajax1.php
[E]
[D]
[R]
📄 article_list.php
[E]
[D]
[R]
📁 assets
Open
[D]
[R]
📁 career
Open
[D]
[R]
📄 career_enquiries.php
[E]
[D]
[R]
📄 cat_load.php
[E]
[D]
[R]
📁 change
Open
[D]
[R]
📄 cmn_lib.php
[E]
[D]
[R]
📄 common.php
[E]
[D]
[R]
📄 compressImage.php
[E]
[D]
[R]
📄 config.php
[E]
[D]
[R]
📁 css
Open
[D]
[R]
📁 dashboard
Open
[D]
[R]
📁 data
Open
[D]
[R]
📁 fonts
Open
[D]
[R]
📄 foo_scripts.php
[E]
[D]
[R]
📄 foo_scripts1.php
[E]
[D]
[R]
📄 footer.php
[E]
[D]
[R]
📄 footer1.php
[E]
[D]
[R]
📄 form.php
[E]
[D]
[R]
📁 gallery
Open
[D]
[R]
📄 getExtension.php
[E]
[D]
[R]
📄 header.php
[E]
[D]
[R]
📄 header1.php
[E]
[D]
[R]
📁 hrrepo
Open
[D]
[R]
📁 images
Open
[D]
[R]
📁 includes
Open
[D]
[R]
📄 index.php
[E]
[D]
[R]
📄 index1.php
[E]
[D]
[R]
📄 kis_config.php
[E]
[D]
[R]
📄 login.php
[E]
[D]
[R]
📄 logout.php
[E]
[D]
[R]
📁 masters
Open
[D]
[R]
📁 others
Open
[D]
[R]
📁 perfomances
Open
[D]
[R]
📁 products
Open
[D]
[R]
📄 products.js
[E]
[D]
[R]
📁 services
Open
[D]
[R]
📄 sidebar.php
[E]
[D]
[R]
📄 sidebar1.php
[E]
[D]
[R]
📄 spel_config.php
[E]
[D]
[R]
📄 top_nav.php
[E]
[D]
[R]
📄 top_nav1.php
[E]
[D]
[R]
📁 users
Open
[D]
[R]
Editing: common.php
<?php include("spel_config.php"); include("cmn_lib.php"); $obj= new glibrary(); if(isset($_GET['ldsrv_sbcat'])) { $val=explode('$',$_GET['ldsrv_sbcat']); $id = mysqli_real_escape_string($idb,$val[0]); $qry =mysqli_query($idb,"select * from service_subcategories where srcat_id='$id' order by name ASC")or die(mysqli_error()); $cnt=mysqli_num_rows($qry); echo "<option value=''>----------select---------</option>"; while ($row = mysqli_fetch_array($qry)) { echo "<option value='".$row['srsbcat_id']."'>".$row['name']."</option>"; } } else if(isset($_GET['srv_types'])) { $id= $_GET['srv_types']; $qry =mysqli_query($idb,"select * from service_types where srcat_id='$id' and status='0' order by name ASC"); $cnt=mysqli_num_rows($qry); echo "<option value=''>----------select---------</option>"; while ($row = mysqli_fetch_array($qry)) { echo "<option value='".$row['styp_id']."'>".strtoupper($row['name'])."</option>"; } } else if(isset($_GET['prd_sbcat'])) { $id= $_GET['prd_sbcat']; $qry =mysqli_query($idb,"select * from product_subcategories where prcat_id='$id' and status='0' order by name ASC"); $cnt=mysqli_num_rows($qry); echo "<option value=''>----------select---------</option>"; while ($row = mysqli_fetch_array($qry)) { echo "<option value='".$row['prscat_id']."'>".strtoupper($row['name'])."</option>"; } } else if(isset($_GET['prd_types'])) { $val=explode('$',$_GET['prd_types']); $cat_id = mysqli_real_escape_string($idb,$val[0]); $sb_cat = mysqli_real_escape_string($idb,$val[1]); $id= $_GET['prd_types']; $qry =mysqli_query($idb,"select * from product_types where prcat_id='$cat_id' and prscat_id ='$sb_cat' and status='0' order by name ASC"); $cnt=mysqli_num_rows($qry); echo "<option value=''>----------select---------</option>"; while ($row = mysqli_fetch_array($qry)) { echo "<option value='".$row['ptyp_id']."'>".strtoupper($row['name'])."</option>"; } } else if(isset($_GET['jd_ids'])) { $id= $_GET['jd_ids']; $qry =mysqli_query($idb,"select * from job_descriptions where jpos_id='$id' and status='0' order by jd_code ASC"); $cnt=mysqli_num_rows($qry); echo "<option value=''>----------select---------</option>"; while ($row = mysqli_fetch_array($qry)) { echo "<option value='".$row['jd_id']."' data-id='".$row['descr']."'>".strtoupper($row['jd_code'])."</option>"; } } else if(isset($_GET['ld_usr'])) { $id= $_GET['ld_usr']; $qry =mysqli_query($idb,"select * from users_list where rl_id='$id' and status='0' order by emp_name ASC"); $cnt=mysqli_num_rows($qry); echo "<option value=''>----------select---------</option>"; while ($row = mysqli_fetch_array($qry)) { echo "<option value='".$row['usr_id']."' >".strtoupper($row['emp_name'])."</option>"; } } else if(isset($_GET['disp_car_enquiry'])) { $id= $_GET['disp_car_enquiry']; $qry = mysqli_query($idb,"update career_enquiries set disp_status ='1' where ce_id='$id' "); if($qry) { echo '1'; }else{ echo '0'; } } ?>
Save