$jobpostpostcode = $runrows['jobpostpostcode']; $jobpostjobtype = $runrows['jobpostjobtype']; $jobpostsalary = $runrows['jobpostsalary']; $jobpostsectorindustry = $runrows['jobpostsectorindustry']; $jobpostdescription = $runrows['jobpostdescription']; $keywords = $runrows['keywords']; $jobpostrecruiteremployer = $runrows['jobpostrecruiteremployer']; $jobpostrecruitercontactperson = $runrows['jobpostrecruitercontactperson']; $jobpostcontactnumber = $runrows['jobpostcontactnumber']; $jobpostrecruiteremployeremail = $runrows['jobpostrecruiteremployeremail']; $jobposthdyhau = $runrows['jobposthdyhau']; $jobposttermsagree = $runrows['jobposttermsagree']; $jobpostdate = $runrows['jobpostdate']; $jobpostrefreshdate = $runrows['jobpostrefreshdate']; $jobpostdescription = substr($jobpostdescription, 0, strrpos(substr($jobpostdescription, 0, 150), ' ')) . " ..."; $recruitername = togetempname($runrows['jobpostrecruiteremployer']); $emailurl = $baseurl . 'emailtofriend.php?jobid=' . $JobID; echo "<div class=\"jobboader\">\n\t<table border=\"0\" width=\"60%\" cellspacing=\"0\" cellpadding=\"0\">\n\t\t<tr>\n\t\t\t<td width=\"100%\" colspan=\"3\" valign=\"middle\" align=\"left\">\n\t\t\t<div class=\"job_position\">\n\t\t\t\t{$jobpostsubject}</div>\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td width=\"7%\" valign=\"top\" align=\"right\">\n\t\t\t<div class=\"jobcelleft\">\n\t\t\t\tLocation: </div>\n\t\t\t</td>\n\t\t\t<td width=\"79%\" valign=\"top\" align=\"left\">\n\t\t\t<div class=\"jobcellright\">\n\t\t\t\t{$jobpostlocationtowncity}, {$jobpostlocationcounty}</div>\n\t\t\t</td>\n\t\t\t<td width=\"14%\" rowspan=\"6\" valign=\"middle\" align=\"center\">\n\t\t\t<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n\t\t\t\t<tr>\n\t\t\t\t\t<td width=\"100%\" valign=\"middle\" align=\"center\">\n\t\t\t\t\t<div class=\"email-job\">\n <a href=\"javascript:void(0);\" onclick=\"togetwindow('{$emailurl}');\" >EMAIL<br />\n JOB!</a></div>\n\t\t\t\t\t</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t\t<td width=\"100%\" valign=\"middle\" align=\"center\">\n\t\t\t\t\t<div class=\"more-job-info\">\n <a href=\"index.php?p=apply&jobid={$JobID}\">MORE<br />\n INFO!</a></div>\n\t\t\t\t\t</td>\n\t\t\t\t</tr>\n\t\t\t</table>\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td width=\"7%\" valign=\"top\" align=\"right\">\n\t\t\t<div class=\"jobcelleft\">\n\t\t\t\tSalary/Rate: </div>\n\t\t\t</td>\n\t\t\t<td width=\"79%\" valign=\"top\" align=\"left\">\n\t\t\t<div class=\"jobcellright\">\n\t\t\t\t{$jobpostsalary}</div>\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td width=\"7%\" valign=\"top\" align=\"right\">\n\t\t\t<div class=\"jobcelleft\">\n\t\t\t\tSector: </div>\n\t\t\t</td>\n\t\t\t<td width=\"79%\" valign=\"top\" align=\"left\">\n\t\t\t<div class=\"jobcellright\">\n\t\t\t\t{$jobpostsectorindustry}</div>\n\t\t\t</td>\n\t\t</tr>\n <tr>\n\t\t\t<td width=\"7%\" valign=\"top\" align=\"right\">\n <div class=\"jobcelleft\">Contract:</div>\n\t\t\t</td>\n\t\t\t<td width=\"79%\" valign=\"top\" align=\"left\">\n <div>{$jobpostjobtype}</div>\n\t\t\t</td>\n </tr>\n\t\t<tr>\n\t\t\t<td width=\"7%\" valign=\"top\" align=\"right\">\n\t\t\t<div class=\"jobcelleft\">\n\t\t\t\tPosted: </div>\n\t\t\t</td>\n\t\t\t<td width=\"79%\" valign=\"top\" align=\"left\">\n\t\t\t<div class=\"jobcellright\">\n\t\t\t\t{$jobpostrefreshdate}</div>\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td width=\"7%\" valign=\"top\" align=\"right\">\n\t\t\t<div class=\"jobcelleft\">\n Recruiter: </div>\n\t\t\t</td>\n\t\t\t<td width=\"79%\" valign=\"top\" align=\"left\">\n \t<div class=\"recruiterjobsearch\">{$recruitername}<!--<a title=\"VIEW ALL JOBS FROM THIS RECRUITER!\" href=\\%22http:/www.ejobs-network.com/desktop/jobs/?search={$jobpostrecruiteremployer}\">{$jobpostrecruiteremployer}</a></div>-->\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td width=\"100%\" colspan=\"3\" valign=\"middle\">\n\t\t\t<div class=\"jobdesc_characters\">{$jobpostdescription}</div>\n\t\t\t</td>\n\t\t</tr>\n\t</table><br>\n</div>"; } //Pagination Starts echo "<div class=\"bot\"><center class=\"jobnumcounter\">"; $nav = $pageshow; $prev = $nav - 1; $next = $nav + 1; $adjacents = 3; $last = $max_pages - 1; if ($max_pages > 1) { //previous button if (!($start <= 0)) { echo " <a href='?search={$search}&PageNo={$prev}'class=\"search-previous\">« Prev</a> "; }
<td width="5%"><input name="chkid[<?php echo $j; ?> ]" type="checkbox" id="chkid[<?php echo $j; ?> ]" value="<?php echo $row['JobID']; ?> " /></td> <td height="30"><?php echo $row['jobpostsubject']; ?> </td> <td height="30"><?php echo togetempname($row['jobpostrecruiteremployer']); ?> </td> <td><?php echo $row['enddate']; ?> </td> <td><?php if ($row['jobstatus'] == "1") { echo "Active"; } else { echo "In-Active"; } ?> </td> <td><?php
function togetrecruiterjobname($id) { $query = "SELECT `jobpostrecruiteremployer` FROM `uk_master_live_job_search` WHERE `JobID` = '{$id}'"; $result = mysql_query_with_throw($query); $row = mysql_fetch_assoc($result); return togetempname($row["jobpostrecruiteremployer"]); }