require_once(dirname(__FILE__).'/../../locales/Locales.php'); // 본문 내 [##_ATTACH_PATH_##]를 실제 이미지 경로로 치환하는 함수 function replaceAttachPath($content, $blogid = null) { if ($blogid === null) { if (function_exists('getBlogId')) { $blogid = getBlogId(); } else { $blogid = ''; } } $context = class_exists('Model_Context') ? Model_Context::getInstance() : null; $servicePath = ($context && $context->getProperty('uri.service')) ? $context->getProperty('uri.service') : ''; $attachUrl = $servicePath . '/attach/' . $blogid; return str_replace('[##_ATTACH_PATH_##]', $attachUrl, $content); } /* Team Blog Profile CSS Setting */ .teamProfile { margin:10px 0px 0px 0px;font:8.5pt dotum, AppleGothic;} .teamProfile fieldset{ margin:0px; border:1px solid #e3e3e3; padding:0px 0px 6px 0px;} .teamProfile legend { font-weight:bold; margin:0 0 0 5px;} *html .teamProfile legend { margin:0; padding:0 !important;} *:first-child+html .teamProfile legend { margin:0; padding:0 !important;} .teamProfile .teamMain {margin:0px 6px;} .teamProfile .teamImage {margin:5px 0px 0px 0px; float:left;} .teamProfile .teamImage img {padding:2px; border:1px solid #e3e3e3; width:80px; background-color:#fff;} .teamProfile .teamDesc {margin:5px 0px 0px 0px; float:left;}