Exemplo n.º 1
0
 public static function getInstancia()
 {
     if (!self::$instancia instanceof self) {
         self::$instancia = new self();
     }
     return self::$instancia;
 }
Exemplo n.º 2
0
<?php

session_start();
$Bcedula = $_SESSION["Ncedula"];
include_once "clases/bitacora.php";
$instancia = cBitacora::getInstancia();
?>

<!DOCTYPE>
<html lang="es">
    <head>
        <meta charset="utf-8">
        <title>Litado de Sucesos</title>
        <link href="css/estilos.css" type="text/css" rel="stylesheet">
        <link href="css/estilo-frm.css" type="text/css" rel="stylesheet">
        <link href="css/tabla.css" rel="stylesheet">
        
    </head>
    <body>
       
              <center> <h3 class="Encabezado"> LISTADO DE LOS SUCESOS  </h3> </center>
      <div>
        <div id="contenedor" class="tam-33">	
			<h2>Suscriptor </h2>
			<br>

				<div id="ing">  
                    <form method="post" action="clases/sujeto.php" >
	  				     <input class="Fnt" type="text" name="cedula" id="cedula" value="<?php 
echo $Bcedula;
?>