묻고답하기
레이아웃편집에서 뭐좀 여쭤볼께요.
2009.04.22 10:33
<!-- 레이아웃과 연동될 css 파일 import -->
<!-- 컬러셋 체크 -->
<colorset">!--@if(!$layout_info->colorset)-->
colorset">{@$layout_info->colorset = "blue"}
<!--@end-->
<!-- CSS 파일 로드 (컬러셋에 따라서) -->
<!--%import("css/layout.css")-->
<!--%import("css/layout_blue.css")-->
<div>
<div>
<div class="floatLeft" style="width:300px;">
<div class="logo">
<h1><logo_image)-->!--@if($layout_info->logo_image)--><a href="{$layout_info->index_url}"><img src="{$layout_info->logo_image}" alt="logo" border="0" class="iePngFix" /></a><!--@else--><a href="{$layout_info->index_url}"><img src="images/logo.png" alt="Logo" class="iePngFix" /></a><!--@end--></h1>
</div>
<div class="topLink">
<a href="http://blooz.net/main/blog/rss" class="topRss">Feed</a>
<!--@if(!$is_logged)-->
<a href="{getUrl('act','dispMemberLoginForm')}" class="topLogin">Login</a>
<!--@else-->
<a href="{getUrl('act','dispMemberLogout')}" class="topLogin">Log Out</a>
<!--@end-->
<is_admin">!--@if($grant->is_admin)-->
<a href="{getUrl('mid', $layout_info->target_mid, 'act','dispBoardWrite','document_srl','')}" class="topWrite">Write</a>
<!--@end-->
</div>
<div class="contRight">
<!-- CATEGORY -->
<div class="rightBoxTop">
<div class="img"><img src="images/right_icn_category.gif" alt="Category" /></div>
<div class="txt">Category</div>
</div>
<div class="rightBoxCenter">
<img class="zbxe_widget_output" widget="category" body="" skin="default" colorset="normal" mid_list="{$layout_info->target_mid}" />
</div>
<div class="rightBoxBottom"><img src="images/right_box_bottom.gif" alt="Bottom" /></div>
<!-- CALENDAR -->
<div class="rightBoxTop">
<div class="img"><img src="images/right_icn_calendar.gif" alt="Category" /></div>
<div class="txt">Calendar</div>
</div>
<div class="rightBoxCenter">
<img src="./images/common/blank.gif" class="zbxe_widget_output" widget="calendar" skin="blog_calendar_list" colorset="layout" mid_list="{$layout_info->target_mid}" />
</div>
<div class="rightBoxBottom"><img src="images/right_box_bottom.gif" alt="Bottom" /></div>
<!-- RECENT ARTICLE -->
<div class="rightBoxTop">
<div class="img"><img src="images/right_icn_article.gif" alt="Category" /></div>
<div class="txt">Recent Article</div>
</div>
<div class="rightBoxCenter">
<img src="./images/common/blank.gif" class="zbxe_widget_output" widget="newest_document" skin="blooz_newest_document" colorset="normal" order_target="list_order" order_type="desc" subject_cut_size="26" list_count="5" mid_list="{$layout_info->target_mid}" />
</div>
<div class="rightBoxBottom"><img src="images/right_box_bottom.gif" alt="Bottom" /></div>
<!-- RECENT COMMENT -->
<div class="rightBoxTop">
<div class="img"><img src="images/right_icn_comment.gif" alt="Category" /></div>
<div class="txt">Recent Comment</div>
</div>
<div class="rightBoxCenter">
<img src="./images/common/blank.gif" class="zbxe_widget_output" widget="newest_comment" skin="blooz_newest_comment" colorset="normal" title="recent comments" subject_cut_size="26" list_count="8" mid_list="{$layout_info->target_mid}" />
</div>
<div class="rightBoxBottom"><img src="images/right_box_bottom.gif" alt="Bottom" /></div>