mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-24 21:59:55 +09:00
List Page Complete.
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4718 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
b0d796f362
commit
c9cc304fcc
9 changed files with 744 additions and 393 deletions
|
|
@ -1,16 +1,17 @@
|
|||
<!-- 목록 출력 -->
|
||||
{@ $_col_count = 1; }
|
||||
<!--@if($module_info->display_number!='N')-->{@ $_col_count++}<!--@end-->
|
||||
<!--@if($grant->is_admin)-->{@ $_col_count++}<!--@end-->
|
||||
<!--@if($module_info->display_author!='N')-->{@ $_col_count++}<!--@end-->
|
||||
<!--@if($module_info->display_readed_count!='N')-->{@ $_col_count++}<!--@end-->
|
||||
<!--@if($module_info->display_voted_count!='N')-->{@ $_col_count++}<!--@end-->
|
||||
<!--@if($module_info->display_regdate != 'N')-->{@ $_col_count++}<!--@end-->
|
||||
<!--@if($module_info->display_last_update == 'Y')-->{@ $_col_count++}<!--@end-->
|
||||
|
||||
<form action="./" method="get" class="boardListForm">
|
||||
<fieldset>
|
||||
<legend>List of Articles</legend>
|
||||
|
||||
{@ $_col_count = 1; }
|
||||
<!--@if($module_info->display_number!='N')-->{@ $_col_count++}<!--@end-->
|
||||
<!--@if($grant->is_admin)-->{@ $_col_count++}<!--@end-->
|
||||
<!--@if($module_info->display_author!='N')-->{@ $_col_count++}<!--@end-->
|
||||
<!--@if($module_info->display_readed_count!='N')-->{@ $_col_count++}<!--@end-->
|
||||
<!--@if($module_info->display_voted_count!='N')-->{@ $_col_count++}<!--@end-->
|
||||
<!--@if($module_info->display_regdate != 'N')-->{@ $_col_count++}<!--@end-->
|
||||
<!--@if($module_info->display_last_update == 'Y')-->{@ $_col_count++}<!--@end-->
|
||||
|
||||
<table cellspacing="0" border="1" summary="List of Articles" class="boardList">
|
||||
<!--@if($_col_count>1)-->
|
||||
<thead>
|
||||
|
|
@ -20,9 +21,9 @@
|
|||
|
||||
<!--@if($grant->is_admin)--><th scope="col"><input type="checkbox" onclick="clickCheckBoxAll(this.form, 'cart'); return false;" /></th>{@ $no_line_class=""}<!--@end-->
|
||||
|
||||
<th scope="col">
|
||||
<th scope="col" class="title">
|
||||
<!--@if($module_info->use_category == "Y")-->
|
||||
<span class="jumpTo">
|
||||
<!--@if($module_info->use_category == "Y")-->
|
||||
<!--// 카테고리 사용시 카테고리 선택 표시 -->
|
||||
<select name="category" id="board_category">
|
||||
<option value="">{$lang->category}</option>
|
||||
|
|
@ -31,9 +32,8 @@
|
|||
<!--@end-->
|
||||
</select>
|
||||
<button type="button" name="go_button" id="go_button" onclick="doChangeCategory(); return false;" class="button">Go</button>
|
||||
<!--@else-->
|
||||
<!--@end-->
|
||||
</span>
|
||||
<!--@end-->
|
||||
{$lang->title}
|
||||
</th>
|
||||
|
||||
|
|
@ -50,71 +50,75 @@
|
|||
|
||||
<!--@if(!$document_list && !$notice_list)-->
|
||||
<!--// 게시물이 없으면 등록된 글이 없음을 표시 -->
|
||||
<tr class="bg0 tCenter">
|
||||
<td colspan="{$_col_count}" class="title">
|
||||
<tr>
|
||||
<td colspan="{$_col_count}">
|
||||
{$lang->no_documents}
|
||||
</td>
|
||||
</tr>
|
||||
<!--@else-->
|
||||
<!--// 공지사항 출력 -->
|
||||
<!--@foreach($notice_list as $no => $document)-->
|
||||
<tr class="notice">
|
||||
<!--@if($module_info->display_number!='N')--><td class="notice"><!--@if($document_srl == $document->document_srl)--><img src="./images/common/iconArrowD8.gif" border="0" alt="" /><!--@else-->{$lang->notice}<!--@end--></td><!--@end-->
|
||||
<!--@if($grant->is_admin)--><td class="check"><input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> /></td><!--@end-->
|
||||
<td class="title">
|
||||
<!--@if($module_info->use_category == "Y" && $document->get('category_srl'))-->
|
||||
<strong class="category">{$category_list[$document->get('category_srl')]->title}</strong>
|
||||
<!--@end-->
|
||||
|
||||
<!--// 공지사항 출력 -->
|
||||
<!--@foreach($notice_list as $no => $document)-->
|
||||
<tr class="notice">
|
||||
<!--@if($module_info->display_number!='N')--><td class="notice"><!--@if($document_srl == $document->document_srl)--><img src="./images/common/iconArrowD8.gif" border="0" alt="" /><!--@else-->{$lang->notice}<!--@end--></td><!--@end-->
|
||||
<!--@if($grant->is_admin)--><td class="check"><input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> /></td><!--@end-->
|
||||
<td class="title">
|
||||
|
||||
<!--@if($module_info->use_category == "Y" && $document->get('category_srl'))-->
|
||||
<strong class="category">{$category_list[$document->get('category_srl')]->title}</strong>
|
||||
<!--@end-->
|
||||
|
||||
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a>
|
||||
|
||||
<!--@if($document->getCommentCount())-->
|
||||
<span class="replyNum" title="Replies"><strong>{$document->getCommentCount()}</strong><sup>Replies</sup></span>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($document->getTrackbackCount())-->
|
||||
<span class="replyNum" title="Trackbacks"><strong>{$document->getTrackbackCount()}</strong><sup>Tackback</sup></span>
|
||||
<!--@end-->
|
||||
|
||||
{$document->printExtraImages(60*60*$module_info->duration_new)}
|
||||
</td>
|
||||
<!--@if($module_info->display_author!='N')--><td class="author"><a href="#popup_menu_area" class="member_{$document->get('member_srl')}">{$document->getNickName()}</a></td><!--@end-->
|
||||
<!--@if($module_info->display_readed_count!='N')--><td class="reading">{$document->get('readed_count')>0?$document->get('readed_count'):' '}</td><!--@end-->
|
||||
<!--@if($module_info->display_voted_count!='N')--><td class="recommend">{$document->get('voted_count')!=0?$document->get('voted_count'):' '}</td><!--@end-->
|
||||
<!--@if($module_info->display_regdate!='N')--><td class="date">{$document->getRegdate('Y-m-d')}</td><!--@end-->
|
||||
<!--@if($module_info->display_last_update=='Y')--><td class="date">{zdate($document->get('last_update'),'Y-m-d H:i')}</td><!--@end-->
|
||||
</tr>
|
||||
<!--@end-->
|
||||
|
||||
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a>
|
||||
|
||||
<!--@if($document->getCommentCount())-->
|
||||
<span class="replyNum" title="Replies"><strong>{$document->getCommentCount()}</strong><sup>Replies</sup></span>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($document->getTrackbackCount())-->
|
||||
<span class="replyNum" title="Trackbacks"><strong>{$document->getTrackbackCount()}</strong><sup>Tackback</sup></span>
|
||||
<!--@end-->
|
||||
|
||||
{$document->printExtraImages(60*60*$module_info->duration_new)}
|
||||
</td>
|
||||
<!--@if($module_info->display_author!='N')--><td class="author"><a href="#popup_menu_area" class="member_{$document->get('member_srl')}">{$document->getNickName()}</a></td><!--@end-->
|
||||
<!--@if($module_info->display_readed_count!='N')--><td class="reading">{$document->get('readed_count')>0?$document->get('readed_count'):' '}</td><!--@end-->
|
||||
<!--@if($module_info->display_voted_count!='N')--><td class="recommend">{$document->get('voted_count')!=0?$document->get('voted_count'):' '}</td><!--@end-->
|
||||
<!--@if($module_info->display_regdate!='N')--><td class="date">{$document->getRegdate('Y-m-d')}</td><!--@end-->
|
||||
<!--@if($module_info->display_last_update=='Y')--><td class="date">{zdate($document->get('last_update'),'Y-m-d H:i')}</td><!--@end-->
|
||||
</tr>
|
||||
<!--@end-->
|
||||
|
||||
<!--// 일반 글 출력 -->
|
||||
<!--@foreach($document_list as $no => $document)-->
|
||||
<tr class="bg{($no+1)%2+1}">
|
||||
<!--@if($module_info->display_number!='N')--><td class="num"><!--@if($document_srl == $document->document_srl)--><img src="./images/common/iconArrowD8.gif" border="0" alt="" /><!--@else-->{$no}<!--@end--></td><!--@end-->
|
||||
<!--@if($grant->is_admin)--><td class="checkbox"><input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> /></td><!--@end-->
|
||||
<td class="title">
|
||||
<!--@if($module_info->use_category == "Y" && $document->get('category_srl'))-->
|
||||
<strong class="category">{$category_list[$document->get('category_srl')]->title}</strong>
|
||||
<!--@end-->
|
||||
|
||||
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a>
|
||||
|
||||
<!--@if($document->getCommentCount())-->
|
||||
<span class="replyNum" title="Replies"><strong>{$document->getCommentCount()}</strong><sup>Replies</sup></span>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($document->getTrackbackCount())-->
|
||||
<span class="replyNum" title="Trackbacks"><strong>{$document->getTrackbackCount()}</strong><sup>Tackback</sup></span>
|
||||
<!--@end-->
|
||||
|
||||
{$document->printExtraImages(60*60*$module_info->duration_new)}
|
||||
</td>
|
||||
<!--@if($module_info->display_author!='N')--><td class="author"><a href="#popup_menu_area" class="member_{$document->get('member_srl')}">{$document->getNickName()}</a></td><!--@end-->
|
||||
<!--@if($module_info->display_readed_count!='N')--><td class="reading">{$document->get('readed_count')>0?$document->get('readed_count'):' '}</td><!--@end-->
|
||||
<!--@if($module_info->display_voted_count!='N')--><td class="recommend">{$document->get('voted_count')!=0?$document->get('voted_count'):' '}</td><!--@end-->
|
||||
<!--@if($module_info->display_regdate!='N')--><td class="date">{$document->getRegdate('Y-m-d')}</td><!--@end-->
|
||||
<!--@if($module_info->display_last_update=='Y')--><td class="date">{zdate($document->get('last_update'),'Y-m-d H:i')}</td><!--@end-->
|
||||
</tr>
|
||||
<!--@end-->
|
||||
<!--// 일반 글 출력 -->
|
||||
<!--@foreach($document_list as $no => $document)-->
|
||||
<tr class="bg{($no+1)%2+1}">
|
||||
<!--@if($module_info->display_number!='N')--><td class="num"><!--@if($document_srl == $document->document_srl)--><img src="./images/common/iconArrowD8.gif" border="0" alt="" /><!--@else-->{$no}<!--@end--></td><!--@end-->
|
||||
<!--@if($grant->is_admin)--><td class="checkbox"><input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> /></td><!--@end-->
|
||||
<td class="title">
|
||||
<!--@if($module_info->use_category == "Y" && $document->get('category_srl'))-->
|
||||
<strong class="category">{$category_list[$document->get('category_srl')]->title}</strong>
|
||||
<!--@end-->
|
||||
|
||||
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a>
|
||||
|
||||
<!--@if($document->getCommentCount())-->
|
||||
<span class="replyNum" title="Replies"><strong>{$document->getCommentCount()}</strong><sup>Replies</sup></span>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($document->getTrackbackCount())-->
|
||||
<span class="replyNum" title="Trackbacks"><strong>{$document->getTrackbackCount()}</strong><sup>Tackback</sup></span>
|
||||
<!--@end-->
|
||||
|
||||
{$document->printExtraImages(60*60*$module_info->duration_new)}
|
||||
</td>
|
||||
<!--@if($module_info->display_author!='N')--><td class="author"><a href="#popup_menu_area" class="member_{$document->get('member_srl')}">{$document->getNickName()}</a></td><!--@end-->
|
||||
<!--@if($module_info->display_readed_count!='N')--><td class="reading">{$document->get('readed_count')>0?$document->get('readed_count'):' '}</td><!--@end-->
|
||||
<!--@if($module_info->display_voted_count!='N')--><td class="recommend">{$document->get('voted_count')!=0?$document->get('voted_count'):' '}</td><!--@end-->
|
||||
<!--@if($module_info->display_regdate!='N')--><td class="date">{$document->getRegdate('Y-m-d')}</td><!--@end-->
|
||||
<!--@if($module_info->display_last_update=='Y')--><td class="date">{zdate($document->get('last_update'),'Y-m-d H:i')}
|
||||
</td>
|
||||
<!--@end-->
|
||||
</tr>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
|
||||
</tbody>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue