<?php
include("dase.php");
$sidebredde=800;
function sqltal($tal)
{
$field_array=explode(".", $tal);
$tal=$field_array[0].$field_array[1];
$field_array=explode(",", $tal);
$tal=$field_array[0].".".$field_array[1];
$tal=sprintf($tal, 2);
return $tal;
}
echo ;
/* Gemmer CV */
if($_POST['submit1'])
{
if($_POST['aktiv']){$aktiv=1;}else{$aktiv=0;}
$sql = "UPDATE kandidat SET email='".$_POST['email']."',aktiv='".$aktiv."',password='".$_POST['password1']."',fornavn='".$_POST['fornavn']."',efternavn='".$_POST['efternavn']."',adresse1='".$_POST['adresse1']."',adresse2='".$_POST['adresse2']."',postnr='".$_POST['postnr']."',city='".$_POST['city']."',land='".$_POST['land']."',";
$sql .= "telefondag='".$_POST['telefondag']."',telefonaften='".$_POST['telefonaften']."',telefonmobil='".$_POST['telefonmobil']."',ryger='".$_POST['ryger']."',koerekort='".$_POST['koerekort']."',sex='".$_POST['sex']."',aargang='".$_POST['aargang']."'";
$sql .= ",personbeskrivelse='".$_POST['personbeskrivelse']."',loen='".sqltal($_POST['loen'])."',heltid='".$_POST['heltid']."',deltid='".$_POST['deltid']."'";
$sql .= " WHERE sessionid='" . $_COOKIE['kandidat']['sessionid'] . "'";
$result=mysql_query($sql);
}
/* Sletter uploadet CV */
if($_GET['task']=="sletcv")
{
$result = mysql_query("SELECT * FROM kandidat WHERE sessionid='" . $_COOKIE['kandidat']['sessionid'] . "'");
if($myrow=mysql_fetch_array($result))
{
@unlink($_SERVER['DOCUMENT_ROOT'] . "/kandidat/" . $myrow["blibliotek"] . "." . $myrow["filtype"]);
$kandidat=$myrow["kandidatid"];
}
$result=mysql_query("UPDATE kandidat SET filtype='' WHERE kandidatid='" . $myrow["kandidatid"] . "'");
}
/* Uploader nyt CV */
if($_FILES['thefile']['name'] != "")
{
include("../tools/uploadfile.php");
$result = mysql_query("SELECT * FROM kandidat WHERE sessionid='" . $_COOKIE['kandidat']['sessionid'] . "'");
if($myrow=mysql_fetch_array($result))
{
$error = validate_upload($_FILES['thefile']);
if ($error)
{
$advarsel = $error;
}
else
{
@unlink($_SERVER['DOCUMENT_ROOT'] . "/kandidat/" . $myrow["blibliotek"] . "." . $myrow["filtype"]);
$fext = array_pop(explode('.', $_FILES['thefile']['name']));
$nytfilnavn = $myrow["blibliotek"] . "." . $fext;
$result=mysql_query("UPDATE kandidat SET filtype='" . $fext . "' WHERE kandidatid='" . $myrow["kandidatid"] . "'");
upload($_FILES['thefile']);
unset($_FILES);
}
}
}
$result = mysql_query("SELECT * FROM kandidat WHERE sessionid='" . $_COOKIE['kandidat']['sessionid'] . "'");
if($myrow=mysql_fetch_array($result))
{
$email = $myrow["email"];
$password1 = $myrow["password"];
$kandidatid = $myrow["kandidatid"];
if($myrow["aktiv"]==1)
{$aktiv="checked";}
$fornavn = $myrow["fornavn"];
$efternavn = $myrow["efternavn"];
$adresse1 = $myrow["adresse1"];
$adresse2 = $myrow["adresse2"];
$postnr = $myrow["postnr"];
$city =$myrow["city"];
$land = $myrow["land"];
$telefondag = $myrow["telefondag"];
$telefonaften = $myrow["telefonaften"];
$telefonmobil = $myrow["telefonmobil"];
$aargang = $myrow["aargang"];
if($myrow["ryger"]==1)
{$rygerliste="Ja<INPUT TYPE=\"radio\" NAME=\"ryger\" VALUE=1 checked> Nej<INPUT TYPE=\"radio\" NAME=\"ryger\" VALUE=0>";}
else
{$rygerliste="Ja<INPUT TYPE=\"radio\" NAME=\"ryger\" VALUE=1> Nej<INPUT TYPE=\"radio\" NAME=\"ryger\" VALUE=0 checked>";}
if($myrow["koerekort"]==1)
{$koerekortliste="Ja<INPUT TYPE=\"radio\" NAME=\"koerekort\" VALUE=1 checked> Nej<INPUT TYPE=\"radio\" NAME=\"koerekort\" VALUE=0>";}
else
{$koerekortliste="Ja<INPUT TYPE=\"radio\" NAME=\"koerekort\" VALUE=1> Nej<INPUT TYPE=\"radio\" NAME=\"koerekort\" VALUE=0 checked>";}
if($myrow["sex"]==1)
{$sexliste="Mand<INPUT TYPE=\"radio\" NAME=\"sex\" VALUE=1 checked> Kvinde<INPUT TYPE=\"radio\" NAME=\"sex\" VALUE=0>";}
else
{$sexliste="Mand<INPUT TYPE=\"radio\" NAME=\"sex\" VALUE=1> Kvinde<INPUT TYPE=\"radio\" NAME=\"sex\" VALUE=0 checked>";}
if($myrow["heltid"]==1)
{$heltidliste="Ja<INPUT TYPE=\"radio\" NAME=\"heltid\" VALUE=1 checked> Nej<INPUT TYPE=\"radio\" NAME=\"heltid\" VALUE=0>";}
else
{$heltidliste="Ja<INPUT TYPE=\"radio\" NAME=\"heltid\" VALUE=1> Nej<INPUT TYPE=\"radio\" NAME=\"heltid\" VALUE=0 checked>";}
if($myrow["deltid"]==1)
{$deltidliste="Ja<INPUT TYPE=\"radio\" NAME=\"deltid\" VALUE=1 checked> Nej<INPUT TYPE=\"radio\" NAME=\"deltid\" VALUE=0>";}
else
{$deltidliste="Ja<INPUT TYPE=\"radio\" NAME=\"deltid\" VALUE=1> Nej<INPUT TYPE=\"radio\" NAME=\"deltid\" VALUE=0 checked>";}
$loen=$myrow['loen'];
$ansoegningref = "../kandidat/" . $myrow["kandidatid"] . "/ansoegning/" . $myrow["ansoegning"];
if(strlen($myrow["filtype"])>=2){
$cv = $myrow["blibliotek"] . "." . $myrow["filtype"];}
$personbeskrivelse = $myrow["personbeskrivelse"];
}
/* Sletter EDB */
if($_GET['sletedb'])
{
$result=mysql_query("DELETE FROM kandidatedb WHERE kandidatedbid='".$_GET['sletedb']."' AND kandidatnr='".$kandidatid."'");
}
/* Sletter sprog */
if($_GET['sletsprog'])
{
$result=mysql_query("DELETE FROM kandidatsprog WHERE kandidatsprogid='".$_GET['sletsprog']."' AND kandidatnr='".$kandidatid."'");
}
/* Sletter uddannelse */
if($_GET['sletuddannelse'])
{
$result=mysql_query("DELETE FROM kandidatuddannelse WHERE kandidatuddannelseid='".$_GET['sletuddannelse']."' AND kandidatnr='".$kandidatid."'");
}
/* Sletter erhvervserfaring */
if($_GET['sleterhverv'])
{
$result=mysql_query("DELETE FROM kandidaterhvervserfaring WHERE kandidaterhvervserfaring='".$_GET['sleterhverv']."' AND kandidatnr='".$kandidatid."'");
}
/* Gemmer EDB kundskab */
if($_POST['submit1'] && $_POST['edbkundskab'])
{
$result=mysql_query("INSERT INTO kandidatedb (kandidatnr,program,evne) VALUES ('".$kandidatid."','".$_POST['edbkundskab']."','".$_POST['edbniveau']."')");
}
/* Gemmer Sprog kundskab */
if($_POST['submit1'] && $_POST['sprogkundskab'])
{
$result=mysql_query("INSERT INTO kandidatsprog (kandidatnr,sprog,muntligt,skriftligt) VALUES ('".$kandidatid."','".$_POST['sprogkundskab']."','".$_POST['sprogmuntligt']."','".$_POST['sprogskriftligt']."')");
}
/* Gemmer uddannelse */
if($_POST['submit1'] && $_POST['uddannelse'])
{
$result=mysql_query("INSERT INTO kandidatuddannelse (kandidatnr,uddannelse,retning,aar) VALUES ('".$kandidatid."','".$_POST['uddannelse']."','".$_POST['retning']."','".$_POST['faerdigaar']."')");
}
/* Gemmer erhvervserfaring */
if($_POST['submit1'] && $_POST['erhvervstart'] && $_POST['erhvervstilling'])
{
$result=mysql_query("INSERT INTO kandidaterhvervserfaring (kandidatnr,startaar,slutaar,stillingbeskr,firma) VALUES ('".$kandidatid."','".$_POST['erhvervstart']."','".$_POST['erhvervslut']."','".$_POST['erhvervstilling']."','".$_POST['erhvervfirma']."')");
}
/* Gemmer søgt stilling */
if($_POST['submit1'] && $_POST['jobliste'])
{
$result=mysql_query("INSERT INTO soegtstilling (kandidatid,opgaveid) VALUES ('".$kandidatid."','".$_POST['jobliste']."')");
$result=mysql_query("SELECT * FROM opgaver WHERE opgaveid='".$_POST['jobliste']."'");
if($myrow=mysql_fetch_array($result))
{
$stilling=$myrow['jobtitel']."; ".$myrow['jobmrk'];
}
/* Sender bekræftelse på mail */
$to = $_POST['email'];
$subject = "Tak for din ansøgning";
include("mailsoegtstilling.php");
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/plain; charset=iso-8859-15\r\n";
$headers .= "Content-Transfer-Encoding: quoted-printable\r\n";
$headers .= "To: " . $_POST['fornavn'] . " " . $_POST['efternavn'] . "<" . $to . ">\r\n";
$headers .= "From: <support@personaleleasing.dk>\r\n";
mail($to, $subject, $message, $headers);
}
/*Sletter søgt stilling */
if($_GET['sletsoegtjob'])
{
$result=mysql_query("DELETE FROM soegtstilling WHERE soegtstillingid='".$_GET['sletsoegtjob']."' AND kandidatid='".$kandidatid."'");
}
/* Logger af */
if($_POST['submit1']=="Gem & afslut")
{
setcookie("kandidat[sessionid]", "slut", time()-3600);
header("Location:
http://www.personaleleasing.dk");
}
/* Tester om der er uploadet et CV */
if(file_exists($_SERVER['DOCUMENT_ROOT'] . "/kandidat/" . $cv) && $cv)
{
$cvtekst = "<a href=\"" . $_SERVER['PHP_SELF'] . "?task=viscv\" targer=\"_new\">Vis uploadet ansøgning og cv</a>";
$cvslet = "<a href=\"" . $_SERVER['PHP_SELF'] . "?task=sletcv\" targer=\"_new\">Slet</a>";
}
else
{
$cvtekst = "Der er ikke uploadet ansøgning";
$cvslet = "";
}
/* Laver årgangs dropdown */
$aargangsliste .= "<option value=\"0\">--- år ---</option>";
for($x=1990; $x>1930;$x--)
{
if($aargang==$x)
{$aargangsliste .= "<option value=".$x." selected>år ".$x."</option>";}
else
{$aargangsliste .= "<option value=".$x.">år ".$x."</option>";}
}
/*Laver liste med edb programmer*/
$edbliste .= "<option value=\"0\">--- Vælg edb program ---</oiption>";
$result=mysql_query("SELECT * FROM edbprogrammer ORDER BY programnavn");
while($myrow=mysql_fetch_array($result))
{
$edbliste .= "<option value=\"".$myrow['edbid']."\">".$myrow['programnavn']."</oiption>";
}
/* Laver edb niveau liste */
$edbniveauliste .= "<option value=\"0\">--- Vælg niveau ---</oiption>";
$result=mysql_query("SELECT * FROM edbniveau");
while($myrow=mysql_fetch_array($result))
{
$edbniveauliste .= "<option value=\"".$myrow['edbniveauid']."\">".$myrow['niveau']."</oiption>";
}
/* Laver liste over EDB kundskaber */
$result=mysql_query("SELECT kandidatedb.*,edbprogrammer.*,edbniveau.* FROM (kandidatedb LEFT JOIN edbprogrammer ON kandidatedb.program=edbprogrammer.edbid) LEFT JOIN edbniveau ON kandidatedb.evne=edbniveau.edbniveauid WHERE kandidatedb.kandidatnr='".$kandidatid."'");
while($myrow=mysql_fetch_array($result))
{
$edbkundskaber .= "
<TR>
<TD bgcolor=#000000 width=1><img src=\"/images/empty.gif\" width=1 height=1></TD>
<TD> </TD>
<TD class=tdbody><a href=\"".$_SERVER['PHP_SELF']."?sletedb=".$myrow['kandidatedbid']."\"><img src=\"../images/deletecv.gif\" border=0></a></TD>
<TD class=tdbody>".$myrow['programnavn']."</TD>
<TD class=tdbody>".$myrow['niveau']."</TD>
<TD> </TD>
<TD bgcolor=#000000 width=1><img src=\"/images/empty.gif\" width=1 height=1></TD>
</TR>
";
}
if($edbkundskaber)
{
$edbkundskaber = "
<TR>
<TD bgcolor=#000000 width=1><img src=\"/images/empty.gif\" width=1 height=1></TD>
<TD> </TD>
<TD></TD>
<TD class=tdbody><strong>Edb program</strong></TD>
<TD class=tdbody><strong>Niveau</strong></TD>
<TD> </TD>
<TD bgcolor=#000000 width=1><img src=\"/images/empty.gif\" width=1 height=1></TD>
</TR>
".$edbkundskaber;
}
/*Laver liste med sprog*/
$sprogliste .= "<option value=\"0\">--- Vælg sprog ---</oiption>";
$result=mysql_query("SELECT * FROM sprog ORDER BY sprognavn");
while($myrow=mysql_fetch_array($result))
{
$sprogliste .= "<option value=\"".$myrow['sprogid']."\">".$myrow['sprognavn']."</oiption>";
}
/* Laver sprog niveau liste */
$sprogniveauliste .= "<option value=\"0\">--- Vælg niveau ---</oiption>";
$result=mysql_query("SELECT * FROM sprogniveau");
while($myrow=mysql_fetch_array($result))
{
$sprogniveauliste .= "<option value=\"".$myrow['sprogniveauid']."\">".$myrow['niveau']."</oiption>";
}
$result=mysql_query("SELECT * FROM sprogniveau");
while($myrow=mysql_fetch_array($result))
{
$sprogarray[$myrow['sprogniveauid']] = $myrow['niveau'];
}
/* Laver liste over sprog kundskaber */
$result=mysql_query("SELECT kandidatsprog.*,sprog.* FROM kandidatsprog LEFT JOIN sprog ON kandidatsprog.sprog=sprog.sprogid WHERE kandidatsprog.kandidatnr='".$kandidatid."'");
while($myrow=mysql_fetch_array($result))
{
$sprogkundskaber .= "
<TR>
<TD bgcolor=#000000 width=1><img src=\"/images/empty.gif\" width=1 height=1></TD>
<TD> </TD>
<TD class=tdbody><a href=\"".$_SERVER['PHP_SELF']."?sletsprog=".$myrow['kandidatsprogid']."\"><img src=\"../images/deletecv.gif\" border=0></a></TD>
<TD class=tdbody>".$myrow['sprognavn']."</TD>
<TD class=tdbody>".$sprogarray[$myrow['muntligt']]."</TD>
<TD class=tdbody>".$sprogarray[$myrow['skriftligt']]."</TD>
<TD> </TD>
<TD bgcolor=#000000 width=1><img src=\"/images/empty.gif\" width=1 height=1></TD>
</TR>
";
}
if($sprogkundskaber)
{
$sprogkundskaber = "
<TR>
<TD bgcolor=#000000 width=1><img src=\"/images/empty.gif\" width=1 height=1></TD>
<TD> </TD>
<TD></TD>
<TD class=tdbody><strong>Sprog</strong></TD>
<TD class=tdbody><strong>Mundtligt</strong></TD>
<TD class=tdbody><strong>Skriftligt</strong></TD>
<TD> </TD>
<TD bgcolor=#000000 width=1><img src=\"/images/empty.gif\" width=1 height=1></TD>
</TR>
".$sprogkundskaber;
}
/* Laver årgang uddannelses liste */
$aarliste .= "<option value=\"0\">--- Vælg årgang ---</oiption>";
for($x=2009; $x>1960;$x--)
{
$aarliste .= "<option value=".$x.">år ".$x."</option>";
}
/* Laver retning uddannelses liste */
$retningliste .= "<option value=\"0\">--- Vælg retning ---</oiption>";
$result=mysql_query("SELECT * FROM uddannelseretning ORDER BY retningnavn");
while($myrow=mysql_fetch_array($result))
{
$retningliste .= "<option value=\"".$myrow['retningid']."\">".$myrow['retningnavn']."</oiption>";
}
/* Laver uddannelses liste */
$uddannelseliste .= "<option value=\"0\">--- Vælg uddannelse ---</oiption>";
$result=mysql_query("SELECT * FROM uddannelse ORDER BY antalaar,uddannelsenavn");
while($myrow=mysql_fetch_array($result))
{
$uddannelseliste .= "<option value=\"".$myrow['uddannelseid']."\">".$myrow['uddannelsenavn']."</oiption>";
}
/* Laver liste over uddannelser */
$result=mysql_query("SELECT kandidatuddannelse.*,uddannelse.*,uddannelseretning.* FROM (kandidatuddannelse LEFT JOIN uddannelse ON kandidatuddannelse.uddannelse=uddannelse.uddannelseid) LEFT JOIN uddannelseretning ON kandidatuddannelse.retning=uddannelseretning.retningid WHERE kandidatuddannelse.kandidatnr='".$kandidatid."' ORDER BY aar");
while($myrow=mysql_fetch_array($result))
{
$uddannelser .= "
<TR>
<TD bgcolor=#000000 width=1><img src=\"/images/empty.gif\" width=1 height=1></TD>
<TD> </TD>
<TD class=tdbody><a href=\"".$_SERVER['PHP_SELF']."?sletuddannelse=".$myrow['kandidatuddannelseid']."\"><img src=\"../images/deletecv.gif\" border=0></a></TD>
<TD class=tdbody>".$myrow['uddannelsenavn']."</TD>
<TD class=tdbody>".$myrow['retningnavn']."</TD>
<TD class=tdbody>".$myrow['aar']."</TD>
<TD> </TD>
<TD bgcolor=#000000 width=1><img src=\"/images/empty.gif\" width=1 height=1></TD>
</TR>
";
}
if($uddannelser)
{
$uddannelser = "
<TR>
<TD bgcolor=#000000 width=1><img src=\"/images/empty.gif\" width=1 height=1></TD>
<TD> </TD>
<TD></TD>
<TD class=tdbody><strong>Uddannelse</strong></TD>
<TD class=tdbody><strong>Retning</strong></TD>
<TD class=tdbody><strong>Færdig år</strong></TD>
<TD> </TD>
<TD bgcolor=#000000 width=1><img src=\"/images/empty.gif\" width=1 height=1></TD>
</TR>
".$uddannelser;
}
/* Laver liste over erhvervserfaring */
$result=mysql_query("SELECT * FROM kandidaterhvervserfaring WHERE kandidatnr='".$kandidatid."' ORDER BY startaar");
while($myrow=mysql_fetch_array($result))
{
$erhvervserfaring .= "
<TR>
<TD bgcolor=#000000 width=1><img src=\"/images/empty.gif\" width=1 height=1></TD>
<TD> </TD>
<TD class=tdbody><a href=\"".$_SERVER['PHP_SELF']."?sleterhverv=".$myrow['kandidaterhvervserfaring']."\"><img src=\"../images/deletecv.gif\" border=0></a></TD>
<TD class=tdbody>".$myrow['startaar']."</TD>
<TD class=tdbody>".$myrow['slutaar']."</TD>
<TD class=tdbody>".$myrow['stillingbeskr']."</TD>
<TD class=tdbody>".$myrow['firma']."</TD>
<TD> </TD>
<TD bgcolor=#000000 width=1><img src=\"/images/empty.gif\" width=1 height=1></TD>
</TR>
";
}
if($erhvervserfaring)
{
$erhvervserfaring = "
<TR>
<TD bgcolor=#000000 width=1><img src=\"/images/empty.gif\" width=1 height=1></TD>
<TD> </TD>
<TD></TD>
<TD class=tdbody><strong>Start år</strong></TD>
<TD class=tdbody><strong>Slut år</strong></TD>
<TD class=tdbody><strong>Stilling</strong></TD>
<TD class=tdbody><strong>Firma</strong></TD>
<TD> </TD>
<TD bgcolor=#000000 width=1><img src=\"/images/empty.gif\" width=1 height=1></TD>
</TR>
".$erhvervserfaring;
}
/* Laver liste med stillinger som kan søges */
$jobliste .= "<option value=\"0\" selected>--- Vælg stilling ---</options>";
$result=mysql_query("SELECT * FROM opgaver WHERE jobkansoeges='1' AND sidstefrist>='".date("Y-m-d")."' ORDER BY sidstefrist");
while($myrow=mysql_fetch_array($result))
{
$jobliste .= "<option value=\"".$myrow['opgaveid']."\">".$myrow['jobtitel'].";".$myrow['jobmrk']."</options>";
}
/* Laver liste med søgte stillinger */
$result=mysql_query("SELECT soegtstilling.*,opgaver.* FROM soegtstilling INNER JOIN opgaver ON soegtstilling.opgaveid=opgaver.opgaveid WHERE soegtstilling.kandidatid='".$kandidatid."' AND soegtstilling.afslag='0'");
while($myrow=mysql_fetch_array($result))
{
$soegtstillingliste .= "<TR><TD class=tdbody><a href=\"".$_SERVER['PHP_SELF']."?sletsoegtjob=".$myrow['soegtstillingid']."\"><img src=\"../images/deletecv.gif\" border=0></a></TD><TD class=tdbody>".$myrow['jobtitel']."; ".$myrow['jobmrk']."</TD><TD class=tdbody> ".date("d-m-Y",strtotime($myrow['sidstefrist']))."</TD><TD class=tdbody> ".date("d-m-Y",strtotime($myrow['startdato']))."</TD></TR>";
}
if($soegtstillingliste)
{
$soegtstillingliste = "<TABLE width=".$sidebredde." align=left cellspacing=0 cellpadding=0 border=0>
<TR><TD></TD><TD class=tdbody><strong>Stillinger</strong></TD><TD class=tdbody><strong>Ansøgningsfrist</strong></TD><TD class=tdbody><strong>Ansættelses start</strong></TD></TR>"
. $soegtstillingliste . "</TABLE>";
}
/* Viser CV */
if($_GET['task']=="viscv")
{
$fullPath = $_SERVER['DOCUMENT_ROOT'] . "/kandidat/" . $cv;
if ($fd = fopen ($fullPath, "rb"))
{
$fsize =filesize($fullPath);
$fname = basename ($fullPath);
header("Pragma: ");
header("Cache-Control: ");
header("Content-type: application/octet-stream");
header("Content-Disposition: attachment; filename=\"cv".$kandidatid."\"");
header("Content-length: $fsize");
fpassthru($fd);
}
}
include("../topudenmenu.php");
echo '<script type="text/javascript">
function confirmslet(){
var name = confirm("Du er ved at slette dit CV fra PersonaleLeasing\'s CV bank.\n Vil du slette dit CV ?")
if (name == true)
{
top.location.replace (\'
http://www.personaleleasing.dk/cvbank/sletprofil.php\');
}
}
</script>';
echo "\n<form ENCTYPE=\"multipart/form-data\" action=\"" . $_SERVER['PHP_SELF'] . "\" method=\"post\">";
echo "\n<INPUT TYPE=\"hidden\" name=\"MAX_FILE_SIZE\" value=\"" . $my_max_file_size . "\">";
echo "\n<INPUT TYPE=\"hidden\" name=\"task\" value=\"upload\">";
?>
<?php include("stamoplysningerbody.php");?>
<br>
<TABLE width=<?php echo $sidebredde;?> align=center cellspacing=0 cellpadding=0 border=0>
<TR>
<TD colspan=8 bgcolor=#000000><img src="/images/empty.gif" width=1 height=1></TD>
</TR>
<TR>
<TD bgcolor=#000000 width=1></TD>
<TD width=10></TD>
<TD width=100></TD>
<TD></TD>
<TD width=10></TD>
<TD></TD>
<TD width=10></TD>
<TD bgcolor=#000000 width=1></TD>
</TR>
<TR>
<TD bgcolor=#000000 width=1><img src="/images/empty.gif" width=1 height=10></TD>
<TD> </TD>
<TD> </TD>
<TD> </TD>
<TD> </TD>
<TD></TD>
<TD> </TD>
<TD bgcolor=#000000 width=1><img src="/images/empty.gif" width=1 height=1></TD>
</TR>
<TR>
<TD bgcolor=#000000 width=1><img src="/images/empty.gif" width=1 height=1></TD>
<TD> </TD>
<TD class=tdbody><strong>Ansøgning</strong></TD>
<TD class=tdbody><?php echo $cvtekst;?></TD>
<TD class=tdbody><?php echo $cvslet;?></TD>
<TD align=right class=tdbody>Upload nyt CV <INPUT NAME="thefile" TYPE="file" SIZE="35" CLASS=knaplille></TD>
<TD> </TD>
<TD bgcolor=#000000 width=1><img src="/images/empty.gif" width=1 height=1></TD>
</TR>
<TR>
<TD bgcolor=#000000 width=1><img src="/images/empty.gif" width=1 height=1></TD>
<TD> </TD>
<TD colspan=4 class=tdbody><?php echo $advarsel;?></TD>
<TD> </TD>
<TD bgcolor=#000000 width=1><img src="/images/empty.gif" width=1 height=1></TD>
</TR>
<TR>
<TD bgcolor=#000000 width=1><img src="/images/empty.gif" width=1 height=10></TD>
<TD colspan=6></TD>
<TD bgcolor=#000000 width=1><img src="/images/empty.gif" width=1 height=1></TD>
</TR>
<TR>
<TD bgcolor=#000000 width=1><img src="/images/empty.gif" width=1 height=1></TD>
<TD> </TD>
<TD colspan=4><INPUT TYPE="submit" NAME="submit1" Value="Upload" Class=knaplille> </TD>
<TD> </TD>
<TD bgcolor=#000000 width=1><img src="/images/empty.gif" width=1 height=1></TD>
</TR>
<TR>
<TD bgcolor=#000000 width=1><img src="/images/empty.gif" width=1 height=10></TD>
<TD colspan=6></TD>
<TD bgcolor=#000000 width=1><img src="/images/empty.gif" width=1 height=1></TD>
</TR>
<TR>
<TD colspan=8 bgcolor=#000000><img src="/images/empty.gif" width=1 height=1></TD>
</TR>
<TR>
<TD colspan=8 bgcolor=#c0c0c0><img src="../images/empty.gif" width=1 height=3></TD>
</TR>
<TR>
<TD width=1><img src="/images/empty.gif" width=1 height=10></TD>
<TD colspan=6></TD>
<TD width=1><img src="/images/empty.gif" width=1 height=1></TD>
</TR>
<TR>
<TD width=1><img src="/images/empty.gif" width=1 height=10></TD>
<TD colspan=6 align=right class=tdbody><INPUT TYPE="button" NAME="submit1" VALUE="Slet min profil" onclick="confirmslet();" class=knaplille> <INPUT NAME="submit1" TYPE="submit" class=knaplille VALUE=" Gem "> <INPUT TYPE="submit" NAME="submit1" VALUE="Gem & afslut" class=knaplille> </TD>
<TD width=1><img src="/images/empty.gif" width=1 height=1></TD>
</TR>
</TABLE>
<br><br><br>
</form>
</body>
</html>
fra stamoplysninger.php