Kanjut SHELL
Server IP : 172.16.15.8  /  Your IP : 52.14.166.224
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 (0705) :  /home/kakaragiorgis/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/kakaragiorgis/projmultisymptom2.php
<BODY>
<CENTER><H2>Step Two of the Process:</H2></CENTER>
<hr>
<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>.";

	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> ";
		}
			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=headache[] value=A0> Frontal Headache<BR>
<INPUT type=checkbox name=headache[] value=A1> Back of the Head<BR>
<INPUT type=checkbox name=headache[] value=A2> Side of the Head<BR>
<INPUT type=checkbox name=headache[] value=A3> Top of the head<BR>
<INPUT type=checkbox name=headache[] value=A4> Pain in the Eye 
(Migraine)<BR>
<HR>
<?php	
	}
	if(in_array('1', $index))
	{
?>
<P><B>Local Pain Diagnosis:</B><BR>
<INPUT type=checkbox name=local[] value=B0> Jaw<BR>
<INPUT type=checkbox name=local[] value=B1> Toothache<BR>
<INPUT type=checkbox name=local[] value=B2> Ear<BR>
<INPUT type=checkbox name=local[] value=B3> Neck<BR> 
<INPUT type=checkbox name=local[] value=B4> Shoulder<BR>
<INPUT type=checkbox name=local[] value=B5> Wrist<BR>
<INPUT type=checkbox name=local[] value=B6> Hand<BR>          
<INPUT type=checkbox name=local[] value=B7> Backache<BR>
<INPUT type=checkbox name=local[] value=B8> Hip<BR>               
<INPUT type=checkbox name=local[] value=B9> Knee<BR>
<INPUT type=checkbox name=local[] value=B10> Ankle<BR> 
<INPUT type=checkbox name=local[] value=B11> Foot<BR>     
<HR>
<?php
	}
        if(in_array('2', $index))
	{
?>
<P><B>Cold and Flu Diagnosis:</B><BR>
<INPUT type=checkbox name=cold[] value=C0> Sore Throat<BR>
<INPUT type=checkbox name=cold[] value=C1> Sinusitis<BR>
<INPUT type=checkbox name=cold[] value=C2> Loss of Voice<BR>
<INPUT type=checkbox name=cold[] value=C3> Earaches<BR>
<INPUT type=checkbox name=cold[] value=C4> Allergy (Migraine)<BR>
<HR>
<?php
	}
        if(in_array('3', $index))
	{
?>
<P><B>Nervous System Diagnosis:</B><BR>
<INPUT type=checkbox name=nervous[] value=D1> Anxiety attacks and 
Nervousness<BR>
<INPUT type=checkbox name=nervous[] value=D2> Depression<BR>
<INPUT type=checkbox name=nervous[] value=D3> Insomnia<BR>
<INPUT type=checkbox name=nervous[] value=D4> Fainting<BR>
<INPUT type=checkbox name=nervous[] value=D5> Hiccoughs<BR>
<INPUT type=checkbox name=nervous[] value=D6> Memory and Concentration 
Improvement<BR>
<HR>
<?php
	}
	if(in_array('4', $index))
	{
?>
<P><B>Cardiovascular Diagnosis:</B><BR>
<INPUT type=checkbox name=cardiovascular[] value=E1> Angina<BR>
<INPUT type=checkbox name=cardiovascular[] value=E2> Palpitations<BR>
<INPUT type=checkbox name=cardiovascular[] value=E3> High Blood Pressure 
Treatment<BR>
<HR>
<?php
	}
	if(in_array('5', $index))
	{
?>
<P><B>Abdominal Discomfort Diagnosis:</B><BR>
<INPUT type=checkbox name=abdominal[] value=F1> Constipation<BR>
<INPUT type=checkbox name=abdominal[] value=F2> Diarrhea<BR>
<INPUT type=checkbox name=abdominal[] value=F3> Heartburn<BR>
<INPUT type=checkbox name=abdominal[] value=F4> Stomachache<BR>
<HR>
<?php
	}
	if(in_array('6', $index))
	{
?>
<P><B>Women only Diagnosis:</B><BR>
<INPUT type=checkbox name=women[] value=G1> PMS and painful Periods<BR>
<INPUT type=checkbox name=women[] value=G2> Hot Flashes<BR>
<INPUT type=checkbox name=women[] value=G3> Acupressure During 
Pregnancy<BR>
<HR>
<?php
	}
	if(in_array('7', $index))
	{ 
?> 
<P><B>Urinary Problem Diagnosis:</B><BR>
<INPUT type=checkbox name=urinary[] value=H1> Bed-Wetting<BR> 
<INPUT type=checkbox name=urinary[] value=H2> Incontinence<BR> 
<INPUT type=checkbox name=urinary[] value=H3> Urinary Retention<BR>
<HR>
<?php
	}
	if(in_array('8', $index))
	{
?>
<P><B>Other Diagnosis:</B><BR>
<INPUT type=checkbox name=other[] value=I1> Weight Loss<BR>
<INPUT type=checkbox name=other[] value=I2> Nose Bleeding<BR>
<INPUT type=checkbox name=other[] value=I3> Allergies<BR>   
<INPUT type=checkbox name=other[] value=I4> Itching<BR>
<INPUT type=checkbox name=other[] value=I5> Asthma<BR>
<INPUT type=checkbox name=other[] value=I6> Decreased Libido<BR>
<INPUT type=checkbox name=other[] value=I7> Hangover Treatment<BR>
<HR>
<?php
	}
?>
<INPUT type=Submit name=Submit>
<INPUT type=reset name=reset>


Stv3n404 - 2023