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

source: OpenPNE/trunk/webapp_biz/modules/pc/templates/inc_f_home_h_prof.tpl @ 6340

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

#2186:BIZのXHTML+CSS化

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