{source}
<?php
?>
<html>
<head>
<meta http-equiv=”Content-type” content=”text/html; charset=utf-8″ />
<style type=”text/css”>
#wrapper {
width:950px;
height:auto;
padding: 13px;
margin-right:auto;
margin-left:auto;
background-color:#fff;
}
</style>
</head>
<?php
?>
<body bgcolor=”#fff”>
<div id=”wrapper”>
<?php
$answer1= $_POST[‘answerOne’];
$answer2= $_POST[‘answerTwo’];
$answer3= $_POST[‘answerThree’];
$answer4= $_POST[‘answerFour’];
$answer5= $_POST[‘answerFive’];
$answer6= $_POST[‘answerSix’];
$answer7= $_POST[‘answerSeven’];
$answer8= $_POST[‘answerEight’];
$answer9= $_POST[‘answerNine’];
$answer10= $_POST[‘answerTen’];
$answer11= $_POST[‘answerEleven’];
$answer12= $_POST[‘answerTwelve’];
$answer13= $_POST[‘answerThirteen’];
$answer14= $_POST[‘answerFourteen’];
$answer15= $_POST[‘answerFiveteen’];
$answer16= $_POST[‘answerSixteen’];
$answer17= $_POST[‘answerSeventeen’];
$answer18= $_POST[‘answerEighteen’];
$answer19= $_POST[‘answerNineteen’];
$answer20= $_POST[‘answerTwelve’];
$answer21= $_POST[‘answerTwentyone’];
$answer22= $_POST[‘answerTwentytwo’];
$answer23= $_POST[‘answerTwentythree’];
$answer24= $_POST[‘answerTwentyfour’];
if ($answer1 == „I”){$score++;}
if ($answer2 == „N”){$score++;}
if ($answer3 == „N”){$score++;}
if ($answer4 == „N”){$score++;}
if ($answer5 == „I”){$score++;}
if ($answer6 == „I”){$score++;}
if ($answer7 == „I”){$score++;}
if ($answer8 == „N”){$score++;}
if ($answer9 == „N”){$score++;}
if ($answer10 == „I”){$score++;}
if ($answer11 == „N”){$score++;}
if ($answer12 == „N”){$score++;}
if ($answer13 == „N”){$score++;}
if ($answer14 == „I”){$score++;}
if ($answer15 == „I”){$score++;}
if ($answer16 == „I”){$score++;}
if ($answer17 == „N”){$score++;}
if ($answer18 == „N”){$score++;}
if ($answer19 == „I”){$score++;}
if ($answer20 == „I”){$score++;}
if ($answer21 == „N”){$score++;}
if ($answer22 == „N”){$score++;}
if ($answer23 == „N”){$score++;}
if ($answer24 == „I”){$score++;}
if ($score >= 17)
echo ‘<div id=””><center><object width=„100%” height=„500px” data=„http://legjobbvagyok.hu/tesztek/0001/kiertekeles/flash_kiert_17_24.swf„></object></center></div>’;
else if ($score >= 11)
echo ‘<div id=””><center><object width=„100%” height=„500px” data=„http://legjobbvagyok.hu/tesztek/0001/kiertekeles/flash_kiert_11_16.swf„></object></center></div>’;
else if ($score >= 5)
echo ‘<div id=””><center><object width=„100%” height=„500px” data=„http://legjobbvagyok.hu/tesztek/0001/kiertekeles/flash_kiert_5_10.swf„></object></center></div>’;
else if ($score >= 0)
echo ‘<div id=””><center><object width=„100%” height=„500px” data=„http://legjobbvagyok.hu/tesztek/0001/kiertekeles/flash_kiert_0_4.swf„></object></center></div>’;
?>
</div>
</body>
</html>
{/source}
0 Comment