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

Ignore:
Timestamp:
Apr 5, 2008, 6:03:25 PM (15 years ago)
Author:
ogawa
Message:

#1944:photoTableを修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/trunk/webapp/modules/pc/templates/c_event_member_list.tpl

    r6316 r6324  
    44({if $c_topic.member_num})
    55({* {{{ photoTable *})
    6 <!-- ******ここから:メンバー一覧(メンバーあり)****** -->
    76<div class="dparts photoTable"><div class="parts">
    87<div class="partsHeading"><h3>イベント参加者一覧</h3></div>
    98
    109<div class="pagerAbsolute">
    11 <p>[ ({foreach from=$page_num item=item})
    12 ({if $item!=$page})<a href="({t_url m=pc a=page_c_event_member_list})&amp;page=({$item})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})">({$item})</a>
    13 ({else})({$item})
    14 ({/if})({/foreach})]</p>
     10<p>[ ({foreach from=$page_num item=item})({if $item != $page})<a href="({t_url m=pc a=page_c_event_member_list})&amp;page=({$item})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})">({$item})</a>({else})({$item})({/if}) ({/foreach})]</p>
    1511</div>
    1612
    1713<div class="pagerRelative">
    18 ({if $is_prev})
    19 <p class="prev"><a href="({t_url m=pc a=page_c_event_member_list})&amp;direc=-1&amp;page=({$page})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})"><前</a></p>
    20 ({/if})
     14({if $is_prev})<p class="prev"><a href="({t_url m=pc a=page_c_event_member_list})&amp;direc=-1&amp;page=({$page})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})">前を表示</a></p>({/if})
    2115<p class="number">({$start_num})件~({$end_num})件を表示</p>
    22 ({if $is_next})
    23 <p class="next"><a href="({t_url m=pc a=page_c_event_member_list})&amp;direc=1&amp;page=({$page})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})">次></a></p>
    24 ({/if})
     16({if $is_next})<p class="next"><a href="({t_url m=pc a=page_c_event_member_list})&amp;direc=1&amp;page=({$page})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})">次を表示</a></p>({/if})
    2517</div>
    2618
    2719<table>
    28 ({*---------------ここから:1行目:写真-------------------*})
    2920<tr class="photo">
    3021({t_loop from=$c_event_member_list start=0 num=5})
    31 <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})" alt="" /></a>
    32 ({/if})</td>
     22<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})" alt="" /></a>({/if})</td>
    3323({/t_loop})
    3424</tr>
    35 ({*---------------ここまで:1行目:写真-------------------*})
    36 ({*---------------ここから:1行目:ニックネーム-------------------*})
    3725<tr class="text">
    3826({t_loop from=$c_event_member_list start=0 num=5})
    39 <td>({if $item})<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})">({$item.nickname|default:"&nbsp;"})</a>
    40 ({else})
    41 &nbsp;
    42 ({/if})</td>
     27<td>({if $item})<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})">({$item.nickname|default:"&nbsp;"})</a>({/if})</td>
    4328({/t_loop})
    4429</tr>
    45 ({*---------------ここまで:1行目:ニックネーム-------------------*})
    46 ({*---------------ここから:2行目:写真-------------------*})
     30
    4731({if $c_event_member_list[5]})
    4832<tr class="photo">
    4933({t_loop from=$c_event_member_list start=5 num=5})
    50 <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})" alt="" /></a>
    51 ({/if})</td>
     34<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})" alt="" /></a>({/if})</td>
    5235({/t_loop})
    5336</tr>
    54 ({*---------------ここまで:2行目:写真-------------------*})
    55 ({*---------------ここから:2行目:ニックネーム-------------------*})
    5637<tr class="text">
    5738({t_loop from=$c_event_member_list start=5 num=5})
    58 <td>({if $item})<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})">({$item.nickname|default:"&nbsp;"})</a>
    59 ({else})
    60 &nbsp;
    61 ({/if})</td>
     39<td>({if $item})<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})">({$item.nickname|default:"&nbsp;"})</a>({/if})</td>
    6240({/t_loop})
    6341</tr>
    6442({/if})
    65 ({*---------------ここまで:2行目:ニックネーム-------------------*})
    66 ({*---------------ここから:3行目:写真-------------------*})
     43
    6744({if $c_event_member_list[10]})
    6845<tr class="photo">
    6946({t_loop from=$c_event_member_list start=10 num=5})
    70 <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})" alt="" /></a>
    71 ({/if})</td>
     47<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})" alt="" /></a>({/if})</td>
    7248({/t_loop})
    7349</tr>
    74 ({*---------------ここまで:3行目:写真-------------------*})
    75 ({*---------------ここから:3行目:ニックネーム-------------------*})
    7650<tr class="text">
    7751({t_loop from=$c_event_member_list start=10 num=5})
    78 <td>({if $item})<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})">({$item.nickname|default:"&nbsp;"})</a>
    79 ({else})
    80 &nbsp;
    81 ({/if})</td>
     52<td>({if $item})<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})">({$item.nickname|default:"&nbsp;"})</a>({/if})</td>
    8253({/t_loop})
    8354</tr>
    8455({/if})
    85 ({*---------------ここまで:3行目:ニックネーム-------------------*})
    86 ({*---------------ここから:4行目:写真-------------------*})
     56
    8757({if $c_event_member_list[15]})
    8858<tr class="photo">
    8959({t_loop from=$c_event_member_list start=15 num=5})
    90 <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})" alt="" /></a>
    91 ({/if})</td>
     60<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})" alt="" /></a>({/if})</td>
    9261({/t_loop})
    9362</tr>
    94 ({*---------------ここまで:4行目:写真-------------------*})
    95 ({*---------------ここから:4行目:ニックネーム-------------------*})
    9663<tr class="text">
    9764({t_loop from=$c_event_member_list start=15 num=5})
    98 <td>({if $item})<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})">({$item.nickname|default:"&nbsp;"})</a>
    99 ({else})
    100 &nbsp;
    101 ({/if})</td>
     65<td>({if $item})<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})">({$item.nickname|default:"&nbsp;"})</a>({/if})</td>
    10266({/t_loop})
    10367</tr>
    10468({/if})
    105 ({*---------------ここまで:4行目:ニックネーム-------------------*})
    106 ({*---------------ここから:5行目:写真-------------------*})
     69
    10770({if $c_event_member_list[20]})
    10871<tr class="photo">
    10972({t_loop from=$c_event_member_list start=20 num=5})
    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})" alt="" /></a>
    111 ({/if})</td>
     73<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})" alt="" /></a>({/if})</td>
    11274({/t_loop})
    11375</tr>
    114 ({*---------------ここまで:5行目:写真-------------------*})
    115 ({*---------------ここから:5行目:ニックネーム-------------------*})
    11676<tr class="text">
    11777({t_loop from=$c_event_member_list start=20 num=5})
    118 <td>({if $item})<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})">({$item.nickname|default:"&nbsp;"})</a>
    119 ({else})
    120 &nbsp;
    121 ({/if})</td>
     78<td>({if $item})<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})">({$item.nickname|default:"&nbsp;"})</a>({/if})</td>
    12279({/t_loop})
    12380</tr>
    12481({/if})
    125 ({*---------------ここまで:5行目:ニックネーム-------------------*})
    126 ({*---------------ここから:6行目:写真-------------------*})
     82
    12783({if $c_event_member_list[25]})
    12884<tr class="photo">
    12985({t_loop from=$c_event_member_list start=25 num=5})
    130 <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})" alt="" /></a>
    131 ({/if})</td>
     86<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})" alt="" /></a>({/if})</td>
    13287({/t_loop})
    13388</tr>
    134 ({*---------------ここまで:6行目:写真-------------------*})
    135 ({*---------------ここから:6行目:ニックネーム-------------------*})
    13689<tr class="text">
    13790({t_loop from=$c_event_member_list start=25 num=5})
    138 <td>({if $item})<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})">({$item.nickname|default:"&nbsp;"})</a>
    139 ({else})
    140 &nbsp;
    141 ({/if})</td>
     91<td>({if $item})<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})">({$item.nickname|default:"&nbsp;"})</a>({/if})</td>
    14292({/t_loop})
    14393</tr>
    14494({/if})
    145 ({*---------------ここまで:6行目:ニックネーム-------------------*})
    146 ({*---------------ここから:7行目:写真-------------------*})
     95
    14796({if $c_event_member_list[30]})
    14897<tr class="photo">
    14998({t_loop from=$c_event_member_list start=30 num=5})
    150 <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})" alt="" /></a>
    151 ({/if})</td>
     99<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})" alt="" /></a>({/if})</td>
    152100({/t_loop})
    153101</tr>
    154 ({*---------------ここまで:7行目:写真-------------------*})
    155 ({*---------------ここから:7行目:ニックネーム-------------------*})
    156102<tr class="text">
    157103({t_loop from=$c_event_member_list start=30 num=5})
    158 <td>({if $item})<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})">({$item.nickname|default:"&nbsp;"})</a>
    159 ({else})
    160 &nbsp;
    161 ({/if})</td>
     104<td>({if $item})<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})">({$item.nickname|default:"&nbsp;"})</a>({/if})</td>
    162105({/t_loop})
    163106</tr>
    164107({/if})
    165 ({*---------------ここまで:7行目:ニックネーム-------------------*})
    166 ({*---------------ここから:8行目:写真-------------------*})
     108
    167109({if $c_event_member_list[35]})
    168110<tr class="photo">
    169111({t_loop from=$c_event_member_list start=35 num=5})
    170 <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})" alt="" /></a>
    171 ({/if})</td>
     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})" alt="" /></a>({/if})</td>
    172113({/t_loop})
    173114</tr>
    174 ({*---------------ここまで:8行目:写真-------------------*})
    175 ({*---------------ここから:8行目:ニックネーム-------------------*})
    176115<tr class="text">
    177116({t_loop from=$c_event_member_list start=35 num=5})
    178 <td>({if $item})<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})">({$item.nickname|default:"&nbsp;"})</a>
    179 ({else})
    180 &nbsp;
    181 ({/if})</td>
     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|default:"&nbsp;"})</a>({/if})</td>
    182118({/t_loop})
    183119</tr>
    184120({/if})
    185 ({*---------------ここまで:8行目:ニックネーム-------------------*})
    186 ({*---------------ここから:9行目:写真-------------------*})
     121
    187122({if $c_event_member_list[40]})
    188123<tr class="photo">
    189124({t_loop from=$c_event_member_list start=40 num=5})
    190 <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})" alt="" /></a>
    191 ({/if})</td>
     125<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})" alt="" /></a>({/if})</td>
    192126({/t_loop})
    193127</tr>
    194 ({*---------------ここまで:9行目:写真-------------------*})
    195 ({*---------------ここから:9行目:ニックネーム-------------------*})
    196128<tr class="text">
    197129({t_loop from=$c_event_member_list start=40 num=5})
    198 <td>({if $item})<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})">({$item.nickname|default:"&nbsp;"})</a>
    199 ({else})
    200 &nbsp;
    201 ({/if})</td>
     130<td>({if $item})<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})">({$item.nickname|default:"&nbsp;"})</a>({/if})</td>
    202131({/t_loop})
    203132</tr>
    204133({/if})
    205 ({*---------------ここまで:9行目:ニックネーム-------------------*})
    206 ({*---------------ここから:10行目:写真-------------------*})
     134
    207135({if $c_event_member_list[45]})
    208136<tr class="photo">
    209137({t_loop from=$c_event_member_list start=45 num=5})
    210 <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})" alt="" /></a>
    211 ({/if})</td>
     138<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})" alt="" /></a>({/if})</td>
    212139({/t_loop})
    213140</tr>
    214 ({*---------------ここまで:10行目:写真-------------------*})
    215 ({*---------------ここから:10行目:ニックネーム-------------------*})
    216141<tr class="text">
    217142({t_loop from=$c_event_member_list start=40 num=5})
    218 <td>({if $item})<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})">({$item.nickname|default:"&nbsp;"})</a>
    219 ({else})
    220 &nbsp;
    221 ({/if})</td>
     143<td>({if $item})<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})">({$item.nickname|default:"&nbsp;"})</a>({/if})</td>
    222144({/t_loop})
    223145</tr>
    224146({/if})
    225 ({*---------------ここまで:10行目:ニックネーム-------------------*})
    226147</table>
    227148
    228149<div class="pagerAbsolute">
    229 <p>[ ({foreach from=$page_num item=item})
    230 ({if $item!=$page})<a href="({t_url m=pc a=page_c_event_member_list})&amp;page=({$item})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})">({$item})</a>
    231 ({else})({$item})
    232 ({/if})({/foreach})]</p>
     150<p>[ ({foreach from=$page_num item=item})({if $item != $page})<a href="({t_url m=pc a=page_c_event_member_list})&amp;page=({$item})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})">({$item})</a>({else})({$item})({/if}) ({/foreach})]</p>
    233151</div>
    234152
    235153<div class="pagerRelative">
    236 ({if $is_prev})
    237 <p class="prev"><a href="({t_url m=pc a=page_c_event_member_list})&amp;direc=-1&amp;page=({$page})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})"><前</a></p>
    238 ({/if})
     154({if $is_prev})<p class="prev"><a href="({t_url m=pc a=page_c_event_member_list})&amp;direc=-1&amp;page=({$page})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})">前を表示</a></p>({/if})
    239155<p class="number">({$start_num})件~({$end_num})件を表示</p>
    240 ({if $is_next})
    241 <p class="next"><a href="({t_url m=pc a=page_c_event_member_list})&amp;direc=1&amp;page=({$page})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})">次></a></p>
    242 ({/if})
     156({if $is_next})<p class="next"><a href="({t_url m=pc a=page_c_event_member_list})&amp;direc=1&amp;page=({$page})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})">次を表示</a></p>({/if})
    243157</div>
    244158
    245 </div>
    246 </div>
    247 <!-- ******ここまで:メンバー一覧(メンバーあり)****** -->
     159</div></div>
    248160({* }}} *})
    249 
    250161({else})
    251 
    252162({* {{{ simpleBox *})
    253163<div class="dparts simpleBox"><div class="parts">
     
    258168</div></div>
    259169({* }}} *})
    260 
    261170({/if})
    262171
Note: See TracChangeset for help on using the changeset viewer.