관리자: #152 의 온라인서식필수입력:관리자모드 처리, 회원추가 게시판그룹, 게시판 추가 남음

This commit is contained in:
whitedot
2013-01-18 17:21:23 +09:00
parent 7ca5b00914
commit bf7e63c752
13 changed files with 62 additions and 64 deletions

View File

@ -45,9 +45,9 @@ include_once ('./admin.head.php');
<caption>홈페이지 기본환경 설정</caption>
<tbody>
<tr>
<th scope="row"><label for="cf_title">홈페이지 제목</label></th>
<td><input type="text" id="cf_title" name="cf_title" class="required" value="<?=$config['cf_title']?>" size="50"></td>
<th scope="row"><label for="cf_admin">최고관리자</label></th>
<th scope="row"><label for="cf_title">홈페이지 제목<strong class="sound_only">필수</strong></label></th>
<td><input type="text" id="cf_title" name="cf_title" class="required" required value="<?=$config['cf_title']?>" size="50" title="홈페이지 제목"></td>
<th scope="row"><label for="cf_admin">최고관리자<strong class="sound_only">필수</strong></label></th>
<td><?=get_member_id_select('cf_admin', 10, $config['cf_admin'], 'required')?></td>
</tr>
<tr>
@ -55,15 +55,15 @@ include_once ('./admin.head.php');
<td colspan="3"><input type="checkbox" id="cf_use_point" name="cf_use_point" value="1" <?=$config['cf_use_point']?'checked':'';?>> 사용</td>
</tr>
<tr>
<th scope="row"><label for="cf_login_point">로그인시 포인트</label></th>
<th scope="row"><label for="cf_login_point">로그인시 포인트<strong class="sound_only">필수</strong></label></th>
<td>
<?=help('회원에게 하루에 한번만 부여')?>
<input type="text" id="cf_login_point" name="cf_login_point" class="required" value="<?=$config['cf_login_point']?>" size="2"> 점
<input type="text" id="cf_login_point" name="cf_login_point" class="required" required value="<?=$config['cf_login_point']?>" size="2" title="로그인시 포인트"> 점
</td>
<th scope="row"><label for="cf_memo_send_point">쪽지보낼시 차감 포인트</label></th>
<th scope="row"><label for="cf_memo_send_point">쪽지보낼시 차감 포인트<strong class="sound_only">필수</strong></label></th>
<td>
<?=help('양수로 입력하십시오. 0점은 쪽지 보낼시 포인트를 차감하지 않습니다.')?>
<input type="text" id="cf_memo_send_point" name="cf_memo_send_point" class="required" value="<?=$config['cf_memo_send_point']?>" size="2"> 점
<input type="text" id="cf_memo_send_point" name="cf_memo_send_point" class="required" required value="<?=$config['cf_memo_send_point']?>" size="2" title="쪽지보낼시 차감 포인트"> 점
</td>
</tr>
<tr>
@ -116,8 +116,8 @@ include_once ('./admin.head.php');
</td>
</tr>
<tr>
<th scope="row"><label for="cf_new_skin">최근게시물 스킨</label></th>
<td><select id="cf_new_skin" name="cf_new_skin" class="required">
<th scope="row"><label for="cf_new_skin">최근게시물 스킨<strong class="sound_only">필수</strong></label></th>
<td><select id="cf_new_skin" name="cf_new_skin" class="required" required title="최근게시물 스킨">
<?
$arr = get_skin_dir('new');
for ($i=0; $i<count($arr); $i++) {
@ -133,8 +133,8 @@ include_once ('./admin.head.php');
</td>
</tr>
<tr>
<th scope="row"><label for="cf_search_skin">검색 스킨</label></th>
<td colspan="3"><select id="cf_search_skin" name="cf_search_skin" class="required">
<th scope="row"><label for="cf_search_skin">검색 스킨<strong class="sound_only">필수</strong></label></th>
<td colspan="3"><select id="cf_search_skin" name="cf_search_skin" class="required" required title="검색 스킨">
<?
$arr = get_skin_dir("search");
for ($i=0; $i<count($arr); $i++) {
@ -145,8 +145,8 @@ include_once ('./admin.head.php');
</td>
</tr>
<tr>
<th scope="row"><label for="cf_connect_skin">접속자 스킨</label></th>
<td colspan="3"><select id="cf_connect_skin" name="cf_connect_skin" class="required" >
<th scope="row"><label for="cf_connect_skin">접속자 스킨<strong class="sound_only">필수</strong></label></th>
<td colspan="3"><select id="cf_connect_skin" name="cf_connect_skin" class="required" required title="접속자 스킨">
<?
$arr = get_skin_dir('connect');
for ($i=0; $i<count($arr); $i++) {
@ -185,16 +185,16 @@ include_once ('./admin.head.php');
</caption>
<tbody>
<tr>
<th scope="row"><label for="cf_read_point">글읽기 포인트</label></th>
<td><input type="text" id="cf_read_point" name="cf_read_point" class="required" value="<?=$config['cf_read_point']?>" size="2"> 점</td>
<th scope="row"><label for="cf_read_point">글읽기 포인트<strong class="sound_only">필수</strong></label></th>
<td><input type="text" id="cf_read_point" name="cf_read_point" class="required" required value="<?=$config['cf_read_point']?>" size="2" title="글읽기 포인트"> 점</td>
<th scope="row"><label for="cf_write_point">글쓰기 포인트</label></th>
<td><input type="text" id="cf_write_point" name="cf_write_point" class="required" value="<?=$config['cf_write_point']?>" size="2"> 점</td>
<td><input type="text" id="cf_write_point" name="cf_write_point" class="required" required value="<?=$config['cf_write_point']?>" size="2" title="글쓰기 포인트"> 점</td>
</tr>
<tr>
<th scope="row"><label for="cf_comment_point">댓글쓰기 포인트</label></th>
<td><input type="text" id="cf_comment_point" name="cf_comment_point" class="required" value="<?=$config['cf_comment_point']?>" size="2"> 점</td>
<td><input type="text" id="cf_comment_point" name="cf_comment_point" class="required" required value="<?=$config['cf_comment_point']?>" size="2" title="댓글쓰기 포인트"> 점</td>
<th scope="row"><label for="cf_download_point">다운로드 포인트</label></th>
<td><input type="text" id="cf_download_point" name="cf_download_point" class="required" value="<?=$config['cf_download_point']?>" size="2"> 점</td>
<td><input type="text" id="cf_download_point" name="cf_download_point" class="required" required value="<?=$config['cf_download_point']?>" size="2" title="다운로드 포인트"> 점</td>
</tr>
<tr>
<th scope="row"><label for="cf_link_target">새창 링크</label></th>
@ -211,16 +211,16 @@ include_once ('./admin.head.php');
<td><input type="text" id="cf_search_part" name="cf_search_part" value="<?=$config['cf_search_part']?>" size="2"> 건 단위로 검색</td>
</tr>
<tr>
<th scope="row"><label for="cf_search_bgcolor">검색 배경 색상</label></th>
<td><input type="text" id="cf_search_bgcolor" name="cf_search_bgcolor" class="required" value="<?=$config['cf_search_bgcolor']?>" size="7"></td>
<th scope="row"><label for="cf_search_color">검색 글자 색상</label></th>
<td><input type="text" id="cf_search_color" name="cf_search_color" class="required" value="<?=$config['cf_search_color']?>" size="7"></td>
<th scope="row"><label for="cf_search_bgcolor">검색 배경 색상<strong class="sound_only">필수</strong></label></th>
<td><input type="text" id="cf_search_bgcolor" name="cf_search_bgcolor" class="required" required value="<?=$config['cf_search_bgcolor']?>" size="7" title="검색 배경 색상"></td>
<th scope="row"><label for="cf_search_color">검색 글자 색상<strong class="sound_only">필수</strong></label></th>
<td><input type="text" id="cf_search_color" name="cf_search_color" class="required" required value="<?=$config['cf_search_color']?>" size="7" title="검색 글자 색상"></td>
</tr>
<tr>
<th scope="row"><label for="cf_delay_sec">글쓰기 간격</label></th>
<td><input type="text" id="cf_delay_sec" name="cf_delay_sec" class="required numeric" value="<?=$config['cf_delay_sec']?>" size="2"> 초 지난후 가능</td>
<th scope="row"><label for="cf_write_pages">페이지 표시 수</label></th>
<td><input type="text" id="cf_write_pages" name="cf_write_pages" class="required numeric" value="<?=$config['cf_write_pages']?>" size="2"> 페이지씩 표시</td>
<th scope="row"><label for="cf_delay_sec">글쓰기 간격<strong class="sound_only">필수</strong></label></th>
<td><input type="text" id="cf_delay_sec" name="cf_delay_sec" class="required numeric" required value="<?=$config['cf_delay_sec']?>" size="2" title="글쓰기 간격"> 초 지난후 가능</td>
<th scope="row"><label for="cf_write_pages">페이지 표시 수<strong class="sound_only">필수</strong></label></th>
<td><input type="text" id="cf_write_pages" name="cf_write_pages" class="required numeric" required value="<?=$config['cf_write_pages']?>" size="2" title="페이지 표시 수"> 페이지씩 표시</td>
</tr>
<tr>
<th scope="row"><label for="cf_image_extension">이미지 업로드 확장자</label></th>
@ -260,9 +260,9 @@ include_once ('./admin.head.php');
</caption>
<tbody>
<tr>
<th scope="row"><label for="cf_member_skin">회원 스킨</label></th>
<th scope="row"><label for="cf_member_skin">회원 스킨<strong class="sound_only">필수</strong></label></th>
<td colspan="3">
<select id="cf_member_skin" name="cf_member_skin" class="required">
<select id="cf_member_skin" name="cf_member_skin" class="required" required title="회원 스킨">
<?
$arr = get_skin_dir('member');
for ($i=0; $i<count($arr); $i++) {
@ -399,10 +399,10 @@ include_once ('./admin.head.php');
</td>
</tr>
<tr>
<th scope="row"><label for="cf_email_admin">관리자 메일주소</label></th>
<th scope="row"><label for="cf_email_admin">관리자 메일주소<strong class="sound_only">필수</strong></label></th>
<td>
<?=help('일괄 발송 또는 테스트 등에 사용하는 이메일 주소입니다.')?>
<input type="text" id="cf_email_admin" name="cf_email_admin" class="email" value="<?=$config['cf_email_admin']?>" required size="40" title="관리자 메일주소">
<input type="text" id="cf_email_admin" name="cf_email_admin" class="email required" value="<?=$config['cf_email_admin']?>" required size="40" title="관리자 메일주소">
</td>
</tr>
</table>
@ -504,8 +504,8 @@ include_once ('./admin.head.php');
<fieldset id="admin_confirm">
<legend>XSS 혹은 CSRF 방지</legend>
<p>관리자 권한을 탈취당하는 경우를 대비하여 패스워드를 다시 한번 확인합니다.</p>
<label for="admin_password">관리자 패스워드</label>
<input type="password" id="admin_password" name="admin_password" class="required">
<label for="admin_password">관리자 패스워드<strong class="sound_only">필수</strong></label>
<input type="password" id="admin_password" name="admin_password" class="required" title="관리자 패스워드">
</fieldset>
<div class="btn_confirm">