Kanjut SHELL
Server IP : 172.16.15.8  /  Your IP : 18.116.81.255
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/akshoop/www/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/akshoop/www/findMyRoommate.php
<html>
<head>
<style>
body {
  font-family: "Apple Chancery", cursive;
  background-color: white;
  margin: 0;
}

ul {
  list-style-type: none;
  height: 100%;
  width: 250px;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #555;
  overflow: auto;
  padding-top:20px;
  padding: 0;
  margin: 0;
}

li a {
  display: block;
  color: white;
  padding: 6px 8px 6px 16px;
  text-decoration: none;
  font-size: 20px;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

li a.active {
  background-color: #81a4db;
  color: white;
}

li a:hover:not(.active) {
  background-color: #81a4db;
  color: white;
}
</style>
</head>
<body>

<ul>
  <li><a href="projectIndex.html">Home</a></li>
  <li><a href="housingInformation.html">Information</a></li>
  <li><a href="rateMy.html">Rating Forms</a></li>
  <li><a class="active" href="rateMyTable.html">Tables</a></li>
  <li><a href="FAQs.html">FAQs</a></li>
  <li><a href="admin.html">Admin Login</a></li>
</ul>

<div style="margin-left:250px;padding:0px 10px;height:1000px;font-size: 20px;">
  <h2>Display Tables.</h2>
	<h3>
<?php
	$findMyRoommate = $_POST["findMyRoommate"];
	print "Find roommate by ";
	if($findMyRoommate == Name)
	{	print "name.<BR>";
?>
		<FORM action=findMyRoommateByName.php method=post>
		Enter name: <INPUT type=text name=name>
		<INPUT type=submit value=Submit>
		<INPUT type=reset value=Reset>
		</FORM>
		<BR>
<?php		
	}
	else if($findMyRoommate == Cleanliness)
	{	print "cleanliness. <BR>";
?>
	<FORM action=findMyRoommateByCleanliness.php method=post>
	I prefer my roommate's side of the room to be:
          <select name=cleanliness>
            <OPTION></OPTION>
            <OPTION>Clean and free of dirty clothes, dishes, and old food</OPTION>
            <OPTION>Moderately clean; piles of clothes, occasional dishes, and old food</OPTION>
          </select><BR>	
	<INPUT type=submit value =Submit>
	<INPUT type=reset value=Reset>
	</FORM>
<?php
        }
        else if($findMyRoommate == "Personal Items")
        {       print "personal items.<BR>";
?>
        <FORM action=findMyRoommateByPersonalItems.php method=post>
	I prefer a roommate whose items: 
          <select name=personalItems>
            <OPTION></OPTION>
            <OPTION>Were not to be shared</OPTION>
            <OPTION>Were shared with permission</OPTION>
          </select><BR>
        <INPUT type=submit value =Submit>
        <INPUT type=reset value=Reset>
        </FORM>
<?php
        }
        else if($findMyRoommate == Privacy)
        {       print "privacy.<BR>";
?>
        <FORM action=findMyRoommateByPrivacy.php method=post>
	I prefer a roommate who needs privacy: 
          <select name=privacy>
            <OPTION></OPTION>
            <OPTION>Once a day</OPTION>
            <OPTION>Once a week</OPTION>
            <OPTION>Once a month</OPTION>
          </select><BR>
        <INPUT type=submit value =Submit>
        <INPUT type=reset value=Reset>
        </FORM>
<?php
        }
        else if($findMyRoommate == Communication)
        {       print "communication.<BR>";
?>
        <FORM action=findMyRoommateByCommunication.php method=post>
	I prefer a roommate whose communication: 
          <select name=communication>
            <OPTION></OPTION>
            <OPTION>Was clear and effective</OPTION>
            <OPTION>Only used for serious issues or conflicts</OPTION>
            <OPTION>Was never used</OPTION>
          </select><BR>
        <INPUT type=submit value =Submit>
        <INPUT type=reset value=Reset>
        </FORM>

<?php
        }
        else if($findMyRoommate == "Study Environment")
        {       print "study environment.<BR>";
?>
        <FORM action=findMyRoommateByStudyEnvironment.php method=post>
	I prefer a roommate who likes to study in: 
          <select name=study>
            <OPTION></OPTION>
            <OPTION>Extremely quiet (No music, no video games, no guests, etc.</OPTION>
            <OPTION>Moderately quiet (Music and video games with headphones. Guests are okay)</OPTION>
            <OPTION>Normal noise (Music and video games without headphones. Guests are okay)</OPTION>
          </select><BR>
        <INPUT type=submit value =Submit>
        <INPUT type=reset value=Reset>
        </FORM>
<?php
        }
        else if($findMyRoommate == "Sleep Time")
        {       print "sleep time.<BR>";
?>
        <FORM action=findMyRoommateBySleepTime.php method=post>
	I prefer a roommate who goes to sleep: 
          <select name=sleep>
            <OPTION></OPTION>
            <OPTION>Before 10PM</OPTION>
            <OPTION>10-11PM</OPTION>
            <OPTION>11-12AM</OPTION>
            <OPTION>After midnight</OPTION>
          </select><BR>
        <INPUT type=submit value =Submit>
        <INPUT type=reset value=Reset>
        </FORM>

<?php	
	}
	else
		print "<BR>Something went wrong...<BR>";
?>
	</h3>
</div>

</body>
</html>


Stv3n404 - 2023