Server IP : 108.170.25.35 / Your IP : 18.217.80.88 Web Server : Apache/2 System : Linux gains.winzonesoftech.com 4.18.0-513.24.1.el8_9.x86_64 #1 SMP Mon Apr 8 11:23:13 EDT 2024 x86_64 User : softechwinzone ( 1579) PHP Version : 8.1.28 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/softechwinzone/domains/winzonesoftech.in/private_html/ |
Upload File : |
<section class="container"> <div class="woocommerce"> <form class="woocommerce-cart-form paddalgn" action="" method="post"> <table class="shop_table shop_table_responsive cart woocommerce-cart-form__contents mar0"> <?php require ('admin/connect.php'); $return = ''; if(isset($_POST["query"])) { $search = mysqli_real_escape_string($conn, $_POST["query"]); $query = "SELECT * FROM career WHERE id LIKE '%".$search."%' OR jobtitle LIKE '%".$search."%' ";} else { //$tdy=date("Y-m-d"); $query = "SELECT * FROM career where visible='active' order by posteddate desc"; } $result = mysqli_query($conn, $query); if(mysqli_num_rows($result) > 0) { $return .=' <thead> <tr class="fnt1"> <td class="">Job Title</td> <td class="">Location</td> <td class="">Posted Date</td> <td class="">Salary</td> <td class="wd430">Description</td> <td class="">Application </td> </tr> </thead>'; while($row1 = mysqli_fetch_array($result)) { $desc = $row1["description"]; $id = $row1["id"]; $count = substr($desc, 0, 95); $return .= ' <tbody> <tr class="woocommerce-cart-form__cart-item cart_item"> <td data-title="Job Title">'.$row1["jobtitle"].'</td> <td data-title="Location">'.$row1["location"].'</td> <td data-title="Posted Date">'.$row1["posteddate"].'</td> <td data-title="salary">'.$row1["salary"].'</td> <td data-title="Job Description">'.$count.'..</td> <td> <div class="coupon"> <a type="submit" class="button app-reg ownbtn clr-white" name="apply_coupon" value="select" href="description.php?id='.$id.'">View Details </a> </div> </td> </tr> </tbody>'; } echo $return; } else { echo 'No results containing all your search terms were found.'; } ?> </table> </form> </div> </section>