Kanjut SHELL
Server IP : 172.16.15.8  /  Your IP : 3.15.145.50
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/public_html/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/jtbegley/public_html/multisymptom2.txt
<?php	session_start();	?>
<BODY
background="http://www.wallsave.com/wallpapers/1920x1080/zen-garden/212876/zen-garden-p-hd-taringa-x-picture-212876.jpg">

<CENTER><H2>Step Two of the Process:</H2></CENTER>
<hr>
<FORM action=multisymptom3.php method=post>
<FONT face='Helvetica' size=4>
<?php
        $index = $_POST['symptom'];
	$_SESSION['index'] = $index;
        $menu = array('Headache and/or Migraine', 'Local Pain',
'Cold and Flu', 'Nervous System',
'Cardiovascular', 'Abdominal Discomfort', 'Feminine Problems',
'Urinary problems', 'Other');

	//print_r($_POST['symptom']); acts as a debug to print values in $index
	echo "<BR>";
        if(count($index) ==0)
        	echo "Please go back <A HREF=multisymptom.php> and select
your symptom.</A><br>";

	else
	{	echo "The symptoms you selected are:<BR>";
		$i=0;
		foreach ($index as $item)
		{
			$cond = "$menu[$item]"; $symptom[$i]=$cond; $i++;
			echo "<B>&nbsp $cond </B> <br> ";
		}
			$_SESSION['cond'] = $cond;
			echo "<P> Now choose exactly what symptoms you are
exhibiting:<HR>";


        if(in_array('0', $index))
	{
?>
<B>Headache and Migraine Diagnosis:</B><BR>
<FORM action="diagnosis.php" method=post>
<INPUT type=checkbox name=value[] value=0> Frontal Headache<BR>
<INPUT type=checkbox name=value[] value=1> Back of the Head<BR>
<INPUT type=checkbox name=value[] value=2> Side of the Head<BR>
<INPUT type=checkbox name=value[] value=3> Top of the head<BR>
<INPUT type=checkbox name=value[] value=4> Pain in the Eye (Migraine)<BR>
<HR>
<?php
	}
	if(in_array('1', $index))
	{
?>
<P><B>Local Pain Diagnosis:</B><BR>
<INPUT type=checkbox name=value[] value=5> Jaw<BR>
<INPUT type=checkbox name=value[] value=6> Toothache<BR>
<INPUT type=checkbox name=value[] value=7> Ear<BR>
<INPUT type=checkbox name=value[] value=8> Neck<BR>
<INPUT type=checkbox name=value[] value=9> Shoulder<BR>
<INPUT type=checkbox name=value[] value=10> Wrist<BR>
<INPUT type=checkbox name=value[] value=11> Hand<BR>
<INPUT type=checkbox name=value[] value=12> Backache<BR>
<INPUT type=checkbox name=value[] value=13> Hip<BR>
<INPUT type=checkbox name=value[] value=14> Knee<BR>
<INPUT type=checkbox name=value[] value=15> Ankle<BR>
<INPUT type=checkbox name=value[] value=16> Foot<BR>
<HR>
<?php
	}
        if(in_array('2', $index))
	{
?>
<P><B>Cold and Flu Diagnosis:</B><BR>
<INPUT type=checkbox name=value[] value=17> Sore Throat<BR>
<INPUT type=checkbox name=value[] value=18> Sinusitis<BR>
<INPUT type=checkbox name=value[] value=19> Loss of Voice<BR>
<INPUT type=checkbox name=value[] value=20> Earaches<BR>
<INPUT type=checkbox name=value[] value=21> Allergy (Migraine)<BR>
<HR>
<?php
	}
        if(in_array('3', $index))
	{
?>
<P><B>Nervous System Diagnosis:</B><BR>
<INPUT type=checkbox name=value[] value=22> Anxiety attacks and 
Nervousness<BR>
<INPUT type=checkbox name=value[] value=23> Depression<BR>
<INPUT type=checkbox name=value[] value=24> Insomnia<BR>
<INPUT type=checkbox name=value[] value=25> Fainting<BR>
<INPUT type=checkbox name=value[] value=26> Hiccoughs<BR>
<INPUT type=checkbox name=value[] value=27> Memory and Concentration 
Improvement<BR>
<HR>
<?php
	}
	if(in_array('4', $index))
	{
?>
<P><B>Cardiovascular Diagnosis:</B><BR>
<INPUT type=checkbox name=value[] value=28> Angina<BR>
<INPUT type=checkbox name=value[] value=29> Palpitations<BR>
<INPUT type=checkbox name=value[] value=30> High Blood Pressure 
Treatment<BR>
<HR>
<?php
	}
	if(in_array('5', $index))
	{
?>
<P><B>Abdominal Discomfort Diagnosis:</B><BR>
<INPUT type=checkbox name=value[] value=31> Constipation<BR>
<INPUT type=checkbox name=value[] value=32> Diarrhea<BR>
<INPUT type=checkbox name=value[] value=33> Heartburn<BR>
<INPUT type=checkbox name=value[] value=34> Stomachache<BR>
<HR>
<?php
	}
	if(in_array('6', $index))
	{
?>
<P><B>Women only Diagnosis:</B><BR>
<INPUT type=checkbox name=value[] value=35> PMS and painful Periods<BR>
<INPUT type=checkbox name=value[] value=36> Hot Flashes<BR>
<INPUT type=checkbox name=value[] value=37> Acupressure During 
Pregnancy<BR>
<HR>
<?php
	}
	if(in_array('7', $index))
	{
?>
<P><B>Urinary Problem Diagnosis:</B><BR>
<INPUT type=checkbox name=value[] value=38> Bed-Wetting<BR>
<INPUT type=checkbox name=value[] value=39> Incontinence<BR>
<INPUT type=checkbox name=value[] value=40> Urinary Retention<BR>
<HR>
<?php
	}
	if(in_array('8', $index))
	{
?>
<P><B>Other Diagnosis:</B><BR>
<INPUT type=checkbox name=value[] value=41> Weight Loss<BR>
<INPUT type=checkbox name=value[] value=42> Nose Bleeding<BR>
<INPUT type=checkbox name=value[] value=43> Allergies<BR>
<INPUT type=checkbox name=value[] value=44> Itching<BR>
<INPUT type=checkbox name=value[] value=45> Asthma<BR>
<INPUT type=checkbox name=value[] value=46> Decreased Libido<BR>
<INPUT type=checkbox name=value[] value=47> Hangover Treatment<BR>
<HR>
<?php
	}

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

Stv3n404 - 2023