Exemplo n.º 1
0
 $cnf = $conf->mostrarConfig("InicioTrimestre1");
 $InicioTrimestre1 = $cnf['Valor'];
 $cnf = $conf->mostrarConfig("FinTrimestre1");
 $FinTrimestre1 = $cnf['Valor'];
 $cnf = $conf->mostrarConfig("InicioTrimestre2");
 $InicioTrimestre2 = $cnf['Valor'];
 $cnf = $conf->mostrarConfig("FinTrimestre2");
 $FinTrimestre2 = $cnf['Valor'];
 $cnf = $conf->mostrarConfig("InicioTrimestre3");
 $InicioTrimestre3 = $cnf['Valor'];
 $cnf = $conf->mostrarConfig("FinTrimestre3");
 $FinTrimestre3 = $cnf['Valor'];
 $alumno = new alumno();
 $casilleros = new casilleros();
 $registronotas = new registronotas();
 $cursomateriaexportar = new cursomateriaexportar();
 $fila = array();
 if ($Numeracion == "si") {
     if ($Cabecera == "si") {
         $fila[] = "N";
     }
 }
 if ($Cabecera == "si") {
     $fila[] = "Apellidos y Nombres";
 }
 if ($Trimestre == "todo") {
     if ($Cabecera == "si") {
         foreach ($cursomateriaexportar->mostrarMaterias($CodCurso) as $CurMatExp) {
             if ($SeparadorMateria != "") {
                 $fila[] = $SeparadorMateria;
             }
Exemplo n.º 2
0
<?php

include_once "../../login/check.php";
if (!empty($_POST)) {
    include_once "../../class/cursomateriaexportar.php";
    include_once "../../class/curso.php";
    include_once "../../class/materias.php";
    $cursomateriaexportar = new cursomateriaexportar();
    $cur = new curso();
    $materias = new materias();
    $CodCurso = $_POST['CodCurso'];
    $Curso = $cur->mostrarCurso($CodCurso);
    $Curso = array_shift($Curso);
    ?>
    <?php 
    echo $idioma['Curso'];
    ?>
: <strong><?php 
    echo $Curso['Nombre'];
    ?>
.</strong> <?php 
    echo $idioma['OrdenExportar'];
    ?>
    
    <table class="table table-bordered table-striped table-hover">
    	<thead>
    		<tr><th width="15">N</th><th><?php 
    echo $idioma['Materias'];
    ?>
</th><th width="150"><?php 
    echo $idioma["MateriaCombinada"];
Exemplo n.º 3
0
<?php

include_once "../../login/check.php";
if (!empty($_POST)) {
    include_once "../../class/cursomateriaexportar.php";
    $cursomateria = new cursomateriaexportar();
    $CodCursoMateria = $_POST['Cod'];
    $Value = $_POST['Val'];
    $cursomateria->cambiarCombinada($Value, "CodCursoMateriaExportar={$CodCursoMateria}");
}
Exemplo n.º 4
0
<?php

include_once "../../login/check.php";
if (!empty($_POST)) {
    include_once "../../class/cursomateriaexportar.php";
    $cursomateriaexportar = new cursomateriaexportar();
    $CodCursoMateriaExportar = $_POST['Cod'];
    $cursomateriaexportar->actualizar("CodCursoMateriaExportar={$CodCursoMateriaExportar}");
}
Exemplo n.º 5
0
 $LimiteFin3 = $config->mostrarConfig("LimiteFin3" . $texto, 1);
 $LimiteInicio4 = $config->mostrarConfig("LimiteInicio4" . $texto, 1);
 $LimiteFin4 = $config->mostrarConfig("LimiteFin4" . $texto, 1);
 $LimiteLetras = $config->mostrarConfig("LimiteLetras" . $texto, 1);
 $InicioBimestre1 = $config->mostrarConfig("InicioBimestre1", 1);
 $FinBimestre1 = $config->mostrarConfig("FinBimestre1", 1);
 $InicioBimestre2 = $config->mostrarConfig("InicioBimestre2", 1);
 $FinBimestre2 = $config->mostrarConfig("FinBimestre2", 1);
 $InicioBimestre3 = $config->mostrarConfig("InicioBimestre3", 1);
 $FinBimestre3 = $config->mostrarConfig("FinBimestre3", 1);
 $InicioBimestre4 = $config->mostrarConfig("InicioBimestre4", 1);
 $FinBimestre4 = $config->mostrarConfig("FinBimestre4", 1);
 $alumno = new alumno();
 $casilleros = new casilleros();
 $registronotas = new registronotas();
 $cursomateriaexportar = new cursomateriaexportar();
 $cursosExportar = $cursomateriaexportar->mostrarMaterias($CodCurso);
 $i = 0;
 $anterior = 0;
 $total = count($cursosExportar);
 $cantidad = array();
 foreach ($cursosExportar as $v) {
     $cont++;
     if ($v['Combinada'] == 0) {
         if ($anterior != 0) {
             array_push($cantidad, $i);
         }
         $i = 1;
         array_push($cantidad, $i);
         $i = 0;
         $anterior = $v['Combinada'];
Exemplo n.º 6
0
<?php

include_once "../../login/check.php";
if (!empty($_POST)) {
    include_once "../../class/cursomateriaexportar.php";
    //include_once("../../class/casilleros.php");
    $cursomateriaexportar = new cursomateriaexportar();
    //$docentemateria=new docentemateria;
    $CodMateria = $_POST['CodMateria'];
    $CodCurso = $_POST['CodCurso'];
    $CodUsuario = $_SESSION['CodUsuarioLog'];
    $Fecha = date("Y-m-d");
    $Hora = date("H:i:s");
    //if(count($docentemateria->mostrarDocenteMateriaAnio($CodCurso,$CodMateria))>0){
    $values = array("CodCurso" => $CodCurso, "CodMateria" => $CodMateria, "Alterno" => 1, "CodUsuario" => $CodUsuario, "FechaRegistro" => "'{$Fecha}'", "HoraRegistro" => "'{$Hora}'", "Activo" => 1);
    $cursomateriaexportar->insertarMateria($values);
    //}else{
    //echo "No se ha asignado la Materia ni el docente en este Curso.";
    //}
}