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

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

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

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

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>※他のメンバーから見たあなたのページはこのようになります。</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<tr><th>({$item.caption})</th><td>
261({if $item.form_type == 'textarea'})
262    ({$item.value|nl2br|t_url2cmd:'profile'|t_cmd:'profile'})
263({elseif $item.form_type == 'checkbox'})
264    ({$item.value|@t_implode:", "})
265({else})
266    ({$item.value})
267({/if})
268
269({if $is_h_prof && $item.public_flag == 'friend'})
270<span class="caution">※({$WORD_MY_FRIEND})まで公開</span>
271({/if})
272</td></tr>
273({/if})
274({/foreach})
275({if !$_cnt_nick && !$_cnt_birth})
276({if $smarty.const.SORT_ORDER_NICK > $smarty.const.SORT_ORDER_BIRTH})
277({$smarty.capture.birth|smarty:nodefaults})
278({$smarty.capture.nick|smarty:nodefaults})
279({else})
280({$smarty.capture.nick|smarty:nodefaults})
281({$smarty.capture.birth|smarty:nodefaults})
282({/if})
283({else})
284({if !$_cnt_nick})({$smarty.capture.nick|smarty:nodefaults})({/if})
285({if !$_cnt_birth})({$smarty.capture.birth|smarty:nodefaults})({/if})
286({/if})
287({if $c_diary_list})
288<tr><th>最新({$WORD_DIARY})</th><td>
289<dl class="articleList">
290({foreach from=$c_diary_list item=item})
291<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>
292({/foreach})
293</dl>
294<div class="moreInfo"><ul class="moreInfo">
295<li><a href="({t_url m=pc a=page_fh_diary_list})&amp;target_c_member_id=({$target_c_member_id})">もっと読む</a></li>
296</ul></div>
297</td></tr>
298({/if})
299({if $c_rss_cache_list})
300<tr><th>最新Blog</th><td>
301<dl class="articleList">
302({foreach from=$c_rss_cache_list item=item})
303<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>
304({/foreach})
305</dl>
306<div class="moreInfo"><ul class="moreInfo">
307<li><a href="({t_url m=pc a=page_fh_diary_list})&amp;target_c_member_id=({$target_c_member_id})#blog">もっと読む</a></li>
308</ul></div>
309</td></tr>
310({/if})
311({if $c_review_list})
312<tr><th>最新レビュー</th><td>
313<dl class="articleList">
314({foreach from=$c_review_list item=item})
315<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>
316({/foreach})
317</dl>
318<div class="moreInfo"><ul class="moreInfo">
319<li><a href="({t_url m=pc a=page_fh_review_list_member})&amp;target_c_member_id=({$target_c_member_id})">もっと読む</a></li>
320</ul></div>
321</td></tr>
322({/if})
323({if $c_album_list})
324<tr><th>最新アルバム</th><td>
325<dl class="articleList">
326({foreach from=$c_album_list item=item})
327<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>
328({/foreach})
329</dl>
330<div class="moreInfo"><ul class="moreInfo">
331<li><a href="({t_url m=pc a=page_fh_album_list})&amp;target_c_member_id=({$target_c_member_id})">もっと読む</a></li>
332</ul></div>
333</td></tr>
334({/if})
335</table>
336</div></div>
337({* }}} *})
338
339({if $inc_entry_point[8]})({$inc_entry_point[8]|smarty:nodefaults|t_url2cmd:'entry_point'|t_cmd:'entry_point'}) ({/if})
340
341({if $c_friend_comment_list})
342({* {{{ friendIntroList *})
343<div class="dparts friendIntroList"><div class="parts">
344<div class="partsHeading"><h3>({$WORD_FRIEND})からの紹介文</h3></div>
345<table>
346({foreach from=$c_friend_comment_list item=item})
347<tr>
348<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>
349<td>({$item.intro|t_truncate:36:"":3})</td>
350</tr>
351({/foreach})
352</table>
353<div class="block moreInfo">
354<ul class="moreInfo">
355<li><a href="({t_url m=pc a=page_fh_intro})&amp;target_c_member_id=({$target_c_member_id})">全て見る</a></li>
356</ul>
357</div>
358</div></div>
359({* }}} *})
360({/if})
361
362({if $inc_entry_point[9]})({$inc_entry_point[9]|smarty:nodefaults|t_url2cmd:'entry_point'|t_cmd:'entry_point'})({/if})
363
364</div><!-- Center -->
365</div><!-- LayoutA -->
Note: See TracBrowser for help on using the repository browser.