<?php

session_start();
include_once 'NotasCollector.php';
//$id = $_POST['ID'];
$anio = $_POST['anio'];
$nota1 = $_POST['nota1'];
$nota2 = $_POST['nota2'];
$nota3 = $_POST['nota3'];
$nota4 = $_POST['nota4'];
$promedio = $_POST['promedio'];
$recuperacion = $_POST['recuperacion'];
$NotasCollectorObj = new NotasCollector();
$NotasCollectorObj->insertNotas($anio, (int) $nota1, (int) $nota2, (int) $nota3, (int) $nota4, (int) $promedio, (int) $recuperacion);
?>
<!doctype html>
<html lang="es">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0"> 
<title>B-Smart</title>
    <!-- Estilos CSS vinculados -->
    <link href="../css/bootstrap.min.css" rel="stylesheet">
     
   <h3>Ingresado Exitosamente</h3>
   </head>
<body>
  
      <form action="Notas_list.php" method="Post">
         <div>
         <input type="submit" class="btn btn-primary" name="Regresar al inicio" value="Retornar">
Ejemplo n.º 2
0
<?php

session_start();
$id = $_GET['id'];
// echo $id;
include_once 'Notas.php';
include_once 'NotasCollector.php';
$NotasCollectorObj = new NotasCollector();
$ObjNotas = $NotasCollectorObj->showNotasId($id);
//print_r($ObjTransportista);
?>


<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="Educacion">
    <meta name="author" content="E-learning">
    <title>B-Smart</title>
    
    <!-- core CSS -->
    <link href="../css/bootstrap.min.css" rel="stylesheet">
    <link href="../css/font-awesome.min.css" rel="stylesheet">
    <link href="../css/animate.min.css" rel="stylesheet">
    <link href="../css/prettyPhoto.css" rel="stylesheet">
    <link href="../css/main.css" rel="stylesheet">
    <link href="../css/responsive.css" rel="stylesheet">
    <!--[if lt IE 9]>
    <script src="js/html5shiv.js"></script>
<?php

session_start();
include_once 'NotasCollector.php';
include_once 'Notas.php';
$id = $_GET['id'];
$NotasCollectorObj = new NotasCollector();
$NotasCollectorObj->deleteNotas($id);
?>
<!doctype html>
<html lang="es">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0"> 
<title>B-Smart</title>
    <!-- Estilos CSS vinculados -->
    <link href="../css/bootstrap.min.css" rel="stylesheet">
   
   <h3>Eliminacion Exitosa</h3>
   </head>
<body>
  
      <form action="Notas_list.php" method="Post">
         <div>
         <input type="submit" class="btn btn-primary" name="Regresar al inicio" value="Retornar">
         </div>

      </form>
   </body>
</html>
Ejemplo n.º 4
0
<?php

session_start();
include_once "NotasCollector.php";
$NotasCollectorObj = new NotasCollector();
?>



<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="Educacion">
    <meta name="author" content="E-learning">
    <title>B-Smart</title>
    
    <!-- core CSS -->
    <link href="../css/bootstrap.min.css" rel="stylesheet">
    <link href="../css/font-awesome.min.css" rel="stylesheet">
    <link href="../css/animate.min.css" rel="stylesheet">
    <link href="../css/prettyPhoto.css" rel="stylesheet">
    <link href="../css/main.css" rel="stylesheet">
    <link href="../css/responsive.css" rel="stylesheet">
    <!--[if lt IE 9]>
    <script src="js/html5shiv.js"></script>
    <script src="js/respond.min.js"></script>
    <![endif]-->       
    <link rel="shortcut icon" href="../images/ico/bs1.ico">
    <link rel="apple-touch-icon-precomposed" sizes="144x144" href="../images/ico/apple-touch-icon-144-precomposed.png">
<?php

session_start();
include_once 'NotasCollector.php';
//include_once('Docente.php');
$id_nota = $_POST['id_nota'];
$anio = $_POST['anio'];
$nota1 = $_POST['nota1'];
$nota2 = $_POST['nota2'];
$nota3 = $_POST['nota3'];
$nota4 = $_POST['nota4'];
$promedio = $_POST['promedio'];
$recuperacion = $_POST['recuperacion'];
//echo  $cargo;
$NotasCollectorObj = new NotasCollector();
$NotasCollectorObj->updateNotas($id_nota, $anio, (int) $nota1, (int) $nota2, (int) $nota3, (int) $nota4, (int) $promedio, (int) $recuperacion);
?>
<!doctype html>
<html lang="es">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0"> 
<title>B-Smart</title>
    <!-- Estilos CSS vinculados -->
    <link href="../css/bootstrap.min.css" rel="stylesheet">
   
   <h3>Actualización Exitosamente</h3>
   </head>
<body>
  
      <form action="Notas_list.php" method="Post">