コード例 #1
0
ファイル: admin.php プロジェクト: ncloud/bloglounge
	function drawAdminBox($class, $content) {
		$result = drawAdminBoxBegin($class);
		$result.= $content;
		$result.= drawAdminBoxEnd();

		return $result;
	}
コード例 #2
0
ファイル: index.php プロジェクト: ncloud/bloglounge
				<?php echo drawAdminBoxBegin('simple_stat');?>
					<div class="title">
						<?php echo _t('간략통계');?>
					</div>
					<div class="line"></div>
					<div class="data">					
						<ol>
							<li><div class="title"><?php echo _t('마지막 업데이트');?></div> <div class="data"><?php echo empty($lastUpdate)?_t('업데이트 없음'):date('Y-m-d H:i:s', $lastUpdate);?></div><div class="clear"></div></li>
							<li><div class="title"><?php echo _t('전체 블로그');?></div> <div class="data"><?php echo _f('%1 개', number_format(Stats::countFeeds()));?></div><div class="clear"></div></li>
							<li><div class="title"><?php echo _t('수집된 글수');?></div> <div class="data"><?php echo _f('%1 개', number_format(Stats::countFeedItems()));?></div><div class="clear"></div></li>
							<li><div class="title"><?php echo _t('오늘의 방문자');?></div> <div class="data"><?php echo _f('%1 명', number_format(Stats::getTodayVisits()));?> (<?php echo _f('전체 방문자 : %1 명', number_format(Stats::getVisits())); ?>)</div><div class="clear"></div></li>
						</ol>
						
					</div>
				<?php echo drawAdminBoxEnd('');?>
<?php
				}
?>
			</div> <!-- contents_item1 close -->
			<div class="contents_item2">
			</div> <!-- contents_item2 close -->
			<div class="clear"></div>

		</div><!-- contents_item close -->
	</div> <!-- contents close -->
	<div class="clear"></div>
</div>
<?php
	include ROOT. '/lib/piece/adminFooter.php';
?>