{@ /** * @version 3 * @date May 26, 2011 * @author Elkha (elkha1914@hotmail.com) * @copyright (c) 2011 Elkha (http://elkha.kr/) **/ $layout_info->align_layout = ($layout_info->width && $layout_info->align_layout)? $layout_info->align_layout : ""; // 레이아웃 정렬 $layout_info->width = ($layout_info->width)? $layout_info->width."px" : "auto"; // 레이아웃 너비 $layout_info->name = ($layout_info->name)? $layout_info->name : $layout_info->layout_title; // 사이트 제목 $layout_info->url = ($layout_info->url)? $layout_info->url : "./"; // 사이트 주소 $layout_info->align = ($layout_info->align)? $layout_info->align : "ec"; // 정렬 방식 /*if($act && $act!="dispPageAdminContentModify"): if($layout_info->align=="ece"||$layout_info->align=="eec") $layout_info->align = "ec"; if($layout_info->align=="cee") $layout_info->align = "ce"; endif;*/ $layout_info->sidebar = ($layout_info->sidebar)? $layout_info->sidebar+50 : 280; // 사이드바 너비 $layout_info->sidebar2 = ($layout_info->sidebar2)? $layout_info->sidebar2 : 200; // 사이드바 너비 $layout_info->sidebar2 = ($layout_info->align=="c" || $layout_info->align=="ce" || $layout_info->align=="ec")? 0 : $layout_info->sidebar2; // 사이드바2 너비 $layout_info->padding = ($act && $act!="dispPageAdminContentModify")? "default" : $layout_info->padding; // 본문배경 $menu_vars = array(); // 메뉴 출력하기 위한 임시배열 $category = array(); // 카테고리 $layout_info->width_min = ($layout_info->width_min)? $layout_info->width_min : 960; // min-width 추가 }
Skip to content
{@ $banner = explode("\r", $layout_info->banner); foreach($banner as $key => $val): if($val): if(preg_match("/.png$|.gif$|.jpg$|.jpeg$|.bmp$/", $val)) echo ""; else echo $val; endif; endforeach; }