<query id="getDocumentList" action="select">
    <tables>
        <table name="documents" />
    </tables>
    <columns>
        <column name="*" />
    </columns>
    <conditions>
        <condition operation="in" column="module_srl" var="module_srl" filter="number" />
        <condition operation="notin" column="module_srl" var="exclude_module_srl" filter="number" pipe="and" />
        <condition operation="in" column="category_srl" var="category_srl" pipe="and" />
        <condition operation="equal" column="is_notice" var="s_is_notice" pipe="and" />
        <condition operation="equal" column="member_srl" var="member_srl" filter="number" pipe="and" />
        <condition operation="in" column="status" var="status_list" pipe="and" />
        <condition operation="more" column="list_order" var="division" pipe="and" />
        <condition operation="below" column="list_order" var="last_division" pipe="and" />
        <condition operation="more" column="last_update" var="start_date" pipe="and" />
        <condition operation="less" column="last_update" var="end_date" pipe="and" />
        <condition operation="like" column="title" var="tl_title" pipe="and" />
        <condition operation="like" column="content" var="tl_content" pipe="and" />
        <condition operation="like" column="tags" var="tl_tags" pipe="and" />
        <condition operation="excess" column="readed_count" var="tl_excess_readed_count" filter="number" pipe="and" />
        <condition operation="below" column="readed_count" var="tl_below_readed_count" filter="number" pipe="and" />
        <condition operation="more" column="readed_count" var="tl_more_readed_count" filter="number" pipe="and" />
        <condition operation="less" column="readed_count" var="tl_less_readed_count" filter="number" pipe="and" />
        <condition operation="excess" column="voted_count" var="tl_excess_voted_count" filter="number" pipe="and" />
        <condition operation="below" column="voted_count" var="tl_below_voted_count" filter="number" pipe="and" />
        <condition operation="more" column="voted_count" var="tl_more_voted_count" filter="number" pipe="and" />
        <condition operation="less" column="voted_count" var="tl_less_voted_count" filter="number" pipe="and" />
        <condition operation="below" column="blamed_count" var="tl_excess_blamed_count" filter="number" pipe="and" />
        <condition operation="excess" column="blamed_count" var="tl_below_blamed_count" filter="number" pipe="and" />
        <condition operation="less" column="blamed_count" var="tl_more_blamed_count" filter="number" pipe="and" />
        <condition operation="more" column="blamed_count" var="tl_less_blamed_count" filter="number" pipe="and" />
        <condition operation="excess" column="comment_count" var="tl_excess_comment_count" filter="number" pipe="and" />
        <condition operation="below" column="comment_count" var="tl_below_comment_count" filter="number" pipe="and" />
        <condition operation="more" column="comment_count" var="tl_more_comment_count" filter="number" pipe="and" />
        <condition operation="less" column="comment_count" var="tl_less_comment_count" filter="number" pipe="and" />
        <condition operation="excess" column="voted_count + blamed_count" var="tl_excess_popular_count" filter="number" pipe="and" />
        <condition operation="below" column="voted_count + blamed_count" var="tl_below_popular_count" filter="number" pipe="and" />
        <condition operation="more" column="voted_count + blamed_count" var="tl_more_popular_count" filter="number" pipe="and" />
        <condition operation="less" column="voted_count + blamed_count" var="tl_less_popular_count" filter="number" pipe="and" />
        <condition operation="more" column="regdate" var="tl_least_date" filter="number" pipe="and" />
        <condition operation="less" column="regdate" var="tl_last_date" filter="number" pipe="and" />
        <group pipe="and">
            <condition operation="like" column="title" var="s_title" />
            <condition operation="like" column="content" var="s_content" pipe="or" />
            <condition operation="like" column="user_name" var="s_user_name" pipe="or" />
            <condition operation="like" column="user_id" var="s_user_id" pipe="or" />
            <condition operation="like" column="nick_name" var="s_nick_name" pipe="or" />
            <condition operation="like" column="email_address" var="s_email_address" pipe="or" />
            <condition operation="like" column="homepage" var="s_homepage" pipe="or" />
            <condition operation="like" column="tags" var="s_tags" pipe="or" />
            <condition operation="equal" column="member_srl" var="s_member_srl" pipe="or" />
            <condition operation="more" column="readed_count" var="s_readed_count" pipe="or" />
            <condition operation="more" column="voted_count" var="s_voted_count" pipe="or" />
            <condition operation="less" column="blamed_count" var="s_blamed_count" pipe="or" />
            <condition operation="more" column="comment_count" var="s_comment_count" pipe="or" />
            <condition operation="more" column="trackback_count" var="s_trackback_count" pipe="or" />
            <condition operation="more" column="uploaded_count" var="s_uploaded_count" pipe="or" />
            <condition operation="like_prefix" column="regdate" var="s_regdate" pipe="or" />
            <condition operation="like_prefix" column="last_update" var="s_last_update" pipe="or" />
            <condition operation="like_prefix" column="ipaddress" var="s_ipaddress" pipe="or" />
        </group>
    </conditions>
    <navigation>
        <index var="sort_index" default="list_order" order="order_type" />
        <list_count var="list_count" default="20" />
        <page_count var="page_count" default="10" />
        <page var="page" default="1" />
    </navigation>
</query>

 

 

 

위 내용이 제가 예상하는 파일 getDocumentList.xml 의 내용입니다.

비밀글을 제외하고 싶은데요. 무엇을 추가해야 하나요???

  • profile
    웹지기 2016.08.04 13:13:07
    이 파일에서 처리하는게 아니라면 다른 파일에서 처리하는 방법을 알려주시면 감사하겠습니다.
  • profile
    웹지기 2016.08.04 13:47:13

    그냥 스킨에서 처리 했습니다.

    cond="!$document->isSecret()"


서버에 요청 중입니다. 잠시만 기다려 주십시오...