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

Changeset 5618


Ignore:
Timestamp:
Mar 7, 2008, 6:01:56 PM (12 years ago)
Author:
nakasone
Message:

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

File:
1 edited

Legend:

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

    r5503 r5618  
    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 *})({***************************})
     
    525526({* unknown *})({if $c_topic_write.0})
    526527({* unknown *})<!-- ********************************* -->
    527 ({* #1948 *})<!-- ******ここから:書き込み一覧****** -->
    528 ({* #1948 *})
    529 ({* #1948 *})<a name="write"></a>
    530 ({* #1948 *})
    531 ({* #1948 *})<table border="0" cellspacing="0" cellpadding="0" style="width:650px;margin:0px auto;" class="border_07">
    532 ({* #1948 *})<tr>
    533 ({* #1948 *})<td style="width:7px;" class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    534 ({* #1948 *})<td style="width:636px;" class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    535 ({* #1948 *})<td style="width:7px;" class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    536 ({* #1948 *})</tr>
    537 ({* #1948 *})<tr>
    538 ({* #1948 *})<td class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    539 ({* #1948 *})<td class="bg_01" align="center">
    540 ({* #1948 *})<!-- *ここから:書き込み一覧>内容* -->
    541 ({* #1948 *})({*ここから:header*})
    542 ({* #1948 *})<!-- ここから:小タイトル -->
    543 ({* #1948 *})<table border="0" cellspacing="0" cellpadding="0" style="width:636px;" class="border_01">
    544 ({* #1948 *})<tr>
    545 ({* #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>
    546 ({* #1948 *})<td style="width:598px;padding:2px 0px;" class="bg_06"><span class="b_b"><a name="comments">書き込み</a></span></td>
    547 ({* #1948 *})</tr>
    548 ({* #1948 *})</table>
    549 ({* #1948 *})<!-- ここまで:小タイトル -->
    550 ({* #1948 *})({*ここまで:header*})
    551 ({* #1948 *})({*ここから:body*})
    552 ({* #1948 *})<!-- ここから:主内容 -->
    553 ({* #1948 *})<table border="0" cellspacing="0" cellpadding="0" style="width:636px;">
    554 ({* #1948 *})({*********})
    555 ({* #1948 *})<tr>
    556 ({* #1948 *})<td style="width:636px;height:1px;" class="bg_01" colspan="5"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    557 ({* #1948 *})</tr>
    558 ({* #1948 *})({*********})
    559 ({* #1948 *})<tr>
    560 ({* #1948 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    561 ({* #1948 *})<td style="width:634px;" class="bg_02" align="right" valign="middle" colspan="3">
    562 ({* #1948 *})
    563 ({* #1948 *})<div class="padding_s">
    564 ({* #1948 *})
    565 ({* #1948 *})({if $all})
    566 ({* #1948 *})<a href="({t_url m=pc a=page_c_event_detail})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})">最新を表示</a>
    567 ({* #1948 *})({else})
    568 ({* #1948 *})({if $total_num > $page_size})<a href="({t_url m=pc a=page_c_event_detail})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})&amp;all=1">すべて表示</a> ({/if})
    569 ({* #1948 *})({/if})
    570 ({* #1948 *})({if $is_next})<a href="({t_url m=pc a=page_c_event_detail})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})&amp;direc=1&amp;page=({$page})#comments"><前</a> ({/if})
    571 ({* #1948 *})({if $is_prev})<a href="({t_url m=pc a=page_c_event_detail})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})&amp;direc=-1&amp;page=({$page})#comments">次></a> ({/if})
    572 ({* #1948 *})({$start_num})番~({$end_num})番を表示
    573 ({* #1948 *})
    574 ({* #1948 *})</div>
    575 ({* #1948 *})
    576 ({* #1948 *})</td>
    577 ({* #1948 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    578 ({* #1948 *})</tr>
    579 ({* #1948 *})({*********})
    580 ({* #1948 *})<tr>
    581 ({* #1948 *})<td style="height:1px;" class="bg_01" colspan="5"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    582 ({* #1948 *})</tr>
    583 ({* #1948 *})({*********})
    584 ({* #1948 *})({foreach from=$c_topic_write item=item})
    585 ({* #1948 *})<tr>
    586 ({* #1948 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    587 ({* #1948 *})<td style="width:150px;" class="bg_05" align="center" valign="middle" rowspan="3">
    588 ({* #1948 *})
    589 ({* #1948 *})<div class="padding_s">
    590 ({* #1948 *})
    591 ({* #1948 *})({$item.r_datetime|date_format:"%Y年%m月%d日"})<br>
    592 ({* #1948 *})({$item.r_datetime|date_format:"%H:%M"})
    593 ({* #1948 *})
    594 ({* #1948 *})</div>
    595 ({* #1948 *})
    596 ({* #1948 *})</td>
    597 ({* #1948 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    598 ({* #1948 *})<td style="width:483px;" class="bg_02" align="left" valign="middle">
    599 ({* #1948 *})
    600 ({* #1948 *})<div class="padding_s">
    601 ({* #1948 *})
    602 ({* #1948 *})<span class="c_08 b_b">
    603 ({* #1948 *})({$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;
    604 ({* #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})
    605 ({* #1948 *})<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>
    606 ({* #1948 *})({/if})
    607 ({* #1948 *})
    608 ({* #1948 *})</div>
    609 ({* #1948 *})
    610 ({* #1948 *})</td>
    611 ({* #1948 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    612 ({* #1948 *})</tr>
    613 ({* #1948 *})({*********})
    614 ({* #1948 *})<tr>
    615 ({* #1948 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    616 ({* #1948 *})<td style="width:485px;" class="bg_01" align="center" colspan="3"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    617 ({* #1948 *})</tr>
    618 ({* #1948 *})({*********})
    619 ({* #1948 *})<tr>
    620 ({* #1948 *})<td class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    621 ({* #1948 *})<td class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    622 ({* #1948 *})<td class="bg_02" align="left" valign="middle" style="width:483px;">
    623 ({* #1948 *})
    624 ({* #1948 *})({if $item.image_filename1 || $item.image_filename2 || $item.image_filename3})
    625 ({* #1948 *})<div class="padding_s lh_120">
    626 ({* #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})
    627 ({* #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})
    628 ({* #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})
    629 ({* #1948 *})</div>
    630 ({* #1948 *})({/if})
    631 ({* #1948 *})
    632 ({* #1948 *})<div class="padding_s lh_120">
    633 ({* #1948 *})({$item.body|nl2br|t_url2cmd:'community'|t_cmd:'community'})
    634 ({* #1948 *})</div>
    635 ({* #1948 *})
    636 ({* #1948 *})</td>
    637 ({* #1948 *})<td class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    638 ({* #1948 *})</tr>
    639 ({* #1948 *})({*********})
    640 ({* #1948 *})<tr>
    641 ({* #1948 *})<td style="height:1px;" class="bg_01" colspan="5"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    642 ({* #1948 *})</tr>
    643 ({* #1948 *})({*********})
    644 ({* #1948 *})({/foreach})
    645 ({* #1948 *})<tr>
    646 ({* #1948 *})<td class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    647 ({* #1948 *})<td class="bg_02" align="right" valign="middle" colspan="3">
    648 ({* #1948 *})
    649 ({* #1948 *})<div class="padding_s">
    650 ({* #1948 *})
    651 ({* #1948 *})({if $all})
    652 ({* #1948 *})<a href="({t_url m=pc a=page_c_event_detail})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})">最新を表示</a>
    653 ({* #1948 *})({else})
    654 ({* #1948 *})({if $total_num > $page_size})<a href="({t_url m=pc a=page_c_event_detail})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})&amp;all=1">すべて表示</a> ({/if})
    655 ({* #1948 *})({/if})
    656 ({* #1948 *})({if $is_next})<a href="({t_url m=pc a=page_c_event_detail})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})&amp;direc=1&amp;page=({$page})#comments"><前</a> ({/if})
    657 ({* #1948 *})({if $is_prev})<a href="({t_url m=pc a=page_c_event_detail})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})&amp;direc=-1&amp;page=({$page})#comments">次></a> ({/if})
    658 ({* #1948 *})({$start_num})番~({$end_num})番を表示
    659 ({* #1948 *})
    660 ({* #1948 *})</div>
    661 ({* #1948 *})
    662 ({* #1948 *})</td>
    663 ({* #1948 *})<td class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    664 ({* #1948 *})</tr>
    665 ({* #1948 *})({*********})
    666 ({* #1948 *})<tr>
    667 ({* #1948 *})<td style="height:1px;" class="bg_01" colspan="5"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    668 ({* #1948 *})</tr>
    669 ({* #1948 *})({*********})
    670 ({* #1948 *})</table>
    671 ({* #1948 *})<!-- ここまで:主内容 -->
    672 ({* #1948 *})({*ここまで:body*})
    673 ({* #1948 *})({*ここから:footer*})
    674 ({* #1948 *})<!-- 無し -->
    675 ({* #1948 *})({*ここまで:footer*})
    676 ({* #1948 *})<!-- *ここまで:書き込み一覧>>内容* -->
    677 ({* #1948 *})</td>
    678 ({* #1948 *})<td class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    679 ({* #1948 *})</tr>
    680 ({* #1948 *})<tr>
    681 ({* #1948 *})<td class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    682 ({* #1948 *})<td class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    683 ({* #1948 *})<td class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    684 ({* #1948 *})</tr>
    685 ({* #1948 *})</table>
    686 ({* #1948 *})<!-- ******ここまで:書き込み一覧****** -->
     528<!-- ******ここから:書き込み一覧****** -->
     529<div class="dparts commentList"><div class="parts">
     530<div class="partsHeading"><h3>書き込み</h3></div>
     531<div class="pagerRelative">
     532({if $all})
     533<p class="next"><a href="({t_url m=pc a=page_c_event_detail})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})">最新を表示</a></p>
     534({else})
     535({if $total_num > $page_size})
     536<p class="next"><a href="({t_url m=pc a=page_c_event_detail})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})&amp;all=1">すべて表示</a> ({/if})</p>
     537({/if})
     538({if $is_next})<p class="next"><a href="({t_url m=pc a=page_c_event_detail})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})&amp;direc=1&amp;page=({$page})#comments"><前</a> ({/if})</p>
     539({if $is_prev})<p class="next"><a href="({t_url m=pc a=page_c_event_detail})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})&amp;direc=-1&amp;page=({$page})#comments">次></a> ({/if})</p>
     540<p class="number">({$start_num})番~({$end_num})番を表示</p>
     541</div>
     542
     543({foreach from=$c_topic_write item=item})
     544<dl>
     545<dt>({$item.r_datetime|date_format:"%Y年%m月%d日"})<br />({$item.r_datetime|date_format:"%H:%M"})</dt>
     546<dd>
     547<div class="header">
     548<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;
     549({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})
     550 | <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>
     551({/if})</p>
     552</div>
     553<div class="body">
     554<ul class="photo">
     555<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>
     556<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>
     557<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>
     558</ul>
     559<p class="text">({$item.body|nl2br|t_url2cmd:'community'|t_cmd:'community'})</p>
     560</div>
     561</dd>
     562</dl>
     563({/foreach})
     564
     565<div class="pagerRelative">
     566({if $all})
     567<p class="next"><a href="({t_url m=pc a=page_c_event_detail})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})">最新を表示</a>
     568({else})
     569({if $total_num > $page_size})<a href="({t_url m=pc a=page_c_event_detail})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})&amp;all=1">すべて表示</a> ({/if})
     570({/if})
     571({if $is_next})<a href="({t_url m=pc a=page_c_event_detail})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})&amp;direc=1&amp;page=({$page})#comments"><前</a> ({/if})
     572({if $is_prev})<a href="({t_url m=pc a=page_c_event_detail})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})&amp;direc=-1&amp;page=({$page})#comments">次></a> ({/if})</p>
     573<p class="number">({$start_num})番~({$end_num})番を表示</p>
     574</div>
     575</div>
     576</div>
     577<!-- ******ここまで:書き込み一覧****** -->
    687578({* unknown *})<!-- ********************************* -->
    688579({* unknown *})({/if})
     
    911802({* unknown *})({**ここまで:メインコンテンツ**})
    912803({* unknown *})({***************************})
    913 ({* unknown *})({ext_include file="inc_layoutcolumn_bottom_270px_165px_175px_720px.tpl"})
     804</div>
     805</div>
    914806({* unknown *})({ext_include file="inc_footer.tpl"})
Note: See TracChangeset for help on using the changeset viewer.