<?
//-- 관리자 메인 페이지 좌측
?>
<style type="text/css">
.today		{ margin:2px; padding:3px; color:#9A9AA2; }
.dbbackupdate { margin:2px; padding:3px; text-align:center; }
.dbbackupdate a	{ color:#9A9AA2; }
.overday1	{ font-weight:bold; color:#FF8000; font-size:13px; }
.overday0	{ font-weight:normal; color:#22A1D3; }
.ip			{ color:#9A9AA2; padding:4px; }
</style>
<?
$today		= date("Y-m-d H:i", $g4[server_time]);
?>
<div class="line"></div>
<div class="today">
오늘 : <?=$today;?>
</div>
<div class="line"></div>
<div class="ip">
접속IP : <?=$_SERVER[REMOTE_ADDR]?>
</div>
<div class="line"></div>

<?
$nowdate	= date("Y-m-d H:i:s", $g4[server_time] - 86400);
if($nowdate > $zm_config[db_backupdate]) $overday	= true; else $overday = false;

if($overday)	$backupcss	= "overday1";			//-- 마지막으로 백업한지 하루가 지남
else			$backupcss	= "overday0";
?>
<div class="dbbackupdate">
<a href="./zm.mysql_backup.php">마지막으로 DB를 백업한 날짜 <span class="<?=$backupcss?>"><?=$zm_config[db_backupdate]?></span></a>
</div>
<div class="line"></div>