관리자: 게시판 복사

This commit is contained in:
whitedot
2013-02-18 17:23:35 +09:00
parent 0ab0ec5429
commit e1b0654c5a
2 changed files with 61 additions and 33 deletions

View File

@ -12,40 +12,45 @@ $administrator = 1;
include_once(G4_PATH.'/head.sub.php');
?>
<form id="fboardcopy" name="fboardcopy" method="post" action="./board_copy_update.php" onsubmit="return fboardcopy_check(this);">
<input type="hidden" id="bo_table" name="bo_table" value="<?=$bo_table?>">
<table>
<caption>기존 게시판을 새 게시판으로 복사</caption>
<tbody>
<tr>
<th scope="col">원본 테이블명</th>
<td><?=$bo_table?></td>
</tr>
<tr>
<th scope="col"><label for="target_table">복사 테이블명<strong class="sound_only">필수</strong></label></th>
<td><input type="text" id="target_table" name="target_table" maxlength="20" class="required alnum_" required>영문자, 숫자, _ 만 가능 (공백없이)</td>
</tr>
<tr>
<th scope="col"><label for="target_subject">게시판 제목<strong class="sound_only">필수</strong></label></th>
<td><input type="text" id="target_subject" name="target_subject" maxlength="120" class="required" value="[복사본] <?=$board['bo_subject']?>" required></td>
</tr>
<tr>
<th scope="col">복사 유형</th>
<td>
<input type="radio" id="copy_case" name="copy_case" value="schema_only" checked>
<label for="copy_case">구조만</label>
<input type="radio" id="copy_case2" name="copy_case" value="schema_data_both">
<label for="copy_case2">구조와 데이터</label>
</td>
</tr>
</tbody>
</table>
<div class="new_win">
<h1>기존 게시판을 새 게시판으로 복사</h1>
<? echo captcha_html(); ?>
<form id="fboardcopy" name="fboardcopy" method="post" action="./board_copy_update.php" onsubmit="return fboardcopy_check(this);">
<input type="hidden" id="bo_table" name="bo_table" value="<?=$bo_table?>">
<table class="frm_tbl">
<tbody>
<tr>
<th scope="col">원본 테이블명</th>
<td><?=$bo_table?></td>
</tr>
<tr>
<th scope="col"><label for="target_table">복사 테이블명<strong class="sound_only">필수</strong></label></th>
<td><input type="text" id="target_table" name="target_table" maxlength="20" class="required alnum_ frm_input" required>영문자, 숫자, _ 만 가능 (공백없이)</td>
</tr>
<tr>
<th scope="col"><label for="target_subject">게시판 제목<strong class="sound_only">필수</strong></label></th>
<td><input type="text" id="target_subject" name="target_subject" maxlength="120" class="required frm_input" value="[복사본] <?=$board['bo_subject']?>" required></td>
</tr>
<tr>
<th scope="col">복사 유형</th>
<td>
<input type="radio" id="copy_case" name="copy_case" value="schema_only" checked>
<label for="copy_case">구조만</label>
<input type="radio" id="copy_case2" name="copy_case" value="schema_data_both">
<label for="copy_case2">구조와 데이터</label>
</td>
</tr>
<tr>
<th scope="col">자동등록방지</th>
<td><?=captcha_html();?></td>
</tr>
</tbody>
</table>
</div>
<div class="btn_confirm">
<input type="submit" value="복사">
<input type="button" value="창닫기" onclick="window.close();">
<input type="submit" class="btn_submit" value="복사">
<input type="button" class="btn_cancel" value="창닫기" onclick="window.close();">
</div>
</form>