<?php
if($_GET['do'] == 'labas')
{
if($_SESSION['u_labas'] == 0){
echo "<form method='post'><input type='submit' name='submit3' value='Test' /></form>";}
if ($_POST['submit3'] == "Test") {
printf("<script>alert('AMEN!');</script>");
}
}
?>