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

source: OpenPNE/branches/stable-2.12.x/webapp_biz/modules/pc/templates/inc_f_home_h_prof.tpl @ 9214

Last change on this file since 9214 was 9214, checked in by akamine, 12 years ago

#2292 bizモードにも対応

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