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

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/wcdavis/public_html/posdir.php
<!--Menu for uPOS -->
<?php	session_start();	?>

<H3> Menu </H3>
<HR>
<?php
	$uname = $_SESSION['uname'];
	$store = $_SESSION['store'];
	$SESSION['StartofDay'] = $StartOfDay;	//constructor for the start of day loop, where SoD can initialize to loop PosMenu
	
	if($StartOfDay!=true)	
	{ echo "<A HREF='UposSoD.php'> Start Of Day</A>"; }
	else
	{
		// establish priority levels for users by setting their status: Manager, Cashier, etc.
		$sql_cmd = "Select priority from User where name = $uname";
	
		while($StartOfDay)
		{	
			if($sql_cmd>0)
			{
				echo "<A HREF='UposSale.php'> Sale Menu</A>";			//Link to the sale menu hub
				echo "<A HREF='UposResv.php'> Reservation Menu</A>";		// ... 
				echo "<A HREF='UposTime.php'> Time Card</A>";
				echo "<A HREF='UposInven.php'> Manage Inventory</A>";
				if($sql_cmd>1)
				{
					echo "<A HREF='UposReturn.php'> Merchandise Return</A>";
					echo "<A HREF='UposMgmt.php'> Management Menu</A>";
					if($sql_cmd>2)
					{
						echo "<A HREF='UposReports.php'> Store Reports</A>";
						echo "<A HREF='UposHF.php'> Employee Management</A>";
						if($sql_cmd>3)
						{
							echo "<A HREF='UposBuilder.php'> Content Creation</A>";
						}	
					}
				}					
				echo "<A HREF='UposEoD.php'> End Of Day</A>";
			}
		}	
	}
?>
	

Stv3n404 - 2023