<table width="100%" border="0" cellspacing="0" cellpadding="2">
  <tr class="tahomasb">
    <td valign="top"><? if($_GET['job_cv_id']<1){?>
Please select a CV first!!<? }else{
mysql_query ("UPDATE job_cvs SET clicks=clicks+1 WHERE job_cv_id=$_GET[job_cv_id]") or die(mysql_error());
$query_job_cv = "SELECT * FROM job_cvs WHERE job_cv_id=$_GET[job_cv_id]";
$result_job_cv = mysql_query ($query_job_cv) or die(mysql_error());
$line_job_cvs = mysql_fetch_assoc($result_job_cv);
for ($i = 0; $i < mysql_num_fields($result_job_cv); $i++) { 
	if($line_job_cvs[mysql_field_name($result_job_cv, $i)]==""){$line_job_cvs[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_cvs["job_cv_id"];?></td>
                    </tr>
                    <tr>
                      <td>Job category: </td>
                      <td valign="top"><? $queryjob_cat = "SELECT * FROM  job_cat WHERE job_cat_id=$line_job_cvs[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>Job location(s):</td>
                      <td valign="top"><? echo ereg_replace(";",", ",$line_job_cvs["JobLocation"]);?></td>
                    </tr>
                    <tr>
                      <td>&nbsp;</td>
                      <td valign="top">&nbsp;</td>
                    </tr>
                    <tr bgcolor="#f3f3f3">
                      <td class="darkBlueBold">Personal Details:</td>
                      <td>&nbsp;</td>
                    </tr>
                    <tr>
                      <td>First name: </td>
                      <td valign="top"><?=$line_job_cvs["FirstName"];?></td>
                    </tr>
                    <tr bgcolor="#f3f3f3">
                      <td>Surname:</td>
                      <td valign="top"><?=$line_job_cvs["LastName"];?></td>
                    </tr>
                    <tr>
                      <td>Gender:</td>
                      <td valign="top"><? if($line_job_cvs["Genre"]=="m")echo "Male";?>
      <? if($line_job_cvs["Genre"]=="f")echo "Female";?>      </td>
                    </tr>
                    <tr bgcolor="#f3f3f3">
                      <td>Age:</td>
                      <td valign="top"><?=$line_job_cvs["Age"];?></td>
                    </tr>
                    <tr>
                      <td>Country of origin: </td>
                      <td valign="top">
                        <?=$line_job_cvs["CountryOfOrigin"];?></td>
                    </tr>
                    <tr bgcolor="#f3f3f3">
                      <td>Marital status:</td>
                      <td valign="top"><?=$line_job_cvs["MaritalStatus"];?></td>
                    </tr>
                    <tr>
                      <td>Children:</td>
                      <td valign="top">
                        <?=$line_job_cvs["Children"];?></td>
                    </tr>
                    <tr bgcolor="#f3f3f3">
                      <td class="darkBlueBold">Residence:</td>
                      <td valign="top">&nbsp;</td>
                    </tr>
                    <tr>
                      <td>Country:</td>
                      <td valign="top"><?=$line_job_cvs["ResCountry"];?></td>
                    </tr>
                    <tr bgcolor="#f3f3f3">
                      <td>Town:</td>
                      <td valign="top"><?=$line_job_cvs["ResTown"];?></td>
                    </tr>
                    <tr>
                      <td valign="top">Address:</td>
                      <td valign="top"><?=$line_job_cvs["ResAddress"];?></td>
                    </tr>
                    <tr bgcolor="#f3f3f3">
                      <td>Phone:</td>
                      <td valign="top"><?=$line_job_cvs["ResPhone"];?></td>
                    </tr>
                    <tr>
                      <td>Mobile:</td>
                      <td valign="top"><?=$line_job_cvs["Mobile"];?></td>
                    </tr>
                    <tr bgcolor="#f3f3f3">
                      <td>E-mail:</td>
                      <td valign="top"><? if($line_job_cvs["Email"]<>"N/A"){?>
                        <a href="mailto:<?=$line_job_cvs["Email"];?>">
                        <?=$line_job_cvs["Email"];?>
                        </a>
                        <? }else{?>
                        <?=$line_job_jobs["EmailAdd"];?>
                      <? }?></td>
                    </tr>
                    <tr>
                      <td>&nbsp;</td>
                      <td valign="top">&nbsp;</td>
                    </tr>
                    <tr bgcolor="#f3f3f3">
                      <td valign="top">Qualifications:</td>
                      <td valign="top"><?=$line_job_cvs["Qualifications"];?>                   </td>
                    </tr>
                    <tr>
                      <td valign="top">Professional experience:</td>
                      <td valign="top"><?=$line_job_cvs["ProfessionalExperience"];?>                    </td>
                    </tr>
                    <tr bgcolor="#f3f3f3">
                      <td valign="top">Education:</td>
                      <td valign="top"><?=$line_job_cvs["Education"];?>                    </td>
                    </tr>
                    <tr>
                      <td valign="top">Interests:</td>
                      <td valign="top"><?=$line_job_cvs["Interests"];?>                    </td>
                    </tr>
                    <tr bgcolor="#f3f3f3">
                      <td valign="top">Special skills:</td>
                      <td valign="top"><?=$line_job_cvs["SpecialSkills"];?>                   </td>
                    </tr>
                    <tr>
                      <td valign="top">Languages:</td>
                      <td valign="top"><?=$line_job_cvs["Languages"];?>                    </td>
                    </tr>
                    <tr bgcolor="#f3f3f3">
                      <td valign="top">Training:</td>
                      <td valign="top"><?=$line_job_cvs["Training"];?>                   </td>
                    </tr>
                    <tr>
                      <td valign="top">Affiliations:</td>
                      <td valign="top"><?=$line_job_cvs["Affiliations"];?>                  </td>
                    </tr>
                    <tr bgcolor="#f3f3f3">
                      <td valign="top">References:</td>
                      <td valign="top"><?=$line_job_cvs["ReferencesOther"];?>                    </td>
                    </tr>
                </table></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td bgcolor="#E6E6E6"><img src="<?=$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>
