게시판 설정 작업 중

This commit is contained in:
whitedot
2012-11-09 18:25:19 +09:00
parent 33f680c22b
commit 86199c0cfd
7 changed files with 668 additions and 570 deletions

View File

@ -1,62 +1,50 @@
<?
$sub_menu = '300100';
include_once('./_common.php');
$sub_menu = "300100";
include_once("./_common.php");
auth_check($auth[$sub_menu], 'w');
$token = get_token();
$g4[title] = '게시판 복사';
$administrator = 1;
include_once($g4['path'].'/head.sub.php');
?>
<link rel='stylesheet' href='./admin.style.css' type='text/css'>
<form id='fboardcopy' name='fboardcopy' method="post" onsubmit='return fboardcopy_check(this);' autocomplete='off'>
<input type='hidden' id='bo_table' name='bo_table' value='<?=$bo_table?>'>
<input type='hidden' id='token' name='token' value='<?=$token?>'>
<table width=100% cellpadding=0 cellspacing=0>
<colgroup width=30% class="col1 pad1 bold right">
<colgroup width=70% class="col2 pad2">
<tr><td colspan=2 height=5></td></tr>
<form id="fboardcopy" name="fboardcopy" method="post" onsubmit="return fboardcopy_check(this);" autocomplete="off">
<input type="hidden" id="bo_table" name="bo_table" value="<?=$bo_table?>">
<input type="hidden" id="token" name="token" value="<?=$token?>">
<table>
<tr>
<td colspan=2 class=title align=left><img src="<?=$g4['admin_path']?>/img/icon_title.gif"> <?=$g4['title']?></td>
<th scope="col" id="th1">원본 테이블</th>
<td headers="th1"><?=$bo_table?></td>
</tr>
<tr><td colspan=2 class="line1"></td></tr>
<tr class="ht">
<td>원본 테이블</td>
<td><?=$bo_table?></td>
<tr>
<th scope="col" id="th2">복사할 TABLE</th>
<td headers="th2"><input type="text" id="target_table" name="target_table" maxlength="20" required alphanumericunderline> 영문자, 숫자, _ 만 가능 (공백없이)</td>
</tr>
<tr class="ht">
<td>복사할 TABLE</td>
<td><input type='text' class=ed id='target_table' name='target_table' size='20' maxlength='20' required alphanumericunderline id='TABLE' name='TABLE'> 영문자, 숫자, _ 만 가능 (공백없이)</td>
<tr>
<th scope="col" id="th3">게시판 제목</th>
<td headers="th3"><input type="text" id="target_subject" name="target_subject" maxlength=120 required value="[복사본] <?=$board["bo_subject"]?>"></td>
</tr>
<tr class="ht">
<td>게시판 제목</td>
<td><input type='text' class=ed id='target_subject' name='target_subject' size=60 maxlength=120 required 제목" value="[복사본] <?=$board['bo_subject']?>"></td>
</tr>
<tr class="ht">
<td>복사 유형</td>
<td>
<input type='radio' id='copy_case' name='copy_case' value='schema_only' checked>구조만
<input type='radio' id='copy_case' name='copy_case' value='schema_data_both'>구조와 데이터
</td>
</tr>
<tr height=40>
<td></td>
<td>
<input type='submit' value=' 복 사 ' class=btn1>&nbsp;
<input type='button' value='창닫기' onclick='window.close();' class=btn1>
<tr>
<th scope="col" id="th4">복사 유형</th>
<td headers="th4">
<input type="radio" id="copy_case" name="copy_case" value="schema_only" checked>구조만
<input type="radio" id="copy_case" name="copy_case" value="schema_data_both">구조와 데이터
</td>
</tr>
</table>
<input type="submit" value="복사">
<input type="button" value="창닫기" onclick="window.close();">
</form>
<script type="text/javascript">
function fboardcopy_check(f)
{
f.action = './board_copy_update.php';
f.action = "./board_copy_update.php";
return true;
}
</script>