Пример #1
0
    ?>
"/></td></tr>
        	</table>
        </div>
        <div class="box-header"><?php 
    echo $idioma['DatosInscripcionActual'];
    ?>
</div>
        <div class="box-content">
	    	<table class="table table-hover table-striped">
            	<tr><td><?php 
    echo $idioma['Curso'];
    ?>
</td><td>::</td><td><select name="curso">
								<?php 
    foreach ($cur->listar() as $curso) {
        ?>
<option value="<?php 
        echo $curso['CodCurso'];
        ?>
" <?php 
        if ($al['CodCurso'] == $curso['CodCurso']) {
            echo 'selected="selected"';
        }
        ?>
><?php 
        echo mayuscula($curso['Nombre']);
        ?>
</option><?php 
    }
    ?>
Пример #2
0
    include_once "../../class/curso.php";
    include_once "../../class/config.php";
    include_once "../../class/documento.php";
    $alumno = new alumno();
    $curso = new curso();
    $conf = new config();
    $documento = new documento();
    $ma = $alumno->estadoTabla();
    $confgKinder = $conf->mostrarConfig("MontoKinder");
    $confgGeneral = $conf->mostrarConfig("MontoGeneral");
    $doc = $documento->mostrarDocumento($CodAlumno);
    $doc = array_shift($doc);
    $al = $alumno->mostrarTodoDatos($CodAlumno);
    $al = array_shift($al);
    $cursovalor = array();
    foreach ($curso->listar() as $cur) {
        $cursovalor[$cur['CodCurso']] = $cur['Nombre'];
    }
    $sexovalor = array("1" => $idioma['Masculino'], "0" => $idioma['Femenino']);
    $ciextvalor = array("LP" => "LP", "CH" => "CH", "SC" => "SC", "PA" => "PA", "BN" => "BN", "OR" => "OR", "PT" => "PT", "CQ" => "CQ", "TR" => "TR");
    $sinovalor = array(0 => $idioma["No"], 1 => $idioma["Si"]);
    include_once $folder . "cabecerahtml.php";
    ?>
<script language="javascript" type="text/javascript" src="../../js/alumno/inscripcion.js"></script>
<script language="javascript" type="text/javascript">
var MontoGeneral=0;
</script>
<?php 
    include_once $folder . "cabecera.php";
    ?>
<form action="../guardaralumno.php" method="post" onSubmit="if(this.Curso.value==0){alert('Selecciona el Curso');return false;}" enctype="multipart/form-data">