Example #1
0
	<thead>
	<tr>
	<th scope="col" class="side1">번호</th>
	<th scope="col">아이피</th>
	<th scope="col">접속경로</th>
	<th scope="col">브라우져</th>
	<th scope="col" class="side2">날짜</th>
	</tr>
	</thead>
	<tbody>

	<?php 
while ($R = db_fetch_array($RCD)) {
    ?>
	<?php 
    $_browse = getBrowzer($R['agent']);
    ?>
	<tr>
	<td><?php 
    echo $NUM - (($p - 1) * $recnum + $_rec++);
    ?>
</td>
	<td class="sbj"><a href="#." onclick="whoisSearch('<?php 
    echo $R['ip'];
    ?>
');" title="후이즈 IP정보"><?php 
    echo $R['ip'];
    ?>
</a></td>
	<td class="cat"><a href="<?php 
    echo $R['referer'];
Example #2
0
File: main.php Project: eosliebe/rb
 }
 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']) {
             getDbUpdate($table['s_outkey'], $_sengine . '=' . $_sengine . '+1,total=total+1', 'uid=' . $_OUTKEY['uid']);
         } else {