<table width="100%" border="0" cellspacing="0" cellpadding="2">
  <tr class="tahomasb">
    <td valign="top"><? if($_GET['job_jobs_id']<1){?>
Please select a CV first!!<? }else{
mysql_query ("UPDATE job_jobs SET clicks=clicks+1 WHERE job_jobs_id=$_GET[job_jobs_id]") or die(mysql_error());
$query_job_cv = "SELECT * FROM job_jobs WHERE job_jobs_id=$_GET[job_jobs_id]";
$result_job_cv = mysql_query ($query_job_cv) or die(mysql_error());
$line_job_jobs = mysql_fetch_assoc($result_job_cv);
for ($i = 0; $i < mysql_num_fields($result_job_cv); $i++) { 
	if($line_job_jobs[mysql_field_name($result_job_cv, $i)]==""){$line_job_jobs[mysql_field_name($result_job_cv, $i)]="N/A";}
} 
?>
 <table border=0 cellspacing=0 width="98%" align="center" cellpadding="2">
        <tr>
          <td align="center">
            <table width="100%" border="0" cellpadding="0" cellspacing="0" class="FeturedAdTd">
              <tr>
                <td valign="top">
                  <table border=0 width="100%" cellpadding="3" cellspacing="1">
                    <tr>
                      <td width="29%" bgcolor="#f3f3f3" class="darkBlueBold">ID</td>
                      <td width="71%" bgcolor="#f3f3f3"><?=$line_job_jobs["job_jobs_id"];?></td>
                    </tr>
                    <tr>
                      <td>Job category:</td>
                      <td valign="top"><? $queryjob_cat = "SELECT * FROM  job_cat WHERE job_cat_id=$line_job_jobs[job_cat_id]";
			$resultjob_cat = mysql_query ($queryjob_cat);
			$linejob_cat = mysql_fetch_array($resultjob_cat)?>
                        <?=$linejob_cat["title_en"];?></td>
                    </tr>
                    <tr bgcolor="#f3f3f3">
                      <td class="darkBlueBold">&nbsp;</td>
                      <td valign="top">&nbsp;</td>
                    </tr>
                    <tr>
                      <td class="darkBlueBold">Mailing details : </td>
                      <td valign="top">&nbsp;</td>
                    </tr>
                    <tr bgcolor="#f3f3f3">
                      <td>Company name:</td>
                      <td valign="top"><?=$line_job_jobs["CompanyName"];?></td>
                    </tr>
                    <tr>
                      <td valign="top">Address:</td>
                      <td valign="top"><?=$line_job_jobs["Address"];?></td>
                    </tr>
                    <tr bgcolor="#f3f3f3">
                      <td>Town:</td>
                      <td valign="top">
                      <?=$line_job_jobs["Town"];?></td>
                    </tr>
                    <tr>
                      <td>Phone:</td>
                      <td valign="top"><?=$line_job_jobs["Phone"];?></td>
                    </tr>
                    <tr bgcolor="#f3f3f3">
                      <td>Mobile:</td>
                      <td valign="top"><?=$line_job_jobs["Mobile"];?></td>
                    </tr>
                    <tr>
                      <td>Fax:</td>
                      <td valign="top"><?=$line_job_jobs["Fax"];?></td>
                    </tr>
                    <tr bgcolor="#f3f3f3">
                      <td>Contact person:</td>
                      <td valign="top"><?=$line_job_jobs["ContactPerson"];?></td>
                    </tr>
                    <tr>
                      <td>E-mail address:</td>
                      <td valign="top"><? if($line_job_jobs["EmailAdd"]<>"N/A"){?>
                      <a href="mailto:<?=$line_job_jobs["EmailAdd"];?>"><?=$line_job_jobs["EmailAdd"];?></a><? }else{?><?=$line_job_jobs["EmailAdd"];?><? }?></td>
                    </tr>
                    <tr bgcolor="#f3f3f3">
                      <td class="darkBlueBold">Position details:</td>
                      <td valign="top">&nbsp;</td>
                    </tr>
                    <tr>
                      <td>Job title :</td>
                      <td valign="top"><?=$line_job_jobs["JobTitle"];?></td>
                    </tr>
                    <tr bgcolor="#f3f3f3">
                      <td valign="top">Job description:</td>
                      <td valign="top"><?=$line_job_jobs["JobDescription"];?></td>
                    </tr>
                    <tr>
                      <td valign="top">Number of persons required: </td>
                      <td valign="top"><?=$line_job_jobs["NumberOfPersons"];?></td>
                    </tr>
                    <tr bgcolor="#f3f3f3">
                      <td valign="top">Qualifications required:</td>
                      <td valign="top"><?=$line_job_jobs["Qualifications"];?>
                    </textarea></td>
                    </tr>
                    <tr>
                      <td valign="top">Other requirements:</td>
                      <td valign="top"><?=$line_job_jobs["Other"];?>
                    </textarea></td>
                    </tr>
                    <tr bgcolor="#f3f3f3">
                      <td valign="top">Location(s):</td>
                      <td valign="top"><? echo ereg_replace(";",", ",$line_job_jobs["Location"]);?></td>
                    </tr>
                    <tr>
                      <td valign="top">Employment conditions: </td>
                      <td valign="top"><?=$line_job_jobs["Conditions"];?></td>
                    </tr>
                </table></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td bgcolor="#E6E6E6"><img src=<?php echo $path;?>images/navigation/spacer.gif" width="1" height="3"></td>
              </tr>
          </table></td>
        </tr>
    </table><? }?></td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="11">
  <tr>
    <td align="center" class="arialbw">
      <div class="tahomasb"><a href="javascript:history.back(1)">&lt;&lt; Back</a></div></td>
  </tr>
</table>
