2015-11-30 13 43 30.png

 

---

<h2>{$module_info->browser_title}</h2>
{@
    $oModuleModel = &getModel('module');
    $columnList = array('module_srl', 'module', 'browser_title', 'mid');
    $mid_list = $oModuleModel->getMidList(null, $columnList);
}
 
<table cellpadding="0" cellspacing="0" border="0" class="PointList">
    <thead>
        <tr>
            <th>게시판</th>
            <th>글 작성</th>
            <th>댓글 작성</th>
            <th>파일 업로드</th>
            <th>파일 다운로드<br /><span style="color:#777;">(이미지 제외)</span></th>
            <th>게시글 조회</th>
            <th>추천 받음</th>
            <th>비추천 받음</th>
        </tr>
    </thead>
    <tbody>
        <tr loop="$mid_list => $val" cond="$val->module == 'board'" >
            {@
                $oModuleModel = &getModel('module');
                $config = $oModuleModel->getModuleConfig('point');
                $module_config = $oModuleModel->getModulePartConfig('point', $val->module_srl);
 
                if($module_config['insert_document']) $insert_document = $module_config['insert_document'];
                else $insert_document = $config->insert_document;
 
                if($module_config['insert_comment']) $insert_comment = $module_config['insert_comment'];
                else $insert_comment = $config->insert_comment;
 
                if($module_config['upload_file']) $upload_file = $module_config['upload_file'];
                else $upload_file = $config->upload_file;
 
                if($module_config['download_file']) $download_file = $module_config['download_file'];
                else $download_file = $config->download_file;
 
                if($module_config['read_document']) $read_document = $module_config['read_document'];
                else $read_document = $config->read_document;
 
                if($module_config['voted']) $voted = $module_config['voted'];
                else $voted = $config->voted;
 
                if($module_config['blamed']) $blamed = $module_config['blamed'];
                else $blamed = $config->blamed;
            }
            <td class="Title"><a href="{getUrl('mid',$val->mid)}">{$val->browser_title}</a></td>
            <td><span>{$insert_document}</span></td>
            <td><span>{$insert_comment}</span></td>
            <td><span>{$upload_file}</span></td>
            <td><span>{$download_file}</span></td>
            <td><span>{$read_document}</span></td>
            <td><span>{$voted}</span></td>
            <td><span>{$blamed}</span></td>
        </tr>
    </tbody>   
</table>

 

---

 

CSS

 

h2 {color:#67a3de}
.PointList {width:100%; height:auto; margin:15px 0px; padding:0px; border:solid #ccc; border-width:2px 0px 1px 0px;}
.PointList > thead > tr > th {width:auto; height:auto; margin:0px; padding:10px; background-color:#efefef; border-bottom:1px dotted #ccc; text-align:center;}
.PointList > tbody > tr > .Title {padding-left:20px; text-align:left; font-weight:bold;}
.PointList > tbody > tr:hover > td {background-color:#FFC;}
.PointList > tbody > tr > td {width:auto; height:auto; margin:0px; padding:10px; border-bottom:1px dotted #ccc; text-align:center;}
.PointList > tbody > tr > td > span {width:30px; height:auto; margin:0px auto; padding:0px; display:block; text-align:right;}
---
 
방법
1. 위 CSS를 사용하시는 레이아웃에 추가
2. 첨부파일이나 상단의 소스코드를 HTML로 만들고 본인 서버에 업로드. 페이지 생성시 외부 HTML 을 불러오면 됨

 

 

 

 

Atachment
첨부

skyo

?
XE타운 관리자 입니다.
관리자 아닌것 같지만 제이쿼리 엔지가 없는게 매력인 관리자 입니다.
  • ?
    오 감사합니다
  • ?
    음.. 왜 잘 안될까요ㅠ.ㅠ... 이상하게 소스들이 쥬륵 나와버리네요..
  • ? ?
    css를 추가안해주신듯합니다~
  • ?
    감사합니다
  • ?
    이 기능 지금 적용했어요~ 너무 감사드립니다~
  • ?
    @socialskyo 특정게시판을 제외 시키는 방법은 뭔가요? 제발 부탁드립니다 ㅠㅠ