
	<?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_prod2.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 DEL AUTO.</h3>
				                </div>
				                <div class="col-sm-3">
				                    <div class="form-group">
				                        <label>Patente:</label>
										<input id="patente" name="patente" class="form-control" placeholder="Ingrese la Patente." required="required" data-error="Patente es requerido." type="text">
										<div class="help-block with-errors"></div>
									</div>
				                </div>
				                <div class="col-sm-3">
				                    <div class="form-group">
				                        <label>Marca:</label>
					                    <div class="ulockd-select-style">
					                        <select id="marca" name="marca" class="form-control form_control required"  required="required" data-error="Option is required.">
				                                <option value="0">Seleccione Marca</option>
				                                <?php
                                                      include "../../funcs/conexion.php";
                                                      $query = $mysqli -> query ("SELECT * FROM marca");
                                                      while ($valores = mysqli_fetch_array($query)) {
                                                        echo '<option value="'.$valores[idmarca].'">'.$valores[nomMarca].'</option>';
                                                      }
                                                    ?>
					                        </select>
					                    </div>
				                    </div>
				                </div>
				                <div class="col-sm-3">
				                    <div class="form-group">
				                        <label>Modelo:</label>
										<input id="modelo" name="modelo" class="form-control" placeholder="Ingrese el Modelo." required="required" data-error="Modelo es requerido." type="text">
										<div class="help-block with-errors"></div>
									</div>
				                </div>
				                <div class="col-sm-3">
				                    <div class="form-group">
				                        <label>Año:</label>
										<input id="ano" name="ano" class="form-control" placeholder="Ingrese el Año." required="required" data-error="Año es requerido." type="text">
										<div class="help-block with-errors"></div>
									</div>
				                </div>
				                 <div class="col-sm-3">
				                    <div class="form-group">
				                        <label>Caja:</label>
										<input id="caja" name="caja" class="form-control" placeholder="Ingrese tipo de Caja." required="required" data-error="Caja es requerido." type="text">
										<div class="help-block with-errors"></div>
									</div>
				                </div>
				                <div class="col-sm-3">
				                    <div class="form-group">
				                        <label>Combustible:</label>
					                    <input id="combustible" name="combustible" class="form-control" placeholder="Ingrese tipo de Combustible." required="required" data-error="Combustible es requerido." type="text">
										<div class="help-block with-errors"></div>
									</div>
				                </div>
				                <div class="col-sm-3">
				                    <div class="form-group">
				                        <label>Kilometraje:</label>
										<input id="kilometraje" name="kilometraje" class="form-control" placeholder="Ingrese el Kilometraje." required="required" data-error="Kilometraje es requerido." type="text">
										<div class="help-block with-errors"></div>
									</div>
				                </div>
				                <div class="col-sm-3">
				                    <div class="form-group">
				                        <label>Tipo de Vehiculo:</label>
										<input id="tipo" name="tipo"  class="form-control" placeholder="Ingrese el Tipo de Vehiculo." required="required" data-error="Tipo de Vehiculo 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>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="col-sm-4">
				                    <div class="form-group">
				                        <label>Foto 6</label>
				                        <input type="file" name="file6" id="file6">
				                        <div class="help-block with-errors"></div>
									</div>
				                </div>
				                <div class="col-sm-4">
				                    <div class="form-group">
				                        <label>Foto 7</label>
				                        <input type="file" name="file7" id="file7">
				                        <div class="help-block with-errors"></div>
									</div>
				                </div>
				                <div class="col-sm-4">
				                    <div class="form-group">
				                        <label>Foto 8</label>
				                        <input type="file" name="file8" id="file8">
				                        <div class="help-block with-errors"></div>
									</div>
				                </div>
				                <div class="col-sm-4">
				                    <div class="form-group">
				                        <label>Foto 9</label>
				                        <input type="file" name="file9" id="file9">
				                        <div class="help-block with-errors"></div>
									</div>
				                </div>
				                <div class="col-sm-4">
				                    <div class="form-group">
				                        <label>Foto 10</label>
				                        <input type="file" name="file10" id="file10">
				                        <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='inic_adm.php'class="btn btn-danger ">CANCELAR</a>
                                    </div>
				                </div>
			                </div>
					</div>
				</div>
			</div>
			 </form>
		</div>
	</section>

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


	
