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

source: OpenPNE/trunk/webapp/modules/admin/templates/inc_dashboard.tpl

Last change on this file was 10992, checked in by nakasone, 13 years ago

#2099:1日あたりのメッセージ数を管理画面に表示する機能の取り込み

File size: 7.0 KB
Line 
1    <div class="noticeTypeA">
2        <div class="box" id="counter">
3            <h2>SNS情報</h2>
4            <div class="innerBox">
5({t_assign_sns_info var=sns_info})
6<dl>
7    <dt>総メンバー数</dt>
8    <dd>({$sns_info.info_member_count|number_format})人 (前日登録 ({$sns_info.info_member_count_yesterday|number_format})人)</dd>
9    <dt>総({$WORD_COMMUNITY})数</dt>
10    <dd>({$sns_info.info_commu_count|number_format})</dd>
11    <dt>アクティブ率</dt>
12    <dd>({$sns_info.info_member_rate_active|number_format:2})%</dd>
13    <dt>平均({$WORD_FRIEND})数</dt>
14    <dd>({$sns_info.info_friend_count_avg|number_format:2})人</dd>
15    <dt>今日の({$WORD_DIARY})数</dt>
16    <dd>({$sns_info.info_diary_count_today|number_format})件 (前日({$sns_info.info_diary_count_yesterday|number_format})件)</dd>
17    <dt>今日のメッセージ数</dt>
18    <dd>({$sns_info.info_message_count_today|number_format})件 (前日({$sns_info.info_message_count_yesterday|number_format})件)</dd>
19</dl>
20            </div>
21        </div>
22({t_assign_sns_ranking var=sns_rank})
23        <div class="box" id="ranking">
24            <h2>ランキング</h2>
25            ({if $sns_rank.rank_ashiato || $sns_rank.rank_friend || $sns_rank.rank_com_member || $sns_rank.rank_com_comment})
26            <div class="innerBox">
27<dl>
28    ({if $sns_rank.rank_ashiato})
29    <dt>アクセス数No.1</dt>
30    <dd><a href="({t_url _absolute=1 m=pc a=page_f_home})&amp;target_c_member_id=({$sns_rank.rank_ashiato[1][0].c_member.c_member_id})" target="_blank">({$sns_rank.rank_ashiato[1][0].c_member.nickname})</a> (({$sns_rank.rank_ashiato[1][0].count|number_format})アクセス)</dd>({/if})
31    ({if $sns_rank.rank_friend})
32    <dt>({$WORD_MY_FRIEND})数No.1</dt>
33    <dd><a href="({t_url _absolute=1 m=pc a=page_f_home})&amp;target_c_member_id=({$sns_rank.rank_friend[1][0].c_member.c_member_id})" target="_blank">({$sns_rank.rank_friend[1][0].c_member.nickname})</a> (({$sns_rank.rank_friend[1][0].count|number_format})人)</dd>({/if})
34    ({if $sns_rank.rank_com_member})
35    <dt>参加人数No.1({$WORD_COMMUNITY})</dt>
36    <dd><a href="({t_url _absolute=1 m=pc a=page_c_home})&amp;target_c_commu_id=({$sns_rank.rank_com_member[1][0].c_commu_id})" target="_blank">({$sns_rank.rank_com_member[1][0].c_commu.name})</a> (({$sns_rank.rank_com_member[1][0].count|number_format})人)</dd>({/if})
37    ({if $sns_rank.rank_com_comment})
38    <dt>盛り上がり度No.1({$WORD_COMMUNITY})</dt>
39    <dd><a href="({t_url _absolute=1 m=pc a=page_c_home})&amp;target_c_commu_id=({$sns_rank.rank_com_comment[1][0].c_commu_id})" target="_blank">({$sns_rank.rank_com_comment[1][0].c_commu.name})</a> (書き込み({$sns_rank.rank_com_comment[1][0].count|number_format})件)</dd>({/if})
40</dl>
41            </div>
42            ({/if})
43        </div>
44({t_assign_sns_message var=sns_message})
45        <div class="box" id="message">
46            <h2>オーナー未読メッセージ <span class="unread">(<a href="({t_url _absolute=1 m=pc a=page_h_message_box})" target="_blank">({$sns_message.unread_messsage_count|number_format})</a>件)</span></h2>
47            ({if $sns_message.unread_message_list})
48            <div class="innerBox">
49<dl>
50({foreach from=$sns_message.unread_message_list item=item})
51    <dt>({$item.r_datetime|date_format:"%m/%d %H:%M"})</dt>
52    <dd><a href="({t_url _absolute=1 m=pc a=page_h_message})&amp;target_c_message_id=({$item.c_message_id})&amp;jyusin_c_message_id=({$item.c_message_id})" target="_blank">({$item.subject})</a> <span class="origin">(<a href="({t_url _absolute=1 m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id_from})" target="_blank">({$item.c_member.nickname})</a>)</span></dd>
53({/foreach})
54</dl>
55            </div>
56            ({/if})
57        </div>
58({t_assign_sns_new_diary var=new_diary_list})
59        <div class="box" id="diary">
60            <h2>最新({$WORD_DIARY})</h2>
61            ({if $new_diary_list})
62            <div class="innerBox">
63<dl>
64({foreach from=$new_diary_list item=item})
65    <dt>({$item.r_datetime|date_format:"%m/%d %H:%M"})</dt>
66    <dd><a href="({t_url _absolute=1 m=pc a=page_fh_diary})&amp;target_c_diary_id=({$item.c_diary_id})" target="_blank">({$item.subject}) (({$item.count_comments|number_format})) </a> <span class="origin">(<a href="({t_url _absolute=1 m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})" target="_blank">({$item.c_member.nickname})</a>)</span></dd>
67({/foreach})
68</dl>
69            </div>
70            ({/if})
71        </div>
72({t_assign_sns_new_topic var=new_topic_list})
73        <div class="box" id="community">
74            <h2>最新({$WORD_COMMUNITY})書き込み</h2>
75            ({if $new_topic_list})
76            <div class="innerBox">
77<dl>
78({foreach from=$new_topic_list item=item})
79    <dt>({$item.u_datetime|date_format:"%m/%d %H:%M"})</dt>
80    <dd><a href="({t_url _absolute=1 m=pc a=page_c_topic_detail})&amp;target_c_commu_topic_id=({$item.c_commu_topic_id})" target="_blank">({$item.name}) (({$item.count_comments|number_format}))</a> <span class="origin">(<a href="({t_url _absolute=1 m=pc a=page_c_home})&amp;target_c_commu_id=({$item.c_commu_id})" target="_blank">({$item.commu_name})</a>)</span></dd>
81({/foreach})
82</dl>
83            </div>
84            ({/if})
85        </div>
86({t_assign_sns_new_review var=new_review_list})
87        <div class="box" id="review">
88            <h2>最新レビュー</h2>
89            ({if $new_review_list})
90            <div class="innerBox">
91<dl>
92({foreach from=$new_review_list item=item})
93    <dt>({$item.r_datetime|date_format:"%m/%d %H:%M"})</dt>
94    <dd><a href="({t_url _absolute=1 m=pc a=page_h_review_list_product})&amp;c_review_id=({$item.c_review_id})" target="_blank">({$item.c_review.title}) (({$item.count_comments|number_format}))</a> <span class="origin">(<a href="({t_url _absolute=1 m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})" target="_blank">({$item.c_member.nickname})</a>)</span></dd>
95({/foreach})
96</dl>
97            </div>
98            ({/if})
99        </div>
100({t_assign_sns_new_member var=new_member_list})
101        <div class="box" id="member">
102            <h2>最近参加したメンバー</h2>
103            ({if $new_member_list})
104            <div class="innerBox">
105<dl>
106({foreach from=$new_member_list item=item})
107    <dt>({$item.r_date|date_format:"%m/%d %H:%M"})</dt>
108    <dd><a href="({t_url _absolute=1 m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})" target="_blank">({$item.nickname})</a> <span class="origin">(招待者: <a href="({t_url _absolute=1 m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id_invite})" target="_blank">({$item.c_member_invite.nickname})</a>)</span></dd>
109({/foreach})
110</dl>
111            </div>
112            ({/if})
113        </div>
114    </div>
115({if $smarty.const.OPENPNE_DASHBOARD_URL})
116  ({if $smarty.const.OPENPNE_USE_HTTP_PROXY})
117    ({fetch file=$smarty.const.OPENPNE_DASHBOARD_URL proxy_host=$smarty.const.OPENPNE_HTTP_PROXY_HOST proxy_port=$smarty.const.OPENPNE_HTTP_PROXY_PORT timeout=5})
118  ({else})
119    ({fetch file=$smarty.const.OPENPNE_DASHBOARD_URL timeout=5})
120  ({/if})
121({/if})
122    <br class="clear" />
Note: See TracBrowser for help on using the repository browser.