Beispiel #1
0
<?php

include "inc/mysql.php";
require "cabecera.php";
include "Notarios.php";
if (isset($_SESSION['log_usu']['autenticado']) && $_SESSION['log_usu']['autenticado']) {
} else {
    header("Location:index.php");
}
require "menu.php";
$notarios = new Notarios();
$dat = $notarios->Notarios();
?>

	<div class="container">

		<div class="row">
			<div class="col-md-12">

				<center><h3>Registro de Nuevo Proyecto</h3></center>
<?php 
if (isset($_SESSION['mensaje']) and $_SESSION['mensaje'] != '') {
    ?>
				<div class="alert alert-info">
					<?php 
    echo $_SESSION['mensaje'];
    unset($_SESSION['mensaje']);
    ?>
				</div>
<?php 
}
Beispiel #2
0
        $nombre = $this->con->query($sql);
        return $nombre;
    }
    public function Notarios()
    {
        //echo $this->con->host_info. " Dentro de Notarios";
        //$sql = "SELECT cod_not FROM notarios";
        $sql = "SELECT CONCAT(nom_not,' ',pat_not,' ',mat_not) AS notario, cod_not FROM notarios ORDER BY pat_not";
        $datos = $this->con->query($sql);
        return $datos;
    }
    public function ContinuarProyecto()
    {
        $sql = "SELECT codProyecto WHERE";
        $datos = $this->con->query($sql);
        return $datos;
    }
}
$notarios = new Notarios();
$dat = $notarios->ConsultaNotarios();
/*
Sirve para contar la cantidad de inideceis ingresados por notario
$num = $notarios->CantidadEscritasNotarios();
echo "<br>------------------------<br>";
while ($row = $num->fetch_assoc()) {
	echo $row['total']."<br>";
}
*/
?>

Beispiel #3
0
<?php

session_start();
if (isset($_SESSION['log_usu']['autenticado']) && $_SESSION['log_usu']['autenticado']) {
    require "cabecera.php";
    require "menu.php";
    require_once "../inc/Conection.php";
    //Conexion con Base de Datos
    $conn = new Conection();
    $link = $conn->Conection();
    include "../model/Notarios.php";
    $notarios = new Notarios();
    $dat = $notarios->ListadoNotarios();
    ?>

	<div class="container">
		<div class="row">
			<div class="col-md-12">

				<center><h3>Registro de Nuevo Proyecto</h3></center>
				<?php 
    if (isset($_SESSION['mensaje']) and $_SESSION['mensaje'] != '') {
        ?>
				<div class="alert alert-info">
					<?php 
        echo $_SESSION['mensaje'];
        unset($_SESSION['mensaje']);
        ?>
				</div>
				<?php 
    }
Beispiel #4
0
<?php

include "inc/mysql.php";
require "cabecera.php";
include "Notarios.php";
if (isset($_SESSION['log_usu']['autenticado']) && $_SESSION['log_usu']['autenticado']) {
} else {
    header("Location:index.php");
}
require "menu.php";
$consulta = 'SELECT cod_not,nom_not,pat_not,mat_not FROM notarios';
$result = mysqli($consulta);
$notarios = new Notarios();
$dat = $notarios->ConsultaNotarios();
?>

	<div class="container">

		<div class="row">
			<div class="col-md-12">

				<center><h3>Buscador de Índices</h3></center>
<?php 
if (isset($_SESSION['mensaje']) and $_SESSION['mensaje'] != '') {
    ?>
				<div class="alert alert-info">
					<?php 
    echo $_SESSION['mensaje'];
    unset($_SESSION['mensaje']);
    ?>
				</div>