
	<?php  include ('menuadm.php') ?>
    <!-- Our About -->
	<section class="ulockd-about-one">
		<div class="container">
		    
			            <form id="booking_form" class="booking_form text-center" name="booking_form" action="nuevo_propiedad2.php" enctype= "multipart/form-data" method="POST" novalidate="novalidate">
			                
			<div class="row">
				<div class="col-sm-12 col-md-12 ">
					<div class="booking_form_style1 text-center">
		                <!-- Booking Form Sart-->
		                <div class="messages"></div>
							<div class="row">
				                <div class="col-sm-12">
				                	<h3>DESCRIPCIÓN DEL REMATE.</h3>
				                </div>
				                <div class="col-sm-6">
				                    <div class="form-group">
				                        <label>MARTILLERO</label>
										<input id="martillero" name="martillero" class="form-control" placeholder="Ingrese el nombre."  type="text" required>
										<div class="help-block with-errors"></div>
									</div>
				                </div>
				                 <div class="col-sm-6">
				                    <div class="form-group">
				                        <label>Causa/Tribunal:</label>
										<input id="causa" name="causa" class="form-control" placeholder="Ingrese la Causa/Tribunal." required="required" data-error="Causa/Tribunal es requerido." type="text">
										<div class="help-block with-errors"></div>
									</div>
				                </div>
				                <div class="col-sm-6">
				                    <div class="form-group">
				                        <label>Caratula:</label>
										<input id="caratula" name="caratula" class="form-control" placeholder="Ingrese la Caratula." required="required" data-error="Caratula es requerido." type="text">
										<div class="help-block with-errors"></div>
									</div>
				                </div>
				                <div class="col-sm-6">
				                    <div class="form-group">
				                        <label>Exhibicion:</label>
										<input id="lugar" name="lugar" class="form-control" placeholder="Ingrese lugar de Exhibicion." required="required" data-error="Exhibicion es requerido." type="text">
										<div class="help-block with-errors"></div>
									</div>
				                </div>
				                 <div class="col-sm-6">
				                    <div class="form-group">
				                        <label>Lote:</label>
										<input id="lote" name="lote" class="form-control" placeholder="Ingrese el num. Lote." required="required" data-error="Lote es requerido." type="text">
										<div class="help-block with-errors"></div>
									</div>
				                </div>
				                <div class="col-sm-6">
				                    <div class="form-group">
				                        <label>Remate:</label>
					                    <div class="ulockd-select-style">
					                        <select id="hora" name="hora" class="form-control form_control required"  required="required" data-error="Option is required.">
				                                <option value="">Seleccione Remate</option>
				                                <?php
                                                      include "../../funcs/conexion.php";
                                                      $query = $mysqli -> query ("SELECT *, DATE_FORMAT(fecha,'%d/%m/%Y')AS 'fecha'FROM remate where status=1");
                                                      while ($valores = mysqli_fetch_array($query)) {
                                                        echo '<option value="'.$valores[idremate].'">'.$valores[fecha].'</option>';
                                                      }
                                                    ?>
					                        </select>
					                    </div>
				                    </div>
				                </div>
			                </div>
			           
					</div>
				</div>
			</div>
		<br></br>
			<div class="row">
				<div class="col-sm-12 col-md-12 ">
					<div class="booking_form_style1 text-center">
		                <!-- Booking Form Sart-->
		                <div class="messages"></div>
							<div class="row">
				                <div class="col-sm-12">
				                	<h3>DESCRIPCIÓN DE LA PROPIEDAD.</h3>
				                </div>
				                <div class="col-sm-3">
				                    <div class="form-group">
				                        <label>Codigo:</label>
										<input id="cod" name="cod" class="form-control" placeholder="Ingrese el codigo." required="required" data-error="Codigo es requerido." type="text">
										<div class="help-block with-errors"></div>
									</div>
				                </div>
				                
				                <div class="col-sm-6">
				                    <div class="form-group">
				                        <label>Producto:</label>
										<input id="producto" name="producto" class="form-control" placeholder="Ingrese el producto." required="required" data-error="Producto es requerido." type="text">
										<div class="help-block with-errors"></div>
									</div>
				                </div>
				                <div class="col-sm-3">
				                    <div class="form-group">
				                        <label>Cantidad:</label>
										<input id="cantidad" name="cantidad" class="form-control" placeholder="Ingrese la cantidad." required="required" data-error="Cantidad es requerido." type="text">
										<div class="help-block with-errors"></div>
									</div>
				                </div>
				                 <div class="col-sm-3">
				                    <div class="form-group">
				                        <label>Precio: $</label>
										<input id="precio" name="precio" class="form-control" placeholder="Ingrese el Precio." required="required" data-error="Precio es requerido." type="text">
										<div class="help-block with-errors"></div>
									</div>
				                </div>
				                <div class="col-sm-3">
				                    <div class="form-group">
				                        <label>Estado:</label>
					                    <input id="estado" name="estado" class="form-control" placeholder="Ingrese el Estado." required="required" data-error="Estado es requerido." type="text">
										<div class="help-block with-errors"></div>
									</div>
				                </div>
				                <div class="col-sm-3">
				                    <div class="form-group">
				                        <label>Garantia:</label>
										<input id="garantia" name="garantia" class="form-control" placeholder="Ingrese la Garantia." required="required" data-error="Garantia es requerido." type="text">
										<div class="help-block with-errors"></div>
									</div>
				                </div>
				                <div class="col-sm-3">
				                    <div class="form-group">
				                        <label>Tipo Remate:</label>
					                    <input id="tipo_re" name="tipo_re" class="form-control" placeholder="Ingrese el Tipo Remate." required="required" data-error="Tipo Remate es requerido." type="text">
										<div class="help-block with-errors"></div>
									</div>
				                </div>
				                <div class="col-sm-12">
				                    <div class="form-group">
				                        <label>Descripcion:</label>
										<input id="descripcion" name="descripcion" class="form-control" placeholder="Ingrese descripcion." required="required" data-error="Descripcion es requerido." type="text">
										<div class="help-block with-errors"></div>
									</div>
				                </div>
				                 <div class="col-sm-12">
				                    <div class="form-group">
				                        <label>Link Video:</label>
					                    <input id="video" name="video" class="form-control" placeholder="Ingrese el Link Video."  type="text">
										<div class="help-block with-errors"></div>
									</div>
				                </div>
				                <div class="col-sm-4">
				                    <div class="form-group">
				                        <label>Foto 1</label>
				                        <input type="file" name="file1" id="file1">
				                        <div class="help-block with-errors"></div>
									</div>
				                </div>
				                <div class="col-sm-4">
				                    <div class="form-group">
				                        <label>Foto 2</label>
				                        <input type="file" name="file2" id="file2">
				                        <div class="help-block with-errors"></div>
									</div>
				                </div>
				                <div class="col-sm-4">
				                    <div class="form-group">
				                        <label>Foto 3</label>
				                        <input type="file" name="file3" id="file3">
				                        <div class="help-block with-errors"></div>
									</div>
				                </div>
				                <div class="col-sm-4">
				                    <div class="form-group">
				                        <label>Foto 4</label>
				                        <input type="file" name="file4" id="file14">
				                        <div class="help-block with-errors"></div>
									</div>
				                </div>
				                <div class="col-sm-4">
				                    <div class="form-group">
				                        <label>Foto 5</label>
				                        <input type="file" name="file5" id="file5">
				                        <div class="help-block with-errors"></div>
									</div>
				                </div>
				                
				               
				                    <div class="form-group">
                    				<div class="col-md-offset-3 col-md-6">
                                          <button type="submit" class="btn btn-info">GUARDAR</button>
                                          <a href='propiedades.php'class="btn btn-danger ">CANCELAR</a>
                                    </div>
				                </div>
			                </div>
					</div>
				</div>
			</div>
			 </form>
		</div>
	</section>

	<?php include ('pieadm.php') ?>


	
