<?
$sub_menu = "999200";
include_once("./_common.php");

auth_check($auth[$sub_menu], "r");

if ($is_admin != "super")
    alert("최고관리자만 접근 가능합니다.");

$g4['title'] = "빌더세부 스킨설정";
include_once ("$g4[admin_path]/admin.head.php");

$head_menu_skin_path = "$g4[path]/skin/head_menu";
$right_menu_skin_path = "$g4[path]/skin/right_menu";
$tail_skin_path = "$g4[path]/skin/tail";
?>

<table width=100% cellpadding=0 cellspacing=0 border=0>
<form name=fconfigform method=post action='javascript:fconfigform_submit(document.fconfigform);'>
<colgroup width=20% class='col1 pad1 bold right'>
<colgroup width=30% class='col2 pad2'>
<colgroup width=20% class='col1 pad1 bold right'>
<colgroup width=30% class='col2 pad2'>

<tr><td colspan=4 class=ht></td></tr>

<tr class='ht'>
    <td colspan=4 align=left><?=subtitle("메인상단메뉴 스킨 설정")?></td>
</tr>
<tr><td colspan=4 class=line1></td></tr>


	<tr bgcolor="#FFFFFF">
                    <td>
                        <img src='<?=$head_menu_skin_path?>/<?=$config[cf_home_main_menu]?>/img/preview.gif' width=500 height=100 border=0>
                    </td>
		<td>
<br><b><font size="5">메인상단설정</font></b>
<br>
<br><b>설명</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;메인상단 스킨을 선택합니다.
<br>
<br><b>경로</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;../skin/head_menu/
<br>
 </td><td><select id=cf_home_main_menu name=cf_home_main_menu required itemname="메인상단메뉴">
		<option value=''>선택하세요</option>
		<?
		$arr = get_skin_dir("head_menu");
		for ($i=0; $i<count($arr); $i++) {
			echo "<option value='$arr[$i]'>$arr[$i]</option>\n";
		}
		?>
		</select>
		<script language="JavaScript"> document.getElementById('cf_home_main_menu').value="<?=$config['cf_home_main_menu']?>";</script>
		<?=help("메인페이지 상단 스킨을 선택합니다.")?>
</td>		<td colspan="2" width="30%" align="left">
		</td>
</tr><tr><td colspan=4 class=line2></td></tr>
<tr><td colspan=4 class=ht></td></tr>
</table>

<table width=100% cellpadding=0 cellspacing=0 border=0>
<form name=fconfigform method=post action='javascript:fconfigform_submit(document.fconfigform);'>
<colgroup width=20% class='col1 pad1 bold right'>
<colgroup width=30% class='col2 pad2'>
<colgroup width=20% class='col1 pad1 bold right'>
<colgroup width=30% class='col2 pad2'>

<tr class='ht'>
    <td colspan=4 align=left><?=subtitle("메인우측메뉴/서브우측메뉴 스킨 설정")?></td>
</tr>
<tr><td colspan=4 class=line1></td></tr>
<tr>
                    <td width="200">
                        <img src='<?=$right_menu_skin_path?>/<?=$config[cf_home_main_right]?>/img/preview.gif' width=200 height=160 border=0>
                    </td>
		<td width="250">
<br><b><font size="5">메인우측</font></b>
<br>
<br><b>설명</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;메인우측 스킨을 선택합니다.
<br>
<br><b>경로</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;../skin/right_menu/
<br><select id=cf_home_main_right name=cf_home_main_right required itemname="메인우측메뉴">
		<option value=''>선택하세요</option>
		<?
		$arr = get_skin_dir("right_menu");
		for ($i=0; $i<count($arr); $i++) {
			echo "<option value='$arr[$i]'>$arr[$i]</option>\n";
		}
		?>
		</select>
		<script language="JavaScript"> document.getElementById('cf_home_main_right').value="<?=$config['cf_home_main_right']?>";</script>
		<?=help("메인페이지 우측 스킨을 선택합니다.")?>
</td>
	   <td width="200">
                        <img src='<?=$right_menu_skin_path?>/<?=$config[cf_home_sub_right]?>/img/preview.gif' width=200 height=160 border=0>
                    </td>
		<td widht="200">
<br><b><font size="5">서브그룹우측</font></b>
<br>
<br><b>설명</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;서브그룹 우측 스킨을 선택합니다.
<br>
<br><b>경로</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;../skin/right_menu/
<br><select id=cf_home_sub_right name=cf_home_sub_right required itemname="서브그룹 우측스킨">
		<option value=''>선택하세요</option>
		<?
		$arr = get_skin_dir("right_menu");
		for ($i=0; $i<count($arr); $i++) {
			echo "<option value='$arr[$i]'>$arr[$i]</option>\n";
		}
		?>
		</select>
		<script language="JavaScript"> document.getElementById('cf_home_sub_right').value="<?=$config['cf_home_sub_right']?>";</script>
		<?=help("서브그룹 우측 스킨을 선택합니다.")?></td>
	</tr>
<tr><td colspan=4 class=line2></td></tr>
<tr><td colspan=4 class=ht></td></tr>
</table>

<table width=100% cellpadding=0 cellspacing=0 border=0>
<form name=fconfigform method=post action='javascript:fconfigform_submit(document.fconfigform);'>
<colgroup width=20% class='col1 pad1 bold right'>
<colgroup width=30% class='col2 pad2'>
<colgroup width=20% class='col1 pad1 bold right'>
<colgroup width=30% class='col2 pad2'>

<tr class='ht'>
    <td colspan=4 align=left><?=subtitle("서브그룹상단 스킨 설정")?></td>
</tr>
<tr><td colspan=4 class=line1></td></tr>
	<tr bgcolor="#FFFFFF">
                    <td>
                        <img src='<?=$head_menu_skin_path?>/<?=$config[cf_home_01_menu]?>/img/preview.gif' width=500 height=100 border=0>
                    </td>
		<td>
<br><b><font size="5">01그룹 상단</font></b>
<br>
<br><b>설명</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;01그룹 상단 스킨을 선택합니다.
<br>
<br><b>경로</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;../skin/head_menu/
<br></td><td><select id=cf_home_01_menu name=cf_home_01_menu required itemname="01상단메뉴">
		<option value=''>선택하세요</option>
		<?
		$arr = get_skin_dir("head_menu");
		for ($i=0; $i<count($arr); $i++) {
			echo "<option value='$arr[$i]'>$arr[$i]</option>\n";
		}
		?>
		</select>
		<script language="JavaScript"> document.getElementById('cf_home_01_menu').value="<?=$config['cf_home_01_menu']?>";</script>
		<?=help("01그룹 상단 스킨을 선택합니다.")?></td>

		<td colspan="2" width="30%" align="left">
		</td>

	</tr>
<tr><td colspan=4 class=line1></td></tr>
	<tr bgcolor="#FFFFFF">
                    <td>
                        <img src='<?=$head_menu_skin_path?>/<?=$config[cf_home_02_menu]?>/img/preview.gif' width=500 height=100 border=0>
                    </td>
		<td>
<br><b><font size="5">02그룹 상단</font></b>
<br>
<br><b>설명</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;02그룹 상단 스킨을 선택합니다.
<br>
<br><b>경로</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;../skin/head_menu/
<br></td><td><select id=cf_home_02_menu name=cf_home_02_menu required itemname="02상단메뉴">
		<option value=''>선택하세요</option>
		<?
		$arr = get_skin_dir("head_menu");
		for ($i=0; $i<count($arr); $i++) {
			echo "<option value='$arr[$i]'>$arr[$i]</option>\n";
		}
		?>
		</select>
		<script language="JavaScript"> document.getElementById('cf_home_02_menu').value="<?=$config['cf_home_02_menu']?>";</script>
		<?=help("02그룹 상단 스킨을 선택합니다.")?></td>

		<td colspan="2" width="30%" align="left">
		</td>
	</tr>
<tr><td colspan=4 class=line1></td></tr>
	<tr bgcolor="#FFFFFF">
                    <td>
                        <img src='<?=$head_menu_skin_path?>/<?=$config[cf_home_03_menu]?>/img/preview.gif' width=500 height=100 border=0>
                    </td>
		<td>
<br><b><font size="5">03그룹 상단</font></b>
<br>
<br><b>설명</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;03그룹 상단 스킨을 선택합니다.
<br>
<br><b>경로</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;../skin/head_menu/
<br></td><td><select id=cf_home_03_menu name=cf_home_03_menu required itemname="03상단메뉴">
		<option value=''>선택하세요</option>
		<?
		$arr = get_skin_dir("head_menu");
		for ($i=0; $i<count($arr); $i++) {
			echo "<option value='$arr[$i]'>$arr[$i]</option>\n";
		}
		?>
		</select>
		<script language="JavaScript"> document.getElementById('cf_home_03_menu').value="<?=$config['cf_home_03_menu']?>";</script>
		<?=help("03그룹 상단 스킨을 선택합니다.")?></td>
		<td colspan="2" width="30%" align="left">

		</td>
	</tr>
<tr><td colspan=4 class=line1></td></tr>
	<tr bgcolor="#FFFFFF">
                    <td>
                        <img src='<?=$head_menu_skin_path?>/<?=$config[cf_home_04_menu]?>/img/preview.gif' width=500 height=100 border=0>
                    </td>
		<td>
<br><b><font size="5">04그룹 상단</font></b>
<br>
<br><b>설명</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;04그룹 상단 스킨을 선택합니다.
<br>
<br><b>경로</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;../skin/head_menu/
<br></td><td><select id=cf_home_04_menu name=cf_home_04_menu required itemname="04상단메뉴">
		<option value=''>선택하세요</option>
		<?
		$arr = get_skin_dir("head_menu");
		for ($i=0; $i<count($arr); $i++) {
			echo "<option value='$arr[$i]'>$arr[$i]</option>\n";
		}
		?>
		</select>
		<script language="JavaScript"> document.getElementById('cf_home_04_menu').value="<?=$config['cf_home_04_menu']?>";</script>
		<?=help("04그룹 상단 스킨을 선택합니다.")?></td>
		<td colspan="2" width="30%" align="left">

		</td>
	</tr>
<tr><td colspan=4 class=line1></td></tr>
	<tr bgcolor="#FFFFFF">
                    <td>
                        <img src='<?=$head_menu_skin_path?>/<?=$config[cf_home_05_menu]?>/img/preview.gif' width=500 height=100 border=0>
                    </td>
		<td>
<br><b><font size="5">05그룹 상단</font></b>
<br>
<br><b>설명</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;05그룹 상단 스킨을 선택합니다.
<br>
<br><b>경로</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;../skin/head_menu/
<br></td><td><select id=cf_home_05_menu name=cf_home_05_menu required itemname="05상단메뉴">
		<option value=''>선택하세요</option>
		<?
		$arr = get_skin_dir("head_menu");
		for ($i=0; $i<count($arr); $i++) {
			echo "<option value='$arr[$i]'>$arr[$i]</option>\n";
		}
		?>
		</select>
		<script language="JavaScript"> document.getElementById('cf_home_05_menu').value="<?=$config['cf_home_05_menu']?>";</script>
		<?=help("05그룹 상단 스킨을 선택합니다.")?></td>
		<td colspan="2" width="30%" align="left">

		</td>
	</tr>
<tr><td colspan=4 class=line1></td></tr>
	<tr bgcolor="#FFFFFF">
                    <td>
                        <img src='<?=$head_menu_skin_path?>/<?=$config[cf_home_06_menu]?>/img/preview.gif' width=500 height=100 border=0>
                    </td>
		<td>
<br><b><font size="5">06그룹 상단</font></b>
<br>
<br><b>설명</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;06그룹 상단 스킨을 선택합니다.
<br>
<br><b>경로</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;../skin/head_menu/
<br></td><td><select id=cf_home_06_menu name=cf_home_06_menu required itemname="06상단메뉴">
		<option value=''>선택하세요</option>
		<?
		$arr = get_skin_dir("head_menu");
		for ($i=0; $i<count($arr); $i++) {
			echo "<option value='$arr[$i]'>$arr[$i]</option>\n";
		}
		?>
		</select>
		<script language="JavaScript"> document.getElementById('cf_home_06_menu').value="<?=$config['cf_home_06_menu']?>";</script>
		<?=help("06그룹 상단 스킨을 선택합니다.")?></td>
		<td colspan="2" width="30%" align="left">

		</td>
	</tr>
<tr><td colspan=4 class=line1></td></tr>
	<tr bgcolor="#FFFFFF">
                    <td>
                        <img src='<?=$head_menu_skin_path?>/<?=$config[cf_home_07_menu]?>/img/preview.gif' width=500 height=100 border=0>
                    </td>
		<td>
<br><b><font size="5">07그룹 상단</font></b>
<br>
<br><b>설명</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;07그룹 상단 스킨을 선택합니다.
<br>
<br><b>경로</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;../skin/head_menu/
<br></td><td><select id=cf_home_07_menu name=cf_home_07_menu required itemname="07상단메뉴">
		<option value=''>선택하세요</option>
		<?
		$arr = get_skin_dir("head_menu");
		for ($i=0; $i<count($arr); $i++) {
			echo "<option value='$arr[$i]'>$arr[$i]</option>\n";
		}
		?>
		</select>
		<script language="JavaScript"> document.getElementById('cf_home_07_menu').value="<?=$config['cf_home_07_menu']?>";</script>
		<?=help("07그룹 상단 스킨을 선택합니다.")?></td>
		<td colspan="2" width="30%" align="left">


		</td>
	</tr>
<tr><td colspan=4 class=line2></td></tr>

<tr><td colspan=4 class=ht></td></tr>

<tr class='ht'>
    <td colspan=4 align=left><?=subtitle("하단 스킨 설정")?></td>
</tr>
<tr><td colspan=4 class=line1></td></tr>
	<tr bgcolor="#FFFFFF" align="center">
                    <td>
                        <img src='<?=$tail_skin_path?>/<?=$config[cf_home_sub_tail]?>/img/preview.gif' width=500 height=100 border=0>
                    </td>
		<td>
<br><b><font size="5">하단스킨설정</font></b>
<br>
<br><b>설명</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;하단(tail) 스킨을 선택합니다.
<br>
<br><b>경로</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;../skin/tail/
<br></td><td><select id=cf_home_sub_tail name=cf_home_sub_tail required itemname="하단스킨설정">
		<option value=''>선택하세요</option>
		<?
		$arr = get_skin_dir("tail");
		for ($i=0; $i<count($arr); $i++) {
			echo "<option value='$arr[$i]'>$arr[$i]</option>\n";
		}
		?>
		</select>
		<script language="JavaScript"> document.getElementById('cf_home_sub_tail').value="<?=$config[cf_home_sub_tail]?>";</script>
		<?=help("빌더 메인/서브 하단 스킨을 선택합니다.")?></td>
	</tr>

<tr><td colspan=4 class=line2></td></tr>
</table>

<p align=center>
    <input type=submit class=btn1 accesskey='s' value='  확  인  '>
</form>

<script language="javascript">
function fconfigform_submit(f)
{
    f.action = "./builderform_update.php";
    f.submit();
}
</script>

<?
include_once ("$g4[admin_path]/admin.tail.php");
?>
