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

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

Last change on this file since 7154 was 7154, checked in by ebihara, 11 years ago

#2383:Expiresヘッダを指定するのは、prototype.js などのライブラリに限定した

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