-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtipocurso.php
58 lines (50 loc) · 1.43 KB
/
tipocurso.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
<?php
/**
* @author Victoria Marino
* @package Index
* @version 1.0
*/
/*Con include_once llamamos a la p‡gina de referencia y la mostramos*/
include_once(dirname(__FILE__) . "/includes/common.php");
include_once($APP_PATH . "/includes/valid_session.php");
include_once($APP_PATH . "/includes/header.php");
include_once($APP_PATH . "/Classes/Combo.php");
?>
<h3>Tipos de cursos</h3>
<table>
<tr>
<th>Descripción</th>
<th>Modificar</th>
</tr>
<?php
$row_t = mysql_fetch_row($combo_tipocurso);
if ($row_t > 0){
do {
echo "<tr>
<td>".$row_t[1]."</td>
<td align='center'><a href='modificar.php?id=".$row_t[0]."&maestro=tipocurso'><img src='imgs/modificar.png' alt='Modificar'></a></td>
</tr>";
} while ($row_t = mysql_fetch_row($combo_tipocurso));
}
?>
</table><br><br>
<!--Formulario para agregar Turno -->
<form action="tipocurso.php" method="post" enctype="multipart/form-data">
<fieldset>
<legend>Agregar un Tipo de curso</legend>
<label for="descripcion">Descripción: </label><input type="text" name="descripcion" /><br/>
<br/>
<input type="submit" value="Ingresar" class="boton">
</fieldset>
<input type="hidden" name="activo" value="0"/>
<input type="hidden" name="cmd" value="carga"/>
</form>
<br><br>
<?php
echo @$cargado;
?>
<br>
<?php
echo @$error;
include_once($APP_PATH . "/includes/footer.php");
?>