-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathadmin_newponencia.php
108 lines (103 loc) · 3.92 KB
/
admin_newponencia.php
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<?php
/**********************************************************************
* Author : Sergio Ceron Figueroa ([email protected])
* Alias : sxceron
* Web : http://www.dotrow.info
* Name : jShop v1.0
* Desc : Formulario para dar de alta un nuevo producto
*
***********************************************************************/
// Include file headers
include_once "./includes/validator.php";
include_once "./includes/settings.php";
include_once "./includes/db.php";
include_once "./includes/security.php";
//if( $isadmin != 1 ) header( "Location: ./login.php" );
$sselected = 3; $subtitle = "Mis ponencias"; $selected = 1;
$items[ 0 ] = "Mis ponencias";
$links[ 0 ] = "admin_ponencias.php";
$items[ 1 ] = "Nueva ponencia";
$links[ 1 ] = "admin_newponencia.php";
include("includes/header.php");
?>
<link
rel="stylesheet" media="screen"
href="styles/calendar.css?random=20051112"></link>
<script
type="text/javascript" src="jscripts/calendar/calendar.js"></script>
<div id="content"><?php if( isset( $_GET[ "id" ] ) ){ ?>
<div align="center" class="msg">
<div class="bl3">
<div class="br">
<div class="tl">
<div class="tr2">
<?=$_i18n[ "newproducte".base64_decode( $_GET[ "id" ] ) ]?>
</div>
</div>
</div>
</div>
</div>
<?php }
$fields = " ".base64_decode( $_GET[ "tk" ] );
?>
<form action="action_newponencia.php" method="post"
id="settings" enctype="multipart/form-data"><input type="hidden"
name="at" value="7cf0ac816f615996-1128ad98933">
<table>
<tr>
<th>Titulo:</th>
<td><span class="errorbox-good"> <input type="text" class="rounded" value="<?=$_GET["title"]?>"
name="title" id="fn" size="30"> </span> <?php if( strpos( $fields, 'title' ) ){?><br>
<span class="errormsg" id="errormsg_0"> <?=$_i18n["emptyfield"]?> </span><?php } ?>
</td>
</tr>
<tr>
<th>Fecha de presentación:</th>
<td><span class="errorbox-good"> <input type="text" class="rounded" value="<?=$_GET["date"]?>"
name="date" id="expire" size="30"> <input type="button"
value="Calendario"
onclick="displayCalendar(document.getElementById('expire'),'yyyy-mm-dd',this)"></span>
<?php if( strpos( $fields, 'date' ) ){?><br>
<span class="errormsg" id="errormsg_0"> <?=$_i18n["emptyfield"]?> </span><?php } ?>
</td>
</tr>
<tr>
<th>Resumen:</th>
<td><span class="errorbox-good"> <textarea name="summary" rows="7" class="rounded"
cols="60" id="supportcontact"><?=$_GET["summary"]?></textarea> <?php if( strpos( $fields, 'summary' ) ){?><br>
<span class="errormsg" id="errormsg_0"> <?=$_i18n["emptyfield"]?> </span><?php } ?></span>
</td>
</tr>
<tr>
<th>Eje Tematico:</th>
<td><span class="errorbox-good"> <input type="text" class="rounded" value="<?=$_GET["title"]?>"
name="eje" id="fn" size="30"> </span> <?php if( strpos( $fields, 'eje' ) ){?><br>
<span class="errormsg" id="errormsg_0"> <?=$_i18n["emptyfield"]?> </span><?php } ?>
</td>
</tr>
<tr>
<th>Archivo <b>con</b> nombres:</th>
<td><span class="errorbox-good"> <input type="file" name="file1" class="file"
id="fn" size="30"> <?php if( strpos( $fields, 'file1' ) ){?><br>
<span class="errormsg" id="errormsg_0"> <?=$_i18n["emptyfield"]?> </span><?php } ?></span>
</tr>
<tr>
<th>Archivo <b>sin</b> nombres:</th>
<td><span class="errorbox-good"> <input type="file" name="file2" class="file"
id="fn" size="30"> <?php if( strpos( $fields, 'file2' ) ){?><br>
<span class="errormsg" id="errormsg_0"> <?=$_i18n["emptyfield"]?> </span><?php } ?></span>
</tr>
<tr class="finalrow">
<th></th>
<td><input value="<?=$_i18n["savechange"]?>" name="save"
class="mainbutton" onclick="clear_isset_monitoring();" type="submit">
<input value="<?=$_i18n["cancel"]?>" class="cancel"
onclick="clear_isset_monitoring(); go('./adminpanel.php');"
name="Button" type="button"></td>
</tr>
</table>
</form>
</div>
<?php include("./includes/foot.php");?>
</body>
</html>