<th scope="col">번호</th> <th scope="col">IP</th> <th scope="col">회원여부</th> <th scope="col">접속경로</th> <th scope="col">브라우져</th> <th scope="col">키워드</th> <th scope="col">접속시간</th> <th scope="col"></th> </tr> </thead> <tbody> <?php $j = 0; while ($R = db_fetch_array($RCD)) { $j++; $_engine = getSearchEngine($R['referer']); $_outkey = getKeyword($R['referer']); $_browse = getBrowzer($R['agent']); $_domain = getDomain($R['referer']); $_mobile = isMobileConnect($R['agent']); ?> <tr class="rooptd<?php echo ++$i % 2; ?> "> <td class="check"><input type="checkbox" name="members[]" value="<?php echo $R['uid']; ?> " /></td> <td class="number"><?php
$_SESSION['agent' . $s] = $g['agent']; exit; } if ($_SESSION['mylog' . $s]) { getDbUpdate($table['s_counter'], 'page=page+1', 'site=' . $s . " and date='" . $date['today'] . "'"); if ($_keyword && !strstr('[name][nic][id][term]', $where)) { $_INKEY = getDbData($table['s_inkey'], 'site=' . $s . " and date='" . $date['today'] . "' and keyword='" . $_keyword . "'", '*'); if ($_INKEY['uid']) { getDbUpdate($table['s_inkey'], 'hit=hit+1', 'uid=' . $_INKEY['uid']); } else { getDbInsert($table['s_inkey'], 'site,date,keyword,hit', "'" . $s . "','" . $date['today'] . "','" . $_keyword . "','1'"); } } } else { $_referer = $referer ? urldecode($referer) : $_SERVER['HTTP_REFERER']; $_sengine = getSearchEngine($_referer); $_outkeyw = getKeyword($_referer); $_browser = getBrowzer($g['agent']); $_QKEY = 'site,mbruid,ip,referer,agent,d_regis'; $_QVAL = "'" . $s . "','" . $my['uid'] . "','" . $g['ip'] . "','" . $_referer . "','" . $g['agent'] . "','" . $date['totime'] . "'"; getDbInsert($table['s_referer'], $_QKEY, $_QVAL); $_REFCNT = getDbRows($table['s_referer'], ''); if ($_REFCNT > 1000000) { $_REFOVER = getDbArray($table['s_referer'], '', '*', 'uid', 'asc', $_REFCNT - 1000000, 1); while ($_REFK = db_fetch_array($_REFOVER)) { getDbDelete($table['s_referer'], $_REFK['uid']); } } if ($_outkeyw) { $_OUTKEY = getDbData($table['s_outkey'], 'site=' . $s . " and date='" . $date['today'] . "' and keyword='" . $_outkeyw . "'", '*'); if ($_OUTKEY['uid']) {