diff --git a/adm/admin.menu200.php b/adm/admin.menu200.php index e9b5b66d0..6e06700e7 100644 --- a/adm/admin.menu200.php +++ b/adm/admin.menu200.php @@ -4,6 +4,7 @@ $menu['menu200'] = array ( array('200100', '회원관리', G5_ADMIN_URL.'/member_list.php', 'mb_list'), array('200300', '회원메일발송', G5_ADMIN_URL.'/mail_list.php', 'mb_mail'), array('200800', '접속자집계', G5_ADMIN_URL.'/visit_list.php', 'mb_visit', 1), + array('200810', '접속자검색', G5_ADMIN_URL.'/visit_search.php', 'mb_search', 1), array('200200', '포인트관리', G5_ADMIN_URL.'/point_list.php', 'mb_point'), array('200900', '투표관리', G5_ADMIN_URL.'/poll_list.php', 'mb_poll') ); diff --git a/adm/config_form.php b/adm/config_form.php index a94316e9b..cec883d30 100644 --- a/adm/config_form.php +++ b/adm/config_form.php @@ -147,46 +147,6 @@ $pg_anchor = '
'; -if (!function_exists("get_sock")) { - function get_sock($url) - { - // host 와 uri 를 분리 - //if (ereg("http://([a-zA-Z0-9_\-\.]+)([^<]*)", $url, $res)) - if (preg_match("/http:\/\/([a-zA-Z0-9_\-\.]+)([^<]*)/", $url, $res)) - { - $host = $res[1]; - $get = $res[2]; - } - - // 80번 포트로 소캣접속 시도 - $fp = fsockopen ($host, 80, $errno, $errstr, 30); - if (!$fp) - { - die("$errstr ($errno)\n"); - } - else - { - fputs($fp, "GET $get HTTP/1.0\r\n"); - fputs($fp, "Host: $host\r\n"); - fputs($fp, "\r\n"); - - // header 와 content 를 분리한다. - while (trim($buffer = fgets($fp,1024)) != "") - { - $header .= $buffer; - } - while (!feof($fp)) - { - $buffer .= fgets($fp,1024); - } - } - fclose($fp); - - // content 만 return 한다. - return $buffer; - } -} - if (!$config['cf_icode_server_ip']) $config['cf_icode_server_ip'] = '211.172.232.124'; if (!$config['cf_icode_server_port']) $config['cf_icode_server_port'] = '7295'; diff --git a/adm/visit_search.php b/adm/visit_search.php new file mode 100644 index 000000000..85d30569b --- /dev/null +++ b/adm/visit_search.php @@ -0,0 +1,168 @@ +처음'; //페이지 처음으로 (초기화용도) +?> + +| IP | +접속 경로 | +브라우저 | +OS | +일시 | +
|---|---|---|---|---|
| + | + | + | + | + | 자료가 없습니다. | '; ?> + +