-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathingreso_curriculum.asp
75 lines (66 loc) · 1.62 KB
/
ingreso_curriculum.asp
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<%@ Language=VBScript %>
<%
if isempty(session("id")) then
Response.Redirect("Login.asp")
end if
Dim id
dim login
id = session("id")
'login = Request.QueryString ("login")
%>
<HTML>
<HEAD>
<title>
Ingreso de Curriculum
</title>
<link href="./theme/Master.css" rel="stylesheet" type="text/css">
</HEAD>
<script language="javascript">
<%
dim menu
menu = request.QueryString("menu")
if menu <> "1" then
%>
function cerrarventana() {
window.close()
}
<%
end if
%>
function Validar(Forma) {
if ((Forma.curriculum.value.length == 0) && (Forma.action == "ingresar_curriculum.asp"))
{
alert ("No ingreso archivo")
return false
}
return true
}
</script>
<BODY onload="javascript:{if(parent.frames[0]&&parent.frames['opciones'].Go)parent.frames['opciones'].Go()}" >
<%if menu <> "1" then%>
<%end if%>
<div align="center">
<form name="ingcurriculum" method="post" enctype="multipart/form-data" action="ingresar_curriculum.asp" >
<table border="0" cellpadding="2" cellspacing="2">
<tr>
<td class="celdaBgBlueLeft">Curriculum: </td>
<td class="celdaBgBlue05">
<input name="curriculum" type="file">
<input name="menu" type="hidden" value="<%=menu%>">
</td>
</tr>
</table>
<br>
<table border="0" cellpadding="2" cellspacing="2">
<tr>
<td><input name="aceptar" type="submit" class="celdaBgBlue05" onClick="return Validar(ingcurriculum)" value="Aceptar"> </td>
<%if menu <> "1" then%>
<td width="17"></td>
<td><input name="cancelar" type="submit" class="celdaBgBlue05" onClick="return cerrarventana()" value="Cancelar"></td>
<%end if%>
</tr>
</table>
</form>
</div>
</BODY>
</HTML>