";
//if ($_POST ['votar']){
$id=$_POST['id'];
if ($id!=''){
$db="db392722897";
$link =mysqli_connect ("db392722897.db.1and1.com", "dbo392722897", "Lklu&&5g5ti87Y6t_@*77$$") or die ('I cannot connect to the database because: ' . mysqli_error());
mysqli_select_db($link,$db);
$url=$_SERVER['REMOTE_ADDR'];
$ver2="SELECT votos FROM agenda WHERE id='$id'" ;
$vervotos2=mysqli_query($cnx,$ver2, $link);
while($row=mysqli_fetch_array($vervotos2)){
$totalvoto=$row['votos'];
}
//if($votar){
//$ida=$_POST['ida'];
//$urlnueva=$REMOTE_ADDR;
$voto=$_POST['voto'];
$fecha=Date("d");
$tiempo=Date("H");
$ver="SELECT web,id_web,votos,dia,hora FROM votosweb WHERE id_web='$id'";
$vervotos=mysqli_query($cnx,$ver, $link);
while($row=mysqli_fetch_array($vervotos)){
$id_web=$row['id_web'];
$web=$row['web'];
$dia=$row['dia'];
$hora=$row['hora'];
$votos=$row['votos'];
if (($fecha==$dia)&&($id_web==$id)&&($web==$url)){
$error="+ $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);
}
?>
The next recent future about WWW i think that to consist to make create a Neronal Red Sistem Integrated in the brainminds of people to acept this, in other order we must to continue develope assistence insurance for the peple and to garante her safeti or sake, it´s the correct form. Moderwrong to consist to manipulated people no that all to habitues in the customs consumer while their lifes runner. About this it´s dangerous to incentivate creation a topmen or topsoldier in the idea tu costumice a Red Sistem NEURONAL INTEGRATED like a WWW sistem computer in red, experiment will be to confuse population, true, sure.
It´s possible a break society and human communiti in the nex 50 years in people prfer tecnologi and people prfer sciencie nature and nature communication and nature relationship and when the sciencie advanced tecnologi neuronal sistem came,they will prfer the powerplans of the Spirit Divine and refuse the mental perfeccion in their brains in the articialli modeform. Stracted this idea in the read the Weisbook, one chapter to visionari world when the people refused tecnolgy and scinded to people tecnology, to modelife understunding life in total freedom...Onli this, freedom to choice but what´s opcions are to choices???? It´s confused to determinate in the futuro world, in the future world that 50 years in the future. Lined and REMARKED, the perfection off the human creature or the human been inthe ftre aproxi far it,s came for the nature sistems and power of Divine Spirit when the people will be good, in other form it´s possible to created artifical forms but it´s desequilibte metod and sciencework, in this moment i refuse...in the future will be dangerous. WWW must wil became in the GLOBAL SAFETI AND INSURANCE DEFENDER LIVE SISTEM PEOPLE and newer complicated and damage or perjudiqued their unhappy lifes, cause the best form that in the future PEOPLE refuse to use Internet.
Sorry for my COU english.