include_once ("shared/global.cfg"); include_once (SF_SHARED_PATH."/classes/category_class.inc"); include_once (SF_SHARED_PATH."/classes/feature_class.inc"); // Class for category_display_edit page class archive_display_list extends Page { function archive_display_list() { return 1; } function execute() { $category_id=$_GET["category_id"]; if ($category_id<1) { $category_id=$GLOBALS['config_defcategory']; } $status="a"; $db_obj=new SFACTIVE\DB(); $category_obj=new SFACTIVE\Category; $categoryfields=$category_obj->get_category_fields($category_id); $feature_obj=new SFACTIVE\Feature(); $feature_list=$feature_obj->get_list($category_id, $status); $feature_list2=$feature_obj->get_list($category_id, 'c' ); $feature_list = array_merge($feature_list, $feature_list2); $category=$category_id; $Title=$categoryfields['shortname']." ".$lang_archive_id; $list_string=""; while ($nextfeature=array_pop($feature_list)){ $list_string.="