Ejemplo n.º 1
0
				}
?>
					</ul>
					</div>
					<div class="information">
						<span class="name"><?php echo _t("전체글");?></span> <span class="sep">|</span> <span class="count"><?php echo $feedItemCount;?></span>개 &nbsp;&nbsp; <span class="name"><?php echo _t('마지막 업데이트');?></span> <span class="sep">|</span> <span class="date"><?php echo empty($feedItemUpdate)?'':date('y.m.d H:i:s', $feedItemUpdate);?> (<?php echo $feedItemUpdateText;?>)</span> 
					</div>
				</div>	
				<!-- 최근 등록된 블로그.. -->
<?php
				if($is_admin) {
					$feeds = Feed::getRecentFeeds(10);
					$feedCount = Feed::getFeedCount('WHERE i.visibility="y"');
				} else {
					$feeds = Feed::getRecentFeedsByOwner(getLoggedId(), 10);
					$feedCount = Feed::getFeedCount('WHERE i.owner = ' . getLoggedId() . ' AND i.visibility="y"');
				}
?>
				<div class="contents_in_item2">
					<div class="more_wrap">
						<div class="title"><?php echo _t('최근 등록된 블로그');?></div>
						<div class="more">
							<a href="<?php echo $service['path'];?>/admin/blog/list"><?php echo _t('더보기..');?></a>
						</div>
						<div class="clear"></div>
					</div>
					<div class="line"></div>
					<div class="data">
					<ul>
<?php
			if(count($feeds) > 0) {
Ejemplo n.º 2
0
	$skin->replace('description', $event->on('Text.description', UTF8::clear($config->description)));
	$skin->replace('base_url', empty($service['path'])?'/':$servicePath.'/');
	$skin->replace('index_url', $servicePath);
	$skin->replace('rss_url', $servicePath.'/rss');
	$skin->replace('focus_rss_url', $servicePath.'/rss/focus');

	$skin->replace('base_domain', $_SERVER['HTTP_HOST'].$servicePath);
	$skin->replace('bloglounge_name', BLOGLOUNGE);
	$skin->replace('bloglounge_version', BLOGLOUNGE_NAME);

	$skin->replace('random_blog', $service['path'].'/random');

	$skin->replace('position', empty($accessInfo['controller'])?'index':$accessInfo['controller']);

	// ** 갯수 정보
	$skin->replace('feed_count', Feed::getFeedCount());
	$skin->replace('feeditem_count', FeedItem::getFeedItemCount());
	$skin->replace('tag_count', Tag::getTagCount());

	// *** 로고
	$s_logo = $skin->cutSkinTag('logo_image');
	$s_logo = $skin->parseTag('logo_url', $servicePath.'/cache/logo/'.$config->logo, $s_logo);
	$skin->dress('logo_image', $s_logo);

	if(!empty($config->logo) && file_exists(ROOT.'/cache/logo/'.$config->logo)) {
		$skin->replace('logo_image_exist', 'logo_image_exist');
	} else {
		$skin->replace('logo_image_exist', 'logo_image_nonexistence');
	}
	
	$s_logo = $skin->cutSkinTag('logo_text');