add("Edit this Category", BASE."admin/addCategory.php?iCatId=".$aClean['iCatId']); $url = BASE."admin/deleteAny.php?sWhat=category&iCatId=".$aClean['iCatId']."&sConfirmed=yes"; $m->add("Delete this Category", "javascript:deleteURL(\"Are you sure?\", \"".$url."\")"); $m->done(); } // list sub categories $oCat = new Category($aClean['iCatId']?$aClean['iCatId']:"0"); $sCatFullPath = Category::make_cat_path($oCat->getCategoryPath()); $subs = $oCat->aSubcatsIds; //display admin box if($_SESSION['current']->hasPriv("admin") && $aClean['iCatId'] != 0) apidb_sidebar_add("admin_menu"); //output header apidb_header("Browse Applications"); echo "
Category: ". $sCatFullPath ."
\n";
echo html_frame_end();
echo html_frame_start("","98%","",0);
echo "
| Sub Category | \n"; echo "Description | \n"; echo "No. Apps | \n"; echo "
| ".$oSubCat->sName." | \n"; echo "$desc | \n"; echo "$appcount | \n"; echo "
Category: ". $sCatFullPath ."
\n";
echo html_frame_end();
echo html_frame_start("","98%","",0);
echo "
| Application Name | \n"; echo "Description | \n"; echo "No. Versions | \n"; echo "
| ".$oApp->objectMakeLink()." | \n"; echo "$desc | \n"; echo "".sizeof($oApp->aVersionsIds)." | \n"; echo "