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

Changeset 5625


Ignore:
Timestamp:
Mar 10, 2008, 11:11:40 AM (14 years ago)
Author:
nakasone
Message:

#1948:c_topic_detail.tpl の commentList(コメントリスト)のXHTML+CSS化をした。

File:
1 edited

Legend:

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

    r5494 r5625  
    11({* unknown *})({ext_include file="inc_header.tpl"})
    22({* unknown *})({ext_include file="inc_c_com_topic_find.tpl"})
    3 ({* unknown *})({ext_include file="inc_layoutcolumn_top_720px.tpl"})
     3<div id="Container">
     4<div id="LayoutC">
    45({* unknown *})({***************************})
    56({* unknown *})({**ここから:メインコンテンツ**})
     
    198199({* unknown *})
    199200({* unknown *})<!-- ******************************** -->
    200 ({* #1948 *})<!-- ******ここから:書き込み一覧****** -->
    201 ({* #1948 *})<table border="0" cellspacing="0" cellpadding="0" style="width:650px;margin:0px auto;" class="border_07">
    202 ({* #1948 *})<tr>
    203 ({* #1948 *})<td style="width:7px;" class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    204 ({* #1948 *})<td style="width:636px;" class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    205 ({* #1948 *})<td style="width:7px;" class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    206 ({* #1948 *})</tr>
    207 ({* #1948 *})<tr>
    208 ({* #1948 *})<td class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    209 ({* #1948 *})<td class="bg_01" align="center">
    210 ({* #1948 *})<!-- *ここから:書き込み一覧>内容* -->
    211 ({* #1948 *})({*ここから:header*})
    212 ({* #1948 *})<!-- ここから:小タイトル -->
    213 ({* #1948 *})<table border="0" cellspacing="0" cellpadding="0" style="width:636px;" class="border_01">
    214 ({* #1948 *})<tr>
    215 ({* #1948 *})<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>
    216 ({* #1948 *})<td style="width:598px;padding:2px 0px;" class="bg_06"><span class="b_b c_00">書き込み</span></td>
    217 ({* #1948 *})</tr>
    218 ({* #1948 *})</table>
    219 ({* #1948 *})<!-- ここまで:小タイトル -->
    220 ({* #1948 *})({*ここまで:header*})
    221 ({* #1948 *})({*ここから:body*})
    222 ({* #1948 *})<!-- ここから:主内容 -->
    223 ({* #1948 *})<!-- ここから:主内容>>表示件数切り替え -->
    224 ({* #1948 *})<table border="0" cellspacing="0" cellpadding="0" style="width:636px;">
    225 ({* #1948 *})({*********})
    226 ({* #1948 *})<tr>
    227 ({* #1948 *})<td style="width:636px;height:1px;" class="bg_01" colspan="3"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    228 ({* #1948 *})</tr>
    229 ({* #1948 *})({*********})
    230 ({* #1948 *})<tr>
    231 ({* #1948 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    232 ({* #1948 *})<td style="width:634px;" class="bg_02" align="right" valign="middle">
    233 ({* #1948 *})<div style="padding:4px 3px;">
    234 ({* #1948 *})
    235 ({* #1948 *})({if $all})
    236 ({* #1948 *})<a href="({t_url m=pc a=page_c_topic_detail})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})">最新を表示</a>
    237 ({* #1948 *})({else})
    238 ({* #1948 *})({if $total_num > $page_size})<a href="({t_url m=pc a=page_c_topic_detail})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})&amp;all=1">すべて表示</a> ({/if})
    239 ({* #1948 *})({/if})
    240 ({* #1948 *})({if $is_next})<a href="({t_url m=pc a=page_c_topic_detail})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})&amp;direc=1&amp;page=({$page})"><前</a> ({/if})
    241 ({* #1948 *})({if $is_prev})<a href="({t_url m=pc a=page_c_topic_detail})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})&amp;direc=-1&amp;page=({$page})">次></a> ({/if})
    242 ({* #1948 *}) ({$start_num})番~({$end_num})番を表示
    243 ({* #1948 *})
    244 ({* #1948 *})</div>
    245 ({* #1948 *})</td>
    246 ({* #1948 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    247 ({* #1948 *})</tr>
    248 ({* #1948 *})({*********})
    249 ({* #1948 *})<tr>
    250 ({* #1948 *})<td style="height:1px;" class="bg_01" colspan="3"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    251 ({* #1948 *})</tr>
    252 ({* #1948 *})({*********})
    253 ({* #1948 *})</table>
    254 ({* #1948 *})<!-- ここまで:主内容>>表示件数切り替え -->
    255 ({* #1948 *})<!-- ここから:主内容>>書き込み内容 -->
    256 ({* #1948 *})<table border="0" cellspacing="0" cellpadding="0" style="width:636px;">
    257 ({* #1948 *})({foreach from=$c_topic_write item=item})
    258 ({* #1948 *})({*********})
    259 ({* #1948 *})<tr>
    260 ({* #1948 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    261 ({* #1948 *})<td style="width:110px;" class="bg_05" align="center" valign="middle" rowspan="3">
    262 ({* #1948 *})
    263 ({* #1948 *})<div class="padding_s">
    264 ({* #1948 *})
    265 ({* #1948 *})({$item.r_datetime|date_format:"%Y年%m月%d日"})<br>
    266 ({* #1948 *})({$item.r_datetime|date_format:"%H:%M"})
    267 ({* #1948 *})
    268 ({* #1948 *})</div>
    269 ({* #1948 *})
    270 ({* #1948 *})</td>
    271 ({* #1948 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    272 ({* #1948 *})<td style="width:523px;" class="bg_02" align="left" valign="middle">
    273 ({* #1948 *})<div class="padding_s">
    274 ({* #1948 *})
    275 ({* #1948 *})<span class="b_b">({$item.number})</span>:&nbsp;<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})">({$item.nickname})</a>&nbsp;
    276 ({* #1948 *})({if $c_member_id == $item.c_member_id || $c_member_id == $c_commu.c_member_id_admin || $c_member_id == $c_commu.c_member_id_sub_admin})
    277 ({* #1948 *})<a href="({t_url m=pc a=page_c_topic_write_delete_confirm})&amp;target_c_commu_topic_comment_id=({$item.c_commu_topic_comment_id})">削除</a><br>
    278 ({* #1948 *})({/if})
    279 ({* #1948 *})
    280 ({* #1948 *})</div>
    281 ({* #1948 *})</td>
    282 ({* #1948 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    283 ({* #1948 *})</tr>
    284 ({* #1948 *})({*********})
    285 ({* #1948 *})<tr>
    286 ({* #1948 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    287 ({* #1948 *})<td style="width:525px;" class="bg_01" align="center" colspan="3"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    288 ({* #1948 *})</tr>
    289 ({* #1948 *})({*********})
    290 ({* #1948 *})<tr>
    291 ({* #1948 *})<td class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    292 ({* #1948 *})<td class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    293 ({* #1948 *})<td class="bg_02" align="left" valign="middle" style="width:523px;">
    294 ({* #1948 *})
    295 ({* #1948 *})({if $item.image_filename1 || $item.image_filename2 || $item.image_filename3})
    296 ({* #1948 *})<div class="padding_s">
    297 ({* #1948 *})({if $item.image_filename1})<span class="padding_s"><a href="({t_img_url filename=$item.image_filename1})" target="_blank"><img src="({t_img_url filename=$item.image_filename1 w=120 h=120})"></a></span>({/if})
    298 ({* #1948 *})({if $item.image_filename2})<span class="padding_s"><a href="({t_img_url filename=$item.image_filename2})" target="_blank"><img src="({t_img_url filename=$item.image_filename2 w=120 h=120})"></a></span>({/if})
    299 ({* #1948 *})({if $item.image_filename3})<span class="padding_s"><a href="({t_img_url filename=$item.image_filename3})" target="_blank"><img src="({t_img_url filename=$item.image_filename3 w=120 h=120})"></a></span>({/if})
    300 ({* #1948 *})</div>
    301 ({* #1948 *})({/if})
    302 ({* #1948 *})
    303 ({* #1948 *})<div class="padding_s lh_120">
    304 ({* #1948 *})({$item.body|nl2br|t_url2cmd:'community'|t_cmd:'community'})
    305 ({* #1948 *})</div>
    306 ({* #1948 *})
    307 ({* #1948 *})</td>
    308 ({* #1948 *})<td class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    309 ({* #1948 *})</tr>
    310 ({* #1948 *})({*********})
    311 ({* #1948 *})<tr>
    312 ({* #1948 *})<td style="height:1px;" class="bg_01" colspan="5"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    313 ({* #1948 *})</tr>
    314 ({* #1948 *})({*********})
    315 ({* #1948 *})({/foreach})
    316 ({* #1948 *})</table>
    317 ({* #1948 *})<!-- ここまで:主内容>>書き込み内容 -->
    318 ({* #1948 *})<!-- ここから:主内容>>表示件数切り替え -->
    319 ({* #1948 *})<table border="0" cellspacing="0" cellpadding="0" style="width:636px;">
    320 ({* #1948 *})({*********})
    321 ({* #1948 *})<tr>
    322 ({* #1948 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    323 ({* #1948 *})<td style="width:634px;" class="bg_02" align="right" valign="middle">
    324 ({* #1948 *})<div style="padding:4px 3px;">
    325 ({* #1948 *})
    326 ({* #1948 *})({if $all})
    327 ({* #1948 *})<a href="({t_url m=pc a=page_c_topic_detail})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})">最新を表示</a>
    328 ({* #1948 *})({else})
    329 ({* #1948 *})({if $total_num > $page_size})<a href="({t_url m=pc a=page_c_topic_detail})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})&amp;all=1">すべて表示</a> ({/if})
    330 ({* #1948 *})({/if})
    331 ({* #1948 *})({if $is_next})<a href="({t_url m=pc a=page_c_topic_detail})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})&amp;direc=1&amp;page=({$page})"><前</a> ({/if})
    332 ({* #1948 *})({if $is_prev})<a href="({t_url m=pc a=page_c_topic_detail})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})&amp;direc=-1&amp;page=({$page})">次></a> ({/if})
    333 ({* #1948 *})({$start_num})番~({$end_num})番を表示
    334 ({* #1948 *})
    335 ({* #1948 *})</div>
    336 ({* #1948 *})</td>
    337 ({* #1948 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    338 ({* #1948 *})</tr>
    339 ({* #1948 *})({*********})
    340 ({* #1948 *})<tr>
    341 ({* #1948 *})<td style="height:1px;" class="bg_01" colspan="5"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    342 ({* #1948 *})</tr>
    343 ({* #1948 *})({*********})
    344 ({* #1948 *})</table>
    345 ({* #1948 *})<!-- ここまで:主内容>>表示件数切り替え -->
    346 ({* #1948 *})<!-- ここまで:主内容 -->
    347 ({* #1948 *})({*ここまで:body*})
    348 ({* #1948 *})({*ここから:footer*})
    349 ({* #1948 *})<!-- 無し -->
    350 ({* #1948 *})({*ここまで:footer*})
    351 ({* #1948 *})<!-- *ここまで:書き込み一覧>>内容* -->
    352 ({* #1948 *})</td>
    353 ({* #1948 *})<td class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    354 ({* #1948 *})</tr>
    355 ({* #1948 *})<tr>
    356 ({* #1948 *})<td class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    357 ({* #1948 *})<td class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    358 ({* #1948 *})<td class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    359 ({* #1948 *})</tr>
    360 ({* #1948 *})</table>
    361 ({* #1948 *})<!-- ******ここまで:書き込み一覧****** -->
     201<!-- ******ここから:書き込み一覧****** -->
     202<div class="dparts commentList"><div class="parts">
     203<div class="partsHeading"><h3>書き込み</h3></div>
     204<div class="pagerRelative">
     205({if $all})
     206<p class="next"><a href="({t_url m=pc a=page_c_topic_detail})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})">最新を表示</a></p>
     207({else})
     208({if $total_num > $page_size})
     209<p class="next"><a href="({t_url m=pc a=page_c_topic_detail})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})&amp;all=1">すべて表示</a> ({/if})</p>
     210({/if})
     211({if $is_next})<p class="next"><a href="({t_url m=pc a=page_c_topic_detail})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})&amp;direc=1&amp;page=({$page})#comments"><前</a> ({/if})</p>
     212({if $is_prev})<p class="next"><a href="({t_url m=pc a=page_c_topic_detail})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})&amp;direc=-1&amp;page=({$page})#comments">次></a> ({/if})</p>
     213<p class="number">({$start_num})番~({$end_num})番を表示</p>
     214</div>
     215
     216({foreach from=$c_topic_write item=item})
     217<dl>
     218<dt>({$item.r_datetime|date_format:"%Y年%m月%d日"})<br />({$item.r_datetime|date_format:"%H:%M"})</dt>
     219<dd>
     220<div class="header">
     221<p>({$item.number}):</span>&nbsp;<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})">({$item.nickname})</a>&nbsp;
     222({if $c_member_id == $item.c_member_id || $c_member_id == $c_commu.c_member_id_admin || $c_member_id == $c_commu.c_member_id_sub_admin})
     223 | <a href="({t_url m=pc a=page_c_event_write_delete_confirm})&amp;target_c_commu_topic_comment_id=({$item.c_commu_topic_comment_id})">削除</a>
     224({/if})</p>
     225</div>
     226<div class="body">
     227<ul class="photo">
     228<li>({if $item.image_filename1})<a href="({t_img_url filename=$item.image_filename1})" target="_blank"><img src="({t_img_url filename=$item.image_filename1 w=120 h=120})"></a></span>({/if})</li>
     229<li>({if $item.image_filename2})<a href="({t_img_url filename=$item.image_filename2})" target="_blank"><img src="({t_img_url filename=$item.image_filename2 w=120 h=120})"></a></span>({/if})</li>
     230<li>({if $item.image_filename3})<a href="({t_img_url filename=$item.image_filename3})" target="_blank"><img src="({t_img_url filename=$item.image_filename3 w=120 h=120})"></a></span>({/if})</li>
     231</ul>
     232<p class="text">({$item.body|nl2br|t_url2cmd:'community'|t_cmd:'community'})</p>
     233</div>
     234</dd>
     235</dl>
     236({/foreach})
     237
     238<div class="pagerRelative">
     239({if $all})
     240<p class="next"><a href="({t_url m=pc a=page_c_topic_detail})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})">最新を表示</a>
     241({else})
     242({if $total_num > $page_size})<a href="({t_url m=pc a=page_c_topic_detail})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})&amp;all=1">すべて表示</a> ({/if})
     243({/if})
     244({if $is_next})<a href="({t_url m=pc a=page_c_topic_detail})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})&amp;direc=1&amp;page=({$page})#comments"><前</a> ({/if})
     245({if $is_prev})<a href="({t_url m=pc a=page_c_topic_detail})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})&amp;direc=-1&amp;page=({$page})#comments">次></a> ({/if})</p>
     246<p class="number">({$start_num})番~({$end_num})番を表示</p>
     247</div>
     248</div>
     249</div>
     250<!-- ******ここまで:書き込み一覧****** -->
    362251({* unknown *})<!-- ******************************** -->
    363252({* unknown *})
     
    570459({* unknown *})({**ここまで:メインコンテンツ**})
    571460({* unknown *})({***************************})
    572 ({* unknown *})({ext_include file="inc_layoutcolumn_bottom_270px_165px_175px_720px.tpl"})
     461</div>
     462</div>
    573463({* unknown *})({ext_include file="inc_footer.tpl"})
Note: See TracChangeset for help on using the changeset viewer.