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

Changeset 5667


Ignore:
Timestamp:
Mar 12, 2008, 3:29:48 PM (14 years ago)
Author:
nakasone
Message:

#1948:c_com_topic_find.tpl の searchResultList(検索結果リスト)のXHTML+CSS化をした。

File:
1 edited

Legend:

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

    r5295 r5667  
    11({* unknown *})({ext_include file="inc_header.tpl"})
    2 ({* unknown *})({ext_include file="inc_layoutcolumn_top_720px.tpl"})
    3 ({* unknown *})
     2<div id="Container">
     3<div id="LayoutC">
    44({* unknown *})({***************************})
    55({* unknown *})({**ここから:メインコンテンツ**})
     
    116116({* unknown *})
    117117({* unknown *})<!-- ************************************ -->
    118 ({* #1910 *})<!-- ******ここから:トピック一覧****** -->
    119 ({* #1910 *})<table border="0" cellspacing="0" cellpadding="0" style="width:650px;margin:0px auto;" class="border_07">
    120 ({* #1910 *})<tr>
    121 ({* #1910 *})<td style="width:7px;" class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    122 ({* #1910 *})<td style="width:636px;" class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    123 ({* #1910 *})<td style="width:7px;" class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    124 ({* #1910 *})</tr>
    125 ({* #1910 *})<tr>
    126 ({* #1910 *})<td class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    127 ({* #1910 *})<td class="bg_01" align="center">
    128 ({* #1910 *})<!-- *ここから:トピック一覧>内容* -->
    129 ({* #1910 *})({*ここから:header*})
    130 ({* #1910 *})<!-- ここから:小タイトル -->
    131 ({* #1910 *})<table border="0" cellspacing="0" cellpadding="0" style="width:636px;" class="border_01">
    132 ({* #1910 *})<tr>
    133 ({* #1910 *})<td style="width:36px;" class="bg_06"><img src="({t_img_url_skin filename=content_header_1})" style="width:30px;height:20px;" class="dummy"></td>
    134 ({* #1910 *})<td style="width:600px;padding:2px 0px;" class="bg_06"><span class="c_00"><span class="b_b">({if $c_commu_id})[({$c_commu.name})] ({/if})トピック一覧</span>&nbsp;&nbsp;***&nbsp;
    135 ({* #1910 *})
    136 ({* #1910 *})({if $total_num})
    137 ({* #1910 *})    ({$total_num})
    138 ({* #1910 *})({else})
    139 ({* #1910 *})    0
    140 ({* #1910 *})({/if})
    141 ({* #1910 *})
    142 ({* #1910 *})件&nbsp;が該当しました。</span></td>
    143 ({* #1910 *})</tr>
    144 ({* #1910 *})</table>
    145 ({* #1910 *})<!-- ここまで:小タイトル -->
    146 ({* #1910 *})({*ここまで:header*})
    147 ({* #1910 *})({*ここから:body*})
    148 ({* #1910 *})<!-- ここから:主内容 -->
    149 ({* #1910 *})({if $total_num})
    150 ({* #1910 *})<!-- ここから:主内容>>トピック一覧件数表示タブ -->
    151 ({* #1910 *})<table border="0" cellspacing="0" cellpadding="0" style="width:634px;">
    152 ({* #1910 *})({*********})
    153 ({* #1910 *})<tr>
    154 ({* #1910 *})<td style="width:634px;height:1px;" class="bg_01" colspan="3"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    155 ({* #1910 *})</tr>
    156 ({* #1910 *})({*********})
    157 ({* #1910 *})<tr>
    158 ({* #1910 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    159 ({* #1910 *})<td style="width:632px;" class="bg_02" align="right" valign="middle">
    160 ({* #1910 *})<div style="padding:4px 3px;">
    161 ({* #1910 *})
    162 ({* #1910 *})({if $is_prev})
    163 ({* #1910 *})<a href="({t_url m=pc a=page_c_com_topic_find})&amp;target_commu=in_commu&amp;c_commu_id=({$c_commu_id})&amp;direc=-1&amp;page=({$page})&amp;keyword=({$smarty.capture.keyword_url|smarty:nodefaults})&amp;type=({$search_val_list.type})">前を表示</a>&nbsp;&nbsp;
    164 ({* #1910 *})({/if})
    165 ({* #1910 *})({if $total_num})
    166 ({* #1910 *})({$start_num})件~({$end_num})件を表示
    167 ({* #1910 *})({/if})
    168 ({* #1910 *})({if $is_next})
    169 ({* #1910 *})&nbsp;&nbsp;<a href="({t_url m=pc a=page_c_com_topic_find})&amp;target_commu=in_commu&amp;c_commu_id=({$c_commu_id})&amp;direc=1&amp;page=({$page})&amp;keyword=({$smarty.capture.keyword_url|smarty:nodefaults})&amp;type=({$search_val_list.type})">次を表示</a>
    170 ({* #1910 *})({/if})
    171 ({* #1910 *})
    172 ({* #1910 *})</div>
    173 ({* #1910 *})</td>
    174 ({* #1910 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    175 ({* #1910 *})</tr>
    176 ({* #1910 *})({*********})
    177 ({* #1910 *})<tr>
    178 ({* #1910 *})<td style="width:634px;height:1px;" class="bg_01" colspan="3"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    179 ({* #1910 *})</tr>
    180 ({* #1910 *})({*********})
    181 ({* #1910 *})</table>
    182 ({* #1910 *})<!-- ここまで:主内容>>トピック一覧件数表示タブ -->
    183 ({* #1910 *})({/if})
    184 ({* #1910 *})<!-- ここから:主内容>>トピック一覧本体 -->
    185 ({* #1910 *})<div class="border_01 bg_05" align="center">
    186 ({* #1910 *})
    187 ({* #1910 *})<img src="./skin/dummy.gif" alt="dummy" class="v_spacer_l">
    188 ({* #1910 *})
    189 ({* #1910 *})<!-- ここから:主内容>>トピック一覧本体>>のループ部分 -->
    190 ({* #1910 *})({foreach from=$c_commu_topic_search_list item=c_topic_search})
    191 ({* #1910 *})<div class="border_01 bg_09" style="width:562px;margin:0px auto;" align="center">
    192 ({* #1910 *})<img src="./skin/dummy.gif" alt="dummy" class="v_spacer_m">
    193 ({* #1910 *})<table border="0" cellspacing="0" cellpadding="0" style="width:550px;margin:0px auto;">
    194 ({* #1910 *})({*********})
    195 ({* #1910 *})<tr>
    196 ({* #1910 *})<td style="width:550px;height:1px;" class="bg_01" colspan="7"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    197 ({* #1910 *})</tr>
    198 ({* #1910 *})({*********})
    199 ({* #1910 *})<tr>
    200 ({* #1910 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    201 ({* #1910 *})<td style="width:85px;" class="bg_05" align="left" valign="middle">
    202 ({* #1910 *})
    203 ({* #1910 *})<div class="padding_s">
    204 ({* #1910 *})
    205 ({* #1910 *})トピック名
    206 ({* #1910 *})
    207 ({* #1910 *})</div>
    208 ({* #1910 *})
    209 ({* #1910 *})</td>
    210 ({* #1910 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    211 ({* #1910 *})<td style="width:461px;" class="bg_02" align="left" valign="middle" colspan="3">
    212 ({* #1910 *})
    213 ({* #1910 *})<div class="padding_s">
    214 ({* #1910 *})
    215 ({* #1910 *})({$c_topic_search.name}) (({$c_topic_search.max_number}))
    216 ({* #1910 *})
    217 ({* #1910 *})</div>
    218 ({* #1910 *})
    219 ({* #1910 *})</td>
    220 ({* #1910 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    221 ({* #1910 *})</tr>
    222 ({* #1910 *})({*********})
    223 ({* #1910 *})<tr>
    224 ({* #1910 *})<td style="height:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    225 ({* #1910 *})<td style="height:1px;" class="bg_01" align="center" colspan="5"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    226 ({* #1910 *})</tr>
    227 ({* #1910 *})({*********})
    228 ({* #1910 *})<tr>
    229 ({* #1910 *})<td class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    230 ({* #1910 *})<td class="bg_05" align="left" valign="middle">
    231 ({* #1910 *})
    232 ({* #1910 *})<div class="padding_s">
    233 ({* #1910 *})
    234 ({* #1910 *})本文
    235 ({* #1910 *})
    236 ({* #1910 *})</div>
    237 ({* #1910 *})
    238 ({* #1910 *})</td>
    239 ({* #1910 *})<td class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    240 ({* #1910 *})<td class="bg_02" align="left" valign="middle" colspan="3">
    241 ({* #1910 *})
    242 ({* #1910 *})<div class="padding_s">
    243 ({* #1910 *})
    244 ({* #1910 *})({$c_topic_search.body|t_truncate:36:"":3})
    245 ({* #1910 *})
    246 ({* #1910 *})</div>
    247 ({* #1910 *})
    248 ({* #1910 *})</td>
    249 ({* #1910 *})<td class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    250 ({* #1910 *})</tr>
    251 ({* #1910 *})({*********})
    252 ({* #1910 *})<tr>
    253 ({* #1910 *})<td style="height:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    254 ({* #1910 *})<td style="height:1px;" class="bg_01" align="center" colspan="5"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    255 ({* #1910 *})</tr>
    256 ({* #1910 *})({*********})
    257 ({* #1910 *})<tr>
    258 ({* #1910 *})<td class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    259 ({* #1910 *})<td class="bg_05" align="left" valign="middle">
    260 ({* #1910 *})
    261 ({* #1910 *})<div class="padding_s">
    262 ({* #1910 *})
    263 ({* #1910 *})コミュニティ名
    264 ({* #1910 *})
    265 ({* #1910 *})</div>
    266 ({* #1910 *})
    267 ({* #1910 *})</td>
    268 ({* #1910 *})<td class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    269 ({* #1910 *})<td class="bg_02" align="left" valign="middle" colspan="3">
    270 ({* #1910 *})
    271 ({* #1910 *})<div class="padding_s">
    272 ({* #1910 *})
    273 ({* #1910 *})({$c_topic_search.commu_name})
    274 ({* #1910 *})
    275 ({* #1910 *})</div>
    276 ({* #1910 *})
    277 ({* #1910 *})</td>
    278 ({* #1910 *})<td class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    279 ({* #1910 *})</tr>
    280 ({* #1910 *})({*********})
    281 ({* #1910 *})<tr>
    282 ({* #1910 *})<td style="height:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    283 ({* #1910 *})<td style="height:1px;" class="bg_01" align="center" colspan="5"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    284 ({* #1910 *})</tr>
    285 ({* #1910 *})({*********})
    286 ({* #1910 *})<tr>
    287 ({* #1910 *})<td class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    288 ({* #1910 *})<td class="bg_05" align="left" valign="middle">
    289 ({* #1910 *})
    290 ({* #1910 *})<div class="padding_s">
    291 ({* #1910 *})
    292 ({* #1910 *})投稿日
    293 ({* #1910 *})
    294 ({* #1910 *})</div>
    295 ({* #1910 *})
    296 ({* #1910 *})</td>
    297 ({* #1910 *})<td class="bg_01" align="center" rowspan="3"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    298 ({* #1910 *})<td style="width:249px;" class="bg_02" align="left">
    299 ({* #1910 *})<div class="padding_s">
    300 ({* #1910 *})
    301 ({* #1910 *})({$c_topic_search.max_datetime|date_format:"%m月%d日 %H:%M"})
    302 ({* #1910 *})
    303 ({* #1910 *})</div>
    304 ({* #1910 *})</td>
    305 ({* #1910 *})<td class="bg_01" align="center" rowspan="3"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    306 ({* #1910 *})<td class="bg_02" align="center" valign="middle" rowspan="3">
    307 ({* #1910 *})
    308 ({* #1910 *})<table border="0" cellspacing="0" cellpadding="0" style="width:212px;">
    309 ({* #1910 *})<tr>
    310 ({* #1910 *})<td style="width:271px;" class="bg_03" align="center">
    311 ({* #1910 *})
    312 ({* #1910 *})<div class="padding_s">
    313 ({* #1910 *})
    314 ({* #1910 *})<a href="({t_url m=pc a=page_c_topic_detail})&amp;target_c_commu_topic_id=({$c_topic_search.c_commu_topic_id})"><img src="({t_img_url_skin filename=button_shosai})" class="icon"></a>
    315 ({* #1910 *})
    316 ({* #1910 *})</div>
    317 ({* #1910 *})
    318 ({* #1910 *})</td>
    319 ({* #1910 *})</tr>
    320 ({* #1910 *})</table>
    321 ({* #1910 *})
    322 ({* #1910 *})</td>
    323 ({* #1910 *})<td class="bg_01" align="center" rowspan="3"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    324 ({* #1910 *})</tr>
    325 ({* #1910 *})({*********})
    326 ({* #1910 *})<tr>
    327 ({* #1910 *})<td style="height:1px;" class="bg_01" colspan="7"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    328 ({* #1910 *})</tr>
    329 ({* #1910 *})({*********})
    330 ({* #1910 *})</table>
    331 ({* #1910 *})<img src="./skin/dummy.gif" alt="dummy" class="v_spacer_m">
    332 ({* #1910 *})</div>
    333 ({* #1910 *})
    334 ({* #1910 *})<img src="./skin/dummy.gif" alt="dummy" class="v_spacer_l">
    335 ({* #1910 *})({/foreach})
    336 ({* #1910 *})<!-- ここまで:主内容>>トピック一覧本体>>のループ部分 -->
    337 ({* #1910 *})
    338 ({* #1910 *})</div>
    339 ({* #1910 *})<!-- ここまで:>>トピック一覧本体 -->
    340 ({* #1910 *})({if $total_num})
    341 ({* #1910 *})<!-- ここから:主内容>>トピック一覧件数表示タブ -->
    342 ({* #1910 *})<table border="0" cellspacing="0" cellpadding="0" style="width:634px;">
    343 ({* #1910 *})({*********})
    344 ({* #1910 *})<tr>
    345 ({* #1910 *})<td style="width:634px;height:1px;" class="bg_01" colspan="3"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    346 ({* #1910 *})</tr>
    347 ({* #1910 *})({*********})
    348 ({* #1910 *})<tr>
    349 ({* #1910 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    350 ({* #1910 *})<td style="width:632px;" class="bg_02" align="right" valign="middle">
    351 ({* #1910 *})<div style="padding:4px 3px;">
    352 ({* #1910 *})
    353 ({* #1910 *})({if $is_prev})
    354 ({* #1910 *})<a href="({t_url m=pc a=page_c_com_topic_find})&amp;target_commu=in_commu&amp;c_commu_id=({$c_commu_id})&amp;direc=-1&amp;page=({$page})&amp;type=({$search_val_list.type})&amp;keyword=({$smarty.capture.keyword_url|smarty:nodefaults})">前を表示</a>&nbsp;&nbsp;
    355 ({* #1910 *})({/if})
    356 ({* #1910 *})({if $total_num})
    357 ({* #1910 *})({$start_num})件~({$end_num})件を表示
    358 ({* #1910 *})({/if})
    359 ({* #1910 *})({if $is_next})
    360 ({* #1910 *})&nbsp;&nbsp;<a href="({t_url m=pc a=page_c_com_topic_find})&amp;target_commu=in_commu&amp;c_commu_id=({$c_commu_id})&amp;direc=1&amp;page=({$page})&amp;type=({$search_val_list.type})&amp;keyword=({$smarty.capture.keyword_url|smarty:nodefaults})">次を表示</a>
    361 ({* #1910 *})({/if})
    362 ({* #1910 *})
    363 ({* #1910 *})</div>
    364 ({* #1910 *})</td>
    365 ({* #1910 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    366 ({* #1910 *})</tr>
    367 ({* #1910 *})({*********})
    368 ({* #1910 *})<tr>
    369 ({* #1910 *})<td style="width:634px;height:1px;" class="bg_01" colspan="3"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    370 ({* #1910 *})</tr>
    371 ({* #1910 *})({*********})
    372 ({* #1910 *})</table>
    373 ({* #1910 *})<!-- ここまで:主内容>>トピック一覧件数表示タブ -->
    374 ({* #1910 *})({/if})
    375 ({* #1910 *})<!-- ここまで:主内容 -->
    376 ({* #1910 *})({*ここまで:body*})
    377 ({* #1910 *})({*ここから:footer*})
    378 ({* #1910 *})<!-- 無し -->
    379 ({* #1910 *})({*ここまで:footer*})
    380 ({* #1910 *})<!-- *ここまで:トピック一覧>>内容* -->
    381 ({* #1910 *})</td>
    382 ({* #1910 *})<td class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    383 ({* #1910 *})</tr>
    384 ({* #1910 *})<tr>
    385 ({* #1910 *})<td style="width:7px;" class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    386 ({* #1910 *})<td style="width:636px;" class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    387 ({* #1910 *})<td style="width:7px;" class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    388 ({* #1910 *})</tr>
    389 ({* #1910 *})</table>
    390 ({* #1910 *})<!-- ******ここまで:トピック一覧****** -->
     118<!-- ******ここから:トピック一覧****** -->
     119({if $c_commu_topic_search_list})
     120<div class="dparts searchResultList"><div class="parts">
     121<div class="partsHeading"><h3>トピック一覧</h3><p>*** ({$total_num|default:'0'})&nbsp;件が該当しました。</p>
     122</div>
     123
     124({if $total_num})
     125<div class="pagerRelative">
     126({if $is_prev})
     127<p class="prev"><a href="({t_url m=pc a=page_c_com_topic_find})&amp;target_commu=in_commu&amp;c_commu_id=({$c_commu_id})&amp;direc=-1&amp;page=({$page})&amp;keyword=({$smarty.capture.keyword_url|smarty:nodefaults})&amp;type=({$search_val_list.type})">前を表示</a>&nbsp;&nbsp;</p>
     128({/if})
     129({if $total_num})
     130<p class="number">({$start_num})件~({$end_num})件を表示</p>
     131({/if})
     132({if $is_next})
     133<p class="next">&nbsp;&nbsp;<a href="({t_url m=pc a=page_c_com_topic_find})&amp;target_commu=in_commu&amp;c_commu_id=({$c_commu_id})&amp;direc=1&amp;page=({$page})&amp;keyword=({$smarty.capture.keyword_url|smarty:nodefaults})&amp;type=({$search_val_list.type})">次を表示</a></p>
     134({/if})
     135</div>
     136({/if})
     137
     138<div class="block">
     139({foreach from=$c_commu_topic_search_list item=c_topic_search})
     140<div class="ditem"><div class="item"><table>
     141<tr class="item2"><th>トピック名</th><td>({$c_topic_search.name}) (({$c_topic_search.max_number}))</td></tr>
     142<tr class="item3"><th>本文</th><td>({$c_topic_search.body|t_truncate:36:"":3})</td></tr>
     143<tr class="item2"><th>コミュニティ名</th><td>({$c_topic_search.commu_name})</td></tr>
     144<tr class="item4"><th>投稿日</th><td>({$c_topic_search.max_datetime|date_format:"%m月%d日 %H:%M"})
     145<span class="moreInfo"><a href="({t_url m=pc a=page_c_topic_detail})&amp;target_c_commu_topic_id=({$c_topic_search.c_commu_topic_id})"><img src="({t_img_url_skin filename=button_shosai})" alt="詳細を見る" /></a></span></td></tr>
     146</table>
     147</div>
     148</div>
     149({/foreach})
     150</div>
     151
     152({if $total_num})
     153<div class="pagerRelative">
     154({if $is_prev})
     155<p class="prev"><a href="({t_url m=pc a=page_c_com_topic_find})&amp;target_commu=in_commu&amp;c_commu_id=({$c_commu_id})&amp;direc=-1&amp;page=({$page})&amp;keyword=({$smarty.capture.keyword_url|smarty:nodefaults})&amp;type=({$search_val_list.type})">前を表示</a>&nbsp;&nbsp;</p>
     156({/if})
     157({if $total_num})
     158<p class="number">({$start_num})件~({$end_num})件を表示</p>
     159({/if})
     160({if $is_next})
     161<p class="next">&nbsp;&nbsp;<a href="({t_url m=pc a=page_c_com_topic_find})&amp;target_commu=in_commu&amp;c_commu_id=({$c_commu_id})&amp;direc=1&amp;page=({$page})&amp;keyword=({$smarty.capture.keyword_url|smarty:nodefaults})&amp;type=({$search_val_list.type})">次を表示</a></p>
     162({/if})
     163</div>
     164
     165</div>
     166</div>
     167({/if})
     168<!-- ******ここまで:トピック一覧****** -->
    391169({* unknown *})<!-- ************************************ -->
    392170({* unknown *})
     
    398176({* unknown *})({**ここまで:メインコンテンツ**})
    399177({* unknown *})({***************************})
    400 ({* unknown *})({ext_include file="inc_layoutcolumn_bottom_270px_165px_175px_720px.tpl"})
     178</div>
     179</div>
     180({/if})
    401181({* unknown *})({ext_include file="inc_footer.tpl"})
Note: See TracChangeset for help on using the changeset viewer.