-
Notifications
You must be signed in to change notification settings - Fork 1
/
newhtml.html
executable file
·55 lines (53 loc) · 5.22 KB
/
newhtml.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<form action="index.php" method="post" enctype="multipart/form-data" name="form" id="form">
<table width="100%" height="22" border="0" cellpadding="5" cellspacing="0">';
$number=0;
for($i=0;$i<=sizeof($this->work_id);$i++){
echo '';
if($i==sizeof($this->work_id) && sizeof($this->work_id)!=0) break;
if(sizeof($this->work_id)==0) echo '<tr><td><input type="hidden" name="work_id'.$i.'" id="work_id'.$i.'" value="-1"></td></tr>';
else echo '<tr><td><input type="hidden" name="work_id'.$i.'" id="work_id'.$i.'" value="'.$this->work_id[$i].'"></td></tr>';
echo '<tr ><td></td><td align="right"></td></tr>
<div id="work'.$i.'"><table width="100%" height="22" border="0" cellpadding="5" cellspacing="0"><tr><td width="180" valign="top">Dates when you worked</td><td width="370"><select name="fday'.$i.'">
<option>'.$this->fday[$i].'</option>';
for($j=1;$j<=31;$j++) echo '<option>'.$j.'</option>';
echo '</select><select name="fmonth'.$i.'"><option>'.$this->fmonth[$i].'</option>';
for($j=1;$j<=12;$j++) echo '<option>'.$j.'</option>';
echo '</select><select name="fyear'.$i.'"><option>'.$this->fyear[$i].'</option>';
for($j=1940;$j<=2011;$j++) echo '<option>'.$j.'</option>';
echo '</select> To: <select name="tday'.$i.'"><option>'.$this->tday[$i].'</option>';
for($j=1;$j<=31;$j++) echo '<option>'.$j.'</option>';
echo '</select> <select name="tmonth'.$i.'"><option>'.$this->tmonth[$i].'</option>';
for($j=1;$j<=12;$j++) echo '<option>'.$j.'</option>';
echo '</select><select name="tyear'.$i.'"><option>'.$this->tyear[$i].'</option>';
for($j=1940;$j<=2011;$j++) echo '<option>'.$j.'</option>';
echo '</select>
</td> </tr>
<tr> <td width="180" valign="top">Occupation or position held</td><td width="370"> <textarea name="stud_cv_Occupation'.$i.'" class="lykeion" id="stud_cv_Occupation'.$i.'" rows="5" cols="100" style="width:98%" >'.$this->position[$i].'</textarea></td> </tr>
<tr> <td width="180" valign="top">Main activities and responsibilities</td><td width="370"><label> <textarea name="stud_cv_Responsibilities'.$i.'" class="lykeion" id="stud_cv_Responsibilities'.$i.'" rows="5" cols="100" style="width:98%" >'.$this->activities[$i].'</textarea> </label></td> </tr>
<tr> <td width="180" valign="top">Name of employer</td><td width="370"><label> <input type="text" name="stud_cv_Name'.$i.'" class="lykeion" id="stud_cv_Name'.$i.'" size="75" maxlength="249" style="width:98%" value="'.$this->work_name[$i].'"> </label></td> </tr>
<tr> <td width="180" valign="top">Address of employer</td><td width="370"><label> <input type="text" name="stud_cv_address'.$i.'" class="lykeion" id="stud_cv_address'.$i.'" style="width:98%" size="75" maxlength="249" value="'.$this->work_adress[$i].'"> </label></td> </tr>
<tr> <td width="180" valign="top">City of employer</td><td width="370"><label> <input type="text" name="stud_cv_work_city'.$i.'" class="lykeion" id="stud_cv_work_city'.$i.'" size="75" maxlength="249" style="width:98%" value="'.$this->work_city[$i].'"> </label></td> </tr>
<tr> <td width="180" valign="top">Country of employer</td><td width="370"><label> <input type="text" name="stud_cv_work_country'.$i.'" class="lykeion" id="stud_cv_work_country'.$i.'" size="75" maxlength="249" style="width:98%" value="'.$this->work_country[$i].'"> </label></td> </tr>
<tr> <td width="180" valign="top">Type of business or sector</td><td width="370"><label> <input name="stud_cv_Type'.$i.'" class="lykeion" type="text" id="stud_cv_Type'.$i.'" size="75" maxlength="249" style="width:98%" value="'.$this->sector[$i].'"/> </label></td> </tr>
<tr><td></td><td align="right"><a href=javascript:showhide("work'.$i.'",'.$this->work_id[$i].');>Delete this work</a></td></tr>
<tr><td colspan="2">------------------------------------------------------------------------------------------------------------------------------------</td></tr></table></div>';
$number++;
}
echo '<table width="100%" height="22" border="0" cellpadding="5" cellspacing="0">
<tr><td width="180" valign="top" colspan="2"><div id="new_work"></div></td></tr><tr><td width="180" valign="top"><input type="hidden" name="work_number" id="work_number" value="'.$number.'"></td><td width="370"> <a href=javascript:AddElement("work");>Add more work experience</a></td></tr>';
echo ' </table>
<div align="center"><input type="submit" name="student_cv_edit_work" class="lykeion_textbox" id="student_cv_edit_work" value="Save" /></div>
</form>
</body>
</html>