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

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

Last change on this file since 6410 was 6410, checked in by ogawa, 12 years ago

#2014:「コミュニティ」の名称変更に対応

File size: 6.8 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})人&nbsp;(前日登録&nbsp;({$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})件&nbsp;(前日({$sns_info.info_diary_count_yesterday|number_format})件)</dd>
17</dl>
18            </div>
19        </div>
20({t_assign_sns_ranking var=sns_rank})
21        <div class="box" id="ranking">
22            <h2>ランキング</h2>
23            ({if $sns_rank.rank_ashiato || $sns_rank.rank_friend || $sns_rank.rank_com_member || $sns_rank.rank_com_comment})
24            <div class="innerBox">
25<dl>
26    ({if $sns_rank.rank_ashiato})
27    <dt>アクセス数No.1</dt>
28    <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>&nbsp;(({$sns_rank.rank_ashiato[1][0].count|number_format})アクセス)</dd>({/if})
29    ({if $sns_rank.rank_friend})
30    <dt>({$WORD_MY_FRIEND})数No.1</dt>
31    <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>&nbsp;(({$sns_rank.rank_friend[1][0].count|number_format})人)</dd>({/if})
32    ({if $sns_rank.rank_com_member})
33    <dt>参加人数No.1({$WORD_COMMUNITY})</dt>
34    <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>&nbsp;(({$sns_rank.rank_com_member[1][0].count|number_format})人)</dd>({/if})
35    ({if $sns_rank.rank_com_comment})
36    <dt>盛り上がり度No.1({$WORD_COMMUNITY})</dt>
37    <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>&nbsp;(書き込み({$sns_rank.rank_com_comment[1][0].count|number_format})件)</dd>({/if})
38</dl>
39            </div>
40            ({/if})
41        </div>
42({t_assign_sns_message var=sns_message})
43        <div class="box" id="message">
44            <h2>オーナー未読メッセージ&nbsp;<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>
45            ({if $sns_message.unread_message_list})
46            <div class="innerBox">
47<dl>
48({foreach from=$sns_message.unread_message_list item=item})
49    <dt>({$item.r_datetime|date_format:"%m/%d %H:%M"})</dt>
50    <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>
51({/foreach})
52</dl>
53            </div>
54            ({/if})
55        </div>
56({t_assign_sns_new_diary var=new_diary_list})
57        <div class="box" id="diary">
58            <h2>最新({$WORD_DIARY})</h2>
59            ({if $new_diary_list})
60            <div class="innerBox">
61<dl>
62({foreach from=$new_diary_list item=item})
63    <dt>({$item.r_datetime|date_format:"%m/%d %H:%M"})</dt>
64    <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})&nbsp;(({$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>
65({/foreach})
66</dl>
67            </div>
68            ({/if})
69        </div>
70({t_assign_sns_new_topic var=new_topic_list})
71        <div class="box" id="community">
72            <h2>最新({$WORD_COMMUNITY})書き込み</h2>
73            ({if $new_topic_list})
74            <div class="innerBox">
75<dl>
76({foreach from=$new_topic_list item=item})
77    <dt>({$item.r_datetime|date_format:"%m/%d %H:%M"})</dt>
78    <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})&nbsp;(({$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>
79({/foreach})
80</dl>
81            </div>
82            ({/if})
83        </div>
84({t_assign_sns_new_review var=new_review_list})
85        <div class="box" id="review">
86            <h2>最新レビュー</h2>
87            ({if $new_review_list})
88            <div class="innerBox">
89<dl>
90({foreach from=$new_review_list item=item})
91    <dt>({$item.r_datetime|date_format:"%m/%d %H:%M"})</dt>
92    <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})&nbsp;(({$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>
93({/foreach})
94</dl>
95            </div>
96            ({/if})
97        </div>
98({t_assign_sns_new_member var=new_member_list})
99        <div class="box" id="member">
100            <h2>最近参加したメンバー</h2>
101            ({if $new_member_list})
102            <div class="innerBox">
103<dl>
104({foreach from=$new_member_list item=item})
105    <dt>({$item.r_date|date_format:"%m/%d %H:%M"})</dt>
106    <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>
107({/foreach})
108</dl>
109            </div>
110            ({/if})
111        </div>
112    </div>
113({if $smarty.const.OPENPNE_DASHBOARD_URL})
114  ({if $smarty.const.OPENPNE_USE_HTTP_PROXY})
115    ({fetch file=$smarty.const.OPENPNE_DASHBOARD_URL proxy_host=$smarty.const.OPENPNE_HTTP_PROXY_HOST proxy_port=$smarty.const.OPENPNE_HTTP_PROXY_PORT})
116  ({else})
117    ({fetch file=$smarty.const.OPENPNE_DASHBOARD_URL})
118  ({/if})
119({/if})
120    <br class="clear" />
Note: See TracBrowser for help on using the repository browser.