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

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

Last change on this file since 6014 was 6014, checked in by ogawa, 15 years ago

merged branches/prj/xhtmlcss/OpenPNE-2.11.4

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