<?php 

require('conexion.php');

?>

<!doctype html>

<html>

<head>

<meta charset="utf-8">

<title>formulario chicas</title>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery.form.js"></script>
<script type="text/javascript" src="js/eliminando_excursimg.js"></script>
<script type="text/javascript" src="js/eliminando_excursweb.js"></script>
<script type="text/javascript" src="js/public_imgexcursion.js"></script>
<script type="text/javascript" src="js/mostrar_excursimg.js"></script>
<script type="text/javascript" src="tinymce/js/tinymce/tinymce.min.js"></script>
    <script type="text/javascript" >

	 tinymce.init({
plugins: ["eqneditor"],
toolbar: "undo redo | eqneditor link image | styleselect | bold italic | bullist numlist outdent indent",
selector : "textarea"
});

</script>
<!--<script type="text/javascript" src="js/mostr_eliminar_servicios.js"></script>  -->     
    <script type="text/javascript" >
//IMAGEN
function imagenexc(radio) {
 if (radio.checked==true){
   document.getElementById('imagenexcursiones').value=radio.value;
 }
}
function imagenexc1(radio) {
 if (radio.checked==true){
   document.getElementById('imagenexcur').value=radio.value;
 }
}
function imagenexc2(radio) {
 if (radio.checked==true){
   document.getElementById('imagenexcur').value=radio.value;
 }
}
function imagenexc3(radio) {
 if (radio.checked==true){
   document.getElementById('imagenexcur').value=radio.value;
 }
}
function imagenexc4(radio) {
 if (radio.checked==true){
   document.getElementById('imagenexcur').value=radio.value;
 }
}
function imagenexc5(radio) {
 if (radio.checked==true){
   document.getElementById('imagenexcur').value=radio.value;
 }
}
function imagenexc6(radio) {
 if (radio.checked==true){
   document.getElementById('imagenexcur').value=radio.value;
 }
}
function imagenexc7(radio) {
 if (radio.checked==true){
   document.getElementById('imagenexcur').value=radio.value;
 }
}
function imagenexc8(radio) {
 if (radio.checked==true){
   document.getElementById('imagenexcur').value=radio.value;
 }
}
function imagenexc9(radio) {
 if (radio.checked==true){
   document.getElementById('imagenexcur').value=radio.value;
 }
}
function imagenexc10(radio) {
 if (radio.checked==true){
   document.getElementById('imagenexcur').value=radio.value;
 }
}
$(document).ready(function() { 
            $('#img_servs').live('change', function()			{ 
			           $("#preview_imgbanner").html('');
			    $("#preview_imgbanner").html('<img src="img/loading.gif" alt="Uploading...."/>');
			$("#imageformnineteen").ajaxForm({
						target: '#preview_imgbanner'
		}).submit();
			});
        }); 
</script>

<style>
.vredondo44 {   
position: absolute;
-moz-border-radius:10px;
-webkit-border-radius: 10px;
border-radius: 10px;  
color:#000;
margin: 0 auto;
left:13%;
width:80%;
border:16px;
background-image: -webkit-gradient(
	linear,
	left top,
	left bottom,
	color-stop(0.15, #F7FCFB),
	color-stop(1, #1169DB)
);
background-image: -o-linear-gradient(bottom, #F7FCFB 15%, #1169DB 100%);
background-image: -moz-linear-gradient(bottom, #F7FCFB 15%, #1169DB 100%);
background-image: -webkit-linear-gradient(bottom, #F7FCFB 15%, #1169DB 100%);
background-image: -ms-linear-gradient(bottom, #F7FCFB 15%, #1169DB 100%);
background-image: linear-gradient(to bottom, #F7FCFB 15%, #1169DB 100%);
display:block;
padding:4px;
height:auto;
behavior: url(css/PIE.htc);
behavior:url(css/border-radius.htc); 
top:10px;

}


div.borrar {
	position: relative;
	width: 120px;
	height: 30px;
	overflow:hidden;
	background: transparent url(img/borrar22.png) center center no-repeat;
	clip:rect(0px, 141px, 30px, 0px );
}

div.borrar input {
	position: absolute;
	right: 0px;
	top: 0px;
	margin:0;
	padding:0;
	filter: Alpha(Opacity=0);
	-moz-opacity: 0;
	opacity: 0;
}

div.uploadimg {
	position: relative;
	width: 141px;
	height: 30px;
	overflow:hidden;
	background: transparent url(img/examinarfoto.png) center center no-repeat;
	clip:rect(0px, 141px, 30px, 0px );
}

div.uploadimg input {
	position: absolute;
	right: 0px;
	top: 0px;
	margin:0;
	padding:0;
	filter: Alpha(Opacity=0);
	-moz-opacity: 0;
	opacity: 0;
}

.cardexc {
   
  background-color: dodgerblue;
  /* background-color: transparent;
  color: white;*/
  padding: 1rem;
  height: 340px;
}

.cardexcs {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-gap: 1rem;
  background-color: #111111;
}

/* Screen larger than 600px? 2 column */
@media (min-width: 600px) {
  .cardexcs { grid-template-columns: repeat(2, 1fr); }
}

/* Screen larger than 900px? 3 columns */
@media (min-width: 900px) {
  .cardexcs { grid-template-columns: repeat(3, 1fr); }
}

.wrapper {
  padding: 5px;
  max-width: 960px;
  width: 95%;
  margin: 20px auto;
}

header {
  padding: 0 15px;
}

.columns {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  margin: 5px 0;
}

.column {
  flex: 1;
  border: 0px solid gray;
  margin: 2px;
  padding: 10px;
}
.column:first-child {
  margin-left: 0;
}
.column:last-child {
  margin-right: 0;
}


@media screen and (max-width: 980px) {
  .columns .column {
    margin-bottom: 5px;
    flex-basis: 40%;
  }
  .columns .column:nth-last-child(2) {
    margin-right: 0;
  }
  .columns .column:last-child {
    flex-basis: 100%;
    margin: 0;
  }
}
@media screen and (max-width: 680px) {
  .columns .column {
    flex-basis: 100%;
    margin: 0 0 5px 0;
  }
}
</style>
</head>
<body>

<form id="imageformnineteen" name="imageformnineteen" method="post" enctype="multipart/form-data" action='image_chicas.php' >

<input name='imagenexcursiones' type='hidden' id='imagenexcursiones' value='' />
<div id="vredondo44" class="vredondo44">
     
	
 <table width="100%" border="0" cellspacing="1" cellpadding="1">
    <tr>
      <td colspan="4" align="center"><font style="color:#000; font-family:'Arial Black'" size="+1"><i>PUBLICAR CHICAS</i></font><br /><font style="color:#FA0602;font-weight: bold;">Medida Imagen 712x476 Pixeles</font></td>
      </tr>
	  <tr>
      <td valign="top"><strong>Categor&iacute;as</strong></td>
       <td colspan="3">
	      <select name="categoria_girl" id="categoria_girl" onFocus="this.style.backgroundColor='#FFFF99'" style="font-weight: bold; font-family:Tahoma; font-size:15px;" onFocus="siguienteCampo ='edad_girl';">
              <option value="Seleccione">Seleccione</option>
              <option value="Cam en Vivo">Cam en Vivo</option>
		      <option value="Deseo y placer">Deseo y placer</option>
		      <option value="es webcams de chicas">es webcams de chicas</option>
		      <option value="Españolas y Latinas">Españolas y Latinas</option>
		      <option value="Joven 18">Joven +18</option>
		      <option value="love cam">love cam</option>
		      <option value="Madura 32">Madura +32</option>
              <option value="Nueva Modelo">Nueva Modelo</option>	
		      <option value="Ratito Rico">Ratito Rico</option>
		      <option value="Sex Cam Girls">Sex Cam Girls</option>
		      <option value="Top de la semana">Top de la semana</option>
          </select>
	   </td>
	 </tr>
    <tr>
      <td valign="top"><strong>Nombre</strong></td>
      <td colspan="3"><input name="nb_chica" type="text" id="nb_chica" style="color:#999;text-transform:uppercase" autocomplete="off" onFocus="if (this.value == 'Insertar Ej: Carme') {this.value = '';};siguienteCampo ='nacionalidad';" onBlur="if (this.value == '') {this.value = 'Insertar Ej: Carme';}" onClick="this.style.backgroundColor='#FFFF99'" onKeyUp="this.style.backgroundColor='#FFFF99';" value="Insertar Ej: Carme" size="55" maxlength="100" /></td>
    </tr>
    <tr>
      <td width="20%" valign="top"><strong>Nacionalidad</strong></td>
      <td colspan="3">
	  <select name="nacionalidad" id="nacionalidad" onFocus="this.style.backgroundColor='#FFFF99'" style="font-weight: bold; font-family:Tahoma; font-size:15px;" onFocus="siguienteCampo ='edad_girl';">
          <option value="Seleccione">Seleccione</option>
		<option value="Africana">Africana</option>
		<option value="Americana">Americana</option>
		<option value="Asiatica">Asiatica</option>
        <option value="Latina">Latina</option>
        <option value="Europea">Europea</option>
		<option value="Caribeña">Caribeña</option>
        <option value="India">India</option>
        <option value="Otro">Otro</option>
        </select>
	  </td>
    </tr>
	<tr>
      <td valign="top"><strong>Vive en</strong></td>
      <td colspan="3">
	  <select name="vive_girls" id="vive_girls" onFocus="this.style.backgroundColor='#FFFF99'" style="font-weight: bold; font-family:Tahoma; font-size:15px;" onFocus="siguienteCampo ='edad_girl';">
          <option value="Seleccione">Seleccione</option>
		<?php 
		  $resultpais=mysqli_query($link,"select nombre FROM paises"); 
              while($resultadotpais=mysqli_fetch_array($resultpais)){
              $nombre=$resultadotpais['nombre'];		?>
        <option value="<?php echo $nombre?>"><?php echo utf8_encode($nombre);?></option>
        <?php }?>
        </select>
	</td>
    </tr>
    <tr>
      <td><strong>Foto</strong></td>
      <td width="50%"><div class='uploadimg'><input name='img_servs' id='img_servs' type='file' /></div></td>
      <td colspan="2">&nbsp;</td>
    </tr>
	<tr>
	  <td valign="top">&nbsp;</td>
	  <td colspan="3"><div id='preview_imgbanner'>
	    <input name='id_girls_img' type='hidden' id='id_girls_img'/>
	    <input name='img_foto' type='hidden' id='img_foto'/>
      </div></td>
  </tr>
	<tr>
      <td valign="top"><strong><strong>Edad</strong></td>
      <td colspan="3">
	     <select name="edad_girl" id="edad_girl" onFocus="this.style.backgroundColor='#FFFF99'" style="font-weight: bold; font-family:Tahoma; font-size:15px;" onFocus="siguienteCampo ='estatura_girls';">
          <option value="Seleccione">Seleccione</option>
		  <?php
		    for ($i = 19; $i <= 60; $i++) {?>
            <option value="Africana"><?php echo $i;?></option>
           <?php } ?>
        </select>
	 </tr>
	<tr>
      <td valign="top"><strong>Estatura</strong></td>
      <td colspan="3"><input name="estatura_girls" type="text" id="estatura_girls" style="color:#999;" autocomplete="off" onFocus="if (this.value == 'Insertar Ej: 1.78') {this.value = '';};siguienteCampo ='excursion_kind';" onBlur="if (this.value == '') {this.value = 'Insertar Ej: 1.78';}" onClick="this.style.backgroundColor='#FFFF99'" onKeyUp="this.style.backgroundColor='#FFFF99';" value="Insertar Ej: 1.78" size="55" maxlength="100" /></td>
    </tr>
	<tr>
      <td valign="top"><strong>Idiomas</strong></td>
      <td colspan="3">
	   <select name="idiomas_girl" id="idiomas_girl" onFocus="this.style.backgroundColor='#FFFF99'" style="font-weight: bold; font-family:Tahoma; font-size:15px;">
          <option value="Seleccione">Seleccione</option>
		<option value="Aleman">Aleman</option>
        <option value="Español">Español</option>
		<option value="Frances">Frances</option>
        <option value="Ingles">Ingles</option>
		<option value="Italiano">Italiano</option>
        <option value="Portugues">Portugues</option>
		<option value="Aleman, Español">Aleman, Español</option>
		<option value="Aleman, Frances">Aleman, Frances</option>
		<option value="Aleman, Ingles">Aleman, Ingles</option>
		<option value="Aleman, Italiano">Aleman, Italiano</option>
		<option value="Aleman, Portugues">Aleman, Portugues</option>
		<option value="Español, Frances">Español, Frances</option>
		<option value="Español, Ingles">Español, Ingles</option>
		<option value="Español, Italiano">Español, Italiano</option>
		<option value="Español, Portugues">Español, Portugues</option>
		<option value="Otro">Otro</option>
        </select>
	  <!--<input name="excursion_bezah" type="text" id="excursion_bezah" style="color:#999;" autocomplete="off" onFocus="if (this.value == 'Insertar Ej: Euro € – US Dollar oder Pesos RD – Kreditkarte, kein Problem (Bezahlung bei Hotelabholung)') {this.value = '';};siguienteCampo ='excursion_inklusive';" onBlur="if (this.value == '') {this.value = 'Insertar Ej: Euro € – US Dollar oder Pesos RD – Kreditkarte, kein Problem (Bezahlung bei Hotelabholung)';}" onClick="this.style.backgroundColor='#FFFF99'" onKeyUp="this.style.backgroundColor='#FFFF99';" value="Insertar Ej: Euro € – US Dollar oder Pesos RD – Kreditkarte, kein Problem (Bezahlung bei Hotelabholung)" size="55" maxlength="100" />-->
	  </td>
    </tr>
	<tr>
      <td valign="top"><strong>Whatsapp</strong></td>
      <td colspan="3"><input name="whatsapp_girls" type="text" id="whatsapp_girls" style="color:#999;" autocomplete="off" onFocus="if (this.value == 'Insertar Ej: 34 Sin signo +') {this.value = '';};siguienteCampo ='excursion_kind';" onBlur="if (this.value == '') {this.value = 'Insertar Ej: 34 Sin signo +';}" onClick="this.style.backgroundColor='#FFFF99'" onKeyUp="this.style.backgroundColor='#FFFF99';" value="Insertar Ej: 34 Sin signo +" size="55" maxlength="100" /></td>
    </tr>
	<tr>
      <td valign="top"><strong>Skipe</strong></td>
      <td colspan="3"><input name="skipe_girls" type="text" id="skipe_girls" style="color:#999;" autocomplete="off" onFocus="if (this.value == 'Insertar Ej: live:.cid.c2313e58edc8a762') {this.value = '';};siguienteCampo ='excursion_kind';" onBlur="if (this.value == '') {this.value = 'Insertar Ej: live:.cid.c2313e58edc8a762';}" onClick="this.style.backgroundColor='#FFFF99'" onKeyUp="this.style.backgroundColor='#FFFF99';" value="Insertar Ej: live:.cid.c2313e58edc8a762" size="55" maxlength="100" /></td>
    </tr>
	<tr>
      <td valign="top"><strong>Acerca de mí</strong></td>
      <td colspan="3">
         <textarea name="descripcion_girl" id="descripcion_girl" cols="55" rows="30" style="background:#FF0;color:#000;" onClick="this.style.backgroundColor='#FFFF99'" onKeyUp="this.style.backgroundColor='#FFFF99';" placeholder="Beschreibung..."></textarea>
          <!--<input name="excursion_besch" type="text" id="excursion_besch" style="color:#999;" autocomplete="off" onFocus="if (this.value == 'Insertar Ej: Bus & Bootsfahrt, Nationalparks Gebühren, Essen & Getränke') {this.value = '';};" onBlur="if (this.value == '') {this.value = 'Insertar Ej: Bus & Bootsfahrt, Nationalparks Gebühren, Essen & Getränke';}" onClick="this.style.backgroundColor='#FFFF99'" onKeyUp="this.style.backgroundColor='#FFFF99';" value="Insertar Ej: Bus & Bootsfahrt, Nationalparks Gebühren, Essen & Getränke" size="55" />--></td>
    </tr>
    <tr>
      <td colspan="4" align="center">&nbsp;</td>
    </tr>
    <tr>
      <td colspan="4" align="center"><div id="publicar_bann"></div></td>
    </tr>
    
    <tr>
      <td colspan="4" align="center"><!--<input type="button" name="button4" value="GUARDAR " style="font-family:'Arial Black'" onClick="publicimgexcursions();"/>-->
      <input type="submit" name="button4" value="GUARDAR CHICA" style="font-family:'Arial Black'" onClick="this.form.action='guardar_imgexchicas.php';this.form.submit();"/>
&nbsp;&nbsp;&nbsp;
<input type="button" name="button2" id="button2" value="REFRESCAR" onClick="location.reload();" style="font-family:'Arial Black'"></td>
      </tr>
    <tr>
      <td colspan="4" align="center" bgcolor="#FF0000"><font style="color:#FFF; font-family:'Arial Black'" size="+1"><i>CHICAS A MOFICIAR O ELIMINAR</i></font></td>
      </tr>
    <tr>
      <td><strong>Chica</strong></td>
      <td colspan="3"><select name="selecbann" id="selecbann" onFocus="this.style.backgroundColor='#FFFF99'" style="font-weight: bold; font-family:Tahoma; font-size:12px;" onChange="mostrarexcurs();">
          <option value="Seleccione">Seleccione</option>
          <?php 
		  $resultbocad=mysqli_query($link,"select nb_girls,id_girls FROM girls_camermodels"); 
              while($resultadobocad=mysqli_fetch_array($resultbocad)){
              $id_girls=$resultadobocad['id_girls'];
              $nb_girls=$resultadobocad['nb_girls'];		?>
        <option value="<?php echo $id_girls?>"><?php echo $nb_girls?></option>
        <?php }?>
        </select></td>
      </tr>
    <tr>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
      <td width="6%">&nbsp;</td>
      <td width="24%">&nbsp;</td>
    </tr>
	<tr>
      <td colspan="4" align="center"><div id="delete_banners"></div></td>
    </tr>
    <tr>
      <td colspan="4" align="center">&nbsp;</td>
    </tr>
    <tr>
      <td colspan="4" align="center">&nbsp;
     <!-- <input type="button" name="button4" value="MODIFICAR" style="font-family:'Arial Black'" onClick="this.form.action='servicios_modificar.php';this.form.submit();"/>&nbsp;&nbsp;&nbsp;
      <input type="button" name="button4" value="ELIMINA" style="font-family:'Arial Black'" onClick="img_borrarserv();"/>
&nbsp;&nbsp;&nbsp;
      <input type="button" id="button2" value="Refrescar" onClick="location.reload();" style="font-family:'Arial Black'">-->
      </td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
  </table>
  </div>
</form>
</body>
</html>