<?php if(!defined("__ZBXE__")) exit();?><!-- 목록 출력 -->
    <form action="./" method="get">
    <?php @$__Context->_col_count = 2;;?>
    <?php  if($__Context->module_info->display_number!='N'){ ?><?php @$__Context->_col_count++;?><?php  } ?>
    <?php  if($__Context->grant->manager){ ?><?php @$__Context->_col_count++;?><?php  } ?>
    <?php  if($__Context->module_info->display_author!='N'){ ?><?php @$__Context->_col_count++;?><?php  } ?>
    <?php  if($__Context->module_info->display_readed_count!='N'){ ?><?php @$__Context->_col_count++;?><?php  } ?>
    <?php  if($__Context->module_info->display_voted_count!='N'){ ?><?php @$__Context->_col_count++;?><?php  } ?>
    <?php  if($__Context->module_info->display_regdate != 'N'){ ?><?php @$__Context->_col_count++;?><?php  } ?>
    <?php  if($__Context->module_info->display_last_update == 'Y'){ ?><?php @$__Context->_col_count++;?><?php  } ?>

        <table cellspacing="0" summary="" class="boardList">
        <?php  if($__Context->_col_count>2){ ?>
        <thead>
            <?php @$__Context->no_line_class = " no_line";?>
            <tr>
                <?php  if($__Context->module_info->display_number!='N'){ ?><th scope="col" class="num<?php @print($__Context->no_line_class);?>"><div><?php @print($__Context->lang->no);?></div></th><?php @$__Context->no_line_class="";?><?php  } ?>

                <?php  if($__Context->grant->manager){ ?><th scope="col" class="checkbox<?php @print($__Context->no_line_class);?>"><input type="checkbox" onclick="XE.checkboxToggleAll({ doClick:true }); return false;" /></th><?php @$__Context->no_line_class="";?><?php  } ?>

                <th scope="col" colspan="2" class="<?php  if($__Context->module_info->use_category=='Y'){ ?>category<?php  }else{ ?>title<?php  } ?><?php @print($__Context->no_line_class);?>"><div>

                    <?php  if($__Context->module_info->use_category == "Y"){ ?>
                        <select name="category" id="board_category" onchange="doChangeCategory();">
                            <option value="" ><?php @print($__Context->lang->category);?></option>
                            <?php $__Context->Context->__idx[0]=0;if(count($__Context->category_list))  foreach($__Context->category_list as $__Context->val){$__Context->__idx[1]=($__Context->__idx[1]+1)%2; $__Context->cycle_idx = $__Context->__idx[1]+1; ?>
                            <option value="<?php @print($__Context->val->category_srl);?>" <?php  if($__Context->category==$__Context->val->category_srl){ ?>selected="selected"<?php  } ?>><?php @print(str_repeat("&nbsp;&nbsp;",$__Context->val->depth));?> <?php @print($__Context->val->title);?> <?php  if($__Context->val->document_count){ ?>(<?php @print($__Context->val->document_count);?>)<?php  } ?></option>
                            <?php  } ?>
                        </select>
                        <input type="button" name="go_button" id= "go_button" value="GO" onclick="doChangeCategory(); return false;" class="buttonTypeGo" />
                    <?php  }else{ ?>
                    <?php @print($__Context->lang->title);?>
                    <?php  } ?>
                </div></th>
                <?php  if($__Context->module_info->display_author!='N'){ ?><th class="author" scope="col"><div><?php @print($__Context->lang->writer);?></div></th><?php  } ?>

                <?php  if($__Context->module_info->display_voted_count!='N'){ ?><th class="recommend" scope="col"><div>바로가기</div></th><?php  } ?>

				<?php  if($__Context->module_info->display_readed_count!='N'){ ?><th class="reading" scope="col"><div><a href="<?php @print(getUrl('sort_index','readed_count','order_type',$__Context->order_type));?>"><?php @print($__Context->lang->readed_count);?><?php  if($__Context->sort_index=='readed_count'){ ?><img src="/board/./modules/board/skins/moonhouse_board/images/common/<?php @print($__Context->order_icon);?>" alt="" width="5" height="3" class="sort" /><?php  } ?></a></div></th><?php  } ?>

                <?php  if($__Context->module_info->display_regdate != 'N'){ ?><th scope="col" class="date"><div><a href="<?php @print(getUrl('sort_index','regdate','order_type',$__Context->order_type));?>"><?php @print($__Context->lang->date);?><?php  if($__Context->sort_index=='regdate'){ ?><img src="/board/./modules/board/skins/moonhouse_board/images/common/<?php @print($__Context->order_icon);?>" alt="" width="5" height="3" class="sort" /><?php  } ?></a></div></th><?php  } ?>

                <?php  if($__Context->module_info->display_last_update=='Y'){ ?><th scope="col" class="date"><div><a href="<?php @print(getUrl('sort_index','last_update','order_type',$__Context->order_type));?>"><?php @print($__Context->lang->last_update);?><?php  if($__Context->sort_index=='last_update'){ ?><img src="/board/./modules/board/skins/moonhouse_board/images/common/<?php @print($__Context->order_icon);?>" alt="" width="5" height="3" class="sort" /><?php  } ?></a></div></th><?php  } ?>



            </tr>
        </thead>
        <?php  } ?>

        <tbody>

        <?php  if(!$__Context->document_list && !$__Context->notice_list){ ?>
            <tr class="bg0">
                <td colspan="<?php @print($__Context->_col_count);?>" class="title">
                    <?php @print($__Context->lang->no_documents);?>
                </td>
            </tr>
        <?php  }else{ ?>
            <?php $__Context->Context->__idx[1]=0;if(count($__Context->notice_list))  foreach($__Context->notice_list as $__Context->no => $__Context->document){$__Context->__idx[2]=($__Context->__idx[2]+1)%2; $__Context->cycle_idx = $__Context->__idx[2]+1; ?>
                <tr class="notice">
                    <?php  if($__Context->module_info->display_number!='N'){ ?><td class="notice"><?php @print($__Context->lang->notice);?></td><?php  } ?>
                    <?php  if($__Context->grant->manager){ ?><td class="checkbox"><input type="checkbox" name="cart" value="<?php @print($__Context->document->document_srl);?>" onclick="doAddDocumentCart(this)" <?php  if($__Context->document->isCarted()){ ?>checked="checked"<?php  } ?> /></td><?php  } ?>
                    <td class="title" colspan="2">
                        <?php  if($__Context->module_info->use_category == "Y" && $__Context->document->get('category_srl')){ ?>
                        	<!--
                            <strong class="category" <?php  if($__Context->category_list[$__Context->document->get('category_srl')]->color){ ?>style="color:<?php @print($__Context->category_list[$__Context->document->get('category_srl')]->color);?>;"<?php  } ?>><?php @print($__Context->category_list[$__Context->document->get('category_srl')]->title);?></strong>
                            -->
                            <strong class="category"><?php @print($__Context->category_list[$__Context->document->get('category_srl')]->title);?></strong>
                            
                        <?php  } ?>

                        <a href="<?php @print(getUrl('document_srl',$__Context->document->document_srl, 'listStyle', $__Context->listStyle, 'cpage',''));?>"><?php @print($__Context->document->getTitle($__Context->module_info->subject_cut_size));?></a>
                        
                        <?php  if($__Context->document->getCommentCount()){ ?>
                            <span class="replyAndTrackback" title="Replies"><img src="/board/./modules/board/skins/moonhouse_board/images/<?php @print($__Context->module_info->colorset);?>/iconReply.gif" alt="" width="12" height="12" class="icon" /> <strong><?php @print($__Context->document->getCommentCount());?></strong></span>
                        <?php  } ?>

                        <?php  if($__Context->document->getTrackbackCount()){ ?>
                            <span class="replyAndTrackback" title="Trackbacks"><img src="/board/./modules/board/skins/moonhouse_board/images/<?php @print($__Context->module_info->colorset);?>/iconTrackback.gif" alt="" width="12" height="13" class="trackback icon" /> <strong><?php @print($__Context->document->getTrackbackCount());?></strong></span>
                        <?php  } ?>
                        
                        <?php @print($__Context->document->printExtraImages(60*60*$__Context->module_info->duration_new));?>
                    </td>
                    <?php  if($__Context->module_info->display_author!='N'){ ?><td class="author"><div class="member_<?php @print($__Context->document->get('member_srl'));?>"><?php @print($__Context->document->getNickName());?></div></td><?php  } ?>
                    <?php  if($__Context->module_info->display_voted_count!='N'){ ?><td class="recommend"><td><?php @print($__Context->document->getExtraValueHTML(1));?></td><?php  } ?>
					<?php  if($__Context->module_info->display_readed_count!='N'){ ?><td class="reading"><?php @print($__Context->document->get('readed_count')>0?$__Context->document->get('readed_count'):'&nbsp;');?></td><?php  } ?>                    
                    <?php  if($__Context->module_info->display_regdate!='N'){ ?><td class="date"><?php @print($__Context->document->getRegdate('Y-m-d'));?></td><?php  } ?>
                    <?php  if($__Context->module_info->display_last_update=='Y'){ ?><td class="date"><?php @print(zdate($__Context->document->get('last_update'),'Y-m-d H:i'));?></td><?php  } ?>



				</tr>
            <?php  } ?>

            <?php $__Context->Context->__idx[2]=0;if(count($__Context->document_list))  foreach($__Context->document_list as $__Context->no => $__Context->document){$__Context->__idx[3]=($__Context->__idx[3]+1)%2; $__Context->cycle_idx = $__Context->__idx[3]+1; ?>
                <tr class="bg<?php @print(($__Context->no+1)%2+1);?>">

                    <?php  if($__Context->module_info->display_number!='N'){ ?><td rowspan="2" class="num"><?php  if($__Context->document_srl == $__Context->document->document_srl){ ?><img src="/board/./modules/board/skins/moonhouse_board/images/common/iconArrowD8.gif" border="0" alt="" /><?php  }else{ ?><?php @print($__Context->no);?><?php  } ?></td><?php  } ?>

                    <?php  if($__Context->grant->manager){ ?><td class="checkbox" rowspan="2"><input type="checkbox" name="cart" value="<?php @print($__Context->document->document_srl);?>" onclick="doAddDocumentCart(this)" <?php  if($__Context->document->isCarted()){ ?>checked="checked"<?php  } ?> /></td><?php  } ?>

                    <?php  if($__Context->document->thumbnailExists($__Context->module_info->thumbnail_width, $__Context->module_info->thumbnail_height, $__Context->module_info->thumbnail_type)){ ?>
                    <td rowspan="2" class="thumb"><a href="<?php @print(getUrl('document_srl',$__Context->document->document_srl,'listStyle',$__Context->listStyle, 'cpage',''));?>"><img src="<?php @print($__Context->document->getThumbnail($__Context->module_info->thumbnail_width, $__Context->module_info->thumbnail_height, $__Context->module_info->thumbnail_type));?>" border="0" alt="" /></a></td>
                    <td class="webzineTitle">
                    <?php  }else{ ?>
                    <td class="webzineTitle" colspan="2">
                    <?php  } ?>
                        <?php  if($__Context->module_info->display_category!='N'){ ?>
                        <?php  if($__Context->module_info->use_category == "Y" && $__Context->document->get('category_srl')){ ?>
                        <!--
                            <strong class="category" <?php  if($__Context->category_list[$__Context->document->get('category_srl')]->color){ ?>style="color:<?php @print($__Context->category_list[$__Context->document->get('category_srl')]->color);?>;"<?php  } ?>><?php @print($__Context->category_list[$__Context->document->get('category_srl')]->title);?></strong>
                        -->
                            <strong class="category"><?php @print($__Context->category_list[$__Context->document->get('category_srl')]->title);?></strong>
                        <?php  } ?>
                        <?php  } ?>

                        <a href="<?php @print(getUrl('document_srl',$__Context->document->document_srl, 'listStyle', $__Context->listStyle, 'cpage',''));?>"><?php @print($__Context->document->getTitle($__Context->module_info->subject_cut_size));?></a>
                        
                        <?php  if($__Context->document->getCommentCount()){ ?>
                            <span class="replyAndTrackback" title="Replies"><img src="/board/./modules/board/skins/moonhouse_board/images/<?php @print($__Context->module_info->colorset);?>/iconReply.gif" alt="" width="12" height="12" class="icon" /> <strong><?php @print($__Context->document->getCommentCount());?></strong></span>
                        <?php  } ?>

                        <?php  if($__Context->document->getTrackbackCount()){ ?>
                            <span class="replyAndTrackback" title="Trackbacks"><img src="/board/./modules/board/skins/moonhouse_board/images/<?php @print($__Context->module_info->colorset);?>/iconTrackback.gif" alt="" width="12" height="13" class="trackback icon" /> <strong><?php @print($__Context->document->getTrackbackCount());?></strong></span>
                        <?php  } ?>
                        <?php @print($__Context->document->printExtraImages(60*60*$__Context->module_info->duration_new));?>
                    </td>
                    <?php  if($__Context->module_info->display_author!='N'){ ?><td class="author"><div class="member_<?php @print($__Context->document->get('member_srl'));?>"><?php @print($__Context->document->getNickName());?></div></td><?php  } ?>
                    <?php  if($__Context->module_info->display_voted_count!='N'){ ?><td class="recommend"><?php @print($__Context->document->getExtraValueHTML(1));?></td><?php  } ?>					
					<?php  if($__Context->module_info->display_readed_count!='N'){ ?><td class="reading"><?php @print($__Context->document->get('readed_count')>0?$__Context->document->get('readed_count'):'&nbsp;');?></td><?php  } ?>
                    <?php  if($__Context->module_info->display_regdate!='N'){ ?><td class="date"><?php @print($__Context->document->getRegdate('Y-m-d'));?></td><?php  } ?>
                    <?php  if($__Context->module_info->display_last_update=='Y'){ ?><td class="date"><?php @print(zdate($__Context->document->get('last_update'),'Y-m-d H:i'));?></td><?php  } ?>


                </tr>
                <?php @$__Context->_col_count = 1;;?>
                <?php  if(!$__Context->document->thumbnailExists($__Context->module_info->thumbnail_width, $__Context->module_info->thumbnail_height, $__Context->module_info->thumbnail_type)){ ?><?php @$__Context->_col_count++;?><?php  } ?>
                <?php  if($__Context->module_info->display_author!='N'){ ?><?php @$__Context->_col_count++;?><?php  } ?>
                <?php  if($__Context->module_info->display_readed_count!='N'){ ?><?php @$__Context->_col_count++;?><?php  } ?>
                <?php  if($__Context->module_info->display_voted_count!='N'){ ?><?php @$__Context->_col_count++;?><?php  } ?>
                <?php  if($__Context->module_info->display_regdate != 'N'){ ?><?php @$__Context->_col_count++;?><?php  } ?>
                <?php  if($__Context->module_info->display_last_update == 'Y'){ ?><?php @$__Context->_col_count++;?><?php  } ?>
                <tr class="bg<?php @print(($__Context->no+1)%2+1);?>">
                    <td colspan="<?php @print($__Context->_col_count);?>" class="summary">
                        <?php  if($__Context->grant->view){ ?>
                        <a href="<?php @print(getUrl('document_srl',$__Context->document->document_srl, 'listStyle', $__Context->listStyle, 'cpage',''));?>"><?php @print($__Context->document->getSummary($__Context->module_info->content_cut_size));?></a>
                        <?php  } ?>
                        &nbsp;
                    </td>
                </tr>
            <?php  } ?>
        <?php  } ?>
        </tbody>
        </table>
    </form>