Skip to content

Instantly share code, notes, and snippets.

@irwingb1979
Created August 3, 2019 22:57
Show Gist options
  • Save irwingb1979/da306008deb1de838344c9286f16ceac to your computer and use it in GitHub Desktop.
Save irwingb1979/da306008deb1de838344c9286f16ceac to your computer and use it in GitHub Desktop.
<?php
include_once 'funciones/sesiones.php';
include_once 'funciones/funciones.php';
include_once 'templates/header.php';
include_once 'templates/barra.php';
include_once 'templates/sidebar.php';
?>
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Crear Invitado
<small>Crea el invitado</small>
</h1>
</section>
<!-- Main content -->
<section class="content">
<!-- Default box -->
<div class="box">
<div class="box-header with-border">
<h3 class="box-title">Crear una Invitado</h3>
</div>
<div class="box-body">
<form role="form" name="guardar-registro" id="guardar-registro-archivo" method="post" action="modelo-invitado.php"
enctype="multipart/form-data">
<div class="box-body">
<div class="form-group">
<label for="nombre">Nombre:</label>
<input type="text" class="form-control" id="nombre_invitado" name="nombre_invitado"
placeholder="nombre invitado">
</div><!--end form group-->
<div class="form-group">
<label for="apellido">Apellido:</label>
<input type="text" class="form-control" id="apellido_invitado" name="apellido_invitado"
placeholder="apellido apellido">
</div><!--end form group-->
<div class="form-group">
<label for="descripcion">Descripcion:</label>
<textarea type="text" class="form-control" id="descripcion" name="descripcion"
placeholder="descripcion"></textarea>
</div><!--end form group-->
<div class="form-group">
<label for="upload">Upload:</label>
<input type="file" accept="image/*" id="url_imagen" name="url_imagen">
</div><!--end form group-->
<!-- /.box-body -->
<div class="box-footer">
<input type="hidden" name="registro" value="nuevo">
<button type="submit" class="btn btn-primary" id="crear_registro">Añadir</button>
</div>
</form>
</div>
<!-- /.box-body -->
<!-- /.box-footer-->
</div>
<!-- /.box -->
</section>
<!-- /.content -->
</div>
<!-- /.content-wrapper -->
<?php include_once 'templates/footer.php'; ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment