<?php 
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 

define('AMINA_CSS', true);

?>

<!-- AMINA Skin <?php echo AMINA_VERSION; ?> for G4/G5 : Copyright (c) 2012 AMINA - http://amina.co.kr -->

<link rel="stylesheet" href="http://<?php echo $chk_host['path'] ? $_SERVER['HTTP_HOST'].$chk_host['path'] : $_SERVER['HTTP_HOST']; ?>/amina/css/amina.css">
<script>
	var amina_url = "<?php echo AMINA_URL; ?>";
	var gnu_url = "<?php echo G5_URL; ?>";
	<?php if(AMINA != "g5") { ?>
		var g5_is_member = "<?php echo $is_member; ?>";
		var g5_is_admin  = "<?php echo $is_admin; ?>";
		var g5_is_mobile = "<?php echo G5_IS_MOBILE ?>";
		var g5_bo_table  = "<?php echo isset($bo_table)?$bo_table:'';?>";
		var g5_sca       = "<?php echo isset($sca)?$sca:'';?>";
		<?php if ($is_admin) { echo 'var g5_admin_url = "'.G5_ADMIN_URL.'";'.PHP_EOL; } ?>
	<?php } ?>
</script>
<?php if(AMINA) { ?>
	<script src="<?php echo AMINA_URL; ?>/js/sideview.js"></script>
<?php } else if(!$is_jquery) { ?>
	<script src="<?php echo AMINA_URL; ?>/js/jquery-1.8.3.min.js"></script>
<?php } ?>
<script src="<?php echo AMINA_URL; ?>/js/jquery-ui-1.10.4.custom.min.js"></script>
<?php if(!defined('AMINA_FANCYBOX2')) include_once(AMINA_PATH.'/app/fancybox2.php'); //fancyBox2 ?>
<link rel="stylesheet" type="text/css" href="<?php echo AMINA_URL; ?>/app/Tooltipster/css/tooltipster.css" />
<script type="text/javascript" src="<?php echo AMINA_URL; ?>/app/Tooltipster/js/jquery.tooltipster.min.js"></script>
<script src="<?php echo AMINA_URL; ?>/js/amina.js"></script>
<?php if(IS_AMINA) { ?>
	<link rel="stylesheet" href="<?php echo $btn_skin_url.'/'.$amina['btn_css']; ?>.css">
	<link rel="stylesheet" href="<?php echo $head_skin_url.'/'.$amina['head_css']; ?>.css">	
	<?php if($amina['editor'] == 2) { //다음에디터일 때 글상자 등 css 불러오기 ?>
		<link rel="stylesheet" href="<?php echo AMINA_URL;?>/app/DEditor/css/content_view.css">
	<?php } ?>
	<style>
		img.aimg { max-width:<?php echo ((int)$board['bo_image_width'] > 1 && !G5_IS_MOBILE) ? (int)$board['bo_image_width'].'px' : '100%'; ?>; }
	</style>
<?php } ?>
