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

source: OpenPNE/trunk/webapp/modules/pc/templates/inc_f_home_h_prof.tpl @ 6402

Last change on this file since 6402 was 6402, checked in by ogawa, 14 years ago

#2014:「日記」の名称変更に対応

File size: 16.0 KB
Line 
1<div id="LayoutA">
2<div id="Top">
3
4({if $is_h_prof})
5
6({* {{{ descriptionBox *})
7<div class="dparts descriptionBox"><div class="parts">
8<p>※他のメンバーから見たあなたのページはこのようになります。</p>
9<p>他のメンバーにあなたのページを教える場合には、以下のURLを使ってください。<br />
10({t_url _absolute=1 m=pc a=page_f_home})&amp;target_c_member_id=({$target_c_member_id})</p>
11<p>プロフィールを変更する場合は 「<a href="({t_url m=pc a=page_h_config_prof})">プロフィール変更</a>」 よりおこなえます。</p>
12</div></div>
13({* }}} *})
14
15({else})
16
17({if $days_birthday == 0})({* 誕生日当日 *})
18<div class="parts">
19<a href="({t_url m=pc a=page_f_message_send})&amp;target_c_member_id=({$target_c_member.c_member_id})"><img src="({t_img_url_skin filename=birthday_f})" alt="Happy Birthday!" /></a>
20</div>
21({elseif $days_birthday > 0 && $days_birthday <= 3})({* 誕生日3日以内 *})
22<div class="parts">
23<a href="({t_url m=pc a=page_f_message_send})&amp;target_c_member_id=({$target_c_member.c_member_id})"><img src="({t_img_url_skin filename=birthday_f_2})" alt="もうすぐ誕生日です" /></a>
24</div>
25({/if})
26
27({if !$is_friend})
28({* {{{ infoBox *})
29<div class="dparts infoBox"><div class="parts">
30<p>({$target_c_member.nickname})さんと直接の知り合いの場合、({$WORD_MY_FRIEND})に追加しましょう!</p>
31<ul class="moreInfo">
32<li><a href="({t_url m=pc a=do_f_link_request})&amp;target_c_member_id=({$target_c_member.c_member_id})&amp;sessid=({$PHPSESSID})">({$WORD_MY_FRIEND})に追加</a></li>
33</ul>
34</div></div>
35({* }}} *})
36({/if})
37
38({if $is_friend && $my_friend_intro==''})
39({* {{{ infoBox *})
40<div class="dparts infoBox"><div class="parts">
41<p>({$target_c_member.nickname})さんをみんなに紹介しましょう!</p>
42<ul class="moreInfo">
43<li><a href="({t_url m=pc a=page_f_intro_edit})&amp;target_c_member_id=({$target_c_member.c_member_id})">紹介文を書く</a></li>
44</ul>
45</div></div>
46({* }}} *})
47({/if})
48
49({/if})
50
51</div><!-- Top -->
52<div id="Left">
53
54({if $inc_entry_point[3]})({$inc_entry_point[3]|smarty:nodefaults|t_url2cmd:'entry_point'|t_cmd:'entry_point'}) ({/if})
55
56({* {{{ homePhotoBox *})
57<div class="dparts homePhotoBox">
58({if !$is_h_prof && ($is_friend || $friend_path)})
59<p class="friendLink">({$c_member.nickname})({if $friend_path}) ⇒ <a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$friend_path.c_member_id})">({$friend_path.nickname})</a>({/if}) ⇒ <a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$target_c_member.c_member_id})">({$target_c_member.nickname})</a></p>
60({/if})
61<div class="parts">
62<p class="photo"><img src="({t_img_url filename=$target_c_member.image_filename w=180 h=180 noimg=no_image})" class="pict" alt="プロフィール写真" /></p>
63({if $target_c_member.image_filename})
64<ul class="moreInfo button">
65({if $is_h_prof})
66<li><a href="({t_url m=pc a=page_h_config_image})"><img src="({t_img_url_skin filename=button_edit_photo})" alt="写真を編集" /></a></li>
67({else})
68<li><a href="({t_url m=pc a=page_f_show_image})&amp;target_c_member_id=({$target_c_member.c_member_id})"><img src="({t_img_url_skin filename=button_show_photo})" alt="もっと写真を見る" /></a></li>
69({/if})
70</ul>
71({/if})
72</div>
73<p class="text">({$target_c_member.nickname})さん (({$c_friend_count}))</p>
74<p class="loginTime">(最終ログインは({$target_c_member.last_login}))</p>
75</div>
76({* }}} *})
77
78({if $inc_entry_point[4]})({$inc_entry_point[4]|smarty:nodefaults|t_url2cmd:'entry_point'|t_cmd:'entry_point'})({/if})
79
80({if $c_friend_list})
81({* {{{ homeNineTable *})
82<div class="parts homeNineTable">
83<div class="partsHeading"><h3>({$WORD_FRIEND})リスト</h3></div>
84({if $smarty.const.OPENPNE_USE_FLASH_LIST})
85({capture assign=flashvars})({strip})
86({foreach from=$c_friend_list item=item key=key})
87({if $key > 0})&({/if})
88pne_item({$key+1})_id=({$item.c_member_id})
89&pne_item({$key+1})_name=({$item.nickname|t_truncate:12:'..'|escape:url|smarty:nodefaults})
90&pne_item({$key+1})_linkurl=({t_url m=pc a=page_f_home _urlencode=true _html=false})%26target_c_member_id=({$item.c_member_id})
91&pne_item({$key+1})_imageurl=({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image _urlencode=true _html=false})
92&pne_item({$key+1})_count=({$item.friend_count})
93({/foreach})
94({/strip})({/capture})
95<script type="text/javascript" src="js/show_flash.js"></script>
96<script type="text/javascript">
97<!--
98show_flash('flash/list.swf', '({$flashvars})');
99//-->
100</script>
101({else})
102<table>
103({if $c_friend_list[0]})
104<tr class="photo">
105({t_loop from=$c_friend_list start=0 num=3})
106<td>({if $item})<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})"><img src="({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image})" class="pict" alt="({$item.nickname})" /></a>({/if})</td>
107({/t_loop})
108</tr>
109<tr class="text">
110({t_loop from=$c_friend_list start=0 num=3})
111<td>({if $item})<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})">({$item.nickname}) (({$item.friend_count}))</a>({/if})</td>
112({/t_loop})
113</tr>
114({/if})
115({if $c_friend_list[3]})
116<tr class="photo">
117({t_loop from=$c_friend_list start=3 num=3})
118<td>({if $item})<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})"><img src="({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image})" class="pict" alt="({$item.nickname})" /></a>({/if})</td>
119({/t_loop})
120</tr>
121<tr class="text">
122({t_loop from=$c_friend_list start=3 num=3})
123<td>({if $item})<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})">({$item.nickname}) (({$item.friend_count}))</a>({/if})</td>
124({/t_loop})
125</tr>
126({/if})
127({if $c_friend_list[6]})
128<tr class="photo">
129({t_loop from=$c_friend_list start=6 num=3})
130<td>({if $item})<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})"><img src="({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image})" class="pict" alt="({$item.nickname})" /></a>({/if})</td>
131({/t_loop})
132</tr>
133<tr class="text">
134({t_loop from=$c_friend_list start=6 num=3})
135<td>({if $item})<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})">({$item.nickname}) (({$item.friend_count}))</a>({/if})</td>
136({/t_loop})
137</tr>
138({/if})
139</table>
140({/if})
141<div class="block moreInfo">
142<ul class="moreInfo">
143<li><a href="({t_url m=pc a=page_fh_friend_list})&amp;target_c_member_id=({$target_c_member_id})">全てを見る(({$c_friend_count})人)</a></li>
144</ul>
145</div>
146</div>
147({* }}} *})
148({/if})
149
150({if $inc_entry_point[5]})({$inc_entry_point[5]|smarty:nodefaults|t_url2cmd:'entry_point'|t_cmd:'entry_point'}) ({/if})
151
152({if $c_commu_list})
153({* {{{ homeNineTable *})
154<div class="parts homeNineTable">
155<div class="partsHeading"><h3>コミュニティリスト</h3></div>
156({if $smarty.const.OPENPNE_USE_FLASH_LIST})
157({capture assign=flashvars})({strip})
158({foreach from=$c_commu_list item=item key=key})
159({if $key > 0})&({/if})
160pne_item({$key+1})_id=({$item.c_commu_id})
161&pne_item({$key+1})_name=({$item.name|t_truncate:12:'..'|escape:url|smarty:nodefaults})
162&pne_item({$key+1})_linkurl=({t_url m=pc a=page_c_home _urlencode=true _html=false})%26target_c_commu_id=({$item.c_commu_id})
163&pne_item({$key+1})_imageurl=({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_logo_small _urlencode=true _html=false})
164&pne_item({$key+1})_count=({$item.count_commu_members})
165({/foreach})
166({/strip})({/capture})
167<script type="text/javascript" src="js/show_flash.js"></script>
168<script type="text/javascript">
169<!--
170show_flash('flash/list.swf', '({$flashvars})');
171//-->
172</script>
173({else})
174<table>
175({if $c_commu_list[0]})
176<tr class="photo">
177({t_loop from=$c_commu_list start=0 num=3})
178<td>({if $item})({if $item.c_member_id_admin == $target_c_member.c_member_id})<p class="crown"><img src="({t_img_url_skin filename=icon_crown})" alt="" /></p>({/if})<a href="({t_url m=pc a=page_c_home})&amp;target_c_commu_id=({$item.c_commu_id})"><img src="({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_logo_small})" alt="({$item.name})" /></a>({/if})</td>
179({/t_loop})
180</tr>
181<tr class="text">
182({t_loop from=$c_commu_list start=0 num=3})
183<td>({if $item})<a href="({t_url m=pc a=page_c_home})&amp;target_c_commu_id=({$item.c_commu_id})">({$item.name}) (({$item.count_commu_members}))</a>({/if})</td>
184({/t_loop})
185</tr>
186({/if})
187({if $c_commu_list[3]})
188<tr class="photo">
189({t_loop from=$c_commu_list start=3 num=3})
190<td>({if $item})({if $item.c_member_id_admin == $target_c_member.c_member_id})<p class="crown"><img src="({t_img_url_skin filename=icon_crown})" alt="" /></p>({/if})<a href="({t_url m=pc a=page_c_home})&amp;target_c_commu_id=({$item.c_commu_id})"><img src="({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_logo_small})" alt="({$item.name})" /></a>({/if})</td>
191({/t_loop})
192</tr>
193<tr class="text">
194({t_loop from=$c_commu_list start=3 num=3})
195<td>({if $item})<a href="({t_url m=pc a=page_c_home})&amp;target_c_commu_id=({$item.c_commu_id})">({$item.name}) (({$item.count_commu_members}))</a>({/if})</td>
196({/t_loop})
197</tr>
198({/if})
199({if $c_commu_list[6]})
200<tr class="photo">
201({t_loop from=$c_commu_list start=6 num=3})
202<td>({if $item})({if $item.c_member_id_admin == $target_c_member.c_member_id})<p class="crown"><img src="({t_img_url_skin filename=icon_crown})" alt="" /></p>({/if})<a href="({t_url m=pc a=page_c_home})&amp;target_c_commu_id=({$item.c_commu_id})"><img src="({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_logo_small})" alt="({$item.name})" /></a>({/if})</td>
203({/t_loop})
204</tr>
205<tr class="text">
206({t_loop from=$c_commu_list start=6 num=3})
207<td>({if $item})<a href="({t_url m=pc a=page_c_home})&amp;target_c_commu_id=({$item.c_commu_id})">({$item.name}) (({$item.count_commu_members}))</a>({/if})</td>
208({/t_loop})
209</tr>
210({/if})
211</table>
212({/if})
213<div class="block moreInfo">
214<ul class="moreInfo">
215<li><a href="({t_url m=pc a=page_fh_com_list})&amp;target_c_member_id=({$target_c_member_id})">全てを見る(({$user_count}))</a></li>
216({if $common_commu_count})
217<li><a href="({t_url m=pc a=page_f_com_list_common})&amp;target_c_member_id=({$target_c_member_id})">共通コミュニティ(({$common_commu_count}))</a></li>
218({/if})
219</ul>
220</div>
221</div>
222({* }}} *})
223({/if})
224
225({if $inc_entry_point[6]})({$inc_entry_point[6]|smarty:nodefaults|t_url2cmd:'entry_point'|t_cmd:'entry_point'}) ({/if})
226
227</div><!-- Left -->
228<div id="Center">
229
230({if $inc_entry_point[7]})({$inc_entry_point[7]|smarty:nodefaults|t_url2cmd:'entry_point'|t_cmd:'entry_point'}) ({/if})
231
232({* {{{ homeMainTable *})
233<div class="dparts homeMainTable"><div class="parts">
234<div class="partsHeading"><h3>プロフィール</h3>({if $is_h_prof})<p class="link"><a href="({t_url m=pc a=page_h_config_prof})">プロフィール変更</a></p>({/if})</div>
235<table>
236({capture name="nick"})
237<tr><th>({$WORD_NICKNAME})</th><td>({$target_c_member.nickname})</td></tr>
238({/capture})
239({capture name="birth"})
240({if $target_c_member.age !== NULL && ($target_c_member.public_flag_birth_year == 'public' || ($target_c_member.public_flag_birth_year == 'friend' && ($is_friend || $is_h_prof)))})
241<tr><th>年齢</th><td>({$target_c_member.age})歳 ({if $is_h_prof && $target_c_member.public_flag_birth_year == 'friend'})<span class="caution">※({$WORD_MY_FRIEND})まで公開</span>({/if})</td></tr>
242({/if})
243({if $target_c_member.birth_month && $target_c_member.birth_day})
244<tr><th>誕生日</th><td>({$target_c_member.birth_month})月({$target_c_member.birth_day})日</td></tr>
245({/if})
246({/capture})
247({foreach from=$target_c_member.profile key=key item=item})
248({if $item.public_flag != "private" && ($item.public_flag == "public" || ($item.public_flag == "friend" && ($is_friend || $is_h_prof)))})
249({strip})
250({if !$_cnt_nick && $profile_list[$key].sort_order >= $smarty.const.SORT_ORDER_NICK && !$_cnt_birth && $profile_list[$key].sort_order >= $smarty.const.SORT_ORDER_BIRTH})
251({counter assign="_cnt_nick"})
252({counter assign="_cnt_birth"})
253({if $smarty.const.SORT_ORDER_NICK > $smarty.const.SORT_ORDER_BIRTH})
254({$smarty.capture.birth|smarty:nodefaults})
255({$smarty.capture.nick|smarty:nodefaults})
256({else})
257({$smarty.capture.nick|smarty:nodefaults})
258({$smarty.capture.birth|smarty:nodefaults})
259({/if})
260({/if})
261({if !$_cnt_nick && $profile_list[$key].sort_order >= $smarty.const.SORT_ORDER_NICK})
262({counter assign="_cnt_nick"})
263({$smarty.capture.nick|smarty:nodefaults})
264({/if})
265({if !$_cnt_birth && $profile_list[$key].sort_order >= $smarty.const.SORT_ORDER_BIRTH})
266({counter assign="_cnt_birth"})
267({$smarty.capture.birth|smarty:nodefaults})
268({/if})
269({/strip})
270<tr><th>({$item.caption})</th><td>
271({if $item.form_type == 'textarea'})
272    ({$item.value|nl2br|t_url2cmd:'profile'|t_cmd:'profile'})
273({elseif $item.form_type == 'checkbox'})
274    ({$item.value|@t_implode:", "})
275({else})
276    ({$item.value})
277({/if})
278
279({if $is_h_prof && $item.public_flag == 'friend'})
280<span class="caution">※({$WORD_MY_FRIEND})まで公開</span>
281({/if})
282</td></tr>
283({/if})
284({/foreach})
285({if !$_cnt_nick && !$_cnt_birth})
286({if $smarty.const.SORT_ORDER_NICK > $smarty.const.SORT_ORDER_BIRTH})
287({$smarty.capture.birth|smarty:nodefaults})
288({$smarty.capture.nick|smarty:nodefaults})
289({else})
290({$smarty.capture.nick|smarty:nodefaults})
291({$smarty.capture.birth|smarty:nodefaults})
292({/if})
293({else})
294({if !$_cnt_nick})({$smarty.capture.nick|smarty:nodefaults})({/if})
295({if !$_cnt_birth})({$smarty.capture.birth|smarty:nodefaults})({/if})
296({/if})
297({if $c_diary_list})
298<tr><th>最新({$WORD_DIARY})</th><td>
299<dl class="articleList">
300({foreach from=$c_diary_list item=item})
301<dt>({$item.r_date|date_format:"%m月%d日"})</dt><dd><a href="({t_url m=pc a=page_fh_diary})&amp;target_c_diary_id=({$item.c_diary_id})">({$item.subject|t_truncate:30}) (({$item.comment_count}))</a> ({if $item.image_filename_1 || $item.image_filename_2 || $item.image_filename_3})<img src="({t_img_url_skin filename=icon_camera})" alt="写真あり" />({/if}) ({if $is_h_prof && $item.public_flag == "friend"})<span class="caution">※({$WORD_MY_FRIEND})まで公開</span>({/if})</dd>
302({/foreach})
303</dl>
304<div class="moreInfo"><ul class="moreInfo">
305<li><a href="({t_url m=pc a=page_fh_diary_list})&amp;target_c_member_id=({$target_c_member_id})">もっと読む</a></li>
306</ul></div>
307</td></tr>
308({/if})
309({if $c_rss_cache_list})
310<tr><th>最新Blog</th><td>
311<dl class="articleList">
312({foreach from=$c_rss_cache_list item=item})
313<dt>({$item.r_datetime|date_format:"%m月%d日"})</dt><dd><a href="({$item.link})" target="_blank">({$item.subject|default:"&nbsp;"|t_truncate:30})</a></dd>
314({/foreach})
315</dl>
316<div class="moreInfo"><ul class="moreInfo">
317<li><a href="({t_url m=pc a=page_fh_diary_list})&amp;target_c_member_id=({$target_c_member_id})#blog">もっと読む</a></li>
318</ul></div>
319</td></tr>
320({/if})
321({if $c_review_list})
322<tr><th>最新レビュー</th><td>
323<dl class="articleList">
324({foreach from=$c_review_list item=item})
325<dt>({$item.r_datetime|date_format:"%m月%d日"})</dt><dd><a href="({t_url m=pc a=page_h_review_list_product})&amp;c_review_id=({$item.c_review_id})">({$item.title|t_truncate:30})</a></dd>
326({/foreach})
327</dl>
328<div class="moreInfo"><ul class="moreInfo">
329<li><a href="({t_url m=pc a=page_fh_review_list_member})&amp;target_c_member_id=({$target_c_member_id})">もっと読む</a></li>
330</ul></div>
331</td></tr>
332({/if})
333</table>
334</div></div>
335({* }}} *})
336
337({if $inc_entry_point[8]})({$inc_entry_point[8]|smarty:nodefaults|t_url2cmd:'entry_point'|t_cmd:'entry_point'}) ({/if})
338
339({if $c_friend_comment_list})
340({* {{{ friendIntroList *})
341<div class="dparts friendIntroList"><div class="parts">
342<div class="partsHeading"><h3>({$WORD_FRIEND})からの紹介文</h3></div>
343<table>
344({foreach from=$c_friend_comment_list item=item})
345<tr>
346<th><a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})"><img src="({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image})" alt="" /><br />({$item.nickname})</a></th>
347<td>({$item.intro|t_truncate:36:"":3})</td>
348</tr>
349({/foreach})
350</table>
351<div class="block moreInfo">
352<ul class="moreInfo">
353<li><a href="({t_url m=pc a=page_fh_intro})&amp;target_c_member_id=({$target_c_member_id})">全て見る</a></li>
354</ul>
355</div>
356</div></div>
357({* }}} *})
358({/if})
359
360({if $inc_entry_point[9]})({$inc_entry_point[9]|smarty:nodefaults|t_url2cmd:'entry_point'|t_cmd:'entry_point'})({/if})
361
362</div><!-- Center -->
363</div><!-- LayoutA -->
Note: See TracBrowser for help on using the repository browser.