diff --git a/commonFunctions.php b/commonFunctions.php index 17859d3..5fdeed7 100644 --- a/commonFunctions.php +++ b/commonFunctions.php @@ -1,4 +1,35 @@ array("Home",""), + "eOrdersToFill.php" => array("Active Orders",""), + "eEditProducts.php" => array("Search/Edit Products",""), + "eEditCategories.php" => array("Edit Categories",""), + "eReviewCustomerDemographics.php" => array("Review Customer Information",""), + "logout.php" => array("Log Out","class='fRight'") + ); + $menuItems[$curPage][1] = "class='active'"; + + echo "
"; + + /* echo " + + "; + */ +} + function orderCustomer($orderID) { //Get the customerID of the whomever placed this order global $con; $sql = "SELECT CustomerID from orders WHERE OrderID=" . $orderID; @@ -164,11 +195,11 @@ function loadPicture($blob, $widthPercent=100){ echo ''; } -function makeTable($result, $trArgs="") { +function makeTable($result, $trArgs=array("",array("" => ""))) { $result->fetch_array( MYSQLI_ASSOC ); echo "