메인화면에 나타나는 접속자수가 다른페이지로 넘어가면 변경이됩니다.
<div class="widget-box">
<ul style="padding:0; margin:0; list-style:none;">
<li><i class="fa fa-bug red"></i> <a href="<?php echo $at_href['connect'];?>">
현재 접속자 <span class="pull-right"><?php echo number_format($stats['now_total']); ?><?php echo ($stats['now_mb'] > 30) ? '(<b>'.number_format($stats['now_mb']).'</b>)' : ''; ?>45명</span></a>
</li>
<li><i class="fa fa-bug"></i> 오늘 방문자 <span class="pull-right"><?php echo number_format($stats['visit_today']); ?>1명</span></li>
<li><i class="fa fa-bug"></i> 어제 방문자 <span class="pull-right"><?php echo number_format($stats['visit_yesterday']); ?>1명</span></li>
<li><i class="fa fa-bug"></i> 최대 방문자 <span class="pull-right"><?php echo number_format($stats['visit_max']); ?>1명</span></li>
<li><i class="fa fa-bug"></i> 전체 방문자 <span class="pull-right"><?php echo number_format($stats['visit_total']); ?>15명</span></li>
<li><i class="fa fa-bug"></i> 전체 게시물 <span class="pull-right"><?php echo number_format($menu[0]['count_write']); ?>개</span></li>
<li><i class="fa fa-bug"></i> 전체 댓글수 <span class="pull-right"><?php echo number_format($menu[0]['count_comment']); ?>1개</span></li>
<li><i class="fa fa-bug"></i> 전체 회원수 <span class="pull-right at-tip" data-original-title="<nobr>오늘 <?php echo $stats['join_today'];?> 명 / 어제 <?php echo $stats['join_yesterday'];?> 명</nobr>" data-toggle="tooltip" data-placement="top" data-html="true"><?php echo number_format($stats['join_total']); ?>2명</span>
메인화면에 접속자수 가입자수등등 정보를 나타내는 창인데 임의로 수정을 해서 메인화면에는
정상적으로 수정되어서 나타나는데 다른페이지로 넘어가면 수치가 바뀌어서 화면 출력이 됩니다.
다른페이지로 넘어가도 수치가 변하지 않게 하려면 어떻게 해야할까요
고수분들 답변 부탁드리겠습니다.
답변 1개
답변을 작성하려면 로그인이 필요합니다.