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

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

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

$g4['title'] = "22CAFE관리";
include_once ("$g4[admin_path]/admin.head.php");
?>

<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 class='ht'>
    <td>매니저 이름</td>
    <td>
		<input type=text class=ed size='10' name='cf_home_owner' value='<?=$config[cf_home_owner]?>'>
		<?=help("매니저의 이름을 입력해주세요.")?>
	</td>
    </td>
</tr>
<tr class='ht'>
	<td>즐겨찾기이름</td>
	<td>
	<input type=text class=ed size='40' name='cf_home_favorite' value='<?=$config[cf_home_favorite]?>'>
    <?=help("즐겨찾기 이름을 입력하여주세요. ex-22CAFE공식사이트 22b.kr")?>
    </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 class='ht'>
    <td>카피라이트</td>
    <td valign=top colspan="3"> <textarea name="cf_home_copyright" style='width:95%; word-break:break-all;' rows=3 class=ed><?=$config[cf_home_copyright]?></textarea> <?=help("하단의 카피라이트를 입력하세요.")?></td>
</tr>

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

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

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

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