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

Changeset 5274


Ignore:
Timestamp:
Feb 20, 2008, 10:10:14 PM (12 years ago)
Author:
ebihara
Message:

#1909:c_homeのメンバーリストのXHTML+CSS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/prj/xhtmlcss/OpenPNE/webapp/modules/pc/templates/c_home.tpl

    r5265 r5274  
    8484({* unknown *})({/if})
    8585
    86 ({* #1909 *})<!-- ******************************** -->
    87 ({* #1909 *})<!-- ******ここから:メンバー一覧****** -->
    88 ({* #1909 *})<table border="0" cellspacing="0" cellpadding="0" style="width:268px;margin:0px auto;" class="border_07">
    89 ({* #1909 *})<tr>
    90 ({* #1909 *})<td>
    91 ({* #1909 *})<!-- *ここから:メンバー一覧>>内容* -->
    92 ({* #1909 *})({*ここから:header*})
    93 ({* #1909 *})<!-- ここから:小タイトル -->
    94 ({* #1909 *})<table border="0" cellspacing="0" cellpadding="0" style="width:268px" class="border_07">
    95 ({* #1909 *})<tr>
    96 ({* #1909 *})<td style="width:25px;" class="bg_06"><img src="({t_img_url_skin filename=icon_title_1})" style="width:25px;height:19px;" class="dummy"></td>
    97 ({* #1909 *})<td style="width:241px;" class="bg_06"><span class="b_b c_00">コミュニティメンバー</span></td>
    98 ({* #1909 *})</tr>
    99 ({* #1909 *})</table>
    100 ({* #1909 *})<!-- ここまで:小タイトル -->
    101 ({* #1909 *})({*ここまで:header*})
    102 ({* #1909 *})({*ここから:body*})
    103 ({* #1909 *})<!-- ここから:サムネイルと名前 -->
    104 ({* #1909 *})({if $smarty.const.OPENPNE_USE_FLASH_LIST})
    105 ({* #1909 *})<table border="0" cellspacing="0" cellpadding="0" style="width:266px;" class="bg_07">
    106 ({* #1909 *})<tr>
    107 ({* #1909 *})<td class="bg_07"><img src="./skin/dummy.gif" alt="dummy" style="width:1px;"></td>
    108 ({* #1909 *})<td class="bg_03" align="center">
    109 ({* #1909 *})
    110 ({* #1909 *})({capture assign=flashvars})({strip})
    111 ({* #1909 *})({foreach from=$c_commu_member_list item=item key=key})
    112 ({* #1909 *})({if $key > 0})&({/if})
    113 ({* #1909 *})pne_item({$key+1})_id=({$item.c_member_id})
    114 ({* #1909 *})&pne_item({$key+1})_name=({$item.nickname|t_truncate:12:'..'|escape:url|smarty:nodefaults})
    115 ({* #1909 *})&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})
    116 ({* #1909 *})&pne_item({$key+1})_imageurl=({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image _urlencode=true _html=false})
    117 ({* #1909 *})&pne_item({$key+1})_count=({$item.friend_count})
    118 ({* #1909 *})({/foreach})
    119 ({* #1909 *})({/strip})({/capture})
    120 ({* #1909 *})<script type="text/javascript" src="js/show_flash.js"></script>
    121 ({* #1909 *})<script type="text/javascript">
    122 ({* #1909 *})<!--
    123 ({* #1909 *})show_flash('flash/list.swf', '({$flashvars})');
    124 ({* #1909 *})//-->
    125 ({* #1909 *})</script>
    126 ({* #1909 *})
    127 ({* #1909 *})</td>
    128 ({* #1909 *})<td class="bg_07"><img src="./skin/dummy.gif" alt="dummy" style="width:1px;"></td>
    129 ({* #1909 *})</tr>
    130 ({* #1909 *})</table>
    131 ({* #1909 *})({else})
    132 ({* #1909 *})<table border="0" cellspacing="1" cellpadding="2" style="width:268px" class="bg_07">
    133 ({* #1909 *})
    134 ({* #1909 *})({if $c_commu_member_list[0]})
    135 ({* #1909 *})<!-- 1行目img -->
    136 ({* #1909 *})<tr>
    137 ({* #1909 *})
    138 ({* #1909 *})({t_loop from=$c_commu_member_list start=0 num=3})
    139 ({* #1909 *})({if $item})
    140 ({* #1909 *})<td style="width:88px;" class="bg_03" align="center">
    141 ({* #1909 *})({if $item.c_member_id == $c_commu.c_member_id_admin})<img src="({t_img_url_skin filename=icon_crown})" class="icon"><br>({/if})
    142 ({* #1909 *})<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})">
    143 ({* #1909 *})<img src="({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image})" class="pict"></a>
    144 ({* #1909 *})</td>
    145 ({* #1909 *})({else})
    146 ({* #1909 *})<td style="width:88px;" class="bg_03"><img src="./skin/dummy.gif" alt="dummy" style="width:84px;height:84px;" class="dummy"></td>
    147 ({* #1909 *})({/if})
    148 ({* #1909 *})({/t_loop})
    149 ({* #1909 *})
    150 ({* #1909 *})</tr>
    151 ({* #1909 *})
    152 ({* #1909 *})<!-- 1行目name -->
    153 ({* #1909 *})<tr>
    154 ({* #1909 *})
    155 ({* #1909 *})({t_loop from=$c_commu_member_list start=0 num=3})
    156 ({* #1909 *})({if $item})
    157 ({* #1909 *})<td class="bg_02" align="center">
    158 ({* #1909 *})<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})">
    159 ({* #1909 *})({$item.nickname}) (({$item.friend_count|default:"0"}))
    160 ({* #1909 *})</a>
    161 ({* #1909 *})</td>
    162 ({* #1909 *})({else})
    163 ({* #1909 *})<td class="bg_02" align="center"><img src="./skin/dummy.gif" alt="dummy" style="height:1em;" class="dummy"></td>
    164 ({* #1909 *})({/if})
    165 ({* #1909 *})({/t_loop})
    166 ({* #1909 *})
    167 ({* #1909 *})</tr>
    168 ({* #1909 *})
    169 ({* #1909 *})({/if})
    170 ({* #1909 *})
    171 ({* #1909 *})({*************************************************************})
    172 ({* #1909 *})
    173 ({* #1909 *})({if $c_commu_member_list[3]})
    174 ({* #1909 *})<!-- 2行目img -->
    175 ({* #1909 *})<tr>
    176 ({* #1909 *})
    177 ({* #1909 *})({t_loop from=$c_commu_member_list start=3 num=3})
    178 ({* #1909 *})({if $item})
    179 ({* #1909 *})<td class="bg_03" align="center">
    180 ({* #1909 *})({if $item.c_member_id == $c_commu.c_member_id_admin})<img src="({t_img_url_skin filename=icon_crown})" class="icon"><br>({/if})
    181 ({* #1909 *})<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})">
    182 ({* #1909 *})<img src="({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image})" class="pict"></a>
    183 ({* #1909 *})</td>
    184 ({* #1909 *})({else})
    185 ({* #1909 *})<td class="bg_03"><img src="./skin/dummy.gif" alt="dummy" style="width:84px;height:84px;" class="dummy"></td>
    186 ({* #1909 *})({/if})
    187 ({* #1909 *})({/t_loop})
    188 ({* #1909 *})
    189 ({* #1909 *})</tr>
    190 ({* #1909 *})
    191 ({* #1909 *})<!-- 2行目name -->
    192 ({* #1909 *})<tr>
    193 ({* #1909 *})
    194 ({* #1909 *})({t_loop from=$c_commu_member_list start=3 num=3})
    195 ({* #1909 *})({if $item})
    196 ({* #1909 *})<td class="bg_02" align="center">
    197 ({* #1909 *})<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})">
    198 ({* #1909 *})({$item.nickname}) (({$item.friend_count|default:"0"}))
    199 ({* #1909 *})</a>
    200 ({* #1909 *})</td>
    201 ({* #1909 *})({else})
    202 ({* #1909 *})<td class="bg_02" align="center"><img src="./skin/dummy.gif" alt="dummy" style="height:1em;" class="dummy"></td>
    203 ({* #1909 *})({/if})
    204 ({* #1909 *})({/t_loop})
    205 ({* #1909 *})
    206 ({* #1909 *})</tr>
    207 ({* #1909 *})
    208 ({* #1909 *})({/if})
    209 ({* #1909 *})
    210 ({* #1909 *})({*************************************************************})
    211 ({* #1909 *})
    212 ({* #1909 *})({if $c_commu_member_list[6]})
    213 ({* #1909 *})<!-- 3行目img -->
    214 ({* #1909 *})<tr>
    215 ({* #1909 *})
    216 ({* #1909 *})({t_loop from=$c_commu_member_list start=6 num=3})
    217 ({* #1909 *})({if $item})
    218 ({* #1909 *})<td class="bg_03" align="center">
    219 ({* #1909 *})({if $item.c_member_id == $c_commu.c_member_id_admin})<img src="({t_img_url_skin filename=icon_crown})" class="icon"><br>({/if})
    220 ({* #1909 *})<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})">
    221 ({* #1909 *})<img src="({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image})" class="pict"></a>
    222 ({* #1909 *})</td>
    223 ({* #1909 *})({else})
    224 ({* #1909 *})<td class="bg_03"><img src="./skin/dummy.gif" alt="dummy" style="width:84px;height:84px;" class="dummy"></td>
    225 ({* #1909 *})({/if})
    226 ({* #1909 *})({/t_loop})
    227 ({* #1909 *})
    228 ({* #1909 *})</tr>
    229 ({* #1909 *})
    230 ({* #1909 *})<!-- 3行目name -->
    231 ({* #1909 *})<tr>
    232 ({* #1909 *})
    233 ({* #1909 *})({t_loop from=$c_commu_member_list start=6 num=3})
    234 ({* #1909 *})({if $item})
    235 ({* #1909 *})<td class="bg_02" align="center">
    236 ({* #1909 *})<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})">
    237 ({* #1909 *})({$item.nickname}) (({$item.friend_count|default:"0"}))
    238 ({* #1909 *})</a>
    239 ({* #1909 *})</td>
    240 ({* #1909 *})({else})
    241 ({* #1909 *})<td class="bg_02" align="center"><img src="./skin/dummy.gif" alt="dummy" style="height:1em;" class="dummy"></td>
    242 ({* #1909 *})({/if})
    243 ({* #1909 *})({/t_loop})
    244 ({* #1909 *})
    245 ({* #1909 *})</tr>
    246 ({* #1909 *})
    247 ({* #1909 *})({/if})
    248 ({* #1909 *})
    249 ({* #1909 *})</table>
    250 ({* #1909 *})({/if})
    251 ({* #1909 *})
    252 ({* #1909 *})<!-- ここまで:サムネイルと名前 -->
    253 ({* #1909 *})({*ここまで:body*})
    254 ({* #1909 *})({*ここから:footer*})
    255 ({* #1909 *})<!-- ここから:小メニュー -->
    256 ({* #1909 *})<table border="0" cellspacing="0" cellpadding="0" style="width:268px">
    257 ({* #1909 *})<tr>
    258 ({* #1909 *})<td style="width:1px;" class="bg_07"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    259 ({* #1909 *})<td style="width:266px;" class="bg_02" colspan="4"><img src="./skin/dummy.gif" alt="dummy" style="width:266px;height:5px;" class="dummy"></td>
    260 ({* #1909 *})<td style="width:1px;" class="bg_07"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    261 ({* #1909 *})</tr>
    262 ({* #1909 *})<tr>
    263 ({* #1909 *})<td style="width:1px;" class="bg_07"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    264 ({* #1909 *})<td style="width:125px;" class="bg_02"><img src="./skin/dummy.gif" alt="dummy" style="width:125px;height:1px;" class="dummy"></td>
    265 ({* #1909 *})<td style="width:20px;" class="bg_02"><img src="./skin/dummy.gif" alt="dummy" class="icon arrow_1"></td>
    266 ({* #1909 *})<td align="left" style="width:116px;padding:2px 0px;" class="bg_02 lh_110">
    267 ({* #1909 *})<a href="({t_url m=pc a=page_c_member_list})&amp;target_c_commu_id=({$c_commu.c_commu_id})">全てを見る(({$c_commu.member_count})人)</a>
    268 ({* #1909 *})</td>
    269 ({* #1909 *})<td style="width:5px;" class="bg_02"><img src="./skin/dummy.gif" alt="dummy" style="width:5px;height:1px;" class="dummy"></td>
    270 ({* #1909 *})<td style="width:1px;" class="bg_07"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    271 ({* #1909 *})</tr>
    272 ({* #1909 *})({if $is_c_commu_admin})
    273 ({* #1909 *})({if $c_commu.member_count != 1})
    274 ({* #1909 *})<tr>
    275 ({* #1909 *})<td style="width:1px;" class="bg_07"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    276 ({* #1909 *})<td style="width:125px;" class="bg_02"><img src="./skin/dummy.gif" alt="dummy" style="width:125px;height:1px;" class="dummy"></td>
    277 ({* #1909 *})<td style="width:20px;" class="bg_02"><img src="./skin/dummy.gif" alt="dummy" class="icon arrow_1"></td>
    278 ({* #1909 *})<td align="left" style="width:116px;padding:2px 0px;" class="bg_02 lh_110">
    279 ({* #1909 *})<a href="({t_url m=pc a=page_c_send_message})&amp;target_c_commu_id=({$c_commu.c_commu_id})">参加者にメッセージを送る</a>
    280 ({* #1909 *})</td>
    281 ({* #1909 *})<td style="width:5px;" class="bg_02"><img src="./skin/dummy.gif" alt="dummy" style="width:5px;height:1px;" class="dummy"></td>
    282 ({* #1909 *})<td style="width:1px;" class="bg_07"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    283 ({* #1909 *})</tr>
    284 ({* #1909 *})({/if})
    285 ({* #1909 *})<tr>
    286 ({* #1909 *})<td style="width:1px;" class="bg_07"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    287 ({* #1909 *})<td style="width:125px;" class="bg_02"><img src="./skin/dummy.gif" alt="dummy" style="width:125px;height:1px;" class="dummy"></td>
    288 ({* #1909 *})<td style="width:20px;" class="bg_02"><img src="./skin/dummy.gif" alt="dummy" class="icon arrow_1"></td>
    289 ({* #1909 *})<td align="left" style="width:116px;padding:2px 0px;" class="bg_02 lh_110">
    290 ({* #1909 *})<a href="({t_url m=pc a=page_c_edit_member})&amp;target_c_commu_id=({$c_commu.c_commu_id})">メンバー管理</a>
    291 ({* #1909 *})</td>
    292 ({* #1909 *})<td style="width:5px;" class="bg_02"><img src="./skin/dummy.gif" alt="dummy" style="width:5px;height:1px;" class="dummy"></td>
    293 ({* #1909 *})<td style="width:1px;" class="bg_07"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    294 ({* #1909 *})</tr>
    295 ({* #1909 *})({/if})
    296 ({* #1909 *})<tr>
    297 ({* #1909 *})<td style="width:1px;" class="bg_07"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    298 ({* #1909 *})<td style="width:266px;" class="bg_02" colspan="4"><img src="./skin/dummy.gif" alt="dummy" style="width:266px;height:5px;" class="dummy"></td>
    299 ({* #1909 *})<td style="width:1px;" class="bg_07"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    300 ({* #1909 *})</tr>
    301 ({* #1909 *})<tr>
    302 ({* #1909 *})<td style="width:268px;" class="bg_07" colspan="6"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    303 ({* #1909 *})</tr>
    304 ({* #1909 *})</table>
    305 ({* #1909 *})<!-- ここまで:小メニュー -->
    306 ({* #1909 *})({*ここまで:footer*})
    307 ({* #1909 *})<!-- *ここまで:メンバー一覧>>内容* -->
    308 ({* #1909 *})</td>
    309 ({* #1909 *})</tr>
    310 ({* #1909 *})</table>
    311 ({* #1909 *})<!-- ******ここまで:メンバー一覧****** -->
    312 ({* #1909 *})<!-- ********************************** -->
     86({* {{{ table3x *})
     87<div class="section table3x">
     88<table><tr>
     89<th class="heading" colspan="3">コミュニティメンバー</th>
     90</tr>
     91({* unknown *})({if $smarty.const.OPENPNE_USE_FLASH_LIST})
     92({* unknown *})<table border="0" cellspacing="0" cellpadding="0" style="width:266px;" class="bg_07">
     93({* unknown *})<tr>
     94({* unknown *})<td class="bg_07"><img src="./skin/dummy.gif" alt="dummy" style="width:1px;"></td>
     95({* unknown *})<td class="bg_03" align="center">
     96({* unknown *})
     97({* unknown *})({capture assign=flashvars})({strip})
     98({* unknown *})({foreach from=$c_commu_member_list item=item key=key})
     99({* unknown *})({if $key > 0})&({/if})
     100({* unknown *})pne_item({$key+1})_id=({$item.c_member_id})
     101({* unknown *})&pne_item({$key+1})_name=({$item.nickname|t_truncate:12:'..'|escape:url|smarty:nodefaults})
     102({* unknown *})&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})
     103({* unknown *})&pne_item({$key+1})_imageurl=({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image _urlencode=true _html=false})
     104({* unknown *})&pne_item({$key+1})_count=({$item.friend_count})
     105({* unknown *})({/foreach})
     106({* unknown *})({/strip})({/capture})
     107({* unknown *})<script type="text/javascript" src="js/show_flash.js"></script>
     108({* unknown *})<script type="text/javascript">
     109({* unknown *})<!--
     110({* unknown *})show_flash('flash/list.swf', '({$flashvars})');
     111({* unknown *})//-->
     112({* unknown *})</script>
     113({* unknown *})
     114({* unknown *})</td>
     115({* unknown *})<td class="bg_07"><img src="./skin/dummy.gif" alt="dummy" style="width:1px;"></td>
     116({* unknown *})</tr>
     117({* unknown *})</table>
     118({else})
     119
     120({if $c_commu_member_list[0]})
     121<tr>
     122({t_loop from=$c_commu_member_list start=0 num=3})
     123<td>
     124({if $item})
     125<p class="photo">({if $item.c_member_id == $c_commu.c_member_id_admin})<img src="({t_img_url_skin filename=icon_crown})" class="icon" /><br />({/if}) <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="({$item.nickname})" /></a></p>
     126<p class="text"><a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})"> ({$item.nickname}) (({$item.friend_count|default:"0"})) </a></p>
     127({else})
     128<p class="photo"></p>
     129<p class="text"></p>
     130({/if})
     131</td>
     132({/t_loop})
     133</tr>
     134({/if})
     135
     136({*************************************************************})
     137({if $c_commu_member_list[3]})
     138<tr>
     139({t_loop from=$c_commu_member_list start=3 num=3})
     140<td>
     141({if $item})
     142<p class="photo">({if $item.c_member_id == $c_commu.c_member_id_admin})<img src="({t_img_url_skin filename=icon_crown})" class="icon" /><br />({/if}) <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="({$item.nickname})" /></a></p>
     143<p class="text"><a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})"> ({$item.nickname}) (({$item.friend_count|default:"0"})) </a></p>
     144({else})
     145<p class="photo"></p>
     146<p class="text"></p>
     147({/if})
     148</td>
     149({/t_loop})
     150</tr>
     151({/if})
     152({*************************************************************})
     153
     154({if $c_commu_member_list[6]})
     155<tr>
     156({t_loop from=$c_commu_member_list start=6 num=3})
     157<td>
     158({if $item})
     159<p class="photo">({if $item.c_member_id == $c_commu.c_member_id_admin})<img src="({t_img_url_skin filename=icon_crown})" class="icon" /><br />({/if}) <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="({$item.nickname})" /></a></p>
     160<p class="text"><a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})"> ({$item.nickname}) (({$item.friend_count|default:"0"})) </a></p>
     161({else})
     162<p class="photo"></p>
     163<p class="text"></p>
     164({/if})
     165</td>
     166({/t_loop})
     167</tr>
     168({/if})
     169<tr>
     170<td class="footer" colspan="3">
     171<ul class="moreInfo">
     172<li><a href="({t_url m=pc a=page_c_member_list})&amp;target_c_commu_id=({$c_commu.c_commu_id})">全てを見る(({$c_commu.member_count})人)</a></li>
     173<li><a href="({t_url m=pc a=page_c_send_message})&amp;target_c_commu_id=({$c_commu.c_commu_id})">参加者にメッセージを送る</a>
     174</li>
     175<li><a href="({t_url m=pc a=page_c_edit_member})&amp;target_c_commu_id=({$c_commu.c_commu_id})">メンバー管理</a>
     176</li>
     177</ul>
     178</td> </tr>
     179({/if})
     180</table>
     181</div>
     182({* }}} *})
    313183
    314184({* unknown *})({if $inc_entry_point[5]})
Note: See TracChangeset for help on using the changeset viewer.