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

source: OpenPNE/trunk/webapp_biz/modules/biz/templates/inc_biz_home_group_list.tpl @ 6059

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

bizを表示できるようにした

File size: 3.3 KB
Line 
1({if $group_list})
2({* {{{ homeNineTable *})
3<div class="parts homeNineTable">
4<div class="partsHeading"><h3>グループリスト</h3></div>
5({if $smarty.const.OPENPNE_USE_FLASH_LIST})
6({capture assign=flashvars})({strip})
7({foreach from=$group_list item=item key=key})
8({if $key > 0})&({/if})
9pne_item({$key+1})_id=({$item.biz_group_id})
10&pne_item({$key+1})_name=({$item.name|t_truncate:12:'..'|escape:url|smarty:nodefaults})
11&pne_item({$key+1})_linkurl=({t_url m=pc a=page_g_home _urlencode=true _html=false})%26target_c_commu_id=({$item.biz_group_id})
12&pne_item({$key+1})_imageurl=({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image _urlencode=true _html=false})
13&pne_item({$key+1})_count=({$item.count})
14({/foreach})
15({/strip})({/capture})
16<script type="text/javascript" src="js/show_flash.js"></script>
17<script type="text/javascript">
18<!--
19show_flash('flash/list.swf', '({$flashvars})');
20//-->
21</script>
22({else})
23<table>
24({if $group_list[0]})
25<tr class="photo">
26({t_loop from=$group_list start=0 num=3})
27<td>({if $item})({if $item.admin_id == $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=biz a=page_g_home})&amp;target_c_commu_id=({$item.biz_group_id})"><img src="({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image})" alt="" /></a>({/if})</td>
28({/t_loop})
29</tr>
30<tr class="text">
31({t_loop from=$group_list start=0 num=3})
32<td>({if $item})<a href="({t_url m=biz a=page_g_home})&amp;target_c_commu_id=({$item.biz_group_id})">({$item.name}) (({$item.count}))</a>({/if})</td>
33({/t_loop})
34</tr>
35({/if})
36({if $group_list[3]})
37<tr class="photo">
38({t_loop from=$group_list start=3 num=3})
39<td>({if $item})({if $item.admin_id == $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=biz a=page_g_home})&amp;target_c_commu_id=({$item.biz_group_id})"><img src="({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image})" alt="" /></a>({/if})</td>
40({/t_loop})
41</tr>
42<tr class="text">
43({t_loop from=$group_list start=3 num=3})
44<td>({if $item})<a href="({t_url m=biz a=page_g_home})&amp;target_c_commu_id=({$item.biz_group_id})">({$item.name}) (({$item.count}))</a>({/if})</td>
45({/t_loop})
46</tr>
47({/if})
48({if $group_list[6]})
49<tr class="photo">
50({t_loop from=$group_list start=6 num=3})
51<td>({if $item})({if $item.admin_id == $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=biz a=page_g_home})&amp;target_c_commu_id=({$item.biz_group_id})"><img src="({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image})" alt="" /></a>({/if})</td>
52({/t_loop})
53</tr>
54<tr class="text">
55({t_loop from=$group_list start=6 num=3})
56<td>({if $item})<a href="({t_url m=biz a=page_g_home})&amp;target_c_commu_id=({$item.biz_group_id})">({$item.name}) (({$item.count}))</a>({/if})</td>
57({/t_loop})
58</tr>
59({/if})
60</table>
61({/if})
62<div class="block moreInfo">
63<ul class="moreInfo">
64<li><a href="({t_url m=biz a=page_fh_group_list})">全てを見る(({$group_count}))</a></li>
65<li><a href="({t_url m=biz a=page_h_biz_group_add})">グループの追加</a></li>
66<li><a href="({t_url m=biz a=page_h_biz_group_find_all})">グループ検索</a></li>
67</ul>
68</div>
69</div>
70({* }}} *})
71({/if})
Note: See TracBrowser for help on using the repository browser.