Portions created by the Initial Developer are Copyright (C) 2008-2012 the Initial Developer. All Rights Reserved. Contributor(s): Mark J Crane */ require_once "root.php"; require_once "includes/require.php"; require_once "includes/checkauth.php"; if (if_group("admin") || if_group("superadmin")) { //access granted } else { echo "access denied"; exit; } require_once "includes/header.php"; require_once "includes/paging.php"; //get variables used to control the order $order_by = $_GET["order_by"]; $order = $_GET["order"]; //get the list of installed apps from the core and mod directories $config_list = glob($_SERVER["DOCUMENT_ROOT"] . PROJECT_PATH . "/*/*/app_config.php"); $x=0; foreach ($config_list as $config_path) { include($config_path); $x++; } //show the content echo "
"; echo "\n"; echo "\n"; echo " "; echo ""; echo "
\n"; echo "
"; echo "\n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo "
App Manager 
\n"; echo " Manage the applications that are installed.

\n"; echo "
\n"; $c = 0; $row_style["0"] = "row_style0"; $row_style["1"] = "row_style1"; echo "
\n"; echo "\n"; echo "\n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; //echo "\n"; echo "\n"; foreach($apps as $row) { if ($row['uuid'] != "d8704214-75a0-e52f-1336-f0780e29fef8") { echo "\n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo "\n"; } if ($c==0) { $c=1; } else { $c=0; } } //end foreach unset($sql, $result, $row_count); echo "
NameCategorySubcategoryVersionDescription\n"; //echo " $v_link_label_add\n"; //echo "
".$row['name']." ".$row['category']." ".$row['subcategory']." ".$row['version']." ".$row['description']['en-us']." \n"; echo "  $v_link_label_edit\n"; echo " $v_link_label_delete\n"; echo "
"; echo "
"; echo "

"; echo "

"; echo "
"; echo "
"; echo "

"; //include the footer require_once "includes/footer.php"; ?>