"; + $totalvoto Un voto al Dia!"; $error=$error; $separacion="
"; echo $error; exit; // Devuelvo el valor de la variable "error". //echo "Usted Volvio a votar a la Imagen: "; echo $ida; echo"
"; }else{ $votost=$totalvoto+1; $actualizar="UPDATE votosweb SET web='".$_SERVER['REMOTE_ADDR']."', votos=$votost,dia=$fecha, hora=$tiempo WHERE id_web=$id" ; mysqli_query($cnx,$actualizar, $link); $ver="SELECT id,votos FROM agenda WHERE id='$id'"; $vervotos=mysqli_query($cnx,$ver, $link); $row=mysqli_fetch_array($vervotos); $votos=$row['votos']; $votost=$totalvoto+1; $actualizarsys="UPDATE agenda SET votos=$votost WHERE id=$id" ; mysqli_query($cnx,$actualizarsys, $link); // Devuelvo el valor de la variable "error". $ver2="SELECT votos FROM agenda WHERE id='$id'" ; $vervotos2=mysqli_query($cnx,$ver2, $link); while($row=mysqli_fetch_array($vervotos2)){ $totalvoto=$row['votos']; } $separacion="
"; $error1="+ $totalvoto"; echo $error1; } } mysqli_close($link); } ?>

Rental Apartments in Benidorm

Rental Apartments in Benidorm. In Benidorm you can find many offers to rent apartments with one or two bedrooms for example that comes in handy if you're going to take the kids on vacation. There are rental apartments with hotel services where you can have lunch, dinner and even go to the club if you're renting an apartment. The apartments in Benidorm that are close to the Levante beach are ideal for a holiday with children and that near the apartments are cone Aqualand theme parks, Terra Mitica and MundoMar. Enjoy with the family in the rental apartments in Benidorm and spends a great holiday.

 

 

room-apartments-rent-benidorm

 

Presentado por Consultor SEO 15/01/2014 

 


 

0){ $salida = "\n"; //parseamos la información guardándola en $salida. while($fila = mysqli_fetch_array($resFichero)){ $salida .= "\t\n"; $salida.=" tituloweb='".utf8_encode($fila['tituloweb'])."'"; $salida.=" clave_usuario='".utf8_encode($fila['clave_usuario'])."'"; } //cerramos la etiqueta principal $salida.=""; //creación del fichero. //lo abrimos $fp = fopen($nombreFichero,"w"); //escribimos el contenido de $salida en el. fwrite($fp,$salida); //cerramos el archivo fclose($fp); }else{ //si no hay datos borramos el xml. unlink($nombreFichero); } } $meses = array ("Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"); //list box con los meses. function makeMesList($nombre,$selected){ global $meses; if(!isSet($selected)){$poner = "selected";} echo"\n\t"; }//fin makeMesList //list box con números. function makeNumList($from,$cuantos,$nombre,$selected){ echo"\n\t"; }//fin makeNumList function formatFecha($fecha){ global $meses; $mes =substr($fecha, 4, 2); settype($mes,"integer"); return ($meses[$mes].date( " d,Y", mktime(0,0,0,substr ($fecha, 4, 2),substr ($fecha, 6, 2),substr ($fecha, 0, 4)) )); } // end func //actualiza el xml de agenda. function actualizarXmlAgenda(){ //nombre del xml $agendaxml = "agenda.xml"; $res = mysqli_query($cnx,"SELECT id,cabecera,texto,web,fecha,foto FROM agenda ORDER BY fecha DESC,id DESC")or die(mysqli_error()); if( mysqli_num_rows ($res) > 0 ){ $salida = "\n"; //organidor por fecha $cfecha = 0; while(list($id,$cabecera,$texto,$web,$fecha,$foto) = mysqli_fetch_array($res)){ //revisamos si hay cambio de fecha. if($fecha != $cfecha){ //si es la primer fecha. if($cfecha == 0){ //es la primer etiqueta. $salida .= "\t\n"; }else{ //no es la primer fecha, cerramos la etiqueta anterior y ponemos la nueva. $salida .="\t\n\t\n"; } //actualizamos cfecha. $cfecha = $fecha; }//fin if de fecha. //datos normales. //revisamos si tiene o no imagen. $fotoUrl = ($foto == "" || $foto == "N/A")?("n/a"):("https://www.cybersanto.es/fotos/$foto"); $salida .= "\t\t\n"; }//fin del while //fin del xml $salida .="\t\n"; //abrimos el fichero. $fp = fopen($agendaxml,"w"); //escribimos el contenido de $salida en el. fwrite($fp,$salida); //cerramos el fichero fclose($fp); }else{ //no hay registros borramos la agenda //revisamos si el archivo existe if( is_file($agendaxml)){ //si existe lo borramos unlink ($agendaxml); } }//fin if/else de resltados } // end func ?>