UI/UX 실무

XE 레이아웃

by 콘디쌤 posted Jun 08, 2017
?

단축키

Prev이전 문서

Next다음 문서

ESC닫기

크게 작게 위로 아래로 댓글로 가기 인쇄
<?xml version="1.0" encoding="UTF-8"?>
<layout version="0.2">
    <title xml:lang="ko">씨알로그 레이아웃</title>
    <description xml:lang="ko">씨알로그 레이아웃</description>
    <version>0.1</version>
    <date>2016-07-24</date>
    <author email_address="condi@crlog.com" link="http://crlog.com/">
        <name xml:lang="ko">씨알로그</name>
    </author>
    <menus>
        <menu name="GNB" maxdepth="1" default="true">
            <title xml:lang="ko">전역 네비게이션 바</title>
        </menu>
    </menus>	
    <extra_vars>
        <var name="LAYOUT_TYPE" type="select">
            <title xml:lang="ko">레이아웃 타입</title>
            <options value="SUB">
                <title xml:lang="ko">서브 레이아웃</title>
            </options>
            <options value="MAIN">
                <title xml:lang="ko">메인 레이아웃</title>
            </options>
        </var> 
    </extra_vars>    
</layout>


<load target="./css/layout.css" />

<include target="header.html" />

<include target="banner.html" />

<div class="main" cond="$layout_info->LAYOUT_TYPE == 'MAIN'">
</div>

<div class="contents" cond="$layout_info->LAYOUT_TYPE != 'MAIN'">

    <div class="content-left">
        <img class="zbxe_widget_output" widget="crlog_info" skin="default" />
        <include target="nav.html" />
    </div>


    <div class="content-center">
        {$content}
    </div>
    <div class="content-right">
        <include target="ad.html" />

        <include target="best.html" />

        <include target="photo.html" />
        <include target="news.html" />
        <include target="ad2.html" />

    </div>
</div>



<!--include target="footer.html" /> -->

<load target="./css/header.css" />
<header>
    <div class="inner">
        <div class="logo"><a href="/crlog"><img src="img/header-logo4.jpg" /></a></div>
        <section class="gnb">
            <div loop="$GNB->list=>$val1" class="item active|cond="$val1['selected']"">
            <a href="{$val1['href']}" target="_blank"|cond="$val1['open_window']=='Y'">{$val1['link']}</a>
        </div>
        
        </section>
    </div>
</header>