require('../../config.php'); require($CONF['fs_languages'] . $_SESSION['lng'] . '/' . basename($_SERVER['PHP_SELF'])); require($CONF['fs_languages'] . $_SESSION['lng'] . '/' . $CONF['pg_iframe']); require($CONF['fs_languages'] . $_SESSION['lng'] . '/' . $CONF['fs_lng_forms'] . $CONF['pg_general_form']); require($CONF['fs_languages'] . $_SESSION['lng'] . '/' . $CONF['fs_lng_search'] . basename($_SERVER['PHP_SELF'])); $GROUP = new group(); //------------------------------------------------------------------------------------- // ORDENAR POR if ( isset($_GET['ord']) && !empty($_GET['ord']) ) $ORDER = check_page_order($_GET['ord']); $PAGE = check_num_of_page($_GET['page']); //------------------------------------------------------------------------------------- // GENERAR PAGINA $buttons = array(); $buttons[] = array( 'href' => '#" onclick="addReg();', 'title' => $LNG['set_group'], 'img' => 'boton_asignar_grupo_peq.gif', 'img_des' => 'boton_asignar_grupo_peq_des.gif', 'status' => true ); $button_actions = array(); $button_actions[0] = array( 'status' => false ); $button_actions[1] = array( 'status' => false ); $js_vars = array( 'JS_SECTION_NAME' => 'group', 'JS_DIR_IMAGES' => $CONF['sys_http_server'] . $CONF['ws_images'] ); $HTML = new html(); $HTML->generateHeader(array($CONF['css_iframe'], $CONF['css_forms'], $CONF['css_campos']), array($CONF['js_general'], $CONF['js_lists'], $CONF['js_search'], $CONF['js_forms']), $js_vars, 'onLoad="init();"' ); $HTML->generateFormButtons($buttons, $button_actions); echo '
' . "\n"; $HTML->generateFiltersDiv($GROUP, $CONF['pg_search_groups']); echo ' | ' . "\n"; echo '
' . "\n"; $HTML->generateListBody($CONF['pg_search_groups'], $GROUP); echo ' | ' . "\n"; echo '