Last active
November 8, 2016 12:00
-
-
Save aranajhonny/04620976cd7ef5f1f3d53401b5b5cd97 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$d = new DateTime(); | |
?> | |
<section class="content-header" style="padding-top: 0px;"> | |
<center> | |
<h1> | |
Comprobante de Compra | |
</h1> | |
</center> | |
</section> | |
<!-- Main content --> | |
<section class="content"> | |
<div class="row" style="margin-left:10%;"> | |
<iframe src="respaldo/" width="90%" frameborder="0" height="800"> | |
<p>Your browser does not support iframes.</p> | |
</iframe> | |
</div> | |
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class RespaldosController{ | |
public function __construct() { | |
if (($_SESSION['id_emp']) == "") { | |
header("Location: ".Conectar::ruta()."?controller=login"); | |
} | |
} | |
public function index() { | |
require_once("views/layout/template.php"); | |
require_once("views/respaldo/pagina.php"); | |
} | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment