$gdl_sys["theme"]="green"; $gdl_sys["language"]="indonesian"; $gdl_sys["page_caching"]="120"; $gdl_sys["perpage_browse"]="10"; $gdl_sys["perpage_member"]="100"; $gdl_sys["perpage_publisher"]="100"; $gdl_sys["perpage_request"]="100"; $gdl_sys["perpage_discussion"]="100"; $gdl_sys["collection_folder"]="IndonesiaDLN"; $gdl_sys["neon_name"]="GDL"; $gdl_sys["apps"]="GDL"; $gdl_sys["network"]="GENERAL"; $gdl_sys["support_oai_dc"]="1"; $gdl_sys["role"]="NODE"; $gdl_sys["application_signature"]="5NGy4QbBPHgcxfuxgV4ewC3GLIFrvq"; $gdl_sys["public_download"]=false; $gdl_sys["os"]="debian"; $gdl_sys["folder_refresh"]=true; $gdl_sys["activate_account"]=true; $gdl_sys["index_cdsisis"]=false; $gdl_sys["remote_login"]=true; $gdl_sys["timeout"]="600"; $gdl_sys["home"]="browse"; $gdl_sys["index"]="home"; $gdl_sys["modul_list"]=true; $gdl_sys["folder_separator"]=">>"; $gdl_sys["repository_dir"]="files/disk1"; $gdl_sys["metadata_per_dir"]="50"; $gdl_sys["sync_maxsize_gzfile"]="10000000"; $gdl_sys["sync_repository_name"]="MyOrg Digital Library"; $gdl_sys["sync_repository_id"]="1"; $gdl_sys["sync_hub_server_name"]="hub.indonesiadln.org"; $gdl_sys["sync_hub_server_port"]="80"; $gdl_sys["sync_use_proxy"]="0"; $gdl_sys["sync_proxy_server_address"]=""; $gdl_sys["sync_proxy_server_port"]=""; $gdl_sys["sync_oai_script"]="OAI-v2-script.php"; $gdl_sys["sync_opt_script"]="0"; $gdl_sys["sync_harvest_node"]="0"; $gdl_sys["sync_harvest_from"]="0000-00-00T00:00:00Z"; $gdl_sys["sync_harvest_until"]="0000-00-00T00:00:00Z"; $gdl_sys["sync_harvest_set"]="0"; $gdl_sys["sync_count_records"]="10"; $gdl_sys["sync_show_response"]="0"; $gdl_sys["sync_fragment_size"]="10000"; $gdl_sys["folks_active_option"]="0"; $gdl_sys["folks_min_frekuensi"]="100"; $gdl_sys["folks_token_per_abjad"]="5"; $gdl_sys["folks_max_size_font"]="20"; $gdl_sys["folks_min_size_font"]="8"; $gdl_sys["folks_bg_color"]="000000"; $gdl_sys["folks_font_color"]="cccccc"; ?> if (eregi("main.php",$_SERVER['PHP_SELF'])) { die(); } include_once ("./config/system.php"); include_once ("./config/publisher.php"); include_once ("./class/content.php"); include_once ("./class/db.php"); include_once ("./class/auth.php"); include_once ("./class/session.php"); include_once ("./class/metadata.php"); include_once ("./class/folder.php"); include_once ("./class/file.php"); include_once ("./class/form.php"); include_once ("./class/user.php"); include_once ("./class/parser.php"); include_once ("./class/publisher.php"); include_once ("./class/synchronization.php"); include_once ("./class/stdout.php"); include_once ("./class/import.php"); include_once ("./class/isisdb.php"); include_once ("./class/folksonomy.php"); include_once ("./class/captcha.php"); include_once ("./class/partnership.php"); include_once ("./class/liveCD.php"); //hanya untuk pengetesan koneksi if(file_exists("./config/sync.php")) include_once ("./config/sync.php"); if(file_exists("./config/folks.php")) include_once("./config/folks.php"); /*3*/ $gdl_content = new content(); /*1*/ $gdl_db = new database(); /*6*/ $gdl_metadata = new metadata(); /*4*/ $gdl_session = new session(); /*2*/ $gdl_form = new form(); /*5*/ $gdl_auth = new authentication(); /*7*/ $gdl_folder = new folder(); /*8*/ $gdl_file = new file_relation(); /*9*/ $gdl_account = new user (); /*10*/ $gdl_publisher2 = new publisher(); /*11*/ $gdl_synchronization = new synchronization(); /*17*/ $gdl_xmlParser = new parser(); /*17*/ $gdl_stdout = new stdout(); /*17*/ $gdl_import = new import(); /*17*/ $gdl_isisdb = new isisdb(); /*18*/ $gdl_folksonomy = new folksonomy(); /*19*/ $gdl_captcha = new ocr_captcha(); //error bila object liveCD dibuat /*20*/ $gdl_liveCD = new liveCD(); include_once ("./class/oai/global_include.php"); $gdl_partner = new partnership(); $frm_relog = $_POST['relog']; if(is_array($frm_relog)) $gdl_session->cek_posting_remoteLoginInfo($frm_relog); $gdl_session->cek_remote_session(); $gdl_session->setup_indexing_option(); // set general language if (file_exists("./lang/".$gdl_content->language.".php")) { include("./lang/".$gdl_content->language.".php"); } // set general function if (file_exists("./theme/".$gdl_content->theme."/function.php")) { include("./theme/".$gdl_content->theme."/function.php"); } // modul and operation authentication if (ereg("\.\.",$gdl_mod)|| ereg("\.\.",$gdl_op)) { $gdl_content->set_error(_YOUCANACCESSDIRECLY); } else { if (!file_exists("./files/misc/install.lck") && (!ereg("install",$gdl_mod))) { $gdl_content->main=gdl_content_box("
"._INSTALLATIONPAGE."
",_INSTALLATION); } else { if ($gdl_auth->module() || (ereg("install",$gdl_mod) && !file_exists("./files/misc/install.lck"))){ // define language per modul if (file_exists("./module/$gdl_mod/lang/".$gdl_content->language.".php")) { include("./module/$gdl_mod/lang/".$gdl_content->language.".php"); } if ($gdl_auth->operation() || (ereg("install",$gdl_mod) && !file_exists("./files/misc/install.lck"))){ if (file_exists("./module/$gdl_mod/$gdl_op.php")) { include("./module/$gdl_mod/$gdl_op.php"); }else{ $gdl_content->set_error(_OPERATIONNOTEXIST,_ERROR,"main.operation_file"); } } else { $gdl_content->set_error(_YOUHAVENOTAUTHORITY,_EXCLAMATION,"main.operation_authority"); } }else{ $gdl_content->set_error(_YOUHAVENOTAUTHORITY,_EXCLAMATION,"main.module_authority"); } } } $request_uri = $_SERVER["REQUEST_URI"]; $dinamic_title = $_SESSION['DINAMIC_TITLE']; if(empty($dinamic_title) || ($request_uri == "/index.php")){ $dinamic_title = "WELCOME";} // display error, replace all content $gdl_session->set_access_log(); if ($gdl_content->error<>"" && (!ereg("install",$gdl_mod)) && (file_exists("./files/misc/install.lck"))) $gdl_content->main = $gdl_content->error; echo "\n\n" ."\n" ."\n" ."