>"; $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"; ?>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" ."$gdl_publisher[publisher] - $dinamic_title | Powered by GDL4.2\n" ."\n" ."\n"; if ($gdl_content->meta<>"") echo $gdl_content->meta; echo "theme."/".$gdl_content->theme.".css\" type=\"text/css\" media=\"screen\"/>\n"; if ((file_exists("./theme/".$gdl_content->theme."/".$gdl_content->theme."_print.css"))&& ($_GET['mod']== "browse") && ($_GET['op']=="read") && (! empty ($_GET['id']))) echo "theme."/".$gdl_content->theme."_print.css\" type=\"text/css\" media=\"print\"/>\n"; $is_state_offline = $_GET['state']; if($is_state_offline != "offline"){ if (file_exists("gdl.xml")) echo ""; } if(file_exists("./theme/".$gdl_content->theme."/offlinegdl")){ // Current theme support live CD service. echo "\n"; echo "\n"; } // script for style type text/css if ($gdl_content->style <> ""){ echo "\n"; } // script for javascript if (($gdl_content->javascript <> "") or (file_exists("./theme/".$gdl_content->theme."/javascripts.php"))) { echo "\n"; } echo "\n"; echo "\n\n"; include("./theme/".$gdl_content->theme."/theme.php"); echo "\n" .""; ?>