function ChangeOption(selectedOption) {
document.getElementById('global').style.display = "none";
document.getElementById('show').style.display = "none";
document.getElementById('safety').style.display = "none";
document.getElementById('modules').style.display = "none";
document.getElementById('speed').style.display = "none";
document.getElementById('uploads').style.display = "none";
if(selectedOption == 'global') {document.getElementById('global').style.display = "";}
if(selectedOption == 'show') {document.getElementById('show').style.display = "";}
if(selectedOption == 'safety') {document.getElementById('safety').style.display = "";}
if(selectedOption == 'modules') {document.getElementById('modules').style.display = "";}
if(selectedOption == 'speed') {document.getElementById('speed').style.display = "";}
if(selectedOption == 'uploads') {document.getElementById('uploads').style.display = "";}
}
HTML;
// TOOLS MENU //
echo_top('tools_menu');
echo_title($f_lg['tools_menu']);
echo <<
|
HTML;
echo_bottom('tools_menu');
// ********************************************************************************
// TOOLS
// ********************************************************************************
// globals tools
echo "";
echo_top('tools_global');
echo_title($f_lg['tools_global']);
echo "
";
showRow($f_lg['tools_name'], $f_lg['tools_name_'], "");
showRow($f_lg['tools_url'], $f_lg['tools_url_'], "");
showRow($f_lg['meta_description'], $f_lg['meta_description2'], "");
showRow($f_lg['meta_keywords'], $f_lg['meta_keywords2'], "");
showRow($f_lg['meta_topic'], $f_lg['meta_topic2'], makeDropDown(array("1"=>$lang['opt_sys_yes'],"0"=>$lang['opt_sys_no']), "save_con[meta_topic]", "{$forum_config['meta_topic']}"));
showRow($f_lg['tools_abc_last'], $f_lg['tools_abc_last1'], "");
showRow($f_lg['tools_mrewrite'], $f_lg['tools_mrewrite_'], makeDropDown(array("1"=>$lang['opt_sys_yes'],"0"=>$lang['opt_sys_no']), "save_con[mod_rewrite]", "{$forum_config['mod_rewrite']}"));
showRow($f_lg['tools_offline'], $f_lg['tools_offline_'], makeDropDown(array("1"=>$lang['opt_sys_yes'],"0"=>$lang['opt_sys_no']), "save_con[offline]", "{$forum_config['offline']}"));
showRow($f_lg['tools_timestamp'], $f_lg['tools_timestamp2'], "");
showRow($f_lg['tools_sessions'], $f_lg['tools_sessions_'], makeDropDown(array("1"=>$lang['opt_sys_yes'],"0"=>$lang['opt_sys_no']), "save_con[sessions_log]", "{$forum_config['sessions_log']}"));
showRow($f_lg['tools_ses_time'], $f_lg['tools_ses_time_'], "");
showRow($f_lg['tools_stats'], $f_lg['tools_stats_'], makeDropDown(array("1"=>$lang['opt_sys_yes'],"0"=>$lang['opt_sys_no']), "save_con[stats]", "{$forum_config['stats']}"));
showRow($f_lg['tools_online'], $f_lg['tools_online_'], makeDropDown(array("1"=>$lang['opt_sys_yes'],"0"=>$lang['opt_sys_no']), "save_con[online]", "{$forum_config['online']}"));
showRow($f_lg['tools_forum_bar'], $f_lg['tools_forum_bar_'], makeDropDown(array("1"=>$lang['opt_sys_yes'],"0"=>$lang['opt_sys_no']), "save_con[forum_bar]", "{$forum_config['forum_bar']}"));
echo "
";
echo_bottom('tools_global');
echo "
";
// topics, posts
echo "";
echo_top('tools_show');
echo_title($f_lg['tools_show']);
echo "
";
echo_bottom('tools_show');
echo "
";
// safety
echo "";
echo_top('tools_safety');
echo_title($f_lg['tools_safety']);
echo "
";
showRow($f_lg['tools_complaint'], $f_lg['tools_complaint_'], makeDropDown(array("1"=>$lang['opt_sys_yes'],"0"=>$lang['opt_sys_no']), "save_con[mod_report]", "{$forum_config['mod_report']}"));
showRow($f_lg['tools_search_captcha'], $f_lg['tools_search_captcha_'], "");
showRow($f_lg['tools_topic_captcha'], $f_lg['tools_topic_captcha1'], "");
showRow($f_lg['tools_post_captcha'], $f_lg['tools_post_captcha1'], "");
echo "
";
echo_bottom('tools_safety');
echo "
";
// modules
echo "";
echo_top('tools_modules');
echo_title($f_lg['tools_modules']);
echo "
";
showRow($f_lg['tools_subscr'], $f_lg['tools_subscr_'], makeDropDown(array("1"=>$lang['opt_sys_yes'],"0"=>$lang['opt_sys_no']), "save_con[subscription]", "{$forum_config['subscription']}"));
showRow($f_lg['tools_mod_rank'], $f_lg['tools_mod_rank_'], makeDropDown(array("1"=>$lang['opt_sys_yes'],"0"=>$lang['opt_sys_no']), "save_con[mod_rank]", "{$forum_config['mod_rank']}"));
showRow($f_lg['tools_poll'], $f_lg['tools_poll_'], "");
showRow($f_lg['tools_ses_forum'], $f_lg['tools_ses_forum_'], makeDropDown(array("1"=>$lang['opt_sys_yes'],"0"=>$lang['opt_sys_no']), "save_con[ses_forum]", "{$forum_config['ses_forum']}"));
showRow($f_lg['tools_ses_topic'], $f_lg['tools_ses_topic_'], makeDropDown(array("1"=>$lang['opt_sys_yes'],"0"=>$lang['opt_sys_no']), "save_con[ses_topic]", "{$forum_config['ses_topic']}"));
showRow($f_lg['tools_bot_agent'], $f_lg['tools_bot_agent2'], makeDropDown(array("1"=>$lang['opt_sys_yes'],"0"=>$lang['opt_sys_no']), "save_con[bot_agent]", "{$forum_config['bot_agent']}"));
echo "
";
echo_bottom('tools_modules');
echo "
";
// speed
echo "";
echo_top('tools_speed');
echo_title($f_lg['tools_speed']);
echo "
";
showRow($f_lg['tools_t_as_p'], $f_lg['tools_t_as_p_'], makeDropDown(array("1"=>$lang['opt_sys_yes'],"0"=>$lang['opt_sys_no']), "save_con[set_topic_post]", "{$forum_config['set_topic_post']}"));
showRow($f_lg['tools_sp_num'], $f_lg['tools_sp_num_'], makeDropDown(array("1"=>$lang['opt_sys_yes'],"0"=>$lang['opt_sys_no']), "save_con[set_post_num_up]", "{$forum_config['set_post_num_up']}"));
showRow($f_lg['tools_sp_num_date'], $f_lg['tools_sp_num_date_'], "");
showRow($f_lg['tools_new_t_day'], $f_lg['tools_new_t_day_'], "");
showRow($f_lg['tools_sp_sublast'], $f_lg['tools_sp_sublast_'], makeDropDown(array("1"=>$lang['opt_sys_yes'],"0"=>$lang['opt_sys_no']), "save_con[set_sub_last_up]", "{$forum_config['set_sub_last_up']}"));
echo "
";
echo_bottom('tools_speed');
echo "
";
// uploads
echo "";
echo_top('tools_uploads');
echo_title($f_lg['tools_uploads']);
echo "
";
//showRow($f_lg['tools_upload'], $f_lg['tools_upload_'], makeDropDown(array("1"=>$lang['opt_sys_yes'],"0"=>$lang['opt_sys_no']), "save_con[tools_upload]", "{$forum_config['tools_upload']}"));
showRow($f_lg['tools_upload'], $f_lg['tools_upload_'], "");
showRow($f_lg['tools_upload_type'], $f_lg['tools_upload_type_'], "");
showRow($f_lg['tools_img_upl'], $f_lg['tools_img_upl_'], makeDropDown(array("1"=>$lang['opt_sys_yes'],"0"=>$lang['opt_sys_no']), "save_con[img_upload]", "{$forum_config['img_upload']}"));
showRow($f_lg['tools_img_max_size'], $f_lg['tools_img_max_size_'], "");
showRow($f_lg['tools_thumb_size'], $f_lg['tools_thumb_size_'], "");
showRow($f_lg['tools_jpeg_quality'], $f_lg['tools_jpeg_quality_'], "");
showRow($f_lg['tools_img_width'], $f_lg['tools_img_width_'], "");
echo "
";
echo_bottom('tools_uploads');
echo "
";
?>