Skip to content

Instantly share code, notes, and snippets.

@aranajhonny
Last active November 8, 2016 12:00
Show Gist options
  • Save aranajhonny/04620976cd7ef5f1f3d53401b5b5cd97 to your computer and use it in GitHub Desktop.
Save aranajhonny/04620976cd7ef5f1f3d53401b5b5cd97 to your computer and use it in GitHub Desktop.
<?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>
<?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