} $_sessionEnd = getmicrotime(); // 현재 접속자의 데이타를 체크하여 파일로 저장 (회원, 비회원으로 구분해서 저장) $_nowConnectStart = getmicrotime(); if ($_zbDefaultSetup[nowconnect_enable] == "true") { $_zb_now_check_intervalTime = time() - $HTTP_SESSION_VARS["zb_last_connect_check"]; if (!$HTTP_SESSION_VARS["zb_last_connect_check"] || $_zb_now_check_intervalTime > $_zbDefaultSetup[nowconnect_refresh_time]) { // 4.0x 용 세션 처리 $zb_last_connect_check = time(); session_register("zb_last_connect_check"); if ($HTTP_SESSION_VARS["zb_logged_no"]) { $total_member_connect = $total_connect = getNowConnector($_zb_path . "data/now_member_connect.php", $HTTP_SESSION_VARS[zb_logged_no]); $total_guest_connect = getNowConnector_num($_zb_path . "data/now_connect.php", TRUE); } else { $total_member_connect = $total_connect = getNowConnector_num($_zb_path . "data/now_member_connect.php", TRUE); $total_guest_connect = getNowConnector($_zb_path . "data/now_connect.php", $REMOTE_ADDR); } } else { $total_member_connect = $total_connect = getNowConnector_num($_zb_path . "data/now_member_connect.php", FALSE); $total_guest_connect = getNowConnector_num($_zb_path . "data/now_connect.php", FALSE); } } } $_nowConnectEnd = getmicrotime(); // config.php 파일의 위치를 구함;; $temp_filename = realpath(__FILE__); if ($temp_filename) { $config_dir = eregi_replace("lib.php", "", $temp_filename); } else { $config_dir = ""; }
} $_sessionEnd = getmicrotime(); // 현재 접속자의 데이타를 체크하여 파일로 저장 (회원, 비회원으로 구분해서 저장) $_nowConnectStart = getmicrotime(); if ($_zbDefaultSetup[nowconnect_enable] == "true") { $_zb_now_check_intervalTime = time() - $_SESSION["zb_last_connect_check"]; if (!$_SESSION["zb_last_connect_check"] || $_zb_now_check_intervalTime > $_zbDefaultSetup[nowconnect_refresh_time]) { // 4.0x 용 세션 처리 $zb_last_connect_check = time(); session_register("zb_last_connect_check"); if ($_SESSION["zb_logged_no"]) { $total_member_connect = $total_connect = getNowConnector($_zb_path . "data/now_member_connect.php", $_SESSION[zb_logged_no]); $total_guest_connect = getNowConnector_num($_zb_path . "data/now_connect.php", TRUE); } else { $total_member_connect = $total_connect = getNowConnector_num($_zb_path . "data/now_member_connect.php", TRUE); $total_guest_connect = getNowConnector($_zb_path . "data/now_connect.php", $_SERVER['REMOTE_ADDR']); } } else { $total_member_connect = $total_connect = getNowConnector_num($_zb_path . "data/now_member_connect.php", FALSE); $total_guest_connect = getNowConnector_num($_zb_path . "data/now_connect.php", FALSE); } } } $_nowConnectEnd = getmicrotime(); // config.php 파일의 위치를 구함;; $temp_filename = realpath(__FILE__); if ($temp_filename) { $config_dir = eregi_replace("lib.php", "", $temp_filename); } else { $config_dir = ""; }