Tags » Isengart

javascript inside an eternal loop php code doesnt work

<html>
    <head>
    </head>
    <body>
        <div>
            
               
               
               
               
               
            
            <img id="adtv" src="img.png">
      </div>
<?php
set_time_limit(0);
$x=1;
while(x==1) {
   $now = date('G',time());
   $start = 12;
   $end = 13;

  if($now >= $start && $now <= $end):
     echo '<script type="text/javascript">document.getElementById("adtv").style.display="none"; </script>';
     echo '<script type="text/javascript">document.getElementById("liveTV_api").style.display="block"; document.getElementById("adtv").style.display="none";</script>';

   else:
     echo '<script type="text/javascript">document.getElementById("adtv").style.display="block"; document.getElementById("liveTV_api").style.display="none";</script>';
   endif;

   sleep(3600);
}

?>

    </body>
</html>
… 74 more words
Stackoverflow

Rivendell, Isengard and the river Anduin

September 24th – 26th
Yes, I had some more filming locations on my list!
Call me crazy if you want to, but I’ve found filming locations to be an ideal indicator for wonderful pieces of nature and so far, I have never been let down! 1,149 more words

Backpacking

Bruchtal, Isengart und der Anduin

 

24. September – 26. September

Ja-ha, schon wieder Herr der Ringe!
Was soll ich sagen – ich bin einfach ein Fan und bisher waren Drehorte auch immer super Indikatoren für herrliche Landschaften! 1,134 more words

Backpacking

javascript doesnt even work and a html error at the same time

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://ift.tt/kkyg93">
<html xmlns="http://ift.tt/lH0Osb">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
<title> Shitty website yo </title>
<link href="css.css" rel="stylesheet" type="text/css"/>

<script type="text/javascript">
validation() {
flag=true;
var nlegit= new RegExpr("/\W/");
var password1=document.getElementById("password1").value;
var password2=document.getElementById("password2").value;
var username=document.getElementById("username").value;
var email=document.getElementById("email").value;
var ducky="@";
var dot=".";


if (password1 != password2) {
flag=false;
alert('PASSWORDS DONT MATCH');
}
if (nlegit.test(username)) {
flag=false;
alert('U DONT USE LEGIT CHARS');
}



if (!ducky.test(email) || !dot.test(email)) {
flag=false;
aler('THIS ISNT EVEN AN EMAIL');
}
return flag;
}
</script>

</head>
<body>

<div id="container">
<div id="header">
<h1> VILLES FOR RENT WEBSITE </h1>
</div>

<div id="menu">
<ul>
<li> <a href="Register.html"> Register</a></li>
<li> <a href="Search.php">Search </a></li>
<li> <a href="Login.php">Login</a></li>
</ul>


</div>
<div id="main">
<form id="credentials" name="credentials" action="getRegistered.php" method="post" onsubmit="return validation();">
<table style="width 100%;">
<tr>
<td class="right" width="25%";><strong>Username:</strong></td>
<td>
<input type="text" name="text" id="text"/>
</td>
</tr>
<tr>
<td class="right"><strong>Password:</strong></td>
<td>
<input type="password" name="password1" id="password1"/>
</td>
</tr>
<tr>
<td class="right"><strong>Repeat Password:</strong></td>
<td>
<input type="password" name="password2" id="password2"/>
</td>
</tr>
<tr>
<td class="right"><strong>Email:</strong></td>
<td>
<input type="text" name="email" id="email">
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>
<input type="reset" name="reset" id="reset" value="CLEAR">
<input type="submit" name="submit" id="submit" value="OK">
</td>
<tr>    
</form>
</div>


<div id="footer">
<p> worst site eu - 2014 </p>
</div>

</div>

</body>

</html>
… 86 more words
Stackoverflow