ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 874


Ignore:
Timestamp:
Nov 24, 2006, 3:42:07 PM (14 years ago)
Author:
takanashi
Message:

analysisの見栄えを修正(まだ途中)

Location:
OpenPNE/branches/takanashi/prj_takanashi/webapp/modules/admin
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/takanashi/prj_takanashi/webapp/modules/admin/lib/db_admin.php

    r870 r874  
    11981198                array_push($params,$ymd);
    11991199        }
    1200         if ($page_name!="all") {
     1200        if ($page_name != "all") {
    12011201                $where .= " and page_name = ? ";
    12021202                array_push($params,$page_name);
     
    12261226    $end_num =   ($page - 1) * $page_size + $page_size > $total_num ? $total_num : ($page - 1) * $page_size + $page_size ;
    12271227
    1228     return array($return, $sum, $prev, $next, $total_num, $start_num, $end_num);   
     1228    return array($return, $sum, $prev, $next, $total_num, $start_num, $end_num);
    12291229}
    12301230
  • OpenPNE/branches/takanashi/prj_takanashi/webapp/modules/admin/page/access_analysis_day.php

    r861 r874  
    1919       
    2020        $this->set("ktai_flag" ,$ktai_flag);
    21         $this->set("item_str", ($ktai_flag ? "携帯":"PC"));
     21        $this->set("item_str", ($ktai_flag ? "携帯版":"PC版"));
    2222
    2323        $access_analysis_day = p_access_analysis_day_access_analysis_day($ymd, $ktai_flag);
  • OpenPNE/branches/takanashi/prj_takanashi/webapp/modules/admin/page/access_analysis_page.php

    r861 r874  
    3131
    3232        $this->set("ktai_flag" ,$ktai_flag);
    33         $this->set("item_str", ($ktai_flag ? "携帯":"PC"));
     33        $this->set("item_str", ($ktai_flag ? "携帯版":"PC版"));
    3434        $this->set("ymd", $ymd);
    3535        $this->set("month_flag", $month_flag);
  • OpenPNE/branches/takanashi/prj_takanashi/webapp/modules/admin/templates/access_analysis_day.tpl

    r772 r874  
    11({$inc_header|smarty:nodefaults})
    22
    3 <b>({$item_str}) 日次集計</b>
    4 <br>
    5 ({foreach from=$access_analysis_day item=item})
    6 
    7 ({$item.ymd|date_format:"%d日"})-->({$item.count}) &nbsp;&nbsp;
    8 <a href="?m=admin&a=page_access_analysis_page&ymd=({$item.ymd})&month_flag=0&ktai_flag=({$ktai_flag})">ページ毎の詳細</a>
     3<b>({$item_str}) 日次ページビュー集計</b>
    94<br>
    105
     6<table>
     7({foreach from=$access_analysis_day item=item})
     8<tr>
     9
     10<td>
     11({$item.ymd|date_format:"%d日"})
     12</td>
     13
     14<td>
     15<a href="?m=admin&a=page_access_analysis_page&ymd=({$item.ymd})&month_flag=0&ktai_flag=({$ktai_flag})">({$item.count})</a>
     16</td>
     17
     18</tr>
    1119({/foreach})
    12 
     20</table>
    1321({$inc_footer|smarty:nodefaults})
  • OpenPNE/branches/takanashi/prj_takanashi/webapp/modules/admin/templates/access_analysis_member.tpl

    r772 r874  
    99
    1010({if $is_prev})<a href="?m=admin&a=page_access_analysis_member&ktai_flag=({$ktai_flag})&ymd=({$ymd})&month_flag=({$month_flag})&page_name=({$page_name})&orderby=({$orderby})&direc=-1&page=({$page})"><前を表示</a> ({/if})
    11 &nbsp;&nbsp;({$start_num})件?({$end_num})件を表示&nbsp;&nbsp;
     11&nbsp;&nbsp;({$start_num})件({$end_num})件を表示&nbsp;&nbsp;
    1212({if $is_next})<a href="?m=admin&a=page_access_analysis_member&ktai_flag=({$ktai_flag})&ymd=({$ymd})&month_flag=({$month_flag})&page_name=({$page_name})&orderby=({$orderby})&direc=1&page=({$page})">次を表示></a>({/if})
    1313<br>
    14 ({*---------access_member-------------*})
    15 c_member_id<br>
    1614<table border="1" cellspacing="0" cellpadding="5">
    1715<th><a href="?m=admin&a=page_access_analysis_member&ktai_flag=({$ktai_flag})&ymd=({$ymd})&month_flag=({$month_flag})&page_name=({$page_name})&orderby1=({$orderby1})">ID</a></th>
  • OpenPNE/branches/takanashi/prj_takanashi/webapp/modules/admin/templates/access_analysis_month.tpl

    r772 r874  
    1212<a href="?m=admin&a=page_access_analysis_target_member&ktai_flag=({if $item_str=='PC'})0({else})1({/if})&ymd=({$nowtime})&month_flag=1&page_name=all&orderby2=-2">ユーザー</a>
    1313<a href="?m=admin&a=page_access_analysis_target_commu&ktai_flag=({if $item_str=='PC'})0({else})1({/if})&ymd=({$nowtime})&month_flag=1&page_name=all&orderby2=-2">コミュニティ</a>
     14<a href="?m=admin&a=page_access_analysis_target_topic&ktai_flag=({if $item_str=='PC'})0({else})1({/if})&ymd=({$nowtime})&month_flag=1&page_name=all&orderby2=-2">トピック</a>
    1415<br><br>
    1516今月最もアクセスをした<br>
     
    1920<br>
    2021
     22<table>
    2123({foreach from=$access_analysis_month item=item})
    2224
    23 ({$item.ym|date_format:"%Y年%m月"})-->({$item.count}) &nbsp;&nbsp;
    24 <a href="?m=admin&a=page_access_analysis_page&ymd=({$item.ym})&month_flag=1&ktai_flag=({$ktai_flag})">ページ毎の詳細</a>
     25<tr>
     26<td>
     27({$item.ym|date_format:"%Y年%m月"})
     28</td>
     29<td>
     30<a href="?m=admin&a=page_access_analysis_page&ymd=({$item.ym})&month_flag=1&ktai_flag=({$ktai_flag})">
     31({$item.count})
     32</a>
     33</td>
     34<td>
    2535<a href="?m=admin&a=page_access_analysis_day&ymd=({$item.ym})&ktai_flag=({$ktai_flag})">日次集計</a>
    26 <br>
     36</td>
    2737
     38</tr>
    2839({/foreach})
     40</table>
    2941
    3042({$inc_footer|smarty:nodefaults})
  • OpenPNE/branches/takanashi/prj_takanashi/webapp/modules/admin/templates/access_analysis_target_commu.tpl

    r772 r874  
    11({$inc_header|smarty:nodefaults})
    22
    3 <b>({$item_str})<br>
     3<b>({$item_str}) コミュニティ別アクセス数表示<br>
    44({if $month_flag})({$ymd|date_format:"%Y年%m月分"})({else})({$ymd|date_format:"%Y年%m月%d日分"})({/if}) 
    55({$page_name})</b>
     
    88
    99({if $is_prev})<a href="?m=admin&a=page_access_analysis_target_commu&ktai_flag=({$ktai_flag})&ymd=({$ymd})&month_flag=({$month_flag})&page_name=({$page_name})&orderby=({$orderby})&direc=-1&page=({$page})"><前を表示</a> ({/if})
    10 &nbsp;&nbsp;({$start_num})件?({$end_num})件を表示&nbsp;&nbsp;
     10&nbsp;&nbsp;({$start_num})件({$end_num})件を表示&nbsp;&nbsp;
    1111({if $is_next})<a href="?m=admin&a=page_access_analysis_target_commu&ktai_flag=({$ktai_flag})&ymd=({$ymd})&month_flag=({$month_flag})&page_name=({$page_name})&orderby=({$orderby})&direc=1&page=({$page})">次を表示></a>({/if})
    1212<br>
    13 ({*---------target_commu-------------*})
    14 target_c_commu_id<br>
    1513<table border="1" cellspacing="0" cellpadding="5">
    1614<th><a href="?m=admin&a=page_access_analysis_target_commu&ktai_flag=({$ktai_flag})&ymd=({$ymd})&month_flag=({$month_flag})&page_name=({$page_name})&orderby1=({$orderby1})">ID</a></th>
  • OpenPNE/branches/takanashi/prj_takanashi/webapp/modules/admin/templates/access_analysis_target_diary.tpl

    r772 r874  
    11({$inc_header|smarty:nodefaults})
    22
    3 <b>({$item_str})<br>
     3<b>({$item_str}) 日記別アクセス数表示<br>
    44({if $month_flag})({$ymd|date_format:"%Y年%m月分"})({else})({$ymd|date_format:"%Y年%m月%d日分"})({/if}) 
    55({$page_name})</b>
     
    1111({if $is_next})<a href="?m=admin&a=page_access_analysis_target_diary&ktai_flag=({$ktai_flag})&ymd=({$ymd})&month_flag=({$month_flag})&page_name=({$page_name})&orderby=({$orderby})&direc=1&page=({$page})">次を表示></a>({/if})
    1212<br>
    13 ({*---------target_diary-------------*})
    14 target_c_diary_id<br>
    1513<table border="1" cellspacing="0" cellpadding="5">
    1614<th><a href="?m=admin&a=page_access_analysis_target_diary&ktai_flag=({$ktai_flag})&ymd=({$ymd})&month_flag=({$month_flag})&page_name=({$page_name})&orderby1=({$orderby1})">ID</a></th>
  • OpenPNE/branches/takanashi/prj_takanashi/webapp/modules/admin/templates/access_analysis_target_member.tpl

    r772 r874  
    11({$inc_header|smarty:nodefaults})
    22
    3 <b>({$item_str})<br>
     3<b>({$item_str}) ユーザー別アクセス数表示
     4<br>
    45({if $month_flag})({$ymd|date_format:"%Y年%m月分"})({else})({$ymd|date_format:"%Y年%m月%d日分"})({/if}) 
    56({$page_name})</b>
     
    78
    89<br><br>
    9 
    1010({if $is_prev})<a href="?m=admin&a=page_access_analysis_target_member&ktai_flag=({$ktai_flag})&ymd=({$ymd})&month_flag=({$month_flag})&page_name=({$page_name})&orderby=({$orderby})&direc=-1&page=({$page})"><前を表示</a> ({/if})
    11 &nbsp;&nbsp;({$start_num})件?({$end_num})件を表示&nbsp;&nbsp;
     11&nbsp;&nbsp;({$start_num})件({$end_num})件を表示&nbsp;&nbsp;
    1212({if $is_next})<a href="?m=admin&a=page_access_analysis_target_member&ktai_flag=({$ktai_flag})&ymd=({$ymd})&month_flag=({$month_flag})&page_name=({$page_name})&orderby=({$orderby})&direc=1&page=({$page})">次を表示></a>({/if})
    1313<br>
    14 ({*---------target_member-------------*})
    15 target_c_member_id<br>
    1614<table border="1" cellspacing="0" cellpadding="5">
    1715<th><a href="?m=admin&a=page_access_analysis_target_member&ktai_flag=({$ktai_flag})&ymd=({$ymd})&month_flag=({$month_flag})&page_name=({$page_name})&orderby1=({$orderby1})">ID</a></th>
  • OpenPNE/branches/takanashi/prj_takanashi/webapp/modules/admin/templates/access_analysis_target_topic.tpl

    r772 r874  
    11({$inc_header|smarty:nodefaults})
    22
    3 <b>({$item_str})<br>
     3<b>({$item_str}) トピック別アクセス数表示<br>
    44({if $month_flag})({$ymd|date_format:"%Y年%m月分"})({else})({$ymd|date_format:"%Y年%m月%d日分"})({/if}) 
    55({$page_name})</b>
     
    88
    99({if $is_prev})<a href="?m=admin&a=page_access_analysis_target_topic&ktai_flag=({$ktai_flag})&ymd=({$ymd})&month_flag=({$month_flag})&page_name=({$page_name})&orderby=({$orderby})&direc=-1&page=({$page})"><前を表示</a> ({/if})
    10 &nbsp;&nbsp;({$start_num})件?({$end_num})件を表示&nbsp;&nbsp;
     10&nbsp;&nbsp;({$start_num})件({$end_num})件を表示&nbsp;&nbsp;
    1111({if $is_next})<a href="?m=admin&a=page_access_analysis_target_topic&ktai_flag=({$ktai_flag})&ymd=({$ymd})&month_flag=({$month_flag})&page_name=({$page_name})&orderby=({$orderby})&direc=1&page=({$page})">次を表示></a>({/if})
    1212<br>
    13 ({*---------target_topic-------------*})
    14 target_c_topic_id<br>
    1513<table border="1" cellspacing="0" cellpadding="5">
    1614<th><a href="?m=admin&a=page_access_analysis_target_topic&ktai_flag=({$ktai_flag})&ymd=({$ymd})&month_flag=({$month_flag})&page_name=({$page_name})&orderby1=({$orderby1})">ID</a></th>
Note: See TracChangeset for help on using the changeset viewer.