Merge branch 'short_tag_off'

This commit is contained in:
gnuboard
2013-04-25 14:30:18 +09:00
253 changed files with 3188 additions and 3194 deletions

View File

@ -1,3 +1,3 @@
<?
<?php
include_once('./common.php');
?>

View File

@ -1,4 +1,4 @@
<?
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
include_once(G4_PATH.'/head.php');

View File

@ -1,4 +1,4 @@
<?
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
include_once(G4_PATH.'/tail.php');

View File

@ -1,4 +1,4 @@
<?
<?php
define('G4_IS_ADMIN', true);
include_once ('../common.php');
include_once(G4_ADMIN_PATH.'/admin.lib.php');

View File

@ -1,4 +1,4 @@
<?
<?php
if (!defined('_GNUBOARD_')) exit;
$begin_time = get_microtime();
@ -68,27 +68,27 @@ function imageview(id, w, h)
<header id="hd">
<div id="hd_wrap">
<h1><?=$config['cf_title']?></h1>
<h1><?php echo $config['cf_title'] ?></h1>
<div id="logo"><a href="<?=G4_ADMIN_URL?>"><img src="<?=G4_ADMIN_URL?>/img/logo.jpg" alt="<?=$config['cf_title']?> 관리자 처음으로"></a></div>
<div id="logo"><a href="<?php echo G4_ADMIN_URL ?>"><img src="<?php echo G4_ADMIN_URL ?>/img/logo.jpg" alt="<?php echo $config['cf_title'] ?> 관리자 처음으로"></a></div>
<div id="mb_nb">
<ul>
<li>
<a href="<?=G4_ADMIN_URL?>/member_form.php?w=u&amp;mb_id=<?=$member['mb_id']?>">
<img src="<?=G4_ADMIN_URL?>/img/snb_modify.jpg" alt="" width="28" height="28">
<a href="<?php echo G4_ADMIN_URL ?>/member_form.php?w=u&amp;mb_id=<?php echo $member['mb_id'] ?>">
<img src="<?php echo G4_ADMIN_URL ?>/img/snb_modify.jpg" alt="" width="28" height="28">
관리자 정보수정
</a>
</li>
<li>
<a href="<?=G4_URL?>/">
<img src="<?=G4_ADMIN_URL?>/img/snb_home.jpg" alt="" width="28" height="28">
<a href="<?php echo G4_URL ?>/">
<img src="<?php echo G4_ADMIN_URL ?>/img/snb_home.jpg" alt="" width="28" height="28">
홈페이지 메인
</a>
</li>
<li>
<a href="<?=G4_BBS_URL?>/logout.php">
<img src="<?=G4_ADMIN_URL?>/img/snb_logout.jpg" alt="로그아웃" width="28" height="28">
<a href="<?php echo G4_BBS_URL ?>/logout.php">
<img src="<?php echo G4_ADMIN_URL ?>/img/snb_logout.jpg" alt="로그아웃" width="28" height="28">
로그아웃
</a>
</li>
@ -98,7 +98,7 @@ function imageview(id, w, h)
<nav id="gnb">
<h2>관리자 주메뉴</h2>
<script>$('#gnb').addClass('gnb_js');</script>
<?
<?php
$gnb_str = "<ul id=\"gnb_ul\">";
foreach($amenu as $key=>$value) {
$href1 = $href2 = '';
@ -129,20 +129,20 @@ function imageview(id, w, h)
<ul id="qnb">
<li>
<a href="<?=G4_ADMIN_URL?>/member_list.php">
<img src="<?=G4_ADMIN_URL?>/img/qnb_mb.jpg" alt="" width="40" height="40">
<a href="<?php echo G4_ADMIN_URL ?>/member_list.php">
<img src="<?php echo G4_ADMIN_URL ?>/img/qnb_mb.jpg" alt="" width="40" height="40">
회원
</a>
</li>
<li>
<a href="<?=G4_ADMIN_URL?>/board_list.php">
<img src="<?=G4_ADMIN_URL?>/img/qnb_board.jpg" alt="" width="40" height="40">
<a href="<?php echo G4_ADMIN_URL ?>/board_list.php">
<img src="<?php echo G4_ADMIN_URL ?>/img/qnb_board.jpg" alt="" width="40" height="40">
게시판
</a>
</li>
<li>
<a href="<?=G4_ADMIN_URL?>/visit_list.php">
<img src="<?=G4_ADMIN_URL?>/img/qnb_log.jpg" alt="" width="40" height="40">
<a href="<?php echo G4_ADMIN_URL ?>/visit_list.php">
<img src="<?php echo G4_ADMIN_URL ?>/img/qnb_log.jpg" alt="" width="40" height="40">
접속자
</a>
</li>
@ -154,4 +154,4 @@ function imageview(id, w, h)
<button class="no_text_resize" onclick="font_default('container');">기본</button>
<button class="no_text_resize" onclick="font_resize('container', 'increase');">크게</button>
</div>
<h1><?=$g4['title']?></h1>
<h1><?php echo $g4['title'] ?></h1>

View File

@ -1,4 +1,4 @@
<?
<?php
if (!defined('_GNUBOARD_')) exit;
/*

View File

@ -1,4 +1,4 @@
<?
<?php
$menu['menu100'] = array (
array('100000', '환경설정', G4_ADMIN_URL.'/config_form.php', 'config'),
array('', '기본환경설정', G4_ADMIN_URL.'/config_form.php', 'cf_basic'),

View File

@ -1,4 +1,4 @@
<?
<?php
$menu['menu200'] = array (
array('200000', '회원관리', G4_ADMIN_URL.'/member_list.php', 'member'),
array('200100', '회원관리', G4_ADMIN_URL.'/member_list.php', 'mb_list'),

View File

@ -1,4 +1,4 @@
<?
<?php
$menu['menu300'] = array (
array('300000', '게시판관리', ''.G4_ADMIN_URL.'/board_list.php', 'board'),
array('300100', '게시판관리', ''.G4_ADMIN_URL.'/board_list.php', 'bbs_board'),

View File

@ -1,4 +1,4 @@
<?
<?php
if (!defined('_GNUBOARD_')) exit;
?>
@ -19,9 +19,9 @@ if (!defined('_GNUBOARD_')) exit;
</p>
</footer>
<!-- <p>실행시간 : <?=get_microtime() - $begin_time;?> -->
<!-- <p>실행시간 : <?php echo get_microtime() - $begin_time; ?> -->
<script src="<?=G4_ADMIN_URL?>/admin.js"></script>
<script src="<?php echo G4_ADMIN_URL ?>/admin.js"></script>
<script>
$(function(){
var hide_menu = false;
@ -96,6 +96,6 @@ $(function(){
</script>
<?
<?php
include_once(G4_PATH.'/tail.sub.php');
?>

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "100200";
include_once('./_common.php');
@ -60,11 +60,11 @@ $colspan = 5;
<fieldset>
<legend>관리권한 검색</legend>
<span>
<?=$listall?>
설정된 관리권한 <?=number_format($total_count)?>건
<?php echo $listall ?>
설정된 관리권한 <?php echo number_format($total_count) ?>건
</span>
<strong id="msg_stx" class="msg_sound_only"></strong>
<input type="text" name="stx" value="<?=$stx?>" id="stx" title="회원아이디(필수)" required class="required frm_input">
<input type="text" name="stx" value="<?php echo $stx ?>" id="stx" title="회원아이디(필수)" required class="required frm_input">
<input type="submit" value="검색" id="fsearch_submit" class="btn_submit">
</fieldset>
</form>
@ -74,24 +74,24 @@ $colspan = 5;
<p>권한 <strong>r</strong>은 읽기권한, <strong>w</strong>는 쓰기권한, <strong>d</strong>는 삭제권한입니다.</p>
<form name="fauthlist" id="fauthlist" method="post" action="./auth_list_delete.php">
<input type="hidden" name="sst" value="<?=$sst?>">
<input type="hidden" name="sod" value="<?=$sod?>">
<input type="hidden" name="sfl" value="<?=$sfl?>">
<input type="hidden" name="stx" value="<?=$stx?>">
<input type="hidden" name="page" value="<?=$page?>">
<input type="hidden" name="token" value="<?=$token?>">
<input type="hidden" name="sst" value="<?php echo $sst ?>">
<input type="hidden" name="sod" value="<?php echo $sod ?>">
<input type="hidden" name="sfl" value="<?php echo $sfl ?>">
<input type="hidden" name="stx" value="<?php echo $stx ?>">
<input type="hidden" name="page" value="<?php echo $page ?>">
<input type="hidden" name="token" value="<?php echo $token ?>">
<table>
<thead>
<tr>
<th scope="col"><input type="checkbox" name="chkall" value="1" id="chkall" title="현재 페이지 권한설정 내역 전체선택" onclick="check_all(this.form)"></th>
<th scope="col"><?=subject_sort_link('a.mb_id')?>회원아이디</a></th>
<th scope="col"><?=subject_sort_link('mb_nick')?>별명</a></th>
<th scope="col"><?php echo subject_sort_link('a.mb_id') ?>회원아이디</a></th>
<th scope="col"><?php echo subject_sort_link('mb_nick') ?>별명</a></th>
<th scope="col">메뉴</th>
<th scope="col">권한</th>
</tr>
</thead>
<tbody>
<?
<?php
for ($i=0; $row=sql_fetch_array($result); $i++)
{
$mb_nick = get_sideview($row['mb_id'], $row['mb_nick'], $row['mb_email'], $row['mb_homepage']);
@ -107,19 +107,19 @@ $colspan = 5;
?>
<tr>
<td class="td_chk">
<input type="hidden" name="au_menu[<?=$i?>]" value="<?=$row['au_menu']?>">
<input type="hidden" name="mb_id[<?=$i?>]" value="<?=$row['mb_id']?>">
<input type="checkbox" name="chk[]" value="<?=$i?>" id="chk_<?=$i?>" title="<?=$row['mb_nick']?>님의 권한체크">
<input type="hidden" name="au_menu[<?php echo $i ?>]" value="<?php echo $row['au_menu'] ?>">
<input type="hidden" name="mb_id[<?php echo $i ?>]" value="<?php echo $row['mb_id'] ?>">
<input type="checkbox" name="chk[]" value="<?php echo $i ?>" id="chk_<?php echo $i ?>" title="<?php echo $row['mb_nick'] ?>님의 권한체크">
</td>
<td class="td_mbid"><a href="?sfl=a.mb_id&amp;stx=<?=$row['mb_id']?>"><?=$row['mb_id']?></a></td>
<td class="td_auth_mbnick"><?=$mb_nick?></td>
<td class="td_mbid"><a href="?sfl=a.mb_id&amp;stx=<?php echo $row['mb_id'] ?>"><?php echo $row['mb_id'] ?></a></td>
<td class="td_auth_mbnick"><?php echo $mb_nick ?></td>
<td class="td_menu">
<?=$row['au_menu']?>
<?=$auth_menu[$row['au_menu']]?>
<?php echo $row['au_menu'] ?>
<?php echo $auth_menu[$row['au_menu']] ?>
</td>
<td class="td_auth"><?=$row['au_auth']?></td>
<td class="td_auth"><?php echo $row['au_auth'] ?></td>
</tr>
<?
<?php
}
if ($i==0)
@ -132,12 +132,12 @@ $colspan = 5;
<button onclick="btn_check(this.form, 'delete')">선택삭제</button>
</div>
<?
<?php
$pagelist = get_paging(G4_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, $_SERVER['PHP_SELF'].'?'.$qstr.'&amp;page=');
echo $pagelist;
?>
<?
<?php
//if (isset($stx))
// echo '<script>document.fsearch.sfl.value = "'.$sfl.'";</script>'."\n";
@ -150,12 +150,12 @@ $colspan = 5;
</section>
<form name="fauthlist2" id="fauthlist2" action="./auth_update.php" method="post" autocomplete="off">
<input type="hidden" name="sfl" value="<?=$sfl?>">
<input type="hidden" name="stx" value="<?=$stx?>">
<input type="hidden" name="sst" value="<?=$sst?>">
<input type="hidden" name="sod" value="<?=$sod?>">
<input type="hidden" name="page" value="<?=$page?>">
<input type="hidden" name="token" value="<?=$token?>">
<input type="hidden" name="sfl" value="<?php echo $sfl ?>">
<input type="hidden" name="stx" value="<?php echo $stx ?>">
<input type="hidden" name="sst" value="<?php echo $sst ?>">
<input type="hidden" name="sod" value="<?php echo $sod ?>">
<input type="hidden" name="page" value="<?php echo $page ?>">
<input type="hidden" name="token" value="<?php echo $token ?>">
<section id="add_admin" class="cbox">
<h2>관리권한 추가</h2>
@ -171,7 +171,7 @@ $colspan = 5;
<th scope="row"><label for="mb_id">회원아이디<strong class="sound_only">필수</strong></label></th>
<td>
<strong id="msg_mb_id" class="msg_sound_only"></strong>
<input type="text" name="mb_id" value="<?=$mb_id?>" id="mb_id" title="회원아이디" required class="required frm_input">
<input type="text" name="mb_id" value="<?php echo $mb_id ?>" id="mb_id" title="회원아이디" required class="required frm_input">
</td>
</tr>
<tr>
@ -179,7 +179,7 @@ $colspan = 5;
<td>
<select id="au_menu" name="au_menu" required class="required" title="접근가능메뉴">
<option value=''>선택하세요</option>
<?
<?php
foreach($auth_menu as $key=>$value)
{
if (!(substr($key, -3) == '000' || $key == '-' || !$key))
@ -230,6 +230,6 @@ $(function() {
});
</script>
<?
<?php
include_once ('./admin.tail.php');
?>

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "100200";
include_once('./_common.php');

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "100200";
include_once('./_common.php');

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "300100";
include_once("./_common.php");
@ -13,12 +13,12 @@ include_once(G4_PATH.'/head.sub.php');
<h1>기존 게시판을 새 게시판으로 복사</h1>
<form name="fboardcopy" id="fboardcopy" action="./board_copy_update.php" onsubmit="return fboardcopy_check(this);" method="post">
<input type="hidden" name="bo_table" value="<?=$bo_table?>" id="bo_table">
<input type="hidden" name="bo_table" value="<?php echo $bo_table ?>" id="bo_table">
<table class="frm_tbl">
<tbody>
<tr>
<th scope="col">원본 테이블명</th>
<td><?=$bo_table?></td>
<td><?php echo $bo_table ?></td>
</tr>
<tr>
<th scope="col"><label for="target_table">복사 테이블명<strong class="sound_only">필수</strong></label></th>
@ -26,7 +26,7 @@ include_once(G4_PATH.'/head.sub.php');
</tr>
<tr>
<th scope="col"><label for="target_subject">게시판 제목<strong class="sound_only">필수</strong></label></th>
<td><input type="text" name="target_subject" value="[복사본] <?=$board['bo_subject']?>" id="target_subject" required class="required frm_input" maxlength="120"></td>
<td><input type="text" name="target_subject" value="[복사본] <?php echo $board['bo_subject'] ?>" id="target_subject" required class="required frm_input" maxlength="120"></td>
</tr>
<tr>
<th scope="col">복사 유형</th>
@ -65,6 +65,6 @@ function fboardcopy_check(f)
</script>
<?
<?php
include_once(G4_PATH.'/tail.sub.php');
?>

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = '300100';
include_once('./_common.php');

View File

@ -1,4 +1,4 @@
<?
<?php
// board_delete.php , boardgroup_delete.php 에서 include 하는 파일
if (!defined('_GNUBOARD_')) exit;

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "300100";
include_once('./_common.php');

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "300100";
include_once('./_common.php');
include_once(G4_CKEDITOR_PATH.'/ckeditor.lib.php');
@ -123,16 +123,16 @@ $pg_anchor = '<ul class="anchor">
?>
<form name="fboardform" id="fboardform" action="./board_form_update.php" onsubmit="return fboardform_submit(this)" method="post" enctype="multipart/form-data">
<input type="hidden" name="w" value="<?=$w?>">
<input type="hidden" name="sfl" value="<?=$sfl?>">
<input type="hidden" name="stx" value="<?=$stx?>">
<input type="hidden" name="sst" value="<?=$sst?>">
<input type="hidden" name="sod" value="<?=$sod?>">
<input type="hidden" name="page" value="<?=$page?>">
<input type="hidden" name="w" value="<?php echo $w ?>">
<input type="hidden" name="sfl" value="<?php echo $sfl ?>">
<input type="hidden" name="stx" value="<?php echo $stx ?>">
<input type="hidden" name="sst" value="<?php echo $sst ?>">
<input type="hidden" name="sod" value="<?php echo $sod ?>">
<input type="hidden" name="page" value="<?php echo $page ?>">
<section id="anc_bo_basic" class="cbox">
<h2>게시판 기본 설정</h2>
<?=$pg_anchor?>
<?php echo $pg_anchor ?>
<table class="frm_tbl">
<colgroup>
@ -142,38 +142,38 @@ $pg_anchor = '<ul class="anchor">
</colgroup>
<tbody>
<tr>
<th scope="row"><label for="bo_table">TABLE<?=$sound_only?></label></th>
<th scope="row"><label for="bo_table">TABLE<?php echo $sound_only ?></label></th>
<td colspan="2">
<input type="text" name="bo_table" value="<?=$board['bo_table'] ?>" id="bo_table" <?=$required?> <?=$readonly?> class="frm_input <?=$reaonly?> <?=$required?> <?=$required_valid?>" maxlength="20">
<? if ($w == '') { ?>
<input type="text" name="bo_table" value="<?php echo $board['bo_table'] ?>" id="bo_table" <?php echo $required ?> <?php echo $readonly ?> class="frm_input <?php echo $reaonly ?> <?php echo $required ?> <?php echo $required_valid ?>" maxlength="20">
<?php if ($w == '') { ?>
영문자, 숫자, _ 만 가능 (공백없이 20자 이내)
<? } else { ?>
<a href="<?=G4_BBS_URL?>/board.php?bo_table=<?=$board['bo_table']?>" class="btn_frmline">게시판 바로가기</a>
<?php } else { ?>
<a href="<?php echo G4_BBS_URL ?>/board.php?bo_table=<?php echo $board['bo_table'] ?>" class="btn_frmline">게시판 바로가기</a>
<a href="./board_list.php" class="btn_frmline">목록으로</a>
<? } ?>
<?php } ?>
</td>
</tr>
<tr>
<th scope="row"><label for="gr_id">그룹<strong class="sound_only">필수</strong></label></th>
<td colspan="2">
<?=get_group_select('gr_id', $board['gr_id'], 'required');?>
<!-- <? if ($w=='u') { ?><script>document.write("<a href='javascript:;' onclick=\"location.href='./board_list.php?sfl=a.gr_id&amp;stx='+document.getElementById('gr_id').value;\">동일 그룹 목록</a>");</script><?}?> -->
<?php echo get_group_select('gr_id', $board['gr_id'], 'required'); ?>
<!-- <?php if ($w=='u') { ?><script>document.write("<a href='javascript:;' onclick=\"location.href='./board_list.php?sfl=a.gr_id&amp;stx='+document.getElementById('gr_id').value;\">동일 그룹 목록</a>");</script><?php } ?> -->
</td>
</tr>
<tr>
<th scope="row"><label for="bo_subject">게시판 제목<strong class="sound_only">필수</strong></label></th>
<td colspan="2">
<input type="text" name="bo_subject" value="<?=get_text($board['bo_subject'])?>" id="bo_subject" required class="required frm_input" size="80" maxlength="120">
<input type="text" name="bo_subject" value="<?php echo get_text($board['bo_subject']) ?>" id="bo_subject" required class="required frm_input" size="80" maxlength="120">
</td>
</tr>
<tr>
<th scope="row"><label for="bo_device">접속기기</label></th>
<td>
<?=help("PC 와 모바일 사용을 구분합니다.")?>
<?php echo help("PC 와 모바일 사용을 구분합니다.") ?>
<select id="bo_device" name="bo_device">
<option value="both"<?=get_selected($board['bo_device'], 'both');?>>PC와 모바일에서 모두 사용</option>
<option value="pc"<?=get_selected($board['bo_device'], 'pc');?>>PC 전용</option>
<option value="mobile"<?=get_selected($board['bo_device'], 'mobile');?>>모바일 전용</option>
<option value="both"<?php echo get_selected($board['bo_device'], 'both'); ?>>PC와 모바일에서 모두 사용</option>
<option value="pc"<?php echo get_selected($board['bo_device'], 'pc'); ?>>PC 전용</option>
<option value="mobile"<?php echo get_selected($board['bo_device'], 'mobile'); ?>>모바일 전용</option>
</select>
</td>
<td class="group_setting">
@ -186,9 +186,9 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_category_list">분류</label></th>
<td>
<?=help('분류와 분류 사이는 | 로 구분하세요. (예: 질문|답변) 첫자로 #은 입력하지 마세요. (예: #질문|#답변 [X])')?>
<input type="text" name="bo_category_list" value="<?=get_text($board['bo_category_list'])?>" id="bo_category_list" class="frm_input" size="70">
<input type="checkbox" name="bo_use_category" value="1" id="bo_use_category" <?=$board['bo_use_category']?'checked':'';?>>
<?php echo help('분류와 분류 사이는 | 로 구분하세요. (예: 질문|답변) 첫자로 #은 입력하지 마세요. (예: #질문|#답변 [X])') ?>
<input type="text" name="bo_category_list" value="<?php echo get_text($board['bo_category_list']) ?>" id="bo_category_list" class="frm_input" size="70">
<input type="checkbox" name="bo_use_category" value="1" id="bo_use_category" <?php echo $board['bo_use_category']?'checked':''; ?>>
<label for="bo_use_category">사용</label>
</td>
<td class="group_setting">
@ -198,22 +198,22 @@ $pg_anchor = '<ul class="anchor">
<label for="chk_all_category_list">전체적용</label>
</td>
</tr>
<? if ($w == 'u') { ?>
<?php if ($w == 'u') { ?>
<tr>
<th scope="row"><label for="proc_count">카운트 조정</label></th>
<td colspan="2">
<?=help('현재 원글수 : '.number_format($board['bo_count_write']).', 현재 댓글수 : '.number_format($board['bo_count_comment'])."\n".'게시판 목록에서 글의 번호가 맞지 않을 경우에 체크하십시오.')?>
<?php echo help('현재 원글수 : '.number_format($board['bo_count_write']).', 현재 댓글수 : '.number_format($board['bo_count_comment'])."\n".'게시판 목록에서 글의 번호가 맞지 않을 경우에 체크하십시오.') ?>
<input type="checkbox" name="proc_count" value="1" id="proc_count">
</td>
</tr>
<? } ?>
<?php } ?>
</tbody>
</table>
</section>
<section id="anc_bo_auth" class="cbox">
<h2>게시판 권한 설정</h2>
<?=$pg_anchor?>
<?php echo $pg_anchor ?>
<table class="frm_tbl">
<colgroup>
@ -225,7 +225,7 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_admin">게시판 관리자</label></th>
<td>
<input type="text" name="bo_admin" value="<?=$board['bo_admin']?>" id="bo_admin" class="frm_input" maxlength="20">
<input type="text" name="bo_admin" value="<?php echo $board['bo_admin'] ?>" id="bo_admin" class="frm_input" maxlength="20">
</td>
<td class="group_setting">
<input type="checkbox" name="chk_grp_admin" value="1" id="chk_grp_admin">
@ -237,8 +237,8 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_list_level">목록보기 권한</label></th>
<td>
<?=help('권한 1은 비회원, 2 이상 회원입니다. 권한은 10 이 가장 높습니다.')?>
<?=get_member_level_select('bo_list_level', 1, 10, $board['bo_list_level']) ?>
<?php echo help('권한 1은 비회원, 2 이상 회원입니다. 권한은 10 이 가장 높습니다.') ?>
<?php echo get_member_level_select('bo_list_level', 1, 10, $board['bo_list_level']) ?>
</td>
<td class="group_setting">
<input type="checkbox" name="chk_grp_list_level" value="1" id="chk_grp_list_level">
@ -250,7 +250,7 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_read_level">글읽기 권한</label></th>
<td>
<?=get_member_level_select('bo_read_level', 1, 10, $board['bo_read_level']) ?>
<?php echo get_member_level_select('bo_read_level', 1, 10, $board['bo_read_level']) ?>
</td>
<td class="group_setting">
<input type="checkbox" name="chk_grp_read_level" value="1" id="chk_grp_read_level">
@ -262,7 +262,7 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_write_level">글쓰기 권한</label></th>
<td>
<?=get_member_level_select('bo_write_level', 1, 10, $board['bo_write_level']) ?>
<?php echo get_member_level_select('bo_write_level', 1, 10, $board['bo_write_level']) ?>
</td>
<td class="group_setting">
<input type="checkbox" name="chk_grp_write_level" value="1" id="chk_grp_write_level">
@ -274,7 +274,7 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_reply_level">글답변 권한</label></th>
<td>
<?=get_member_level_select('bo_reply_level', 1, 10, $board['bo_reply_level']) ?>
<?php echo get_member_level_select('bo_reply_level', 1, 10, $board['bo_reply_level']) ?>
</td>
<td class="group_setting">
<input type="checkbox" name="chk_grp_reply_level" value="1" id="chk_grp_reply_level">
@ -286,7 +286,7 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_comment_level">댓글쓰기 권한</label></th>
<td>
<?=get_member_level_select('bo_comment_level', 1, 10, $board['bo_comment_level']) ?>
<?php echo get_member_level_select('bo_comment_level', 1, 10, $board['bo_comment_level']) ?>
</td>
<td class="group_setting">
<input type="checkbox" name="chk_grp_comment_level" value="1" id="chk_grp_comment_level">
@ -298,7 +298,7 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_link_level">링크 권한</label></th>
<td>
<?=get_member_level_select('bo_link_level', 1, 10, $board['bo_link_level']) ?>
<?php echo get_member_level_select('bo_link_level', 1, 10, $board['bo_link_level']) ?>
</td>
<td class="group_setting">
<input type="checkbox" name="chk_grp_link_level" value="1" id="chk_grp_link_level">
@ -310,7 +310,7 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_upload_level">업로드 권한</label></th>
<td>
<?=get_member_level_select('bo_upload_level', 1, 10, $board['bo_upload_level']) ?>
<?php echo get_member_level_select('bo_upload_level', 1, 10, $board['bo_upload_level']) ?>
</td>
<td class="group_setting">
<input type="checkbox" name="chk_grp_upload_level" value="1" id="chk_grp_upload_level">
@ -322,7 +322,7 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_download_level">다운로드 권한</label></th>
<td>
<?=get_member_level_select('bo_download_level', 1, 10, $board['bo_download_level']) ?>
<?php echo get_member_level_select('bo_download_level', 1, 10, $board['bo_download_level']) ?>
</td>
<td class="group_setting">
<input type="checkbox" name="chk_grp_download_level" value="1" id="chk_grp_download_level">
@ -334,7 +334,7 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_html_level">HTML 쓰기 권한</label></th>
<td>
<?=get_member_level_select('bo_html_level', 1, 10, $board['bo_html_level']) ?>
<?php echo get_member_level_select('bo_html_level', 1, 10, $board['bo_html_level']) ?>
</td>
<td class="group_setting">
<input type="checkbox" name="chk_grp_html_level" value="1" id="chk_grp_html_level">
@ -349,7 +349,7 @@ $pg_anchor = '<ul class="anchor">
<section id="anc_bo_function" class="cbox">
<h2>게시판 기능 설정</h2>
<?=$pg_anchor?>
<?php echo $pg_anchor ?>
<table class="frm_tbl">
<colgroup>
@ -361,7 +361,7 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_count_modify">원글 수정 불가<strong class="sound_only">필수</strong></label></th>
<td>
댓글 <input type="text" name="bo_count_modify" value="<?=$board['bo_count_modify']?>" id="bo_count_modify" required class="required numeric frm_input" size="3">개 이상 달리면 수정불가
댓글 <input type="text" name="bo_count_modify" value="<?php echo $board['bo_count_modify'] ?>" id="bo_count_modify" required class="required numeric frm_input" size="3">개 이상 달리면 수정불가
</td>
<td class="group_setting">
<input type="checkbox" name="chk_grp_count_modify" value="1" id="chk_grp_count_modify">
@ -373,7 +373,7 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_count_delete">원글 삭제 불가<strong class="sound_only">필수</strong></label></th>
<td>
댓글 <input type="text" name="bo_count_delete" value="<?=$board['bo_count_delete']?>" id="bo_count_delete" required class="required numeric frm_input" size="3">개 이상 달리면 삭제불가
댓글 <input type="text" name="bo_count_delete" value="<?php echo $board['bo_count_delete'] ?>" id="bo_count_delete" required class="required numeric frm_input" size="3">개 이상 달리면 삭제불가
</td>
<td class="group_setting">
<input type="checkbox" name="chk_grp_count_delete" value="1" id="chk_grp_count_delete">
@ -385,7 +385,7 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_use_sideview">글쓴이 사이드뷰</label></th>
<td>
<input type="checkbox" name="bo_use_sideview" value="1" id="bo_use_sideview" <?=$board['bo_use_sideview']?'checked':'';?>>사용 (글쓴이 클릭시 나오는 레이어 메뉴)
<input type="checkbox" name="bo_use_sideview" value="1" id="bo_use_sideview" <?php echo $board['bo_use_sideview']?'checked':''; ?>>사용 (글쓴이 클릭시 나오는 레이어 메뉴)
</td>
<td class="group_setting">
<input type="checkbox" name="chk_grp_use_sideview" value="1" id="chk_grp_use_sideview">
@ -397,11 +397,11 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_use_secret">비밀글 사용</label></th>
<td>
<?=help('"체크박스"는 글작성시 비밀글 체크가 가능합니다. "무조건"은 작성되는 모든글을 비밀글로 작성합니다. (관리자는 체크박스로 출력합니다.) 스킨에 따라 적용되지 않을 수 있습니다.')?>
<?php echo help('"체크박스"는 글작성시 비밀글 체크가 가능합니다. "무조건"은 작성되는 모든글을 비밀글로 작성합니다. (관리자는 체크박스로 출력합니다.) 스킨에 따라 적용되지 않을 수 있습니다.') ?>
<select id="bo_use_secret" name="bo_use_secret">
<?=option_selected(0, $board['bo_use_secret'], "사용하지 않음");?>
<?=option_selected(1, $board['bo_use_secret'], "체크박스");?>
<?=option_selected(2, $board['bo_use_secret'], "무조건");?>
<?php echo option_selected(0, $board['bo_use_secret'], "사용하지 않음"); ?>
<?php echo option_selected(1, $board['bo_use_secret'], "체크박스"); ?>
<?php echo option_selected(2, $board['bo_use_secret'], "무조건"); ?>
</select>
</td>
<td class="group_setting">
@ -414,8 +414,8 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_use_dhtml_editor">DHTML 에디터 사용</label></th>
<td>
<?=help('글작성시 내용을 DHTML 에디터 기능으로 사용할 것인지 설정합니다. 스킨에 따라 적용되지 않을 수 있습니다.')?>
<input type="checkbox" name="bo_use_dhtml_editor" value="1" <?=$board['bo_use_dhtml_editor']?'checked':'';?> id="bo_use_dhtml_editor">
<?php echo help('글작성시 내용을 DHTML 에디터 기능으로 사용할 것인지 설정합니다. 스킨에 따라 적용되지 않을 수 있습니다.') ?>
<input type="checkbox" name="bo_use_dhtml_editor" value="1" <?php echo $board['bo_use_dhtml_editor']?'checked':''; ?> id="bo_use_dhtml_editor">
사용
</td>
<td class="group_setting">
@ -428,8 +428,8 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_use_rss_view">RSS 보이기 사용</label></th>
<td>
<?=help('비회원 글읽기가 가능하고 RSS 보이기 사용에 체크가 되어야만 RSS 지원을 합니다.')?>
<input type="checkbox" name="bo_use_rss_view" value="1" <?=$board['bo_use_rss_view']?'checked':'';?> id="bo_use_rss_view">
<?php echo help('비회원 글읽기가 가능하고 RSS 보이기 사용에 체크가 되어야만 RSS 지원을 합니다.') ?>
<input type="checkbox" name="bo_use_rss_view" value="1" <?php echo $board['bo_use_rss_view']?'checked':''; ?> id="bo_use_rss_view">
사용
</td>
<td class="group_setting">
@ -442,7 +442,7 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_use_good">추천 사용</label></th>
<td>
<input type="checkbox" name="bo_use_good" value="1" <?=$board['bo_use_good']?'checked':'';?> id="bo_use_good">
<input type="checkbox" name="bo_use_good" value="1" <?php echo $board['bo_use_good']?'checked':''; ?> id="bo_use_good">
사용
</td>
<td class="group_setting">
@ -455,7 +455,7 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_use_nogood">비추천 사용</label></th>
<td>
<input type="checkbox" name="bo_use_nogood" value="1" id="bo_use_nogood" <?=$board['bo_use_nogood']?'checked':'';?>>
<input type="checkbox" name="bo_use_nogood" value="1" id="bo_use_nogood" <?php echo $board['bo_use_nogood']?'checked':''; ?>>
사용
</td>
<td class="group_setting">
@ -468,7 +468,7 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_use_name">이름(실명) 사용</label></th>
<td>
<input type="checkbox" name="bo_use_name" value="1" id="bo_use_name" <?=$board['bo_use_name']?'checked':'';?>>
<input type="checkbox" name="bo_use_name" value="1" id="bo_use_name" <?php echo $board['bo_use_name']?'checked':''; ?>>
사용
</td>
<td class="group_setting">
@ -482,7 +482,7 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_use_signature">서명보이기 사용</label></th>
<td>
<input type="checkbox" name="bo_use_signature" value="1" id="bo_use_signature" <?=$board['bo_use_signature']?'checked':'';?>>
<input type="checkbox" name="bo_use_signature" value="1" id="bo_use_signature" <?php echo $board['bo_use_signature']?'checked':''; ?>>
사용
</td>
<td class="group_setting">
@ -495,7 +495,7 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_use_ip_view">IP 보이기 사용</label></th>
<td>
<input type="checkbox" name="bo_use_ip_view" value="1" id="bo_use_ip_view" <?=$board['bo_use_ip_view']?'checked':'';?>>
<input type="checkbox" name="bo_use_ip_view" value="1" id="bo_use_ip_view" <?php echo $board['bo_use_ip_view']?'checked':''; ?>>
사용
</td>
<td class="group_setting">
@ -508,7 +508,7 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_use_list_content">목록에서 내용 사용</label></th>
<td>
<input type="checkbox" name="bo_use_list_content" value="1" id="bo_use_list_content" <?=$board['bo_use_list_content']?'checked':'';?>>
<input type="checkbox" name="bo_use_list_content" value="1" id="bo_use_list_content" <?php echo $board['bo_use_list_content']?'checked':''; ?>>
사용 (사용시 속도 느려질 수 있습니다.)
</td>
<td class="group_setting">
@ -521,7 +521,7 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_use_list_view">전체목록보이기 사용</label></th>
<td>
<input type="checkbox" name="bo_use_list_view" value="1" id="bo_use_list_view" <?=$board['bo_use_list_view']?'checked':'';?>>
<input type="checkbox" name="bo_use_list_view" value="1" id="bo_use_list_view" <?php echo $board['bo_use_list_view']?'checked':''; ?>>
사용
</td>
<td class="group_setting">
@ -534,7 +534,7 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_use_email">메일발송 사용</label></th>
<td>
<input type="checkbox" name="bo_use_email" value="1" id="bo_use_email" <?=$board['bo_use_email']?'checked':'';?>>
<input type="checkbox" name="bo_use_email" value="1" id="bo_use_email" <?php echo $board['bo_use_email']?'checked':''; ?>>
사용
</td>
<td class="group_setting">
@ -547,8 +547,8 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_upload_count">파일 업로드 갯수<strong class="sound_only">필수</strong></label></th>
<td>
<?=help('게시물 한건당 업로드 할 수 있는 파일의 최대 개수 (0 은 파일첨부 사용하지 않음)')?>
<input type="text" name="bo_upload_count" value="<?=$board['bo_upload_count']?>" id="bo_upload_count" required class="required numeric frm_input" size="4">
<?php echo help('게시물 한건당 업로드 할 수 있는 파일의 최대 개수 (0 은 파일첨부 사용하지 않음)') ?>
<input type="text" name="bo_upload_count" value="<?php echo $board['bo_upload_count'] ?>" id="bo_upload_count" required class="required numeric frm_input" size="4">
</td>
<td class="group_setting">
<input type="checkbox" name="chk_grp_upload_count" value="1" id="chk_grp_upload_count">
@ -557,7 +557,7 @@ $pg_anchor = '<ul class="anchor">
<label for="chk_all_upload_count">전체적용</label>
</td>
</tr>
<?
<?php
$upload_max_filesize = ini_get('upload_max_filesize');
if (!preg_match("/([m|M])$/", $upload_max_filesize)) {
$upload_max_filesize = (int)($upload_max_filesize / 1048576);
@ -566,8 +566,8 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_upload_size">파일 업로드 용량<strong class="sound_only">필수</strong></label></th>
<td>
<?=help('최대 '.ini_get("upload_max_filesize").' 이하 업로드 가능, 1 MB = 1,048,576 bytes')?>
업로드 파일 한개당 <input type="text" name="bo_upload_size" value="<?=$board['bo_upload_size']?>" id="bo_upload_size" required class="required numeric frm_input" size="10"> bytes 이하
<?php echo help('최대 '.ini_get("upload_max_filesize").' 이하 업로드 가능, 1 MB = 1,048,576 bytes') ?>
업로드 파일 한개당 <input type="text" name="bo_upload_size" value="<?php echo $board['bo_upload_size'] ?>" id="bo_upload_size" required class="required numeric frm_input" size="10"> bytes 이하
</td>
<td class="group_setting">
<input type="checkbox" name="chk_grp_upload_size" value="1" id="chk_grp_upload_size">
@ -579,7 +579,7 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_use_file_content">파일 설명 사용</label></th>
<td>
<input type="checkbox" name="bo_use_file_content" value="1" id="bo_use_file_content" <?=$board['bo_use_file_content']?'checked':'';?>>사용
<input type="checkbox" name="bo_use_file_content" value="1" id="bo_use_file_content" <?php echo $board['bo_use_file_content']?'checked':''; ?>>사용
</td>
<td class="group_setting">
<input type="checkbox" name="chk_grp_use_file_content" value="1" id="chk_grp_use_file_content">
@ -591,8 +591,8 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_write_min">최소 글수 제한</label></th>
<td>
<?=help('글 입력시 최소 글자수를 설정. 0을 입력하면 검사하지 않음')?>
<input type="text" name="bo_write_min" value="<?=$board['bo_write_min']?>" id="bo_write_min" class="numeric frm_input" size="4">
<?php echo help('글 입력시 최소 글자수를 설정. 0을 입력하면 검사하지 않음') ?>
<input type="text" name="bo_write_min" value="<?php echo $board['bo_write_min'] ?>" id="bo_write_min" class="numeric frm_input" size="4">
</td>
<td class="group_setting">
<input type="checkbox" name="chk_grp_write_min" value="1" id="chk_grp_write_min">
@ -604,8 +604,8 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_write_max">최대 글수 제한</label></th>
<td>
<?=help('글 입력시 최대 글자수를 설정. 0을 입력하면 검사하지 않음')?>
<input type="text" name="bo_write_max" value="<?=$board['bo_write_max']?>" id="bo_write_max" class="numeric frm_input" size="4">
<?php echo help('글 입력시 최대 글자수를 설정. 0을 입력하면 검사하지 않음') ?>
<input type="text" name="bo_write_max" value="<?php echo $board['bo_write_max'] ?>" id="bo_write_max" class="numeric frm_input" size="4">
</td>
<td class="group_setting">
<input type="checkbox" name="chk_grp_write_max" value="1" id="chk_grp_write_max">
@ -617,8 +617,8 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_comment_min">최소 댓글수 제한</label></th>
<td>
<?=help('댓글 입력시 최소 글자수, 최대 글자수를 설정. 0을 입력하면 검사하지 않음')?>
<input type="text" name="bo_comment_min" value="<?=$board['bo_comment_min']?>" id="bo_comment_min" class="numeric frm_input" size="4">
<?php echo help('댓글 입력시 최소 글자수, 최대 글자수를 설정. 0을 입력하면 검사하지 않음') ?>
<input type="text" name="bo_comment_min" value="<?php echo $board['bo_comment_min'] ?>" id="bo_comment_min" class="numeric frm_input" size="4">
</td>
<td class="group_setting">
<input type="checkbox" name="chk_grp_comment_min" value="1" id="chk_grp_comment_min">
@ -630,8 +630,8 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_comment_max">최대 댓글수 제한</label></th>
<td>
<?=help('댓글 입력시 최소 글자수, 최대 글자수를 설정. 0을 입력하면 검사하지 않음')?>
<input type="text" name="bo_comment_max" value="<?=$board['bo_comment_max']?>" id="bo_comment_max" class="numeric frm_input" size="4">
<?php echo help('댓글 입력시 최소 글자수, 최대 글자수를 설정. 0을 입력하면 검사하지 않음') ?>
<input type="text" name="bo_comment_max" value="<?php echo $board['bo_comment_max'] ?>" id="bo_comment_max" class="numeric frm_input" size="4">
</td>
<td class="group_setting">
<input type="checkbox" name="chk_grp_comment_max" value="1" id="chk_grp_comment_max">
@ -643,7 +643,7 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_use_search">전체 검색 사용</label></th>
<td>
<input type="checkbox" name="bo_use_search" value="1" id="bo_use_search" <?=$board['bo_use_search']?'checked':'';?>>
<input type="checkbox" name="bo_use_search" value="1" id="bo_use_search" <?php echo $board['bo_use_search']?'checked':''; ?>>
사용
</td>
<td class="group_setting">
@ -656,8 +656,8 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_show_menu">메뉴보이기</label></th>
<td>
<?=help("사용에 체크하시면 게시판 제목을 메뉴에 출력합니다.")?>
<input type="checkbox" name="bo_show_menu" value="1" id="bo_show_menu" <?=$board['bo_show_menu']?'checked':'';?>>
<?php echo help("사용에 체크하시면 게시판 제목을 메뉴에 출력합니다.") ?>
<input type="checkbox" name="bo_show_menu" value="1" id="bo_show_menu" <?php echo $board['bo_show_menu']?'checked':''; ?>>
사용
</td>
<td class="group_setting">
@ -670,8 +670,8 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_order">출력 순서</label></th>
<td>
<?=help('숫자가 낮은 게시판 부터 메뉴나 검색시 우선 출력합니다.')?>
<input type="text" name="bo_order" value="<?=$board['bo_order']?>" id="bo_order" class="frm_input" size="4">
<?php echo help('숫자가 낮은 게시판 부터 메뉴나 검색시 우선 출력합니다.') ?>
<input type="text" name="bo_order" value="<?php echo $board['bo_order'] ?>" id="bo_order" class="frm_input" size="4">
</td>
<td class="group_setting">
<input type="checkbox" name="chk_grp_order" value="1" id="chk_grp_order">
@ -686,7 +686,7 @@ $pg_anchor = '<ul class="anchor">
<section id="anc_bo_design" class="cbox">
<h2>게시판 디자인/양식</h2>
<?=$pg_anchor?>
<?php echo $pg_anchor ?>
<table class="frm_tbl">
<colgroup>
@ -698,7 +698,7 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_skin">스킨 디렉토리<strong class="sound_only">필수</strong></label></th>
<td>
<?=get_skin_select('board', 'bo_skin', 'bo_skin', $board['bo_skin'], 'required');?>
<?php echo get_skin_select('board', 'bo_skin', 'bo_skin', $board['bo_skin'], 'required'); ?>
</td>
<td class="group_setting">
<input type="checkbox" name="chk_grp_skin" value="1" id="chk_grp_skin">
@ -711,7 +711,7 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_mobile_skin">모바일<br>스킨 디렉토리<strong class="sound_only">필수</strong></label></th>
<td>
<?=get_mobile_skin_select('board', 'bo_mobile_skin', 'bo_mobile_skin', $board['bo_mobile_skin'], 'required');?>
<?php echo get_mobile_skin_select('board', 'bo_mobile_skin', 'bo_mobile_skin', $board['bo_mobile_skin'], 'required'); ?>
</td>
<td class="group_setting">
<input type="checkbox" name="chk_grp_mobile_skin" value="1" id="chk_grp_mobile_skin">
@ -723,7 +723,7 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_include_head">상단 파일 경로</label></th>
<td>
<input type="text" name="bo_include_head" value="<?=$board['bo_include_head']?>" id="bo_include_head" class="frm_input" size="50">
<input type="text" name="bo_include_head" value="<?php echo $board['bo_include_head'] ?>" id="bo_include_head" class="frm_input" size="50">
</td>
<td class="group_setting">
<input type="checkbox" name="chk_grp_include_head" value="1" id="chk_grp_include_head">
@ -735,7 +735,7 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_include_tail">하단 파일 경로</label></th>
<td>
<input type="text" name="bo_include_tail" value="<?=$board['bo_include_tail']?>" id="bo_include_tail" class="frm_input" size="50">
<input type="text" name="bo_include_tail" value="<?php echo $board['bo_include_tail'] ?>" id="bo_include_tail" class="frm_input" size="50">
</td>
<td class="group_setting">
<input type="checkbox" name="chk_grp_include_tail" value="1" id="chk_grp_include_tail">
@ -747,7 +747,7 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_content_head">상단 내용</label></th>
<td>
<?=editor_html("bo_content_head", $board['bo_content_head']);?>
<?php echo editor_html("bo_content_head", $board['bo_content_head']); ?>
</td>
<td class="group_setting">
<input type="checkbox" name="chk_grp_content_head" value="1" id="chk_grp_content_head">
@ -759,7 +759,7 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_content_tail">하단 내용</label></th>
<td>
<?=editor_html("bo_content_tail", $board['bo_content_tail']);?>
<?php echo editor_html("bo_content_tail", $board['bo_content_tail']); ?>
</td>
<td class="group_setting">
<input type="checkbox" name="chk_grp_content_tail" value="1" id="chk_grp_content_tail">
@ -771,7 +771,7 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_mobile_content_head">모바일 상단 내용</label></th>
<td>
<?=editor_html("bo_mobile_content_head", $board['bo_mobile_content_head']);?>
<?php echo editor_html("bo_mobile_content_head", $board['bo_mobile_content_head']); ?>
</td>
<td class="group_setting">
<input type="checkbox" name="chk_grp_mobile_content_head" value="1" id="chk_grp_mobile_content_head">
@ -783,7 +783,7 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_mobile_content_tail">모바일 하단 내용</label></th>
<td>
<?=editor_html("bo_mobile_content_tail", $board['bo_mobile_content_tail']);?>
<?php echo editor_html("bo_mobile_content_tail", $board['bo_mobile_content_tail']); ?>
</td>
<td class="group_setting">
<input type="checkbox" name="chk_grp_mobile_content_tail" value="1" id="chk_grp_mobile_content_tail">
@ -795,7 +795,7 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_insert_content">글쓰기 기본 내용</label></th>
<td>
<textarea id="bo_insert_content" name="bo_insert_content" rows="5"><?=$board['bo_insert_content'] ?></textarea>
<textarea id="bo_insert_content" name="bo_insert_content" rows="5"><?php echo $board['bo_insert_content'] ?></textarea>
</td>
<td class="group_setting">
<input type="checkbox" name="chk_grp_insert_content" value="1" id="chk_grp_insert_content">
@ -807,8 +807,8 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_subject_len">제목 길이<strong class="sound_only">필수</strong></label></th>
<td>
<?=help('목록에서의 제목 글자수. 잘리는 글은 … 로 표시')?>
<input type="text" name="bo_subject_len" value="<?=$board['bo_subject_len']?>" id="bo_subject_len" required class="required numeric frm_input" size="4">
<?php echo help('목록에서의 제목 글자수. 잘리는 글은 … 로 표시') ?>
<input type="text" name="bo_subject_len" value="<?php echo $board['bo_subject_len'] ?>" id="bo_subject_len" required class="required numeric frm_input" size="4">
</td>
<td class="group_setting">
<input type="checkbox" name="chk_grp_subject_len" value="1" id="chk_grp_subject_len">
@ -820,8 +820,8 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_mobile_subject_len">모바일 제목 길이<strong class="sound_only">필수</strong></label></th>
<td>
<?=help('목록에서의 제목 글자수. 잘리는 글은 … 로 표시')?>
<input type="text" name="bo_mobile_subject_len" value="<?=$board['bo_mobile_subject_len']?>" id="bo_mobile_subject_len" required class="required numeric frm_input" size="4">
<?php echo help('목록에서의 제목 글자수. 잘리는 글은 … 로 표시') ?>
<input type="text" name="bo_mobile_subject_len" value="<?php echo $board['bo_mobile_subject_len'] ?>" id="bo_mobile_subject_len" required class="required numeric frm_input" size="4">
</td>
<td class="group_setting">
<input type="checkbox" name="chk_grp_mobile_subject_len" value="1" id="chk_grp_mobile_subject_len">
@ -833,7 +833,7 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_page_rows">페이지당 목록 수<strong class="sound_only">필수</strong></label></th>
<td>
<input type="text" name="bo_page_rows" value="<?=$board['bo_page_rows']?>" id="bo_page_rows" required class="required numeric frm_input" size="4">
<input type="text" name="bo_page_rows" value="<?php echo $board['bo_page_rows'] ?>" id="bo_page_rows" required class="required numeric frm_input" size="4">
</td>
<td class="group_setting">
<input type="checkbox" name="chk_grp_page_rows" value="1" id="chk_grp_page_rows">
@ -845,7 +845,7 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_mobile_page_rows">모바일 페이지당 목록 수<strong class="sound_only">필수</strong></label></th>
<td>
<input type="text" name="bo_mobile_page_rows" value="<?=$board['bo_mobile_page_rows']?>" id="bo_mobile_page_rows" required class="required numeric frm_input" size="4">
<input type="text" name="bo_mobile_page_rows" value="<?php echo $board['bo_mobile_page_rows'] ?>" id="bo_mobile_page_rows" required class="required numeric frm_input" size="4">
</td>
<td class="group_setting">
<input type="checkbox" name="chk_grp_mobile_page_rows" value="1" id="chk_grp_mobile_page_rows">
@ -857,8 +857,8 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_gallery_cols">갤러리 이미지 수<strong class="sound_only">필수</strong></label></th>
<td>
<?=help('갤러리 형식의 게시판 목록에서 이미지를 한줄에 몇장씩 보여 줄 것인지를 설정하는 값')?>
<input type="text" name="bo_gallery_cols" value="<?=$board['bo_gallery_cols']?>" id="bo_gallery_cols" required class="required numeric frm_input" size="4">
<?php echo help('갤러리 형식의 게시판 목록에서 이미지를 한줄에 몇장씩 보여 줄 것인지를 설정하는 값') ?>
<input type="text" name="bo_gallery_cols" value="<?php echo $board['bo_gallery_cols'] ?>" id="bo_gallery_cols" required class="required numeric frm_input" size="4">
</td>
<td class="group_setting">
<input type="checkbox" name="chk_grp_gallery_cols" value="1" id="chk_grp_gallery_cols">
@ -870,8 +870,8 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_gallery_width">갤러리 이미지 폭<strong class="sound_only">필수</strong></label></th>
<td>
<?=help('갤러리 형식의 게시판 목록에서 썸네일 이미지의 폭을 설정하는 값')?>
<input type="text" name="bo_gallery_width" value="<?=$board['bo_gallery_width']?>" id="bo_gallery_width" required class="required numeric frm_input" size="4">
<?php echo help('갤러리 형식의 게시판 목록에서 썸네일 이미지의 폭을 설정하는 값') ?>
<input type="text" name="bo_gallery_width" value="<?php echo $board['bo_gallery_width'] ?>" id="bo_gallery_width" required class="required numeric frm_input" size="4">
</td>
<td class="group_setting">
<input type="checkbox" name="chk_grp_gallery_width" value="1" id="chk_grp_gallery_width">
@ -883,8 +883,8 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_gallery_height">갤러리 이미지 높이<strong class="sound_only">필수</strong></label></th>
<td>
<?=help('갤러리 형식의 게시판 목록에서 썸네일 이미지의 높이를 설정하는 값')?>
<input type="text" name="bo_gallery_height" value="<?=$board['bo_gallery_height']?>" id="bo_gallery_height" required class="required numeric frm_input" size="4">
<?php echo help('갤러리 형식의 게시판 목록에서 썸네일 이미지의 높이를 설정하는 값') ?>
<input type="text" name="bo_gallery_height" value="<?php echo $board['bo_gallery_height'] ?>" id="bo_gallery_height" required class="required numeric frm_input" size="4">
</td>
<td class="group_setting">
<input type="checkbox" name="chk_grp_gallery_height" value="1" id="chk_grp_gallery_height">
@ -896,8 +896,8 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_mobile_gallery_cols">모바일<br>갤러리 이미지 수<strong class="sound_only">필수</strong></label></th>
<td>
<?=help('모바일로 접속시 갤러리 형식의 게시판 목록에서 이미지를 한줄에 몇장씩 보여 줄 것인지를 설정하는 값')?>
<input type="text" name="bo_mobile_gallery_cols" value="<?=$board['bo_mobile_gallery_cols']?>" id="bo_mobile_gallery_cols" required class="required numeric frm_input" size="4">
<?php echo help('모바일로 접속시 갤러리 형식의 게시판 목록에서 이미지를 한줄에 몇장씩 보여 줄 것인지를 설정하는 값') ?>
<input type="text" name="bo_mobile_gallery_cols" value="<?php echo $board['bo_mobile_gallery_cols'] ?>" id="bo_mobile_gallery_cols" required class="required numeric frm_input" size="4">
</td>
<td class="group_setting">
<input type="checkbox" name="mobile_chk_grp_gallery_cols" id="mobile_chk_grp_gallery_cols" value="1">
@ -909,8 +909,8 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_mobile_gallery_width">모바일<br>갤러리 이미지 폭<strong class="sound_only">필수</strong></label></th>
<td>
<?=help('모바일로 접속시 갤러리 형식의 게시판 목록에서 썸네일 이미지의 폭을 설정하는 값')?>
<input type="text" name="bo_mobile_gallery_width" value="<?=$board['bo_mobile_gallery_width']?>" id="bo_mobile_gallery_width" required class="required numeric frm_input" size="4">
<?php echo help('모바일로 접속시 갤러리 형식의 게시판 목록에서 썸네일 이미지의 폭을 설정하는 값') ?>
<input type="text" name="bo_mobile_gallery_width" value="<?php echo $board['bo_mobile_gallery_width'] ?>" id="bo_mobile_gallery_width" required class="required numeric frm_input" size="4">
</td>
<td class="group_setting">
<input type="checkbox" name="mobile_chk_grp_gallery_width" value="1" id="mobile_chk_grp_gallery_width">
@ -922,8 +922,8 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_mobile_gallery_height">모바일<br>갤러리 이미지 높이<strong class="sound_only">필수</strong></label></th>
<td>
<?=help('모바일로 접속시 갤러리 형식의 게시판 목록에서 썸네일 이미지의 높이를 설정하는 값')?>
<input type="text" name="bo_mobile_gallery_height" value="<?=$board['bo_mobile_gallery_height']?>" id="bo_mobile_gallery_height" required class="required numeric frm_input" size="4">
<?php echo help('모바일로 접속시 갤러리 형식의 게시판 목록에서 썸네일 이미지의 높이를 설정하는 값') ?>
<input type="text" name="bo_mobile_gallery_height" value="<?php echo $board['bo_mobile_gallery_height'] ?>" id="bo_mobile_gallery_height" required class="required numeric frm_input" size="4">
</td>
<td class="group_setting">
<input type="checkbox" name="mobile_chk_grp_gallery_height" value="1" id="mobile_chk_grp_gallery_height">
@ -935,8 +935,8 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_table_width">게시판 폭<strong class="sound_only">필수</strong></label></th>
<td>
<?=help('100 이하는 %')?>
<input type="text" name="bo_table_width" value="<?=$board['bo_table_width']?>" id="bo_table_width" required class="required numeric frm_input" size="4">
<?php echo help('100 이하는 %') ?>
<input type="text" name="bo_table_width" value="<?php echo $board['bo_table_width'] ?>" id="bo_table_width" required class="required numeric frm_input" size="4">
</td>
<td class="group_setting">
<input type="checkbox" name="chk_grp_table_width" value="1" id="chk_grp_table_width">
@ -948,8 +948,8 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_image_width">이미지 폭 크기<strong class="sound_only">필수</strong></label></th>
<td>
<?=help('게시판에서 출력되는 이미지의 폭 크기')?>
<input type="text" name="bo_image_width" value="<?=$board['bo_image_width']?>" id="bo_image_width" required class="required numeric frm_input" size="4"> 픽셀
<?php echo help('게시판에서 출력되는 이미지의 폭 크기') ?>
<input type="text" name="bo_image_width" value="<?php echo $board['bo_image_width'] ?>" id="bo_image_width" required class="required numeric frm_input" size="4"> 픽셀
</td>
<td class="group_setting">
<input type="checkbox" name="chk_grp_image_width" value="1" id="chk_grp_image_width">
@ -961,8 +961,8 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_new">새글 아이콘<strong class="sound_only">필수</strong></label></th>
<td>
<?=help('글 입력후 new 이미지를 출력하는 시간')?>
<input type="text" name="bo_new" value="<?=$board['bo_new']?>" id="bo_new" required class="required numeric frm_input" size="4">
<?php echo help('글 입력후 new 이미지를 출력하는 시간') ?>
<input type="text" name="bo_new" value="<?php echo $board['bo_new'] ?>" id="bo_new" required class="required numeric frm_input" size="4">
</td>
<td class="group_setting">
<input type="checkbox" name="chk_grp_new" value="1" id="chk_grp_new">
@ -974,8 +974,8 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_hot">인기글 아이콘<strong class="sound_only">필수</strong></label></th>
<td>
<?=help('조회수가 설정값 이상이면 hot 이미지 출력')?>
<input type="text" name="bo_hot" value="<?=$board['bo_hot']?>" id="bo_hot" required class="required numeric frm_input" size="4">
<?php echo help('조회수가 설정값 이상이면 hot 이미지 출력') ?>
<input type="text" name="bo_hot" value="<?php echo $board['bo_hot'] ?>" id="bo_hot" required class="required numeric frm_input" size="4">
</td>
<td class="group_setting">
<input type="checkbox" name="chk_grp_hot" value="1" id="chk_grp_hot">
@ -988,8 +988,8 @@ $pg_anchor = '<ul class="anchor">
<th scope="row"><label for="bo_reply_order">답변 달기</label></th>
<td>
<select id="bo_reply_order" name="bo_reply_order">
<option value="1"<?=get_selected($board['bo_reply_order'], 1, true);?>>나중에 쓴 답변 아래로 달기 (기본)
<option value="0"<?=get_selected($board['bo_reply_order'], 0);?>>나중에 쓴 답변 위로 달기
<option value="1"<?php echo get_selected($board['bo_reply_order'], 1, true); ?>>나중에 쓴 답변 아래로 달기 (기본)
<option value="0"<?php echo get_selected($board['bo_reply_order'], 0); ?>>나중에 쓴 답변 위로 달기
</select>
</td>
<td class="group_setting">
@ -1002,27 +1002,27 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_sort_field">리스트 정렬 필드</label></th>
<td>
<?=help('리스트에서 기본으로 정렬에 사용할 필드를 선택합니다. "기본"으로 사용하지 않으시는 경우 속도가 느려질 수 있습니다.')?>
<?php echo help('리스트에서 기본으로 정렬에 사용할 필드를 선택합니다. "기본"으로 사용하지 않으시는 경우 속도가 느려질 수 있습니다.') ?>
<select id="bo_sort_field" name="bo_sort_field">
<option value="" <?=get_selected($board['bo_sort_field'], "");?>>wr_num, wr_reply : 기본</option>
<option value="wr_datetime asc" <?=get_selected($board['bo_sort_field'], "wr_datetime asc");?>>wr_datetime asc : 날짜 이전것 부터</option>
<option value="wr_datetime desc" <?=get_selected($board['bo_sort_field'], "wr_datetime desc");?>>wr_datetime desc : 날짜 최근것 부터</option>
<option value="wr_hit asc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "wr_hit asc, wr_num, wr_reply");?>>wr_hit asc : 조회수 낮은것 부터</option>
<option value="wr_hit desc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "wr_hit desc, wr_num, wr_reply");?>>wr_hit desc : 조회수 높은것 부터</option>
<option value="wr_last asc" <?=get_selected($board['bo_sort_field'], "wr_last asc");?>>wr_last asc : 최근글 이전것 부터</option>
<option value="wr_last desc" <?=get_selected($board['bo_sort_field'], "wr_last desc");?>>wr_last desc : 최근글 최근것 부터</option>
<option value="wr_comment asc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "wr_comment asc, wr_num, wr_reply");?>>wr_comment asc : 댓글수 낮은것 부터</option>
<option value="wr_comment desc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "wr_comment desc, wr_num, wr_reply");?>>wr_comment desc : 댓글수 높은것 부터</option>
<option value="wr_good asc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "wr_good asc, wr_num, wr_reply");?>>wr_good asc : 추천수 낮은것 부터</option>
<option value="wr_good desc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "wr_good desc, wr_num, wr_reply");?>>wr_good desc : 추천수 높은것 부터</option>
<option value="wr_nogood asc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "wr_nogood asc, wr_num, wr_reply");?>>wr_nogood asc : 비추천수 낮은것 부터</option>
<option value="wr_nogood desc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "wr_nogood desc, wr_num, wr_reply");?>>wr_nogood desc : 비추천수 높은것 부터</option>
<option value="wr_subject asc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "wr_subject asc, wr_num, wr_reply");?>>wr_subject asc : 제목 내림차순</option>
<option value="wr_subject desc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "wr_subject desc, wr_num, wr_reply");?>>wr_subject desc : 제목 오름차순</option>
<option value="wr_name asc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "wr_name asc, wr_num, wr_reply");?>>wr_name asc : 글쓴이 내림차순</option>
<option value="wr_name desc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "wr_name desc, wr_num, wr_reply");?>>wr_name desc : 글쓴이 오름차순</option>
<option value="ca_name asc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "ca_name asc, wr_num, wr_reply");?>>ca_name asc : 분류명 내림차순</option>
<option value="ca_name desc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "ca_name desc, wr_num, wr_reply");?>>ca_name desc : 분류명 오름차순</option>
<option value="" <?php echo get_selected($board['bo_sort_field'], ""); ?>>wr_num, wr_reply : 기본</option>
<option value="wr_datetime asc" <?php echo get_selected($board['bo_sort_field'], "wr_datetime asc"); ?>>wr_datetime asc : 날짜 이전것 부터</option>
<option value="wr_datetime desc" <?php echo get_selected($board['bo_sort_field'], "wr_datetime desc"); ?>>wr_datetime desc : 날짜 최근것 부터</option>
<option value="wr_hit asc, wr_num, wr_reply" <?php echo get_selected($board['bo_sort_field'], "wr_hit asc, wr_num, wr_reply"); ?>>wr_hit asc : 조회수 낮은것 부터</option>
<option value="wr_hit desc, wr_num, wr_reply" <?php echo get_selected($board['bo_sort_field'], "wr_hit desc, wr_num, wr_reply"); ?>>wr_hit desc : 조회수 높은것 부터</option>
<option value="wr_last asc" <?php echo get_selected($board['bo_sort_field'], "wr_last asc"); ?>>wr_last asc : 최근글 이전것 부터</option>
<option value="wr_last desc" <?php echo get_selected($board['bo_sort_field'], "wr_last desc"); ?>>wr_last desc : 최근글 최근것 부터</option>
<option value="wr_comment asc, wr_num, wr_reply" <?php echo get_selected($board['bo_sort_field'], "wr_comment asc, wr_num, wr_reply"); ?>>wr_comment asc : 댓글수 낮은것 부터</option>
<option value="wr_comment desc, wr_num, wr_reply" <?php echo get_selected($board['bo_sort_field'], "wr_comment desc, wr_num, wr_reply"); ?>>wr_comment desc : 댓글수 높은것 부터</option>
<option value="wr_good asc, wr_num, wr_reply" <?php echo get_selected($board['bo_sort_field'], "wr_good asc, wr_num, wr_reply"); ?>>wr_good asc : 추천수 낮은것 부터</option>
<option value="wr_good desc, wr_num, wr_reply" <?php echo get_selected($board['bo_sort_field'], "wr_good desc, wr_num, wr_reply"); ?>>wr_good desc : 추천수 높은것 부터</option>
<option value="wr_nogood asc, wr_num, wr_reply" <?php echo get_selected($board['bo_sort_field'], "wr_nogood asc, wr_num, wr_reply"); ?>>wr_nogood asc : 비추천수 낮은것 부터</option>
<option value="wr_nogood desc, wr_num, wr_reply" <?php echo get_selected($board['bo_sort_field'], "wr_nogood desc, wr_num, wr_reply"); ?>>wr_nogood desc : 비추천수 높은것 부터</option>
<option value="wr_subject asc, wr_num, wr_reply" <?php echo get_selected($board['bo_sort_field'], "wr_subject asc, wr_num, wr_reply"); ?>>wr_subject asc : 제목 내림차순</option>
<option value="wr_subject desc, wr_num, wr_reply" <?php echo get_selected($board['bo_sort_field'], "wr_subject desc, wr_num, wr_reply"); ?>>wr_subject desc : 제목 오름차순</option>
<option value="wr_name asc, wr_num, wr_reply" <?php echo get_selected($board['bo_sort_field'], "wr_name asc, wr_num, wr_reply"); ?>>wr_name asc : 글쓴이 내림차순</option>
<option value="wr_name desc, wr_num, wr_reply" <?php echo get_selected($board['bo_sort_field'], "wr_name desc, wr_num, wr_reply"); ?>>wr_name desc : 글쓴이 오름차순</option>
<option value="ca_name asc, wr_num, wr_reply" <?php echo get_selected($board['bo_sort_field'], "ca_name asc, wr_num, wr_reply"); ?>>ca_name asc : 분류명 내림차순</option>
<option value="ca_name desc, wr_num, wr_reply" <?php echo get_selected($board['bo_sort_field'], "ca_name desc, wr_num, wr_reply"); ?>>ca_name desc : 분류명 오름차순</option>
</select>
</td>
<td class="group_setting">
@ -1037,7 +1037,7 @@ $pg_anchor = '<ul class="anchor">
<section id="anc_bo_point" class="cbox">
<h2>게시판 포인트 설정</h2>
<?=$pg_anchor?>
<?php echo $pg_anchor ?>
<table class="frm_tbl">
<colgroup>
@ -1049,14 +1049,14 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="chk_grp_point">기본값으로 설정</label></th>
<td colspan="2">
<?=help('환경설정에 입력된 포인트로 설정')?>
<?php echo help('환경설정에 입력된 포인트로 설정') ?>
<input type="checkbox" name="chk_grp_point" id="chk_grp_point" onclick="set_point(this.form)">
</td>
</tr>
<tr>
<th scope="row"><label for="bo_read_point">글읽기 포인트<strong class="sound_only">필수</strong></label></th>
<td>
<input type="text" name="bo_read_point" value="<?=$board['bo_read_point']?>" id="bo_read_point" required class="required frm_input" size="5">
<input type="text" name="bo_read_point" value="<?php echo $board['bo_read_point'] ?>" id="bo_read_point" required class="required frm_input" size="5">
</td>
<td class="group_setting">
<input type="checkbox" name="chk_grp_read_point" value="1" id="chk_grp_read_point">
@ -1068,7 +1068,7 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_write_point">글쓰기 포인트<strong class="sound_only">필수</strong></label></th>
<td>
<input type="text" name="bo_write_point" value="<?=$board['bo_write_point']?>" id="bo_write_point" required class="required frm_input" size="5">
<input type="text" name="bo_write_point" value="<?php echo $board['bo_write_point'] ?>" id="bo_write_point" required class="required frm_input" size="5">
</td>
<td class="group_setting">
<input type="checkbox" name="chk_grp_write_point" value="1" id="chk_grp_write_point">
@ -1080,7 +1080,7 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_comment_point">댓글쓰기 포인트<strong class="sound_only">필수</strong></label></th>
<td>
<input type="text" name="bo_comment_point" value="<?=$board['bo_comment_point']?>" id="bo_comment_point" required class="required frm_input" size="5">
<input type="text" name="bo_comment_point" value="<?php echo $board['bo_comment_point'] ?>" id="bo_comment_point" required class="required frm_input" size="5">
</td>
<td class="group_setting">
<input type="checkbox" name="chk_grp_comment_point" value="1" id="chk_grp_comment_point">
@ -1092,7 +1092,7 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="bo_download_point">다운로드 포인트<strong class="sound_only">필수</strong></label></th>
<td>
<input type="text" name="bo_download_point" value="<?=$board['bo_download_point']?>" id="bo_download_point" required class="required frm_input" size="5">
<input type="text" name="bo_download_point" value="<?php echo $board['bo_download_point'] ?>" id="bo_download_point" required class="required frm_input" size="5">
</td>
<td class="group_setting">
<input type="checkbox" name="chk_grp_download_point" value="1" id="chk_grp_download_point">
@ -1107,7 +1107,7 @@ $pg_anchor = '<ul class="anchor">
<section id="anc_bo_extra" class="cbox">
<h2>게시판 여분필드 설정</h2>
<?=$pg_anchor?>
<?php echo $pg_anchor ?>
<table class="frm_tbl">
<colgroup>
@ -1116,23 +1116,23 @@ $pg_anchor = '<ul class="anchor">
<col class="grid_3">
</colgroup>
<tbody>
<? for ($i=1; $i<=10; $i++) { ?>
<?php for ($i=1; $i<=10; $i++) { ?>
<tr>
<th scope="row">여분필드<?=$i?></th>
<th scope="row">여분필드<?php echo $i ?></th>
<td>
<label for="bo_<?=$i?>_subj">여분필드 <?=$i?> 제목</label>
<input type="text" name="bo_<?=$i?>_subj" id="bo_<?=$i?>_subj" value="<?=get_text($board['bo_'.$i.'_subj'])?>" class="frm_input">
<label for="bo_<?=$i?>">여분필드 <?=$i?> 값</label>
<input type="text" name="bo_<?=$i?>" value="<?=get_text($board['bo_'.$i])?>" id="bo_<?=$i?>" class="frm_input">
<label for="bo_<?php echo $i ?>_subj">여분필드 <?php echo $i ?> 제목</label>
<input type="text" name="bo_<?php echo $i ?>_subj" id="bo_<?php echo $i ?>_subj" value="<?php echo get_text($board['bo_'.$i.'_subj']) ?>" class="frm_input">
<label for="bo_<?php echo $i ?>">여분필드 <?php echo $i ?> 값</label>
<input type="text" name="bo_<?php echo $i ?>" value="<?php echo get_text($board['bo_'.$i]) ?>" id="bo_<?php echo $i ?>" class="frm_input">
</td>
<td class="group_setting">
<input type="checkbox" name="chk_grp_<?=$i?>" value="1" id="chk_grp_<?=$i?>">
<label for="chk_grp_<?=$i?>">그룹적용</label>
<input type="checkbox" name="chk_all_<?=$i?>" value="1" id="chk_all_<?=$i?>">
<label for="chk_all_<?=$i?>">전체적용</label>
<input type="checkbox" name="chk_grp_<?php echo $i ?>" value="1" id="chk_grp_<?php echo $i ?>">
<label for="chk_grp_<?php echo $i ?>">그룹적용</label>
<input type="checkbox" name="chk_all_<?php echo $i ?>" value="1" id="chk_all_<?php echo $i ?>">
<label for="chk_all_<?php echo $i ?>">전체적용</label>
</td>
</tr>
<? } ?>
<?php } ?>
</tbody>
</table>
</section>
@ -1147,11 +1147,11 @@ $pg_anchor = '<ul class="anchor">
<div class="btn_confirm">
<p>
작성하신 내용을 제출하시려면 <strong>확인</strong> 버튼을, 작성을 취소하고 목록으로 돌아가시려면 <strong>목록</strong> 링크를 누르세요.
<? if ($w == 'u') { ?><br>게시판을 복사하시려면 <strong>게시판복사</strong> 링크를 누르세요.<? } ?>
<?php if ($w == 'u') { ?><br>게시판을 복사하시려면 <strong>게시판복사</strong> 링크를 누르세요.<?php } ?>
</p>
<input type="submit" value="확인" class="btn_submit" accesskey="s">
<a href="./board_list.php?<?=$qstr?>">목록</a>
<? if ($w == 'u') { ?><a href="./board_copy.php?bo_table=<?=$bo_table?>" id="board_copy" target="win_board_copy">게시판복사</a><?}?>
<a href="./board_list.php?<?php echo $qstr ?>">목록</a>
<?php if ($w == 'u') { ?><a href="./board_copy.php?bo_table=<?php echo $bo_table ?>" id="board_copy" target="win_board_copy">게시판복사</a><?php } ?>
</div>
</form>
@ -1170,10 +1170,10 @@ function board_copy(bo_table) {
function set_point(f) {
if (f.chk_grp_point.checked) {
f.bo_read_point.value = "<?=$config['cf_read_point']?>";
f.bo_write_point.value = "<?=$config['cf_write_point']?>";
f.bo_comment_point.value = "<?=$config['cf_comment_point']?>";
f.bo_download_point.value = "<?=$config['cf_download_point']?>";
f.bo_read_point.value = "<?php echo $config['cf_read_point'] ?>";
f.bo_write_point.value = "<?php echo $config['cf_write_point'] ?>";
f.bo_comment_point.value = "<?php echo $config['cf_comment_point'] ?>";
f.bo_download_point.value = "<?php echo $config['cf_download_point'] ?>";
} else {
f.bo_read_point.value = f.bo_read_point.defaultValue;
f.bo_write_point.value = f.bo_write_point.defaultValue;
@ -1184,10 +1184,10 @@ function set_point(f) {
function fboardform_submit(f)
{
<?=get_editor_js("bo_content_head");?>
<?=get_editor_js("bo_content_tail");?>
<?=get_editor_js("bo_mobile_content_head");?>
<?=get_editor_js("bo_mobile_content_tail");?>
<?php echo get_editor_js("bo_content_head"); ?>
<?php echo get_editor_js("bo_content_tail"); ?>
<?php echo get_editor_js("bo_mobile_content_head"); ?>
<?php echo get_editor_js("bo_mobile_content_tail"); ?>
if (parseInt(f.bo_count_modify.value) < 1) {
alert("원글 수정 불가 댓글수는 1 이상 입력하셔야 합니다.");
@ -1205,6 +1205,6 @@ function fboardform_submit(f)
}
</script>
<?
<?php
include_once ('./admin.tail.php');
?>

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "300100";
include_once('./_common.php');

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "300100";
include_once('./_common.php');
@ -60,15 +60,15 @@ $colspan = 15;
<fieldset>
<legend>게시판 검색</legend>
<span>
<?=$listall?>
생성된 게시판수 <?=number_format($total_count)?>개
<?php echo $listall ?>
생성된 게시판수 <?php echo number_format($total_count) ?>개
</span>
<select name="sfl" title="검색대상">
<option value="bo_table"<?=get_selected($_GET['sfl'], "bo_subject", true);?>>TABLE</option>
<option value="bo_subject"<?=get_selected($_GET['sfl'], "bo_subject");?>>제목</option>
<option value="a.gr_id"<?=get_selected($_GET['sfl'], "a.gr_id");?>>그룹ID</option>
<option value="bo_table"<?php echo get_selected($_GET['sfl'], "bo_subject", true); ?>>TABLE</option>
<option value="bo_subject"<?php echo get_selected($_GET['sfl'], "bo_subject"); ?>>제목</option>
<option value="a.gr_id"<?php echo get_selected($_GET['sfl'], "a.gr_id"); ?>>그룹ID</option>
</select>
<input type="text" name="stx" value="<?=$stx?>" title="검색어(필수)" required class="required frm_input">
<input type="text" name="stx" value="<?php echo $stx ?>" title="검색어(필수)" required class="required frm_input">
<input type="submit" value="검색" class="btn_submit">
</fieldset>
</form>
@ -77,41 +77,41 @@ $colspan = 15;
<h2>생성된 게시판 목록</h2>
<p>여러개의 게시판 설정을 한번에 바꾸실 때는 게시판 체크기능을 이용하세요.</p>
<?if ($is_admin == 'super') {?>
<?php if ($is_admin == 'super') { ?>
<div id="btn_add">
<a href="./board_form.php" id="bo_add">게시판 추가</a>
</div>
<?}?>
<?php } ?>
<form name="fboardlist" id="fboardlist" action="./board_list_update.php" onsubmit="return fboardlist_submit(this);" method="post">
<input type="hidden" name="sst" value="<?=$sst?>">
<input type="hidden" name="sod" value="<?=$sod?>">
<input type="hidden" name="sfl" value="<?=$sfl?>">
<input type="hidden" name="stx" value="<?=$stx?>">
<input type="hidden" name="page" value="<?=$page?>">
<input type="hidden" name="token" value="<?=$token?>">
<input type="hidden" name="sst" value="<?php echo $sst ?>">
<input type="hidden" name="sod" value="<?php echo $sod ?>">
<input type="hidden" name="sfl" value="<?php echo $sfl ?>">
<input type="hidden" name="stx" value="<?php echo $stx ?>">
<input type="hidden" name="page" value="<?php echo $page ?>">
<input type="hidden" name="token" value="<?php echo $token ?>">
<table class="tbl_bo_list">
<thead>
<tr>
<th scope="col"><input type="checkbox" name="chkall" value="1" id="chkall" title="현재 페이지 게시판 전체선택" onclick="check_all(this.form)"></th>
<th scope="col"><?=subject_sort_link('a.gr_id')?>그룹</a></th>
<th scope="col"><?=subject_sort_link('bo_table')?>TABLE</a></th>
<th scope="col"><?=subject_sort_link('bo_skin', '', 'desc')?>스킨</a></th>
<th scope="col"><?=subject_sort_link('bo_mobile_skin', '', 'desc')?>모바일<br>스킨</a></th>
<th scope="col"><?=subject_sort_link('bo_subject')?>제목</a></th>
<th scope="col"><?php echo subject_sort_link('a.gr_id') ?>그룹</a></th>
<th scope="col"><?php echo subject_sort_link('bo_table') ?>TABLE</a></th>
<th scope="col"><?php echo subject_sort_link('bo_skin', '', 'desc') ?>스킨</a></th>
<th scope="col"><?php echo subject_sort_link('bo_mobile_skin', '', 'desc') ?>모바일<br>스킨</a></th>
<th scope="col"><?php echo subject_sort_link('bo_subject') ?>제목</a></th>
<th scope="col">읽기P<span class="sound_only">포인트</span></th>
<th scope="col">쓰기P<span class="sound_only">포인트</span></th>
<th scope="col">댓글P<span class="sound_only">포인트</span></th>
<th scope="col">다운P<span class="sound_only">포인트</span></th>
<th scope="col"><?=subject_sort_link('bo_use_search')?>검색<br>사용</a></th>
<th scope="col"><?=subject_sort_link('bo_show_menu')?>메뉴<br>보임</a></th>
<th scope="col"><?=subject_sort_link('bo_order')?>출력<br>순서</a></th>
<th scope="col"><?php echo subject_sort_link('bo_use_search') ?>검색<br>사용</a></th>
<th scope="col"><?php echo subject_sort_link('bo_show_menu') ?>메뉴<br>보임</a></th>
<th scope="col"><?php echo subject_sort_link('bo_order') ?>출력<br>순서</a></th>
<th scope="col">접속기기</th>
<th scope="col">관리</th>
</tr>
</thead>
<tbody>
<?
<?php
for ($i=0; $row=sql_fetch_array($result); $i++) {
$one_update = '<a href="./board_form.php?w=u&amp;bo_table='.$row['bo_table'].'&amp;'.$qstr.'">수정</a>';
$one_copy = '<a href="./board_copy.php?bo_table='.$row['bo_table'].'" class="board_copy" target="win_board_copy">복사</a>';
@ -119,43 +119,43 @@ $colspan = 15;
<tr>
<td>
<input type="checkbox" name="chk[]" value="<?=$i?>" id="chk_<?=$i?>" title="<?=get_text($row['bo_subject'])?> 게시판선택">
<input type="checkbox" name="chk[]" value="<?php echo $i ?>" id="chk_<?php echo $i ?>" title="<?php echo get_text($row['bo_subject']) ?> 게시판선택">
</td>
<td>
<?if ($is_admin == 'super'){?>
<?=get_group_select("gr_id[$i]", $row['gr_id'])?>
<?}else{?>
<input type="hidden" name="gr_id[<?=$i?>]" value="<?=$row['gr_id']?>"><?=$row['gr_subject']?>
<?}?>
<?php if ($is_admin == 'super'){ ?>
<?php echo get_group_select("gr_id[$i]", $row['gr_id']) ?>
<?php }else{ ?>
<input type="hidden" name="gr_id[<?php echo $i ?>]" value="<?php echo $row['gr_id'] ?>"><?php echo $row['gr_subject'] ?>
<?php } ?>
</td>
<td class="td_boid">
<input type="hidden" name="board_table[<?=$i?>]" value="<?=$row['bo_table']?>">
<a href="<?=G4_BBS_URL?>/board.php?bo_table=<?=$row['bo_table']?>"><?=$row['bo_table']?></a>
<input type="hidden" name="board_table[<?php echo $i ?>]" value="<?php echo $row['bo_table'] ?>">
<a href="<?php echo G4_BBS_URL ?>/board.php?bo_table=<?php echo $row['bo_table'] ?>"><?php echo $row['bo_table'] ?></a>
</td>
<td>
<?=get_skin_select('board', 'bo_skin_'.$i, "bo_skin[$i]", $row['bo_skin']);?>
<?php echo get_skin_select('board', 'bo_skin_'.$i, "bo_skin[$i]", $row['bo_skin']); ?>
</td>
<td>
<?=get_mobile_skin_select('board', 'bo_mobile_skin_'.$i, "bo_mobile_skin[$i]", $row['bo_mobile_skin']);?>
<?php echo get_mobile_skin_select('board', 'bo_mobile_skin_'.$i, "bo_mobile_skin[$i]", $row['bo_mobile_skin']); ?>
</td>
<td><input type="text" name="bo_subject[<?=$i?>]" value="<?=get_text($row['bo_subject'])?>" id="bo_subject[<?=$i?>]" title="게시판제목" class="required frm_input" size="10" required="required"></td>
<td><input type="text" name="bo_read_point[<?=$i?>]" value="<?=$row['bo_read_point']?>" title="읽기포인트" class="frm_input" size="2"></td>
<td><input type="text" name="bo_write_point[<?=$i?>]" value="<?=$row['bo_write_point']?>" title="쓰기포인트" class="frm_input" size="2"></td>
<td><input type="text" name="bo_comment_point[<?=$i?>]" value="<?=$row['bo_comment_point']?>" title="댓글포인트" class="frm_input" size="2"></td>
<td><input type="text" name="bo_download_point[<?=$i?>]" value="<?=$row['bo_download_point']?>" title="다운포인트" class="frm_input" size="2"></td>
<td><input type="checkbox" name="bo_use_search[<?=$i?>]" value="1" id="bo_use_search_<?=$i?>" <?=$row['bo_use_search']?"checked":""?> title="선택시 검색사용"></td>
<td><input type="checkbox" name="bo_show_menu[<?=$i?>]" value="1" id="bo_show_menu_<?=$i?>" <?=$row['bo_show_menu']?"checked":""?> title="선택시 메뉴보이기"></td>
<td><input type="text" name="bo_order[<?=$i?>]" value="<?=$row['bo_order']?>" id="bo_order<?=$i?>" title="출력순서" class="frm_input" size="2"></td>
<td><input type="text" name="bo_subject[<?php echo $i ?>]" value="<?php echo get_text($row['bo_subject']) ?>" id="bo_subject[<?php echo $i ?>]" title="게시판제목" class="required frm_input" size="10" required="required"></td>
<td><input type="text" name="bo_read_point[<?php echo $i ?>]" value="<?php echo $row['bo_read_point'] ?>" title="읽기포인트" class="frm_input" size="2"></td>
<td><input type="text" name="bo_write_point[<?php echo $i ?>]" value="<?php echo $row['bo_write_point'] ?>" title="쓰기포인트" class="frm_input" size="2"></td>
<td><input type="text" name="bo_comment_point[<?php echo $i ?>]" value="<?php echo $row['bo_comment_point'] ?>" title="댓글포인트" class="frm_input" size="2"></td>
<td><input type="text" name="bo_download_point[<?php echo $i ?>]" value="<?php echo $row['bo_download_point'] ?>" title="다운포인트" class="frm_input" size="2"></td>
<td><input type="checkbox" name="bo_use_search[<?php echo $i ?>]" value="1" id="bo_use_search_<?php echo $i ?>" <?php echo $row['bo_use_search']?"checked":"" ?> title="선택시 검색사용"></td>
<td><input type="checkbox" name="bo_show_menu[<?php echo $i ?>]" value="1" id="bo_show_menu_<?php echo $i ?>" <?php echo $row['bo_show_menu']?"checked":"" ?> title="선택시 메뉴보이기"></td>
<td><input type="text" name="bo_order[<?php echo $i ?>]" value="<?php echo $row['bo_order'] ?>" id="bo_order<?php echo $i ?>" title="출력순서" class="frm_input" size="2"></td>
<td>
<select name="bo_device[<?=$i?>]" id="bo_device_<?=$i?>" title="접속기기 선택">
<option value="both"<?=get_selected($row['bo_device'], 'both', true);?>>모두</option>
<option value="pc"<?=get_selected($row['bo_device'], 'pc');?>>PC</option>
<option value="mobile"<?=get_selected($row['bo_device'], 'mobile');?>>모바일</option>
<select name="bo_device[<?php echo $i ?>]" id="bo_device_<?php echo $i ?>" title="접속기기 선택">
<option value="both"<?php echo get_selected($row['bo_device'], 'both', true); ?>>모두</option>
<option value="pc"<?php echo get_selected($row['bo_device'], 'pc'); ?>>PC</option>
<option value="mobile"<?php echo get_selected($row['bo_device'], 'mobile'); ?>>모바일</option>
</select>
</td>
<td><?=$one_update?> <?=$one_copy?></td>
<td><?php echo $one_update ?> <?php echo $one_copy ?></td>
</tr>
<?
<?php
}
if ($i == 0)
echo '<tr><td colspan="'.$colspan.'" class="empty_table">자료가 없습니다.</td></tr>';
@ -165,16 +165,16 @@ $colspan = 15;
<div class="btn_list">
<input type="submit" name="act_button" value="선택수정" onclick="document.pressed=this.value">
<?if ($is_admin == 'super') {?>
<?php if ($is_admin == 'super') { ?>
<input type="submit" name="act_button" value="선택삭제" onclick="document.pressed=this.value">
<a href="./board_form.php">게시판추가</a>
<?}?>
<?php } ?>
</div>
</form>
</section>
<?=get_paging(G4_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, $_SERVER['PHP_SELF'].'?'.$qstr.'&amp;page=');?>
<?php echo get_paging(G4_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, $_SERVER['PHP_SELF'].'?'.$qstr.'&amp;page='); ?>
<script>
function fboardlist_submit(f)
@ -201,6 +201,6 @@ $(function(){
});
</script>
<?
<?php
include_once('./admin.tail.php');
?>

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "300100";
include_once('./_common.php');

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "300200";
include_once('./_common.php');

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "300200";
include_once('./_common.php');
@ -38,12 +38,12 @@ include_once('./admin.head.php');
게시판그룹을 이용하시면 더 효과적으로 게시판을 관리할 수 있습니다.
</p>
<form name="fboardgroup" id="fboardgroup" action="./boardgroup_form_update.php" onsubmit="return fboardgroup_check(this);" method="post" autocomplete="off">
<input type="hidden" name="w" value="<?=$w?>">
<input type="hidden" name="sfl" value="<?=$sfl?>">
<input type="hidden" name="stx" value="<?=$stx?>">
<input type="hidden" name="sst" value="<?=$sst?>">
<input type="hidden" name="sod" value="<?=$sod?>">
<input type="hidden" name="page" value="<?=$page?>">
<input type="hidden" name="w" value="<?php echo $w ?>">
<input type="hidden" name="sfl" value="<?php echo $sfl ?>">
<input type="hidden" name="stx" value="<?php echo $stx ?>">
<input type="hidden" name="sst" value="<?php echo $sst ?>">
<input type="hidden" name="sod" value="<?php echo $sod ?>">
<input type="hidden" name="page" value="<?php echo $page ?>">
<table id="frm_gr" class="frm_tbl">
<colgroup>
@ -52,9 +52,9 @@ include_once('./admin.head.php');
</colgroup>
<tbody>
<tr>
<th scope="row"><label for="gr_id">그룹 ID<?=$sound_only?></label></th>
<td><input type="text" name="gr_id" value="<?=$group['gr_id']?>" id="gr_id" class="<?=$gr_id_attr?> alnum_ frm_input" maxlength="10">
<?
<th scope="row"><label for="gr_id">그룹 ID<?php echo $sound_only ?></label></th>
<td><input type="text" name="gr_id" value="<?php echo $group['gr_id'] ?>" id="gr_id" class="<?php echo $gr_id_attr ?> alnum_ frm_input" maxlength="10">
<?php
if ($w=='')
echo '영문자, 숫자, _ 만 가능 (공백없이)';
else
@ -65,8 +65,8 @@ include_once('./admin.head.php');
<tr>
<th scope="row"><label for="gr_subject">그룹 제목<strong class="sound_only">필수</strong></label></th>
<td>
<input type="text" name="gr_subject" value="<?=get_text($group['gr_subject'])?>" id="gr_subject" required class="required frm_input" size="80">
<?
<input type="text" name="gr_subject" value="<?php echo get_text($group['gr_subject']) ?>" id="gr_subject" required class="required frm_input" size="80">
<?php
if ($w == 'u')
echo '<a href="./board_form.php?gr_id='.$gr_id.'">게시판생성</a>';
?>
@ -75,18 +75,18 @@ include_once('./admin.head.php');
<tr>
<th scope="row"><label for="gr_device">접속기기</label></th>
<td>
<?=help("PC 와 모바일 사용을 구분합니다.")?>
<?php echo help("PC 와 모바일 사용을 구분합니다.") ?>
<select id="gr_device" name="gr_device">
<option value="both"<?=get_selected($group['gr_device'], 'both', true);?>>PC와 모바일에서 모두 사용</option>
<option value="pc"<?=get_selected($group['gr_device'], 'pc');?>>PC 전용</option>
<option value="mobile"<?=get_selected($group['gr_device'], 'mobile');?>>모바일 전용</option>
<option value="both"<?php echo get_selected($group['gr_device'], 'both', true); ?>>PC와 모바일에서 모두 사용</option>
<option value="pc"<?php echo get_selected($group['gr_device'], 'pc'); ?>>PC 전용</option>
<option value="mobile"<?php echo get_selected($group['gr_device'], 'mobile'); ?>>모바일 전용</option>
</select>
</td>
</tr>
<tr>
<th scope="row"><label for="gr_admin">그룹 관리자</label></th>
<td>
<?
<?php
if ($is_admin == 'super')
echo '<input type="text" id="gr_admin" name="gr_admin" class="frm_input" value="'.$gr['gr_admin'].'" maxlength="20">';
else
@ -97,15 +97,15 @@ include_once('./admin.head.php');
<tr>
<th scope="row"><label for="gr_use_access">접근회원사용</label></th>
<td>
<?=help("사용에 체크하시면 이 그룹에 속한 게시판은 접근가능한 회원만 접근이 가능합니다.")?>
<input type="checkbox" name="gr_use_access" value="1" id="gr_use_access" <?=$gr['gr_use_access']?'checked':'';?>>
<?php echo help("사용에 체크하시면 이 그룹에 속한 게시판은 접근가능한 회원만 접근이 가능합니다.") ?>
<input type="checkbox" name="gr_use_access" value="1" id="gr_use_access" <?php echo $gr['gr_use_access']?'checked':''; ?>>
사용
</td>
</tr>
<tr>
<th scope="row">접근회원수</th>
<td>
<?
<?php
// 접근회원수
$sql1 = " select count(*) as cnt from {$g4['group_member_table']} where gr_id = '{$gr_id}' ";
$row1 = sql_fetch($sql1);
@ -116,22 +116,22 @@ include_once('./admin.head.php');
<tr>
<th scope="row"><label for="gr_show_menu">메뉴보이기</label></th>
<td>
<?=help("사용에 체크하시면 게시판그룹 제목을 메뉴에 출력합니다.")?>
<input type="checkbox" name="gr_show_menu" value="1" id="gr_show_menu" <?=$gr['gr_show_menu']?'checked':'';?>>
<?php echo help("사용에 체크하시면 게시판그룹 제목을 메뉴에 출력합니다.") ?>
<input type="checkbox" name="gr_show_menu" value="1" id="gr_show_menu" <?php echo $gr['gr_show_menu']?'checked':''; ?>>
사용
</td>
</tr>
<? for ($i=1;$i<=10;$i++) { ?>
<?php for ($i=1;$i<=10;$i++) { ?>
<tr>
<th scope="row">회원여분필드<?=$i?></th>
<th scope="row">회원여분필드<?php echo $i ?></th>
<td class="td_gr_extra">
<label for="gr_<?=$i?>_subj">여분필드 <?=$i?> 제목</label>
<input type="text" name="gr_<?=$i?>_subj" value="<?=get_text($group['gr_'.$i.'_subj'])?>" id="gr_<?=$i?>_subj" class="frm_input">
<label for="gr_<?=$i?>">여분필드 <?=$i?> 내용</label>
<input type="text" name="gr_<?=$i?>" value="<?=$gr['gr_'.$i]?>" id="gr_<?=$i?>" class="frm_input">
<label for="gr_<?php echo $i ?>_subj">여분필드 <?php echo $i ?> 제목</label>
<input type="text" name="gr_<?php echo $i ?>_subj" value="<?php echo get_text($group['gr_'.$i.'_subj']) ?>" id="gr_<?php echo $i ?>_subj" class="frm_input">
<label for="gr_<?php echo $i ?>">여분필드 <?php echo $i ?> 내용</label>
<input type="text" name="gr_<?php echo $i ?>" value="<?php echo $gr['gr_'.$i] ?>" id="gr_<?php echo $i ?>" class="frm_input">
</td>
</tr>
<? } ?>
<?php } ?>
</tbody>
</table>
@ -140,7 +140,7 @@ include_once('./admin.head.php');
작성하신 내용을 제출하시려면 <strong>확인</strong> 버튼을, 작성을 취소하고 목록으로 돌아가시려면 <strong>목록</strong> 링크를 누르세요.
</p>
<input type="submit" class="btn_submit" accesskey="s" value="확인">
<a href="./boardgroup_list.php?<?=$qstr?>">목록</a>
<a href="./boardgroup_list.php?<?php echo $qstr ?>">목록</a>
</div>
</form>
@ -154,6 +154,6 @@ function fboardgroup_check(f)
}
</script>
<?
<?php
include_once ('./admin.tail.php');
?>

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "300200";
include_once('./_common.php');

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "300200";
include_once('./_common.php');
@ -64,15 +64,15 @@ $colspan = 8;
<fieldset>
<legend>그룹 검색</legend>
<span>
<?=$listall?>
생성된 그룹수 <?=number_format($total_count)?>개
<?php echo $listall ?>
생성된 그룹수 <?php echo number_format($total_count) ?>개
</span>
<select name="sfl" title="검색대상">
<option value="gr_subject"<?=get_selected($_GET['sfl'], "gr_subject");?>>제목</option>
<option value="gr_id"<?=get_selected($_GET['sfl'], "gr_id");?>>ID</option>
<option value="gr_admin"<?=get_selected($_GET['sfl'], "gr_admin");?>>그룹관리자</option>
<option value="gr_subject"<?php echo get_selected($_GET['sfl'], "gr_subject"); ?>>제목</option>
<option value="gr_id"<?php echo get_selected($_GET['sfl'], "gr_id"); ?>>ID</option>
<option value="gr_admin"<?php echo get_selected($_GET['sfl'], "gr_admin"); ?>>그룹관리자</option>
</select>
<input type="text" name="stx" value="<?=$stx?>" title="검색어(필수)" required class="required frm_input">
<input type="text" name="stx" value="<?php echo $stx ?>" title="검색어(필수)" required class="required frm_input">
<input type="submit" value="검색" class="btn_submit">
</fieldset>
</form>
@ -84,38 +84,38 @@ $colspan = 8;
접근사용 옵션은 해당 그룹에 속한 모든 게시판에 적용됩니다.
</p>
<?if ($is_admin == 'super') {?>
<?php if ($is_admin == 'super') { ?>
<div id="btn_add">
<a href="./boardgroup_form.php" id="bo_gr_add">게시판그룹 추가</a>
</div>
<?}?>
<?php } ?>
<form name="fboardgrouplist" id="fboardgrouplist" action="./boardgroup_list_update.php" onsubmit="return fboardgrouplist_submit(this);" method="post">
<input type="hidden" name="sst" value="<?=$sst?>">
<input type="hidden" name="sod" value="<?=$sod?>">
<input type="hidden" name="sfl" value="<?=$sfl?>">
<input type="hidden" name="stx" value="<?=$stx?>">
<input type="hidden" name="page" value="<?=$page?>">
<input type="hidden" name="token" value="<?=$token?>">
<input type="hidden" name="sst" value="<?php echo $sst ?>">
<input type="hidden" name="sod" value="<?php echo $sod ?>">
<input type="hidden" name="sfl" value="<?php echo $sfl ?>">
<input type="hidden" name="stx" value="<?php echo $stx ?>">
<input type="hidden" name="page" value="<?php echo $page ?>">
<input type="hidden" name="token" value="<?php echo $token ?>">
<table class="tbl_gr_list">
<thead>
<tr>
<th scope="col"><input type="checkbox" name="chkall" value="1" id="chkall" title="현재 페이지 그룹 전체선택" onclick="check_all(this.form)"></th>
<th scope="col"><?=subject_sort_link('gr_id')?>그룹아이디</a></th>
<th scope="col"><?=subject_sort_link('gr_subject')?>제목</a></th>
<?if ($is_admin == 'super'){?><th scope="col"><?=subject_sort_link('gr_admin')?>그룹관리자</a></th><?}?>
<th scope="col"><?php echo subject_sort_link('gr_id') ?>그룹아이디</a></th>
<th scope="col"><?php echo subject_sort_link('gr_subject') ?>제목</a></th>
<?php if ($is_admin == 'super'){ ?><th scope="col"><?php echo subject_sort_link('gr_admin') ?>그룹관리자</a></th><?php } ?>
<th scope="col">게시판<br>갯수</th>
<th scope="col">접근<br>사용</th>
<th scope="col">접근<br>회원수</th>
<th scope="col">메뉴<br>보임</th>
<th scope="col"><?=subject_sort_link('gr_order')?>출력<br>순서</a></th>
<th scope="col"><?php echo subject_sort_link('gr_order') ?>출력<br>순서</a></th>
<th scope="col">접속기기</th>
<th scope="col">관리</th>
</tr>
</thead>
<tbody>
<?
<?php
for ($i=0; $row=sql_fetch_array($result); $i++)
{
// 접근회원수
@ -131,38 +131,38 @@ $colspan = 8;
<tr>
<td class="td_chk">
<input type="checkbox" name="chk[]" value="<?=$i?>" id="chk_<?=$i?>" title="<?=$row['gr_subject']?> 그룹선택">
<input type="hidden" name="group_id[<?=$i?>]" value="<?=$row['gr_id']?>">
<input type="checkbox" name="chk[]" value="<?php echo $i ?>" id="chk_<?php echo $i ?>" title="<?php echo $row['gr_subject'] ?> 그룹선택">
<input type="hidden" name="group_id[<?php echo $i ?>]" value="<?php echo $row['gr_id'] ?>">
</td>
<td class="td_grid"><a href="<?=G4_BBS_URL?>/group.php?gr_id=<?=$row['gr_id']?>"><?=$row['gr_id']?></a></td>
<td class="td_grid"><a href="<?php echo G4_BBS_URL ?>/group.php?gr_id=<?php echo $row['gr_id'] ?>"><?php echo $row['gr_id'] ?></a></td>
<td>
<input type="text" name="gr_subject[<?=$i?>]" value="<?=get_text($row['gr_subject'])?>" id="gr_subject_<?=$i?>" title="그룹제목 수정" class="frm_input">
<input type="text" name="gr_subject[<?php echo $i ?>]" value="<?php echo get_text($row['gr_subject']) ?>" id="gr_subject_<?php echo $i ?>" title="그룹제목 수정" class="frm_input">
</td>
<td>
<?if ($is_admin == 'super'){?>
<input type="text" name="gr_admin[<?=$i?>]" value="<?=$row['gr_admin']?>" id="gr_admin_<?=$i?>" title="그룹관리자 수정" class="frm_input" size="10" maxlength="20">
<?}else{?>
<input type="hidden" name="gr_admin[<?=$i?>]" value="<?=$row['gr_admin']?>"><td><?=$row['gr_admin']?>
<?}?>
<?php if ($is_admin == 'super'){ ?>
<input type="text" name="gr_admin[<?php echo $i ?>]" value="<?php echo $row['gr_admin'] ?>" id="gr_admin_<?php echo $i ?>" title="그룹관리자 수정" class="frm_input" size="10" maxlength="20">
<?php }else{ ?>
<input type="hidden" name="gr_admin[<?php echo $i ?>]" value="<?php echo $row['gr_admin'] ?>"><td><?php echo $row['gr_admin'] ?>
<?php } ?>
</td>
<td><a href="./board_list.php?sfl=a.gr_id&amp;stx=<?=$row['gr_id']?>"><?=$row2['cnt']?></a></td>
<td><input type="checkbox" name="gr_use_access[<?=$i?>]" <?=$row['gr_use_access']?'checked':''?> value="1" id="gr_use_access_<?=$i?>" title="선택 시 접근회원 사용"></td>
<td><a href="./boardgroupmember_list.php?gr_id=<?=$row['gr_id']?>"><?=$row1['cnt']?></a></td>
<td><input type="checkbox" name="gr_show_menu[<?=$i?>]" <?=$row['gr_show_menu']?'checked':''?> value="1" id="gr_show_menu_<?=$i?>" title="선택 시 메뉴보이기"></td>
<td><a href="./board_list.php?sfl=a.gr_id&amp;stx=<?php echo $row['gr_id'] ?>"><?php echo $row2['cnt'] ?></a></td>
<td><input type="checkbox" name="gr_use_access[<?php echo $i ?>]" <?php echo $row['gr_use_access']?'checked':'' ?> value="1" id="gr_use_access_<?php echo $i ?>" title="선택 시 접근회원 사용"></td>
<td><a href="./boardgroupmember_list.php?gr_id=<?php echo $row['gr_id'] ?>"><?php echo $row1['cnt'] ?></a></td>
<td><input type="checkbox" name="gr_show_menu[<?php echo $i ?>]" <?php echo $row['gr_show_menu']?'checked':'' ?> value="1" id="gr_show_menu_<?php echo $i ?>" title="선택 시 메뉴보이기"></td>
<td>
<input type="text" name="gr_order[<?=$i?>]" value="<?=$row['gr_order']?>" id="gr_order_<?=$i?>" title="출력순서 수정" class="frm_input" size="2">
<input type="text" name="gr_order[<?php echo $i ?>]" value="<?php echo $row['gr_order'] ?>" id="gr_order_<?php echo $i ?>" title="출력순서 수정" class="frm_input" size="2">
</td>
<td>
<select id="gr_device_<?=$i?>" name="gr_device[<?=$i?>]" title="접속기기 선택">
<option value="both"<?=get_selected($row['gr_device'], 'both');?>>모두</option>
<option value="pc"<?=get_selected($row['gr_device'], 'pc');?>>PC</option>
<option value="mobile"<?=get_selected($row['gr_device'], 'mobile');?>>모바일</option>
<select id="gr_device_<?php echo $i ?>" name="gr_device[<?php echo $i ?>]" title="접속기기 선택">
<option value="both"<?php echo get_selected($row['gr_device'], 'both'); ?>>모두</option>
<option value="pc"<?php echo get_selected($row['gr_device'], 'pc'); ?>>PC</option>
<option value="mobile"<?php echo get_selected($row['gr_device'], 'mobile'); ?>>모바일</option>
</select>
</td>
<td class="td_smallmng"><?=$s_upd?></td>
<td class="td_smallmng"><?php echo $s_upd ?></td>
</tr>
<?
<?php
}
if ($i == 0)
echo '<tr><td colspan="'.$colspan.'" class="empty_table">자료가 없습니다.</td></tr>';
@ -177,7 +177,7 @@ $colspan = 8;
</form>
</section>
<?
<?php
$pagelist = get_paging(G4_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, $_SERVER['PHP_SELF'].'?'.$qstr.'&amp;page=');
echo $pagelist;
?>
@ -200,6 +200,6 @@ function fboardgrouplist_submit(f)
}
</script>
<?
<?php
include_once('./admin.tail.php');
?>

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "300200";
include_once('./_common.php');

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "300200";
include_once('./_common.php');
@ -17,15 +17,15 @@ $colspan = 4;
?>
<div class="cbox">
<p>아이디 <?=$mb['mb_id']?>, 이름 <?=$mb['mb_name']?>, 별명 <?=$mb['mb_nick']?>님이 접근가능한 그룹 목록</p>
<p>아이디 <?php echo $mb['mb_id'] ?>, 이름 <?php echo $mb['mb_name'] ?>, 별명 <?php echo $mb['mb_nick'] ?>님이 접근가능한 그룹 목록</p>
<form name="fboardgroupmember" id="fboardgroupmember" action="./boardgroupmember_update.php" onsubmit="return fboardgroupmember_submit(this);" method="post">
<input type="hidden" name="sst" value="<?=$sst?>" id="sst">
<input type="hidden" name="sod" value="<?=$sod?>" id="sod">
<input type="hidden" name="sfl" value="<?=$sfl?>" id="sfl">
<input type="hidden" name="stx" value="<?=$stx?>" id="stx">
<input type="hidden" name="page" value="<?=$page?>" id="page">
<input type="hidden" name="token" value="<?=$token?>" id="token">
<input type="hidden" name="mb_id" value="<?=$mb['mb_id']?>" id="mb_id">
<input type="hidden" name="sst" value="<?php echo $sst ?>" id="sst">
<input type="hidden" name="sod" value="<?php echo $sod ?>" id="sod">
<input type="hidden" name="sfl" value="<?php echo $sfl ?>" id="sfl">
<input type="hidden" name="stx" value="<?php echo $stx ?>" id="stx">
<input type="hidden" name="page" value="<?php echo $page ?>" id="page">
<input type="hidden" name="token" value="<?php echo $token ?>" id="token">
<input type="hidden" name="mb_id" value="<?php echo $mb['mb_id'] ?>" id="mb_id">
<input type="hidden" name="w" value="d" id="w">
<table>
<thead>
@ -38,7 +38,7 @@ $colspan = 4;
</tr>
</thead>
<tbody>
<?
<?php
$sql = " select * from {$g4['group_member_table']} a, {$g4['group_table']} b
where a.mb_id = '{$mb['mb_id']}'
and a.gr_id = b.gr_id ";
@ -50,13 +50,13 @@ $colspan = 4;
$s_del = '<a href="javascript:post_delete(\'boardgroupmember_update.php\', \''.$row['gm_id'].'\');">삭제</a>';
?>
<tr>
<td class="td_chk"><input type="checkbox" name="chk[]" value="<?=$row['gm_id']?>" id="chk_<?=$i?>" title="<?=$row['gr_subject']?> 그룹 선택"></td>
<td class="td_grid"><a href="<?=$g4['bbs_path']?>/group.php?gr_id=<?=$row['gr_id']?>"><?=$row['gr_id']?></a></td>
<td class="td_category"><?=$row['gr_subject']?></td>
<td class="td_time"><?=$row['gm_datetime']?></td>
<td class="td_mng"><?=$s_del?></td>
<td class="td_chk"><input type="checkbox" name="chk[]" value="<?php echo $row['gm_id'] ?>" id="chk_<?php echo $i ?>" title="<?php echo $row['gr_subject'] ?> 그룹 선택"></td>
<td class="td_grid"><a href="<?php echo $g4['bbs_path'] ?>/group.php?gr_id=<?php echo $row['gr_id'] ?>"><?php echo $row['gr_id'] ?></a></td>
<td class="td_category"><?php echo $row['gr_subject'] ?></td>
<td class="td_time"><?php echo $row['gm_datetime'] ?></td>
<td class="td_mng"><?php echo $s_del ?></td>
</tr>
<?
<?php
}
if ($i == 0) {
@ -73,14 +73,14 @@ $colspan = 4;
</div>
<form name="fboardgroupmember_form" id="fboardgroupmember_form" action="./boardgroupmember_update.php" onsubmit="return boardgroupmember_form_check(this)" method="post">
<input type="hidden" name="mb_id" value="<?=$mb['mb_id']?>" id="mb_id">
<input type="hidden" name="token" value="<?=$token?>" id="token">
<input type="hidden" name="mb_id" value="<?php echo $mb['mb_id'] ?>" id="mb_id">
<input type="hidden" name="token" value="<?php echo $token ?>" id="token">
<fieldset>
<legend><?=$mb['mb_id']?>님 접근가능그룹 추가</legend>
<legend><?php echo $mb['mb_id'] ?>님 접근가능그룹 추가</legend>
<label for="gr_id">그룹지정</label>
<select name="gr_id" id="gr_id">
<option value="">접근가능 그룹을 선택하세요.</option>
<?
<?php
$sql = " select *
from {$g4['group_table']}
where gr_use_access = 1 ";
@ -121,6 +121,6 @@ function boardgroupmember_form_check(f)
}
</script>
<?
<?php
include_once('./admin.tail.php');
?>

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "300200";
include_once('./_common.php');
@ -56,43 +56,43 @@ $colspan = 7;
?>
<form name="fsearch" id="fsearch" method="get">
<input type="hidden" name="gr_id" value="<?=$gr_id?>">
<input type="hidden" name="gr_id" value="<?php echo $gr_id ?>">
<fieldset>
<legend><?=$gr['gr_subject']?>(아이디 <?=$gr['gr_id']?>)에서 검색</legend>
<legend><?php echo $gr['gr_subject'] ?>(아이디 <?php echo $gr['gr_id'] ?>)에서 검색</legend>
<label for="sfl">검색대상</label>
<select id="sfl" name="sfl">
<option value="a.mb_id"<?=get_selected($_GET['sfl'], "a.mb_id")?>>회원아이디</option>
<option value="a.mb_id"<?php echo get_selected($_GET['sfl'], "a.mb_id") ?>>회원아이디</option>
</select>
<input type="text" name="stx" value="<? echo $stx ?>" id="stx" title="검색어(필수)" required class="required frm_input">
<input type="text" name="stx" value="<?php echo $stx ?>" id="stx" title="검색어(필수)" required class="required frm_input">
<input type="submit" value="검색" class="btn_submit">
</fieldset>
</form>
<section class="cbox">
<h2><?=$gr['gr_subject']?> 그룹에 접근가능한 회원 목록 (그룹아이디:<?=$gr['gr_id']?>)</h2>
<h2><?php echo $gr['gr_subject'] ?> 그룹에 접근가능한 회원 목록 (그룹아이디:<?php echo $gr['gr_id'] ?>)</h2>
<form name="fboardgroupmember" id="fboardgroupmember" action="./boardgroupmember_update.php" onsubmit="return fboardgroupmember_submit(this);" method="post">
<input type="hidden" name="sst" value="<?=$sst?>">
<input type="hidden" name="sod" value="<?=$sod?>">
<input type="hidden" name="sfl" value="<?=$sfl?>">
<input type="hidden" name="stx" value="<?=$stx?>">
<input type="hidden" name="page" value="<?=$page?>">
<input type="hidden" name="token" value="<?=$token?>">
<input type="hidden" name="gr_id" value="<?=$gr_id?>">
<input type="hidden" name="sst" value="<?php echo $sst ?>">
<input type="hidden" name="sod" value="<?php echo $sod ?>">
<input type="hidden" name="sfl" value="<?php echo $sfl ?>">
<input type="hidden" name="stx" value="<?php echo $stx ?>">
<input type="hidden" name="page" value="<?php echo $page ?>">
<input type="hidden" name="token" value="<?php echo $token ?>">
<input type="hidden" name="gr_id" value="<?php echo $gr_id ?>">
<input type="hidden" name="w" value="ld">
<table>
<thead>
<tr>
<th scope="col"><input type="checkbox" name="chkall" value="1" id="chkall" title="현재 페이지 접근가능회원 전체선택" onclick="check_all(this.form)"></th>
<th scope="col">그룹</th>
<th scope="col"><?=subject_sort_link('b.mb_id', 'gr_id='.$gr_id)?>회원아이디</a></th>
<th scope="col"><?=subject_sort_link('b.mb_name', 'gr_id='.$gr_id)?>이름</a></th>
<th scope="col"><?=subject_sort_link('b.mb_nick', 'gr_id='.$gr_id)?>별명</a></th>
<th scope="col"><?=subject_sort_link('b.mb_today_login', 'gr_id='.$gr_id)?>최종접속</a></th>
<th scope="col"><?=subject_sort_link('a.gm_datetime', 'gr_id='.$gr_id)?>처리일시</a></th>
<th scope="col"><?php echo subject_sort_link('b.mb_id', 'gr_id='.$gr_id) ?>회원아이디</a></th>
<th scope="col"><?php echo subject_sort_link('b.mb_name', 'gr_id='.$gr_id) ?>이름</a></th>
<th scope="col"><?php echo subject_sort_link('b.mb_nick', 'gr_id='.$gr_id) ?>별명</a></th>
<th scope="col"><?php echo subject_sort_link('b.mb_today_login', 'gr_id='.$gr_id) ?>최종접속</a></th>
<th scope="col"><?php echo subject_sort_link('a.gm_datetime', 'gr_id='.$gr_id) ?>처리일시</a></th>
</tr>
</thead>
<tbody>
<?
<?php
for ($i=0; $row=sql_fetch_array($result); $i++)
{
// 접근가능한 그룹수
@ -107,15 +107,15 @@ $colspan = 7;
$mb_nick = get_sideview($row['mb_id'], $row['mb_nick'], $row['mb_email'], $row['mb_homepage']);
?>
<tr>
<td class="td_chk"><input type="checkbox" name="chk[]" value="<?=$row['gm_id']?>" id="chk_<?=$i?>" title="<?=$row['mb_nick']?> 회원 선택"></td>
<td class="td_grid"><?=$group?></td>
<td class="td_mbid"><?=$row['mb_id']?></td>
<td class="td_mbname"><?=$row['mb_name']?></td>
<td class="td_name"><?=$mb_nick?></td>
<td class="td_time"><?=substr($row['mb_today_login'],2,8)?></td>
<td class="td_time"><?=$row['gm_datetime']?></td>
<td class="td_chk"><input type="checkbox" name="chk[]" value="<?php echo $row['gm_id'] ?>" id="chk_<?php echo $i ?>" title="<?php echo $row['mb_nick'] ?> 회원 선택"></td>
<td class="td_grid"><?php echo $group ?></td>
<td class="td_mbid"><?php echo $row['mb_id'] ?></td>
<td class="td_mbname"><?php echo $row['mb_name'] ?></td>
<td class="td_name"><?php echo $mb_nick ?></td>
<td class="td_time"><?php echo substr($row['mb_today_login'],2,8) ?></td>
<td class="td_time"><?php echo $row['gm_datetime'] ?></td>
</tr>
<?
<?php
}
if ($i == 0)
@ -132,7 +132,7 @@ $colspan = 7;
</form>
</section>
<?=get_paging(G4_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&amp;gr_id=$gr_id&page=");?>
<?php echo get_paging(G4_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&amp;gr_id=$gr_id&page="); ?>
<script>
function fboardgroupmember_submit(f)
@ -146,6 +146,6 @@ function fboardgroupmember_submit(f)
}
</script>
<?
<?php
include_once('./admin.tail.php');
?>

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "300200";
include_once('./_common.php');

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "100100";
include_once('./_common.php');
@ -71,11 +71,11 @@ $pg_anchor = '<ul class="anchor">
?>
<form name="fconfigform" id="fconfigform" method="post" onsubmit="return fconfigform_submit(this);">
<input type="hidden" name="token" value="<?=$token?>" id="token">
<input type="hidden" name="token" value="<?php echo $token ?>" id="token">
<section id="anc_cf_basic" class="cbox">
<h2>홈페이지 기본환경 설정</h2>
<?=$pg_anchor?>
<?php echo $pg_anchor ?>
<table class="frm_tbl">
<colgroup>
@ -87,121 +87,121 @@ $pg_anchor = '<ul class="anchor">
<tbody>
<tr>
<th scope="row"><label for="cf_title">홈페이지 제목<strong class="sound_only">필수</strong></label></th>
<td><input type="text" name="cf_title" value="<?=$config['cf_title']?>" id="cf_title" required class="required frm_input" size="40"></td>
<td><input type="text" name="cf_title" value="<?php echo $config['cf_title'] ?>" id="cf_title" required class="required frm_input" size="40"></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>
<td><?php echo get_member_id_select('cf_admin', 10, $config['cf_admin'], 'required') ?></td>
</tr>
<tr>
<th scope="row"><label for="cf_include_index">초기화면 파일 경로</label></th>
<td colspan="3">
<?=help('입력이 없으면 index.php가 초기화면 파일의 기본 경로로 설정됩니다.')?>
<input type="text" name="cf_include_index" value="<?=$config['cf_include_index']?>" id="cf_include_index" class="frm_input" size="50">
<?php echo help('입력이 없으면 index.php가 초기화면 파일의 기본 경로로 설정됩니다.') ?>
<input type="text" name="cf_include_index" value="<?php echo $config['cf_include_index'] ?>" id="cf_include_index" class="frm_input" size="50">
</td>
</tr>
<tr>
<th scope="row"><label for="cf_include_head">상단 파일 경로</label></th>
<td colspan="3">
<?=help('입력이 없으면 head.php가 상단 파일의 기본 경로로 설정됩니다.')?>
<input type="text" name="cf_include_head" value="<?=$config['cf_include_head']?>" id="cf_include_head" class="frm_input" size="50">
<?php echo help('입력이 없으면 head.php가 상단 파일의 기본 경로로 설정됩니다.') ?>
<input type="text" name="cf_include_head" value="<?php echo $config['cf_include_head'] ?>" id="cf_include_head" class="frm_input" size="50">
</td>
</tr>
<tr>
<th scope="row"><label for="cf_include_tail">하단 파일 경로</label></th>
<td colspan="3">
<?=help('입력이 없으면 tail.php가 상단 파일의 기본 경로로 설정됩니다.')?>
<input type="text" name="cf_include_tail" value="<?=$config['cf_include_tail']?>" id="cf_include_tail" class="frm_input" size="50">
<?php echo help('입력이 없으면 tail.php가 상단 파일의 기본 경로로 설정됩니다.') ?>
<input type="text" name="cf_include_tail" value="<?php echo $config['cf_include_tail'] ?>" id="cf_include_tail" class="frm_input" size="50">
</td>
</tr>
<tr>
<th scope="row"><label for="cf_add_script">추가 script, css</label></th>
<td colspan="3">
<?=help('HTML의 &lt;/HEAD&gt; 태그위로 추가될 JavaScript와 css 코드를 설정합니다.')?>
<textarea name="cf_add_script" id="cf_add_script"><?=$config['cf_add_script']?></textarea>
<?php echo help('HTML의 &lt;/HEAD&gt; 태그위로 추가될 JavaScript와 css 코드를 설정합니다.') ?>
<textarea name="cf_add_script" id="cf_add_script"><?php echo $config['cf_add_script'] ?></textarea>
</td>
</tr>
<tr>
<th scope="row"><label for="cf_use_point">포인트 사용</label></th>
<td colspan="3"><input type="checkbox" name="cf_use_point" value="1" id="cf_use_point" <?=$config['cf_use_point']?'checked':'';?>> 사용</td>
<td colspan="3"><input type="checkbox" name="cf_use_point" value="1" id="cf_use_point" <?php echo $config['cf_use_point']?'checked':''; ?>> 사용</td>
</tr>
<tr>
<th scope="row"><label for="cf_login_point">로그인시 포인트<strong class="sound_only">필수</strong></label></th>
<td>
<?=help('회원에게 하루에 한번만 부여')?>
<input type="text" name="cf_login_point" value="<?=$config['cf_login_point']?>" id="cf_login_point" required class="required frm_input" size="2"> 점
<?php echo help('회원에게 하루에 한번만 부여') ?>
<input type="text" name="cf_login_point" value="<?php echo $config['cf_login_point'] ?>" id="cf_login_point" required class="required frm_input" size="2"> 점
</td>
<th scope="row"><label for="cf_memo_send_point">쪽지보낼시 차감 포인트<strong class="sound_only">필수</strong></label></th>
<td>
<?=help('양수로 입력하십시오. 0점은 쪽지 보낼시 포인트를 차감하지 않습니다.')?>
<input type="text" name="cf_memo_send_point" value="<?=$config['cf_memo_send_point']?>" id="cf_memo_send_point" required class="required frm_input" size="2"> 점
<?php echo help('양수로 입력하십시오. 0점은 쪽지 보낼시 포인트를 차감하지 않습니다.') ?>
<input type="text" name="cf_memo_send_point" value="<?php echo $config['cf_memo_send_point'] ?>" id="cf_memo_send_point" required class="required frm_input" size="2"> 점
</td>
</tr>
<tr>
<th scope="row"><label for="cf_cut_name">이름(별명) 표시</label></th>
<td colspan="3">
<?=help('영숫자 2글자 = 한글 1글자')?>
<input type="text" name="cf_cut_name" value="<?=$config['cf_cut_name']?>" id="cf_cut_name" class="frm_input" size="2"> 자리만 표시
<?php echo help('영숫자 2글자 = 한글 1글자') ?>
<input type="text" name="cf_cut_name" value="<?php echo $config['cf_cut_name'] ?>" id="cf_cut_name" class="frm_input" size="2"> 자리만 표시
</td>
</tr>
<tr>
<th scope="row"><label for="cf_nick_modify">별명 수정</label></th>
<td>수정하면 <input type="text" name="cf_nick_modify" value="<?=$config['cf_nick_modify']?>" id="cf_nick_modify" class="frm_input" size="1"> 일 동안 바꿀 수 없음</td>
<td>수정하면 <input type="text" name="cf_nick_modify" value="<?php echo $config['cf_nick_modify'] ?>" id="cf_nick_modify" class="frm_input" size="1"> 일 동안 바꿀 수 없음</td>
<th scope="row"><label for="cf_open_modify">정보공개 수정</label></th>
<td>수정하면 <input type="text" name="cf_open_modify" value="<?=$config['cf_open_modify']?>" id="cf_open_modify" class="frm_input" size="1"> 일 동안 바꿀 수 없음</td>
<td>수정하면 <input type="text" name="cf_open_modify" value="<?php echo $config['cf_open_modify'] ?>" id="cf_open_modify" class="frm_input" size="1"> 일 동안 바꿀 수 없음</td>
</tr>
<tr>
<th scope="row"><label for="cf_new_del">최근게시물 삭제</label></th>
<td>
<?=help('설정일이 지난 최근게시물 자동 삭제')?>
<input type="text" name="cf_new_del" value="<?=$config['cf_new_del']?>" id="cf_new_del" class="frm_input" size="2"> 일
<?php echo help('설정일이 지난 최근게시물 자동 삭제') ?>
<input type="text" name="cf_new_del" value="<?php echo $config['cf_new_del'] ?>" id="cf_new_del" class="frm_input" size="2"> 일
</td>
<th scope="row"><label for="cf_memo_del">쪽지 삭제</label></th>
<td>
<?=help('설정일이 지난 쪽지 자동 삭제')?>
<input type="text" name="cf_memo_del" value="<?=$config['cf_memo_del']?>" id="cf_memo_del" class="frm_input" size="2"> 일
<?php echo help('설정일이 지난 쪽지 자동 삭제') ?>
<input type="text" name="cf_memo_del" value="<?php echo $config['cf_memo_del'] ?>" id="cf_memo_del" class="frm_input" size="2"> 일
</td>
</tr>
<tr>
<th scope="row"><label for="cf_visit_del">접속자로그 삭제</label></th>
<td>
<?=help('설정일이 지난 접속자 로그 자동 삭제')?>
<input type="text" name="cf_visit_del" value="<?=$config['cf_visit_del']?>" id="cf_visit_del" class="frm_input" size="2"> 일
<?php echo help('설정일이 지난 접속자 로그 자동 삭제') ?>
<input type="text" name="cf_visit_del" value="<?php echo $config['cf_visit_del'] ?>" id="cf_visit_del" class="frm_input" size="2"> 일
</td>
<th scope="row"><label for="cf_popular_del">인기검색어 삭제</label></th>
<td>
<?=help('설정일이 지난 인기검색어 자동 삭제')?>
<input type="text" name="cf_popular_del" value="<?=$config['cf_popular_del']?>" id="cf_popular_del" class="frm_input" size="2"> 일
<?php echo help('설정일이 지난 인기검색어 자동 삭제') ?>
<input type="text" name="cf_popular_del" value="<?php echo $config['cf_popular_del'] ?>" id="cf_popular_del" class="frm_input" size="2"> 일
</td>
</tr>
<tr>
<th scope="row"><label for="cf_login_minutes">현재 접속자</label></th>
<td colspan="3">
<?=help('설정값 이내의 접속자를 현재 접속자로 인정')?>
<input type="text" name="cf_login_minutes" value="<?=$config['cf_login_minutes']?>" id="cf_login_minutes" class="frm_input" size="2"> 분
<?php echo help('설정값 이내의 접속자를 현재 접속자로 인정') ?>
<input type="text" name="cf_login_minutes" value="<?php echo $config['cf_login_minutes'] ?>" id="cf_login_minutes" class="frm_input" size="2"> 분
</td>
</tr>
<tr>
<th scope="row"><label for="cf_page_rows">한페이지당 라인수</label></th>
<td>
<?=help('목록(리스트) 한페이지당 라인수')?>
<input type="text" name="cf_page_rows" value="<?=$config['cf_page_rows']?>" id="cf_page_rows" class="frm_input" size="2"> 라인
<?php echo help('목록(리스트) 한페이지당 라인수') ?>
<input type="text" name="cf_page_rows" value="<?php echo $config['cf_page_rows'] ?>" id="cf_page_rows" class="frm_input" size="2"> 라인
</td>
<th scope="row"><label for="cf_new_rows">최근게시물 라인수</label></th>
<td>
<?=help('목록 한페이지당 라인수')?>
<input type="text" name="cf_new_rows" value="<?=$config['cf_new_rows']?>" id="cf_new_rows" class="frm_input" size="2"> 라인
<?php echo help('목록 한페이지당 라인수') ?>
<input type="text" name="cf_new_rows" value="<?php echo $config['cf_new_rows'] ?>" id="cf_new_rows" class="frm_input" size="2"> 라인
</td>
</tr>
<tr>
<th scope="row"><label for="cf_write_pages">페이지 표시 수<strong class="sound_only">필수</strong></label></th>
<td><input type="text" name="cf_write_pages" value="<?=$config['cf_write_pages']?>" id="cf_write_pages" required class="required numeric frm_input" size="3"> 페이지씩 표시</td>
<td><input type="text" name="cf_write_pages" value="<?php echo $config['cf_write_pages'] ?>" id="cf_write_pages" required class="required numeric frm_input" size="3"> 페이지씩 표시</td>
<th scope="row"><label for="cf_mobile_pages">모바일 페이지 표시 수<strong class="sound_only">필수</strong></label></th>
<td><input type="text" name="cf_mobile_pages" value="<?=$config['cf_mobile_pages']?>" id="cf_mobile_pages" required class="required numeric frm_input" size="3"> 페이지씩 표시</td>
<td><input type="text" name="cf_mobile_pages" value="<?php echo $config['cf_mobile_pages'] ?>" id="cf_mobile_pages" required class="required numeric frm_input" size="3"> 페이지씩 표시</td>
</tr>
<tr>
<th scope="row"><label for="cf_new_skin">최근게시물 스킨<strong class="sound_only">필수</strong></label></th>
<td>
<select name="cf_new_skin" id="cf_new_skin" required class="required">
<?
<?php
$arr = get_skin_dir('new');
for ($i=0; $i<count($arr); $i++) {
if ($i == 0) echo "<option value=\"\">선택</option>";
@ -213,7 +213,7 @@ $pg_anchor = '<ul class="anchor">
<th scope="row"><label for="cf_mobile_new_skin">모바일<br>최근게시물 스킨<strong class="sound_only">필수</strong></label></th>
<td>
<select name="cf_mobile_new_skin" id="cf_mobile_new_skin" required class="required">
<?
<?php
$arr = get_skin_dir('new', G4_MOBILE_PATH.'/'.G4_SKIN_DIR);
for ($i=0; $i<count($arr); $i++) {
if ($i == 0) echo "<option value=\"\">선택</option>";
@ -227,7 +227,7 @@ $pg_anchor = '<ul class="anchor">
<th scope="row"><label for="cf_search_skin">검색 스킨<strong class="sound_only">필수</strong></label></th>
<td>
<select name="cf_search_skin" id="cf_search_skin" required class="required">
<?
<?php
$arr = get_skin_dir('search');
for ($i=0; $i<count($arr); $i++) {
if ($i == 0) echo "<option value=\"\">선택</option>";
@ -239,7 +239,7 @@ $pg_anchor = '<ul class="anchor">
<th scope="row"><label for="cf_mobile_search_skin">모바일 검색 스킨<strong class="sound_only">필수</strong></label></th>
<td>
<select name="cf_mobile_search_skin" id="cf_mobile_search_skin" required class="required">
<?
<?php
$arr = get_skin_dir('search', G4_MOBILE_PATH.'/'.G4_SKIN_DIR);
for ($i=0; $i<count($arr); $i++) {
if ($i == 0) echo "<option value=\"\">선택</option>";
@ -253,7 +253,7 @@ $pg_anchor = '<ul class="anchor">
<th scope="row"><label for="cf_connect_skin">접속자 스킨<strong class="sound_only">필수</strong></label></th>
<td>
<select name="cf_connect_skin" id="cf_connect_skin" required class="required">
<?
<?php
$arr = get_skin_dir('connect');
for ($i=0; $i<count($arr); $i++) {
if ($i == 0) echo "<option value=\"\">선택</option>";
@ -265,7 +265,7 @@ $pg_anchor = '<ul class="anchor">
<th scope="row"><label for="cf_mobile_connect_skin">모바일 접속자 스킨<strong class="sound_only">필수</strong></label></th>
<td>
<select name="cf_mobile_connect_skin" id="cf_mobile_connect_skin" required class="required">
<?
<?php
$arr = get_skin_dir('connect', G4_MOBILE_PATH.'/'.G4_SKIN_DIR);
for ($i=0; $i<count($arr); $i++) {
if ($i == 0) echo "<option value=\"\">선택</option>";
@ -278,9 +278,9 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="cf_gcaptcha_mp3">음성캡챠 선택<strong class="sound_only">필수</strong></label></th>
<td colspan="3">
<?=help(G4_GCAPTCHA_URL.'/mp3 밑의 음성 폴더를 선택합니다.')?>
<?php echo help(G4_GCAPTCHA_URL.'/mp3 밑의 음성 폴더를 선택합니다.') ?>
<select name="cf_gcaptcha_mp3" id="cf_gcaptcha_mp3" required class="required">
<?
<?php
$arr = get_skin_dir('mp3', G4_GCAPTCHA_PATH);
for ($i=0; $i<count($arr); $i++) {
if ($i == 0) echo "<option value=\"\">선택</option>";
@ -293,20 +293,20 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="cf_use_copy_log">복사, 이동시 로그</label></th>
<td colspan="3">
<?=help('게시물 아래에 누구로 부터 복사, 이동됨 표시')?>
<input type="checkbox" name="cf_use_copy_log" value="1" id="cf_use_copy_log" <?=$config['cf_use_copy_log']?'checked':'';?>> 남김
<?php echo help('게시물 아래에 누구로 부터 복사, 이동됨 표시') ?>
<input type="checkbox" name="cf_use_copy_log" value="1" id="cf_use_copy_log" <?php echo $config['cf_use_copy_log']?'checked':''; ?>> 남김
</td>
</tr>
<tr>
<th scope="row"><label for="cf_possible_ip">접근가능 IP</label></th>
<td>
<?=help('입력된 IP의 컴퓨터만 접근할 수 있습니다.<br>123.123.+ 도 입력 가능. (엔터로 구분)')?>
<textarea name="cf_possible_ip" id="cf_possible_ip"><?=$config['cf_possible_ip']?> </textarea>
<?php echo help('입력된 IP의 컴퓨터만 접근할 수 있습니다.<br>123.123.+ 도 입력 가능. (엔터로 구분)') ?>
<textarea name="cf_possible_ip" id="cf_possible_ip"><?php echo $config['cf_possible_ip'] ?> </textarea>
</td>
<th scope="row"><label for="cf_intercept_ip">접근차단 IP</label></th>
<td>
<?=help('입력된 IP의 컴퓨터는 접근할 수 없음.<br>123.123.+ 도 입력 가능. (엔터로 구분)')?>
<textarea name="cf_intercept_ip" id="cf_intercept_ip"><?=$config['cf_intercept_ip']?> </textarea>
<?php echo help('입력된 IP의 컴퓨터는 접근할 수 없음.<br>123.123.+ 도 입력 가능. (엔터로 구분)') ?>
<textarea name="cf_intercept_ip" id="cf_intercept_ip"><?php echo $config['cf_intercept_ip'] ?> </textarea>
</td>
</tr>
</tbody>
@ -315,7 +315,7 @@ $pg_anchor = '<ul class="anchor">
<section id="anc_cf_board" class="cbox">
<h2>게시판 기본 설정</h2>
<?=$pg_anchor?>
<?php echo $pg_anchor ?>
<p>각 게시판 관리에서 개별적으로 설정 가능합니다.</p>
<table class="frm_tbl">
@ -328,60 +328,60 @@ $pg_anchor = '<ul class="anchor">
<tbody>
<tr>
<th scope="row"><label for="cf_delay_sec">글쓰기 간격<strong class="sound_only">필수</strong></label></th>
<td><input type="text" name="cf_delay_sec" value="<?=$config['cf_delay_sec']?>" id="cf_delay_sec" required class="required numeric frm_input" size="3"> 초 지난후 가능</td>
<td><input type="text" name="cf_delay_sec" value="<?php echo $config['cf_delay_sec'] ?>" id="cf_delay_sec" required class="required numeric frm_input" size="3"> 초 지난후 가능</td>
<th scope="row"><label for="cf_link_target">새창 링크</label></th>
<td>
<?=help('글내용중 자동 링크되는 타켓을 지정합니다.')?>
<?php echo help('글내용중 자동 링크되는 타켓을 지정합니다.') ?>
<select id="cf_link_target" name="cf_link_target">
<option value="_blank"<?=get_selected($config['cf_link_target'], '_blank')?>>_blank</option>
<option value="_self"<?=get_selected($config['cf_link_target'], '_self')?>>_self</option>
<option value="_top"<?=get_selected($config['cf_link_target'], '_top')?>>_top</option>
<option value="_new"<?=get_selected($config['cf_link_target'], '_new')?>>_new</option>
<option value="_blank"<?php echo get_selected($config['cf_link_target'], '_blank') ?>>_blank</option>
<option value="_self"<?php echo get_selected($config['cf_link_target'], '_self') ?>>_self</option>
<option value="_top"<?php echo get_selected($config['cf_link_target'], '_top') ?>>_top</option>
<option value="_new"<?php echo get_selected($config['cf_link_target'], '_new') ?>>_new</option>
</select>
</td>
</tr>
<tr>
<th scope="row"><label for="cf_read_point">글읽기 포인트<strong class="sound_only">필수</strong></label></th>
<td><input type="text" name="cf_read_point" value="<?=$config['cf_read_point']?>" id="cf_read_point" required class="required frm_input" size="3"> 점</td>
<td><input type="text" name="cf_read_point" value="<?php echo $config['cf_read_point'] ?>" id="cf_read_point" required class="required frm_input" size="3"> 점</td>
<th scope="row"><label for="cf_write_point">글쓰기 포인트</label></th>
<td><input type="text" name="cf_write_point" value="<?=$config['cf_write_point']?>" id="cf_write_point" required class="required frm_input" size="3"> 점</td>
<td><input type="text" name="cf_write_point" value="<?php echo $config['cf_write_point'] ?>" id="cf_write_point" required class="required frm_input" size="3"> 점</td>
</tr>
<tr>
<th scope="row"><label for="cf_comment_point">댓글쓰기 포인트</label></th>
<td><input type="text" name="cf_comment_point" value="<?=$config['cf_comment_point']?>" id="cf_comment_point" required class="required frm_input" size="3"> 점</td>
<td><input type="text" name="cf_comment_point" value="<?php echo $config['cf_comment_point'] ?>" id="cf_comment_point" required class="required frm_input" size="3"> 점</td>
<th scope="row"><label for="cf_download_point">다운로드 포인트</label></th>
<td><input type="text" name="cf_download_point" value="<?=$config['cf_download_point']?>" id="cf_download_point" required class="required frm_input" size="3"> 점</td>
<td><input type="text" name="cf_download_point" value="<?php echo $config['cf_download_point'] ?>" id="cf_download_point" required class="required frm_input" size="3"> 점</td>
</tr>
<tr>
<th scope="row"><label for="cf_search_part">검색 단위</label></th>
<td colspan="3"><input type="text" name="cf_search_part" value="<?=$config['cf_search_part']?>" id="cf_search_part" class="frm_input" size="4"> 건 단위로 검색</td>
<td colspan="3"><input type="text" name="cf_search_part" value="<?php echo $config['cf_search_part'] ?>" id="cf_search_part" class="frm_input" size="4"> 건 단위로 검색</td>
</tr>
<tr>
<th scope="row"><label for="cf_image_extension">이미지 업로드 확장자</label></th>
<td colspan="3">
<?=help('게시판 글작성시 이미지 파일 업로드 가능 확장자. | 로 구분')?>
<input type="text" name="cf_image_extension" value="<?=$config['cf_image_extension']?>" id="cf_image_extension" class="frm_input" size="70">
<?php echo help('게시판 글작성시 이미지 파일 업로드 가능 확장자. | 로 구분') ?>
<input type="text" name="cf_image_extension" value="<?php echo $config['cf_image_extension'] ?>" id="cf_image_extension" class="frm_input" size="70">
</td>
</tr>
<tr>
<th scope="row"><label for="cf_flash_extension">플래쉬 업로드 확장자</label></th>
<td colspan="3">
<?=help('게시판 글작성시 플래쉬 파일 업로드 가능 확장자. | 로 구분')?>
<input type="text" name="cf_flash_extension" value="<?=$config['cf_flash_extension']?>" id="cf_flash_extension" class="frm_input" size="70">
<?php echo help('게시판 글작성시 플래쉬 파일 업로드 가능 확장자. | 로 구분') ?>
<input type="text" name="cf_flash_extension" value="<?php echo $config['cf_flash_extension'] ?>" id="cf_flash_extension" class="frm_input" size="70">
</td>
</tr>
<tr>
<th scope="row"><label for="cf_movie_extension">동영상 업로드 확장자</label></th>
<td colspan="3">
<?=help('게시판 글작성시 동영상 파일 업로드 가능 확장자. | 로 구분')?>
<input type="text" name="cf_movie_extension" value="<?=$config['cf_movie_extension']?>" id="cf_movie_extension" class="frm_input" size="70">
<?php echo help('게시판 글작성시 동영상 파일 업로드 가능 확장자. | 로 구분') ?>
<input type="text" name="cf_movie_extension" value="<?php echo $config['cf_movie_extension'] ?>" id="cf_movie_extension" class="frm_input" size="70">
</td>
</tr>
<tr>
<th scope="row"><label for="cf_filter">단어 필터링</label></th>
<td colspan="3">
<?=help('입력된 단어가 포함된 내용은 게시할 수 없습니다. 단어와 단어 사이는 ,로 구분합니다.')?>
<textarea name="cf_filter" id="cf_filter" rows="7"><?=$config['cf_filter']?> </textarea>
<?php echo help('입력된 단어가 포함된 내용은 게시할 수 없습니다. 단어와 단어 사이는 ,로 구분합니다.') ?>
<textarea name="cf_filter" id="cf_filter" rows="7"><?php echo $config['cf_filter'] ?> </textarea>
</td>
</tr>
</tbody>
@ -390,7 +390,7 @@ $pg_anchor = '<ul class="anchor">
<section id="anc_cf_join" class="cbox">
<h2>회원가입 설정</h2>
<?=$pg_anchor?>
<?php echo $pg_anchor ?>
<p>회원가입 시 사용할 스킨과 입력 받을 정보 등을 설정할 수 있습니다.</p>
<table class="frm_tbl">
@ -405,7 +405,7 @@ $pg_anchor = '<ul class="anchor">
<th scope="row"><label for="cf_member_skin">회원 스킨<strong class="sound_only">필수</strong></label></th>
<td>
<select name="cf_member_skin" id="cf_member_skin" required class="required">
<?
<?php
$arr = get_skin_dir('member');
for ($i=0; $i<count($arr); $i++) {
if ($i == 0) echo "<option value=\"\">선택</option>";
@ -417,7 +417,7 @@ $pg_anchor = '<ul class="anchor">
<th scope="row"><label for="cf_mobile_member_skin">모바일<br>회원 스킨<strong class="sound_only">필수</strong></label></th>
<td>
<select name="cf_mobile_member_skin" id="cf_mobile_member_skin" required class="required">
<?
<?php
$arr = get_skin_dir('member', G4_MOBILE_PATH.'/'.G4_SKIN_DIR);
for ($i=0; $i<count($arr); $i++) {
if ($i == 0) echo "<option value=\"\">선택</option>";
@ -430,99 +430,99 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row">홈페이지 입력</th>
<td>
<input type="checkbox" name="cf_use_homepage" value="1" id="cf_use_homepage" <?=$config['cf_use_homepage']?'checked':'';?>> <label for="cf_use_homepage">보이기</label>
<input type="checkbox" name="cf_req_homepage" value="1" id="cf_req_homepage" <?=$config['cf_req_homepage']?'checked':'';?>> <label for="cf_req_homepage">필수입력</label>
<input type="checkbox" name="cf_use_homepage" value="1" id="cf_use_homepage" <?php echo $config['cf_use_homepage']?'checked':''; ?>> <label for="cf_use_homepage">보이기</label>
<input type="checkbox" name="cf_req_homepage" value="1" id="cf_req_homepage" <?php echo $config['cf_req_homepage']?'checked':''; ?>> <label for="cf_req_homepage">필수입력</label>
</td>
<th scope="row">주소 입력</th>
<td>
<input type="checkbox" name="cf_use_addr" value="1" id="cf_use_addr" <?=$config['cf_use_addr']?'checked':'';?>> <label for="cf_use_addr">보이기</label>
<input type="checkbox" name="cf_req_addr" value="1" id="cf_req_addr" <?=$config['cf_req_addr']?'checked':'';?>> <label for="cf_req_addr">필수입력</label>
<input type="checkbox" name="cf_use_addr" value="1" id="cf_use_addr" <?php echo $config['cf_use_addr']?'checked':''; ?>> <label for="cf_use_addr">보이기</label>
<input type="checkbox" name="cf_req_addr" value="1" id="cf_req_addr" <?php echo $config['cf_req_addr']?'checked':''; ?>> <label for="cf_req_addr">필수입력</label>
</td>
</tr>
<tr>
<th scope="row">전화번호 입력</th>
<td>
<input type="checkbox" name="cf_use_tel" value="1" id="cf_use_tel" <?=$config['cf_use_tel']?'checked':'';?>> <label for="cf_use_tel">보이기</label>
<input type="checkbox" name="cf_req_tel" value="1" id="cf_req_tel" <?=$config['cf_req_tel']?'checked':'';?>> <label for="cf_req_tel">필수입력</label>
<input type="checkbox" name="cf_use_tel" value="1" id="cf_use_tel" <?php echo $config['cf_use_tel']?'checked':''; ?>> <label for="cf_use_tel">보이기</label>
<input type="checkbox" name="cf_req_tel" value="1" id="cf_req_tel" <?php echo $config['cf_req_tel']?'checked':''; ?>> <label for="cf_req_tel">필수입력</label>
</td>
<th scope="row">휴대폰번호 입력</th>
<td>
<input type="checkbox" name="cf_use_hp" value="1" id="cf_use_hp" <?=$config['cf_use_hp']?'checked':'';?>> <label for="cf_use_hp">보이기</label>
<input type="checkbox" name="cf_req_hp" value="1" id="cf_req_hp" <?=$config['cf_req_hp']?'checked':'';?>> <label for="cf_req_hp">필수입력</label>
<input type="checkbox" name="cf_use_hp" value="1" id="cf_use_hp" <?php echo $config['cf_use_hp']?'checked':''; ?>> <label for="cf_use_hp">보이기</label>
<input type="checkbox" name="cf_req_hp" value="1" id="cf_req_hp" <?php echo $config['cf_req_hp']?'checked':''; ?>> <label for="cf_req_hp">필수입력</label>
</td>
</tr>
<tr>
<th scope="row">서명 입력</th>
<td>
<input type="checkbox" name="cf_use_signature" value="1" id="cf_use_signature" <?=$config['cf_use_signature']?'checked':'';?>> <label for="cf_use_signature">보이기</label>
<input type="checkbox" name="cf_req_signature" value="1" id="cf_req_signature" <?=$config['cf_req_signature']?'checked':'';?>> <label for="cf_req_signature">필수입력</label>
<input type="checkbox" name="cf_use_signature" value="1" id="cf_use_signature" <?php echo $config['cf_use_signature']?'checked':''; ?>> <label for="cf_use_signature">보이기</label>
<input type="checkbox" name="cf_req_signature" value="1" id="cf_req_signature" <?php echo $config['cf_req_signature']?'checked':''; ?>> <label for="cf_req_signature">필수입력</label>
</td>
<th scope="row">자기소개 입력</th>
<td>
<input type="checkbox" name="cf_use_profile" value="1" id="cf_use_profile" <?=$config['cf_use_profile']?'checked':'';?>> <label for="cf_use_profile">보이기</label>
<input type="checkbox" name="cf_req_profile" value="1" id="cf_req_profile" <?=$config['cf_req_profile']?'checked':'';?>> <label for="cf_req_profile">필수입력</label>
<input type="checkbox" name="cf_use_profile" value="1" id="cf_use_profile" <?php echo $config['cf_use_profile']?'checked':''; ?>> <label for="cf_use_profile">보이기</label>
<input type="checkbox" name="cf_req_profile" value="1" id="cf_req_profile" <?php echo $config['cf_req_profile']?'checked':''; ?>> <label for="cf_req_profile">필수입력</label>
</td>
</tr>
<tr>
<th scope="row"><label for="cf_register_level">회원가입시 권한</label></th>
<td><?=get_member_level_select('cf_register_level', 1, 9, $config['cf_register_level']) ?></td>
<td><?php echo get_member_level_select('cf_register_level', 1, 9, $config['cf_register_level']) ?></td>
<th scope="row"><label for="cf_register_point">회원가입시 포인트</label></th>
<td><input type="text" name="cf_register_point" value="<?=$config['cf_register_point']?>" id="cf_register_point" class="frm_input" size="5"> 점</td>
<td><input type="text" name="cf_register_point" value="<?php echo $config['cf_register_point'] ?>" id="cf_register_point" class="frm_input" size="5"> 점</td>
</tr>
<tr>
<th scope="row" id="th310"><label for='cf_leave_day'>회원탈퇴후 삭제일</label></th>
<td colspan="3"><input type="text" name="cf_leave_day" value="<?=$config['cf_leave_day']?>" id="cf_leave_day" class="frm_input" size="2"> 일 후 자동 삭제</td>
<td colspan="3"><input type="text" name="cf_leave_day" value="<?php echo $config['cf_leave_day'] ?>" id="cf_leave_day" class="frm_input" size="2"> 일 후 자동 삭제</td>
</tr>
<tr>
<th scope="row"><label for="cf_use_member_icon">회원아이콘 사용</label></th>
<td>
<?=help('게시물에 게시자 별명 대신 아이콘 사용')?>
<?php echo help('게시물에 게시자 별명 대신 아이콘 사용') ?>
<select id="cf_use_member_icon" name="cf_use_member_icon">
<option value="0"<?=get_selected($config['cf_use_member_icon'], '0')?>>미사용
<option value="1"<?=get_selected($config['cf_use_member_icon'], '1')?>>아이콘만 표시
<option value="2"<?=get_selected($config['cf_use_member_icon'], '2')?>>아이콘+이름 표시
<option value="0"<?php echo get_selected($config['cf_use_member_icon'], '0') ?>>미사용
<option value="1"<?php echo get_selected($config['cf_use_member_icon'], '1') ?>>아이콘만 표시
<option value="2"<?php echo get_selected($config['cf_use_member_icon'], '2') ?>>아이콘+이름 표시
</select>
</td>
<th scope="row"><label for="cf_icon_level">아이콘 업로드 권한</label></th>
<td><?=get_member_level_select('cf_icon_level', 1, 9, $config['cf_icon_level']) ?> 이상</td>
<td><?php echo get_member_level_select('cf_icon_level', 1, 9, $config['cf_icon_level']) ?> 이상</td>
</tr>
<tr>
<th scope="row"><label for="cf_member_icon_size">회원아이콘 용량</label></th>
<td><input type="text" name="cf_member_icon_size" value="<?=$config['cf_member_icon_size']?>" id="cf_member_icon_size" class="frm_input" size="10"> 바이트 이하</td>
<td><input type="text" name="cf_member_icon_size" value="<?php echo $config['cf_member_icon_size'] ?>" id="cf_member_icon_size" class="frm_input" size="10"> 바이트 이하</td>
<th scope="row">회원아이콘 사이즈</th>
<td>
<label for="cf_member_icon_width">가로</label>
<input type="text" name="cf_member_icon_width" value="<?=$config['cf_member_icon_width']?>" id="cf_member_icon_width" class="frm_input" size="2">
<input type="text" name="cf_member_icon_width" value="<?php echo $config['cf_member_icon_width'] ?>" id="cf_member_icon_width" class="frm_input" size="2">
<label for="cf_member_icon_height">세로</label>
<input type="text" name="cf_member_icon_height" value="<?=$config['cf_member_icon_height']?>" id="cf_member_icon_height" class="frm_input" size="2">
<input type="text" name="cf_member_icon_height" value="<?php echo $config['cf_member_icon_height'] ?>" id="cf_member_icon_height" class="frm_input" size="2">
픽셀 이하
</td>
</tr>
<tr>
<th scope="row"><label for="cf_use_recommend">추천인제도 사용</label></th>
<td><input type="checkbox" name="cf_use_recommend" value="1" id="cf_use_recommend" <?=$config['cf_use_recommend']?'checked':'';?>> 사용</td>
<td><input type="checkbox" name="cf_use_recommend" value="1" id="cf_use_recommend" <?php echo $config['cf_use_recommend']?'checked':''; ?>> 사용</td>
<th scope="row"><label for="cf_recommend_point">추천인 포인트</label></th>
<td><input type="text" name="cf_recommend_point" value="<?=$config['cf_recommend_point']?>" id="cf_recommend_point" class="frm_input"> 점</td>
<td><input type="text" name="cf_recommend_point" value="<?php echo $config['cf_recommend_point'] ?>" id="cf_recommend_point" class="frm_input"> 점</td>
</tr>
<tr>
<th scope="row"><label for="cf_prohibit_id">아이디,별명 금지단어</label></th>
<td>
<?=help('회원아이디, 별명으로 사용할 수 없는 단어를 정합니다. 쉼표 (,) 로 구분')?>
<textarea name="cf_prohibit_id" id="cf_prohibit_id" rows="5"><?=$config['cf_prohibit_id']?></textarea>
<?php echo help('회원아이디, 별명으로 사용할 수 없는 단어를 정합니다. 쉼표 (,) 로 구분') ?>
<textarea name="cf_prohibit_id" id="cf_prohibit_id" rows="5"><?php echo $config['cf_prohibit_id'] ?></textarea>
</td>
<th scope="row"><label for="cf_prohibit_email">입력 금지 메일</label></th>
<td>
<?=help('입력 받지 않을 도메인을 지정합니다. 엔터로 구분 ex) hotmail.com')?>
<textarea name="cf_prohibit_email" id="cf_prohibit_email" rows="5"><?=$config['cf_prohibit_email']?></textarea>
<?php echo help('입력 받지 않을 도메인을 지정합니다. 엔터로 구분 ex) hotmail.com') ?>
<textarea name="cf_prohibit_email" id="cf_prohibit_email" rows="5"><?php echo $config['cf_prohibit_email'] ?></textarea>
</td>
</tr>
<tr>
<th scope="row"><label for="cf_stipulation">회원가입약관</label></th>
<td colspan="3"><textarea name="cf_stipulation" id="cf_stipulation" rows="10"><?=$config['cf_stipulation']?></textarea></td>
<td colspan="3"><textarea name="cf_stipulation" id="cf_stipulation" rows="10"><?php echo $config['cf_stipulation'] ?></textarea></td>
</tr>
<tr>
<th scope="row"><label for="cf_privacy">개인정보취급방침</label></th>
<td colspan="3"><textarea id="cf_privacy" name="cf_privacy" rows="10"><?=$config['cf_privacy']?> </textarea></td>
<td colspan="3"><textarea id="cf_privacy" name="cf_privacy" rows="10"><?php echo $config['cf_privacy'] ?> </textarea></td>
</tr>
</tbody>
</table>
@ -530,7 +530,7 @@ $pg_anchor = '<ul class="anchor">
<section id="anc_cf_cert" class="cbox">
<h2>본인확인</h2>
<?=$pg_anchor?>
<?php echo $pg_anchor ?>
<p>회원가입 시 본인확인 수단을 설정합니다.</p>
<table class="frm_tbl">
@ -542,20 +542,20 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="cf_kcpcert_use">휴대폰 본인확인</label></th>
<td>
<?=help('KCP 사이트코드가 없으면 테스트만 가능합니다.')?>
<?php echo help('KCP 사이트코드가 없으면 테스트만 가능합니다.') ?>
<select name="cf_kcpcert_use" id="cf_kcpcert_use">
<option value="0" <?=get_selected($config['cf_kcpcert_use'], '0')?>>사용안함</option>
<option value="-1" <?=get_selected($config['cf_kcpcert_use'], '-1')?>>테스트</option>
<option value="1" <?=get_selected($config['cf_kcpcert_use'], '1')?>>실서비스</option>
<option value="0" <?php echo get_selected($config['cf_kcpcert_use'], '0') ?>>사용안함</option>
<option value="-1" <?php echo get_selected($config['cf_kcpcert_use'], '-1') ?>>테스트</option>
<option value="1" <?php echo get_selected($config['cf_kcpcert_use'], '1') ?>>실서비스</option>
</select>
</td>
</tr>
<tr id="kcpcert1">
<th scope="row"><label for="cf_kcpcert_site_cd">KCP 사이트코드</label></th>
<td colspan="3">
<?=help('SM으로 시작하는 5자리 사이트 코드중 뒤의 3자리만 입력해 주십시오.<br>서비스에 가입되어 있지 않다면, 본인확인 서비스 신청페이지에서 서비스 신청 후 사이트코드를 발급 받으실 수 있습니다.')?>
<?php echo help('SM으로 시작하는 5자리 사이트 코드중 뒤의 3자리만 입력해 주십시오.<br>서비스에 가입되어 있지 않다면, 본인확인 서비스 신청페이지에서 서비스 신청 후 사이트코드를 발급 받으실 수 있습니다.') ?>
<span class="sitecode">SM</span>
<input type="text" name="cf_kcpcert_site_cd" value="<?=$config['cf_kcpcert_site_cd']?>" id="cf_kcpcert_site_cd" class="frm_input" size="3"> <a href="http://sir.co.kr/main/g4s/kcpcert.html" target="_blank" class="btn_frmline">본인확인 서비스 신청페이지</a>
<input type="text" name="cf_kcpcert_site_cd" value="<?php echo $config['cf_kcpcert_site_cd'] ?>" id="cf_kcpcert_site_cd" class="frm_input" size="3"> <a href="http://sir.co.kr/main/g4s/kcpcert.html" target="_blank" class="btn_frmline">본인확인 서비스 신청페이지</a>
</td>
</tr>
</tbody>
@ -564,7 +564,7 @@ $pg_anchor = '<ul class="anchor">
<section id="anc_cf_mail" class="cbox">
<h2>기본 메일환경 설정</h2>
<?=$pg_anchor?>
<?php echo $pg_anchor ?>
<table class="frm_tbl">
<colgroup>
@ -575,22 +575,22 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="cf_email_use">메일발송 사용</label></th>
<td>
<?=help('체크하지 않으면 메일발송을 아예 사용하지 않습니다. 메일 테스트도 불가합니다.')?>
<input type="checkbox" name="cf_email_use" value="1" id="cf_email_use" <?=$config['cf_email_use']?'checked':'';?>> 사용
<?php echo help('체크하지 않으면 메일발송을 아예 사용하지 않습니다. 메일 테스트도 불가합니다.') ?>
<input type="checkbox" name="cf_email_use" value="1" id="cf_email_use" <?php echo $config['cf_email_use']?'checked':''; ?>> 사용
</td>
</tr>
<tr>
<th scope="row"><label for="cf_use_email_certify">메일인증 사용</label></th>
<td>
<?=help('메일에 배달된 인증 주소를 클릭하여야 회원으로 인정합니다.');?>
<input type="checkbox" name="cf_use_email_certify" value="1" id="cf_use_email_certify" <?=$config['cf_use_email_certify']?'checked':'';?>> 사용
<?php echo help('메일에 배달된 인증 주소를 클릭하여야 회원으로 인정합니다.'); ?>
<input type="checkbox" name="cf_use_email_certify" value="1" id="cf_use_email_certify" <?php echo $config['cf_use_email_certify']?'checked':''; ?>> 사용
</td>
</tr>
<tr>
<th scope="row"><label for="cf_formmail_is_member">폼메일 사용 여부</label></th>
<td>
<?=help('체크하지 않으면 비회원도 사용 할 수 있습니다.')?>
<input type="checkbox" name="cf_formmail_is_member" value="1" id="cf_formmail_is_member" <?=$config['cf_formmail_is_member']?'checked':'';?>> 회원만 사용
<?php echo help('체크하지 않으면 비회원도 사용 할 수 있습니다.') ?>
<input type="checkbox" name="cf_formmail_is_member" value="1" id="cf_formmail_is_member" <?php echo $config['cf_formmail_is_member']?'checked':''; ?>> 회원만 사용
</td>
</tr>
</table>
@ -598,7 +598,7 @@ $pg_anchor = '<ul class="anchor">
<section id="anc_cf_article_mail" class="cbox">
<h2>게시판 글 작성 시 메일 설정</h2>
<?=$pg_anchor?>
<?php echo $pg_anchor ?>
<table class="frm_tbl">
<colgroup>
@ -609,36 +609,36 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="cf_email_wr_super_admin">최고관리자</label></th>
<td>
<?=help('최고관리자에게 메일을 발송합니다.')?>
<input type="checkbox" name="cf_email_wr_super_admin" value="1" id="cf_email_wr_super_admin" <?=$config['cf_email_wr_super_admin']?'checked':'';?>> 사용
<?php echo help('최고관리자에게 메일을 발송합니다.') ?>
<input type="checkbox" name="cf_email_wr_super_admin" value="1" id="cf_email_wr_super_admin" <?php echo $config['cf_email_wr_super_admin']?'checked':''; ?>> 사용
</td>
</tr>
<tr>
<th scope="row"><label for="cf_email_wr_group_admin">그룹관리자</label></th>
<td>
<?=help('그룹관리자에게 메일을 발송합니다.')?>
<input type="checkbox" name="cf_email_wr_group_admin" value="1" id="cf_email_wr_group_admin" <?=$config['cf_email_wr_group_admin']?'checked':'';?>> 사용
<?php echo help('그룹관리자에게 메일을 발송합니다.') ?>
<input type="checkbox" name="cf_email_wr_group_admin" value="1" id="cf_email_wr_group_admin" <?php echo $config['cf_email_wr_group_admin']?'checked':''; ?>> 사용
</td>
</tr>
<tr>
<th scope="row"><label for="cf_email_wr_board_admin">게시판관리자</label></th>
<td>
<?=help('게시판관리자에게 메일을 발송합니다.')?>
<input type="checkbox" name="cf_email_wr_board_admin" value="1" id="cf_email_wr_board_admin" <?=$config['cf_email_wr_board_admin']?'checked':'';?>> 사용
<?php echo help('게시판관리자에게 메일을 발송합니다.') ?>
<input type="checkbox" name="cf_email_wr_board_admin" value="1" id="cf_email_wr_board_admin" <?php echo $config['cf_email_wr_board_admin']?'checked':''; ?>> 사용
</td>
</tr>
<tr>
<th scope="row"><label for="cf_email_wr_write">원글작성자</label></th>
<td>
<?=help('게시자님께 메일을 발송합니다.')?>
<input type="checkbox" name="cf_email_wr_write" value="1" id="cf_email_wr_write" <?=$config['cf_email_wr_write']?'checked':'';?>> 사용
<?php echo help('게시자님께 메일을 발송합니다.') ?>
<input type="checkbox" name="cf_email_wr_write" value="1" id="cf_email_wr_write" <?php echo $config['cf_email_wr_write']?'checked':''; ?>> 사용
</td>
</tr>
<tr>
<th scope="row"><label for="cf_email_wr_comment_all">댓글작성자</label></th>
<td>
<?=help('원글에 댓글이 올라오는 경우 댓글 쓴 모든 분들께 메일을 발송합니다.')?>
<input type="checkbox" name="cf_email_wr_comment_all" value="1" id="cf_email_wr_comment_all" <?=$config['cf_email_wr_comment_all']?'checked':'';?>> 사용
<?php echo help('원글에 댓글이 올라오는 경우 댓글 쓴 모든 분들께 메일을 발송합니다.') ?>
<input type="checkbox" name="cf_email_wr_comment_all" value="1" id="cf_email_wr_comment_all" <?php echo $config['cf_email_wr_comment_all']?'checked':''; ?>> 사용
</td>
</tr>
</tbody>
@ -647,7 +647,7 @@ $pg_anchor = '<ul class="anchor">
<section id="anc_cf_join_mail" class="cbox">
<h2>회원가입 시 메일 설정</h2>
<?=$pg_anchor?>
<?php echo $pg_anchor ?>
<table class="frm_tbl">
<colgroup>
@ -658,15 +658,15 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="cf_email_mb_super_admin">최고관리자 메일발송</label></th>
<td>
<?=help('최고관리자에게 메일을 발송합니다.')?>
<input type="checkbox" name="cf_email_mb_super_admin" value="1" id="cf_email_mb_super_admin" <?=$config['cf_email_mb_super_admin']?'checked':'';?>> 사용
<?php echo help('최고관리자에게 메일을 발송합니다.') ?>
<input type="checkbox" name="cf_email_mb_super_admin" value="1" id="cf_email_mb_super_admin" <?php echo $config['cf_email_mb_super_admin']?'checked':''; ?>> 사용
</td>
</tr>
<tr>
<th scope="row"><label for="cf_email_mb_member">회원님께 메일발송</label></th>
<td>
<?=help('회원가입한 회원님께 메일을 발송합니다.')?>
<input type="checkbox" name="cf_email_mb_member" value="1" id="cf_email_mb_member" <?=$config['cf_email_mb_member']?'checked':'';?>> 사용
<?php echo help('회원가입한 회원님께 메일을 발송합니다.') ?>
<input type="checkbox" name="cf_email_mb_member" value="1" id="cf_email_mb_member" <?php echo $config['cf_email_mb_member']?'checked':''; ?>> 사용
</td>
</tr>
</tbody>
@ -676,7 +676,7 @@ $pg_anchor = '<ul class="anchor">
<section id="anc_cf_vote_mail" class="cbox">
<h2>투표 기타의견 작성시 메일 설정</h2>
<?=$pg_anchor?>
<?php echo $pg_anchor ?>
<table class="frm_tbl">
<colgroup>
@ -687,8 +687,8 @@ $pg_anchor = '<ul class="anchor">
<tr>
<th scope="row"><label for="cf_email_po_super_admin">최고관리자 메일발송</label></th>
<td>
<?=help('최고관리자에게 메일을 발송합니다.')?>
<input type="checkbox" name="cf_email_po_super_admin" value="1" id="cf_email_po_super_admin" <?=$config['cf_email_po_super_admin']?'checked':'';?>> 사용
<?php echo help('최고관리자에게 메일을 발송합니다.') ?>
<input type="checkbox" name="cf_email_po_super_admin" value="1" id="cf_email_po_super_admin" <?php echo $config['cf_email_po_super_admin']?'checked':''; ?>> 사용
</td>
</tr>
</tbody>
@ -697,7 +697,7 @@ $pg_anchor = '<ul class="anchor">
<section id="anc_cf_extra" class="cbox">
<h2>여분필드 기본 설정</h2>
<?=$pg_anchor?>
<?php echo $pg_anchor ?>
<p>각 게시판 관리에서 개별적으로 설정 가능합니다.</p>
<table class="frm_tbl">
@ -706,17 +706,17 @@ $pg_anchor = '<ul class="anchor">
<col class="grid_15">
</colgroup>
<tbody>
<? for ($i=1; $i<=10; $i++) { ?>
<?php for ($i=1; $i<=10; $i++) { ?>
<tr>
<th scope="row">여분필드<?=$i?></th>
<th scope="row">여분필드<?php echo $i ?></th>
<td>
<label for="cf_<?=$i?>_subj">여분필드<?=$i?> 제목</label>
<input type="text" name="cf_<?=$i?>_subj" value="<?=get_text($config['cf_'.$i.'_subj'])?>" id="cf_<?=$i?>_subj" class="frm_input" size="30">
<label for="cf_<?=$i?>">여분필드<?=$i?> 값</label>
<input type="text" name="cf_<?=$i?>" value="<?=$config['cf_'.$i]?>" id="cf_<?=$i?>" class="frm_input" size="30">
<label for="cf_<?php echo $i ?>_subj">여분필드<?php echo $i ?> 제목</label>
<input type="text" name="cf_<?php echo $i ?>_subj" value="<?php echo get_text($config['cf_'.$i.'_subj']) ?>" id="cf_<?php echo $i ?>_subj" class="frm_input" size="30">
<label for="cf_<?php echo $i ?>">여분필드<?php echo $i ?> 값</label>
<input type="text" name="cf_<?php echo $i ?>" value="<?php echo $config['cf_'.$i] ?>" id="cf_<?php echo $i ?>" class="frm_input" size="30">
</td>
</tr>
<? } ?>
<?php } ?>
</tbody>
</table>
</section>
@ -745,6 +745,6 @@ function fconfigform_submit(f)
}
</script>
<?
<?php
include_once ('./admin.tail.php');
?>

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "100100";
include_once('./_common.php');

View File

@ -1,4 +1,4 @@
<?
<?php
include_once('./_common.php');
$g4['title'] = '관리자메인';
@ -43,8 +43,8 @@ $colspan = 12;
?>
<section class="cbox">
<h2>신규가입회원 <?=$new_member_rows?>건 목록</h2>
<p>총회원수 <?=number_format($total_count)?>명 중 차단 <?=number_format($intercept_count)?>명, 탈퇴 : <?=number_format($leave_count)?>명</p>
<h2>신규가입회원 <?php echo $new_member_rows ?>건 목록</h2>
<p>총회원수 <?php echo number_format($total_count) ?>명 중 차단 <?php echo number_format($intercept_count) ?>명, 탈퇴 : <?php echo number_format($leave_count) ?>명</p>
<table>
<thead>
@ -62,7 +62,7 @@ $colspan = 12;
</tr>
</thead>
<tbody>
<?
<?php
for ($i=0; $row=sql_fetch_array($result); $i++)
{
// 접근가능한 그룹수
@ -97,18 +97,18 @@ $colspan = 12;
?>
<tr>
<td><?=$mb_id?></td>
<td class="td_mbname"><?=$row['mb_name']?></td>
<td class="td_name"><div><?=$mb_nick?></div></td>
<td class="td_num"><?=$row['mb_level']?></td>
<td class="td_bignum"><a href="./point_list.php?sfl=mb_id&amp;stx=<?=$row['mb_id']?>"><?=number_format($row['mb_point'])?></a></td>
<td class="td_boolean"><?=$row['mb_mailling']?'예':'아니오';?></td>
<td class="td_boolean"><?=$row['mb_open']?'예':'아니오';?></td>
<td class="td_boolean"><?=preg_match('/[1-9]/', $row['mb_email_certify'])?'예':'아니오';?></td>
<td class="td_boolean"><?=$row['mb_intercept_date']?'예':'아니오';?></td>
<td class="td_category"><?=$group?></td>
<td><?php echo $mb_id ?></td>
<td class="td_mbname"><?php echo $row['mb_name'] ?></td>
<td class="td_name"><div><?php echo $mb_nick ?></div></td>
<td class="td_num"><?php echo $row['mb_level'] ?></td>
<td class="td_bignum"><a href="./point_list.php?sfl=mb_id&amp;stx=<?php echo $row['mb_id'] ?>"><?php echo number_format($row['mb_point']) ?></a></td>
<td class="td_boolean"><?php echo $row['mb_mailling']?'예':'아니오'; ?></td>
<td class="td_boolean"><?php echo $row['mb_open']?'예':'아니오'; ?></td>
<td class="td_boolean"><?php echo preg_match('/[1-9]/', $row['mb_email_certify'])?'예':'아니오'; ?></td>
<td class="td_boolean"><?php echo $row['mb_intercept_date']?'예':'아니오'; ?></td>
<td class="td_category"><?php echo $group ?></td>
</tr>
<?
<?php
}
if ($i == 0)
echo '<tr><td colspan="'.$colspan.'" class="empty_table">자료가 없습니다.</td></tr>';
@ -122,7 +122,7 @@ $colspan = 12;
</section>
<?
<?php
$sql_common = " from {$g4['board_new_table']} a, {$g4['board_table']} b, {$g4['group_table']} c where a.bo_table = b.bo_table and b.gr_id = c.gr_id ";
if ($gr_id)
@ -144,7 +144,7 @@ $colspan = 5;
<section class="cbox">
<h2>최근게시물</h2>
<p>사이트 전체게시물 중 최근게시물 <?=$new_write_rows?>건 목록</p>
<p>사이트 전체게시물 중 최근게시물 <?php echo $new_write_rows ?>건 목록</p>
<table>
<thead>
@ -157,7 +157,7 @@ $colspan = 5;
</tr>
</thead>
<tbody>
<?
<?php
$sql = " select a.*, b.bo_subject, c.gr_subject, c.gr_id {$sql_common} {$sql_order} limit {$new_write_rows} ";
$result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i++)
@ -199,14 +199,14 @@ $colspan = 5;
?>
<tr>
<td class="td_category"><a href="<?=G4_BBS_URL?>/new.php?gr_id=<?=$row['gr_id']?>"><?=cut_str($row['gr_subject'],10)?></a></td>
<td class="td_category"><a href="<?=G4_BBS_URL?>/board.php?bo_table=<?=$row['bo_table']?>"><?=cut_str($row['bo_subject'],20)?></a></td>
<td><a href="<?=G4_BBS_URL?>/board.php?bo_table=<?=$row['bo_table']?>&amp;wr_id=<?=$row2['wr_id']?><?=$comment_link?>"><?=$comment?><?=conv_subject($row2['wr_subject'], 100)?></a></td>
<td class="td_mbname"><div><?=$name?></div></td>
<td class="td_time"><?=$datetime?></td>
<td class="td_category"><a href="<?php echo G4_BBS_URL ?>/new.php?gr_id=<?php echo $row['gr_id'] ?>"><?php echo cut_str($row['gr_subject'],10) ?></a></td>
<td class="td_category"><a href="<?php echo G4_BBS_URL ?>/board.php?bo_table=<?php echo $row['bo_table'] ?>"><?php echo cut_str($row['bo_subject'],20) ?></a></td>
<td><a href="<?php echo G4_BBS_URL ?>/board.php?bo_table=<?php echo $row['bo_table'] ?>&amp;wr_id=<?php echo $row2['wr_id'] ?><?php echo $comment_link ?>"><?php echo $comment ?><?php echo conv_subject($row2['wr_subject'], 100) ?></a></td>
<td class="td_mbname"><div><?php echo $name ?></div></td>
<td class="td_time"><?php echo $datetime ?></td>
</tr>
<?
<?php
}
if ($i == 0)
echo '<tr><td colspan="'.$colspan.'" class="empty_table">자료가 없습니다.</td></tr>';
@ -215,11 +215,11 @@ $colspan = 5;
</table>
<div class="btn_ft">
<a href="<?=G4_BBS_URL?>/new.php">최근게시물 더보기</a>
<a href="<?php echo G4_BBS_URL ?>/new.php">최근게시물 더보기</a>
</div>
</section>
<?
<?php
$sql_common = " from {$g4['point_table']} ";
$sql_search = " where (1) ";
$sql_order = " order by po_id desc ";
@ -243,7 +243,7 @@ $colspan = 7;
<section class="cbox">
<h2>최근 포인트 발생내역</h2>
<p>전체 <?=number_format($total_count)?> 건 중 <?=$new_point_rows?>건 목록</p>
<p>전체 <?php echo number_format($total_count) ?> 건 중 <?php echo $new_point_rows ?>건 목록</p>
<table>
<thead>
@ -258,7 +258,7 @@ $colspan = 7;
</tr>
</thead>
<tbody>
<?
<?php
$row2['mb_id'] = '';
for ($i=0; $row=sql_fetch_array($result); $i++)
{
@ -279,16 +279,16 @@ $colspan = 7;
?>
<tr>
<td class="td_mbid"><a href="./point_list.php?sfl=mb_id&amp;stx=<?=$row['mb_id']?>"><?=$row['mb_id']?></a></td>
<td class="td_mbname"><?=$row2['mb_name']?></td>
<td class="td_name"><div><?=$mb_nick?></div></td>
<td class="td_time"><?=$row['po_datetime']?></td>
<td><?=$link1.$row['po_content'].$link2?></td>
<td class="td_bignum"><?=number_format($row['po_point'])?></td>
<td class="td_bignum"><?=number_format($row2['mb_point'])?></td>
<td class="td_mbid"><a href="./point_list.php?sfl=mb_id&amp;stx=<?php echo $row['mb_id'] ?>"><?php echo $row['mb_id'] ?></a></td>
<td class="td_mbname"><?php echo $row2['mb_name'] ?></td>
<td class="td_name"><div><?php echo $mb_nick ?></div></td>
<td class="td_time"><?php echo $row['po_datetime'] ?></td>
<td><?php echo $link1.$row['po_content'].$link2 ?></td>
<td class="td_bignum"><?php echo number_format($row['po_point']) ?></td>
<td class="td_bignum"><?php echo number_format($row2['mb_point']) ?></td>
</tr>
<?
<?php
}
if ($i == 0)
@ -302,6 +302,6 @@ $colspan = 7;
</div>
</section>
<?
<?php
include_once ('./admin.tail.php');
?>

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "200300";
include_once('./_common.php');
include_once(G4_CKEDITOR_PATH.'/ckeditor.lib.php');
@ -29,9 +29,9 @@ include_once('./admin.head.php');
<p>메일 내용에 {이름} , {별명} , {회원아이디} , {이메일} 처럼 내용에 삽입하면 해당 내용에 맞게 변환하여 메일을 발송합니다.</p>
<form name="fmailform" id="fmailform" action="./mail_update.php" onsubmit="return fmailform_check(this);" method="post">
<input type="hidden" name="w" value="<?=$w?>" id="w">
<input type="hidden" name="ma_id" value="<?=$ma['ma_id']?>" id="ma_id">
<input type="hidden" name="token" value="<?=$token?>" id="token">
<input type="hidden" name="w" value="<?php echo $w ?>" id="w">
<input type="hidden" name="ma_id" value="<?php echo $ma['ma_id'] ?>" id="ma_id">
<input type="hidden" name="token" value="<?php echo $token ?>" id="token">
<table class="frm_tbl">
<colgroup>
<col class="grid_3">
@ -40,11 +40,11 @@ include_once('./admin.head.php');
<tbody>
<tr>
<th scope="row"><label for="ma_subject">메일 제목<strong class="sound_only">필수</strong></label></th>
<td><input type="text" name="ma_subject" value="<?=$ma['ma_subject']?>" id="ma_subject" required class="required frm_input" size="100"></td>
<td><input type="text" name="ma_subject" value="<?php echo $ma['ma_subject'] ?>" id="ma_subject" required class="required frm_input" size="100"></td>
</tr>
<tr>
<th scope="row"><label for="ma_content">메일 내용<strong class="sound_only">필수</strong></label></th>
<td><?=editor_html("ma_content", $ma['ma_content'], '400');?></td>
<td><?php echo editor_html("ma_content", $ma['ma_content'], '400'); ?></td>
</tr>
</tbody>
</table>
@ -78,6 +78,6 @@ function fmailform_check(f)
document.fmailform.ma_subject.focus();
</script>
<?
<?php
include_once('./admin.tail.php');
?>

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = '200300';
include_once('./_common.php');
@ -26,7 +26,7 @@ $colspan = 6;
<h2>등록된 메일내용 목록</h2>
<p>
<strong>테스트</strong>는 등록된 최고관리자의 이메일로 테스트 메일을 발송합니다.<br>
현재 등록된 메일은 총 <?=$total_count ?>건입니다.
현재 등록된 메일은 총 <?php echo $total_count ?>건입니다.
</p>
<div id="btn_add">
@ -47,7 +47,7 @@ $colspan = 6;
</tr>
</thead>
<tbody>
<?
<?php
for ($i=0; $row=mysql_fetch_array($result); $i++) {
//$s_del = '<a href="javascript:post_delete(\'mail_update.php\', '.$row['ma_id'].');">삭제</a>';
$s_vie = '<a href="./mail_preview.php?ma_id='.$row['ma_id'].'" target="_blank">미리보기</a>';
@ -57,17 +57,17 @@ $colspan = 6;
<tr>
<td class="td_chk">
<input type="checkbox" id="chk_<?=$i?>" name="chk[]" value="<?=$row['ma_id']?>" title="메일선택">
<input type="checkbox" id="chk_<?php echo $i ?>" name="chk[]" value="<?php echo $row['ma_id'] ?>" title="메일선택">
</td>
<td class="td_num"><?=$num?></td>
<td><a href="./mail_form.php?w=u&amp;ma_id=<?=$row['ma_id']?>"><?=$row['ma_subject']?></a></td>
<td class="td_time"><?=$row['ma_time']?></td>
<td class="td_test"><a href="./mail_test.php?ma_id=<?=$row['ma_id']?>">테스트</a></td>
<td class="td_send"><a href="./mail_select_form.php?ma_id=<?=$row['ma_id']?>">보내기</a></td>
<td class="td_mng"><?=$s_vie?></td>
<td class="td_num"><?php echo $num ?></td>
<td><a href="./mail_form.php?w=u&amp;ma_id=<?php echo $row['ma_id'] ?>"><?php echo $row['ma_subject'] ?></a></td>
<td class="td_time"><?php echo $row['ma_time'] ?></td>
<td class="td_test"><a href="./mail_test.php?ma_id=<?php echo $row['ma_id'] ?>">테스트</a></td>
<td class="td_send"><a href="./mail_select_form.php?ma_id=<?php echo $row['ma_id'] ?>">보내기</a></td>
<td class="td_mng"><?php echo $s_vie ?></td>
</tr>
<?
<?php
}
if (!$i)
echo "<tr><td colspan=\"".$colspan."\" class=\"empty_table\">자료가 없습니다.</td></tr>";
@ -98,6 +98,6 @@ $(function() {
});
</script>
<?
<?php
include_once ('./admin.tail.php');
?>

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "200300";
include_once('./_common.php');
include_once(G4_LIB_PATH.'/mailer.lib.php');
@ -20,10 +20,10 @@ $content = $se['ma_content'] . "<hr size=0><p><span style='font-size:9pt; font-f
<body>
<h1><?=$subject?></h1>
<h1><?php echo $subject ?></h1>
<p>
<?=$se['ma_content']?>
<?php echo $se['ma_content'] ?>
</p>
<p>

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "200300";
include_once('./_common.php');
@ -42,28 +42,28 @@ include_once('./admin.head.php');
<section class="cbox">
<h2>메일발송대상 선택</h2>
<p>
전체회원 <?=number_format($tot_cnt)?>명 , 탈퇴대기회원 <?=number_format($finish_cnt)?>명, 정상회원 <?=number_format($tot_cnt - $finish_cnt)?>명 중 메일 발송 대상 선택
전체회원 <?php echo number_format($tot_cnt) ?>명 , 탈퇴대기회원 <?php echo number_format($finish_cnt) ?>명, 정상회원 <?php echo number_format($tot_cnt - $finish_cnt) ?>명 중 메일 발송 대상 선택
</p>
<form name="frmsendmailselectform" id="frmsendmailselectform" action="./mail_select_list.php" method="post" autocomplete="off">
<input type="hidden" name="ma_id" value='<?=$ma_id?>'>
<input type="hidden" name="ma_id" value='<?php echo $ma_id ?>'>
<table class="frm_tbl">
<tbody>
<tr>
<th scope="row">회원 ID</th>
<td>
<input type="radio" name="mb_id1" value="1" id="mb_id1_all" <?=$mb_id1?"checked":"";?>> <label for="mb_id1_all">전체</label>
<input type="radio" name="mb_id1" value="0" id="mb_id1_section" <?=!$mb_id1?"checked":"";?>> <label for="mb_id1_section">구간</label>
<input type="text" name="mb_id1_from" value="<?=$mb_id1_from?>" id="mb_id1_from" title="시작구간" class="frm_input"> 에서
<input type="text" name="mb_id1_to" value="<?=$mb_id1_to?>" id="mb_id1_to" title="종료구간" class="frm_input"> 까지
<input type="radio" name="mb_id1" value="1" id="mb_id1_all" <?php echo $mb_id1?"checked":""; ?>> <label for="mb_id1_all">전체</label>
<input type="radio" name="mb_id1" value="0" id="mb_id1_section" <?php echo !$mb_id1?"checked":""; ?>> <label for="mb_id1_section">구간</label>
<input type="text" name="mb_id1_from" value="<?php echo $mb_id1_from ?>" id="mb_id1_from" title="시작구간" class="frm_input"> 에서
<input type="text" name="mb_id1_to" value="<?php echo $mb_id1_to ?>" id="mb_id1_to" title="종료구간" class="frm_input"> 까지
</td>
</tr>
<tr>
<th scope="row"><label for="mb_email">E-mail</label></th>
<td>
<?=help("메일 주소에 단어 포함 (예 : @sir.co.kr)")?>
<input type="text" name="mb_email" value="<?=$mb_email?>" id="mb_email" class="frm_input" size="50">
<?php echo help("메일 주소에 단어 포함 (예 : @sir.co.kr)") ?>
<input type="text" name="mb_email" value="<?php echo $mb_email ?>" id="mb_email" class="frm_input" size="50">
</td>
</tr>
<tr>
@ -79,14 +79,14 @@ include_once('./admin.head.php');
<th scope="row"><label for="mb_level_from">권한</label></th>
<td>
<select name="mb_level_from" id="mb_level_from" title="최소권한">
<? for ($i=1; $i<=10; $i++) { ?>
<option value="<? echo $i ?>"><? echo $i ?></option>
<? } ?>
<?php for ($i=1; $i<=10; $i++) { ?>
<option value="<?php echo $i ?>"><?php echo $i ?></option>
<?php } ?>
</select> 에서
<select name="mb_level_to" id="mb_level_to" title="최대권한">
<? for ($i=1; $i<=10; $i++) { ?>
<option value="<? echo $i ?>"><? echo $i ?></option>
<? } ?>
<?php for ($i=1; $i<=10; $i++) { ?>
<option value="<?php echo $i ?>"><?php echo $i ?></option>
<?php } ?>
</select> 까지
</td>
</tr>
@ -95,7 +95,7 @@ include_once('./admin.head.php');
<td>
<select id="gr_id" name="gr_id">
<option value=''>전체</option>
<?
<?php
$sql = " select gr_id, gr_subject from {$g4['group_table']} order by gr_subject ";
$result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i++)
@ -119,6 +119,6 @@ include_once('./admin.head.php');
</form>
</section>
<?
<?php
include_once('./admin.tail.php');
?>

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "200300";
include_once('./_common.php');
@ -72,9 +72,9 @@ include_once('./admin.head.php');
<p>조건에 따라 선택된 메일발송 대상자 목록입니다.</p>
<form name="fmailselectlist" id="fmailselectlist" method="post" action="./mail_select_update.php">
<input type="hidden" name="token" value="<?=$token?>">
<input type="hidden" name="ma_id" value="<?=$ma_id ?>">
<input type="hidden" name="ma_list" value="<?=$ma_list?>">
<input type="hidden" name="token" value="<?php echo $token ?>">
<input type="hidden" name="ma_id" value="<?php echo $ma_id ?>">
<input type="hidden" name="ma_list" value="<?php echo $ma_list ?>">
<table>
<thead>
<tr>
@ -87,7 +87,7 @@ include_once('./admin.head.php');
</tr>
</thead>
<tbody>
<?
<?php
$sql = " select mb_id, mb_name, mb_nick, mb_email, mb_datetime $sql_common $sql_where order by mb_id ";
$result = sql_query($sql);
$i=0;
@ -100,25 +100,25 @@ include_once('./admin.head.php');
$cr = "\n";
?>
<tr>
<td class="td_num"><?=$i?></td>
<td class="td_mbid"><?=$row['mb_id']?></td>
<td class="td_mbname"><?=$row['mb_name']?></td>
<td class="td_mbnick"><?=$row['mb_nick']?></td>
<td class="td_time"><?=$row['mb_birth']?></td>
<td><?=$row['mb_email']?></td>
<td class="td_num"><?php echo $i ?></td>
<td class="td_mbid"><?php echo $row['mb_id'] ?></td>
<td class="td_mbname"><?php echo $row['mb_name'] ?></td>
<td class="td_mbnick"><?php echo $row['mb_nick'] ?></td>
<td class="td_time"><?php echo $row['mb_birth'] ?></td>
<td><?php echo $row['mb_email'] ?></td>
</tr>
<?}?>
<?php } ?>
</tbody>
</table>
</div>
<div class="btn_confirm">
<input type="submit" value="메일보내기" class="btn_submit">
<a href="./mail_select_form.php?ma_id=<?=$ma_id?>">뒤로</a>
<a href="./mail_select_form.php?ma_id=<?php echo $ma_id ?>">뒤로</a>
</div>
</form>
<?
<?php
include_once('./admin.tail.php');
?>

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "200300";
include_once('./_common.php');
@ -24,11 +24,11 @@ echo "</span>";
<span id="cont"></span>
<?
<?php
include_once('./admin.tail.php');
?>
<?
<?php
flush();
ob_flush();
@ -86,4 +86,4 @@ for ($i=0; $i<count($member_list); $i++)
}
}
?>
<script> document.all.cont.innerHTML += "<br><br>총 <?=number_format($cnt)?>건 발송<br><br><font color=crimson><b>[끝]</b></font>"; document.body.scrollTop += 1000; </script>
<script> document.all.cont.innerHTML += "<br><br>총 <?php echo number_format($cnt) ?>건 발송<br><br><font color=crimson><b>[끝]</b></font>"; document.body.scrollTop += 1000; </script>

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "200300";
include_once('./_common.php');

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "200300";
include_once('./_common.php');

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "200100";
include_once('./_common.php');
@ -94,13 +94,13 @@ include_once('./admin.head.php');
?>
<form name="fmember" id="fmember" action="./member_form_update.php" onsubmit="return fmember_submit(this);" method="post" enctype="multipart/form-data">
<input type="hidden" name="w" value="<?=$w?>">
<input type="hidden" name="sfl" value="<?=$sfl?>">
<input type="hidden" name="stx" value="<?=$stx?>">
<input type="hidden" name="sst" value="<?=$sst?>">
<input type="hidden" name="sod" value="<?=$sod?>">
<input type="hidden" name="page" value="<?=$page?>">
<input type="hidden" name="token" value="<?=$token?>">
<input type="hidden" name="w" value="<?php echo $w ?>">
<input type="hidden" name="sfl" value="<?php echo $sfl ?>">
<input type="hidden" name="stx" value="<?php echo $stx ?>">
<input type="hidden" name="sst" value="<?php echo $sst ?>">
<input type="hidden" name="sod" value="<?php echo $sod ?>">
<input type="hidden" name="page" value="<?php echo $page ?>">
<input type="hidden" name="token" value="<?php echo $token ?>">
<div class="cbox">
<table class="frm_tbl">
@ -112,49 +112,49 @@ include_once('./admin.head.php');
</colgroup>
<tbody>
<tr>
<th scope="row"><label for="mb_id">아이디<?=$sound_only?></label></th>
<th scope="row"><label for="mb_id">아이디<?php echo $sound_only ?></label></th>
<td>
<input type="text" name="mb_id" value="<?=$mb['mb_id']?>" id="mb_id" <?=$required_mb_id?> class="frm_input <?=$required_mb_id_class?>" size="15" maxlength="20" >
<?if ($w=='u'){?><a href="./boardgroupmember_form.php?mb_id=<?=$mb['mb_id']?>">접근가능그룹보기</a><?}?>
<input type="text" name="mb_id" value="<?php echo $mb['mb_id'] ?>" id="mb_id" <?php echo $required_mb_id ?> class="frm_input <?php echo $required_mb_id_class ?>" size="15" maxlength="20" >
<?php if ($w=='u'){ ?><a href="./boardgroupmember_form.php?mb_id=<?php echo $mb['mb_id'] ?>">접근가능그룹보기</a><?php } ?>
</td>
<th scope="row"><label for="mb_password">패스워드<?=$sound_only?></label></th>
<td><input type="password" name="mb_password" id="mb_password" <?=$required_mb_password?> class="frm_input <?=$required_mb_password?>" size="15" maxlength="20"></td>
<th scope="row"><label for="mb_password">패스워드<?php echo $sound_only ?></label></th>
<td><input type="password" name="mb_password" id="mb_password" <?php echo $required_mb_password ?> class="frm_input <?php echo $required_mb_password ?>" size="15" maxlength="20"></td>
</tr>
<tr>
<th scope="row"><label for="mb_name">이름(실명)<strong class="sound_only">필수</strong></label></th>
<td><input type="text" name="mb_name" value="<?=$mb['mb_name']?>" id="mb_name" required class="required hangul frm_input minlength=2" size="15" maxlength="20"></td>
<td><input type="text" name="mb_name" value="<?php echo $mb['mb_name'] ?>" id="mb_name" required class="required hangul frm_input minlength=2" size="15" maxlength="20"></td>
<th scope="row"><label for="mb_nick">별명<strong class="sound_only">필수</strong></label></th>
<td><input type="text" name="mb_nick" value="<?=$mb['mb_nick']?>" id="mb_nick" required class="required frm_input minlength=2" size="15" maxlength="20"></td>
<td><input type="text" name="mb_nick" value="<?php echo $mb['mb_nick'] ?>" id="mb_nick" required class="required frm_input minlength=2" size="15" maxlength="20"></td>
</tr>
<tr>
<th scope="row"><label for="mb_level">회원 권한</label></th>
<td><?=get_member_level_select('mb_level', 1, $member['mb_level'], $mb['mb_level'])?></td>
<td><?php echo get_member_level_select('mb_level', 1, $member['mb_level'], $mb['mb_level']) ?></td>
<th scope="row">포인트</th>
<td><a href="./point_list.php?sfl=mb_id&amp;stx=<?=$mb['mb_id']?>" target="_blank"><?=number_format($mb['mb_point'])?></a> 점</td>
<td><a href="./point_list.php?sfl=mb_id&amp;stx=<?php echo $mb['mb_id'] ?>" target="_blank"><?php echo number_format($mb['mb_point']) ?></a> 점</td>
</tr>
<tr>
<th scope="row"><label for="mb_email">E-mail<strong class="sound_only">필수</strong></label></th>
<td><input type="text" name="mb_email" value="<?=$mb['mb_email']?>" id="mb_email" maxlength="100" required class="required frm_input email" size="30"></td>
<td><input type="text" name="mb_email" value="<?php echo $mb['mb_email'] ?>" id="mb_email" maxlength="100" required class="required frm_input email" size="30"></td>
<th scope="row"><label for="mb_homepage">홈페이지</label></th>
<td><input type="text" name="mb_homepage" value="<?=$mb['mb_homepage']?>" id="mb_homepage" class="frm_input" maxlength="255" size="15"></td>
<td><input type="text" name="mb_homepage" value="<?php echo $mb['mb_homepage'] ?>" id="mb_homepage" class="frm_input" maxlength="255" size="15"></td>
</tr>
<tr>
<th scope="row"><label for="mb_tel">전화번호</label></th>
<td><input type="text" name="mb_tel" value="<?=$mb['mb_tel']?>" id="mb_tel" class="frm_input" size="15" maxlength="20"></td>
<td><input type="text" name="mb_tel" value="<?php echo $mb['mb_tel'] ?>" id="mb_tel" class="frm_input" size="15" maxlength="20"></td>
<th scope="row"><label for="mb_hp">핸드폰번호</label></th>
<td><input type="text" name="mb_hp" value="<?=$mb['mb_hp']?>" id="mb_hp" class="frm_input" size="15" maxlength="20"></td>
<td><input type="text" name="mb_hp" value="<?php echo $mb['mb_hp'] ?>" id="mb_hp" class="frm_input" size="15" maxlength="20"></td>
</tr>
<tr>
<th scope="row"><label for="mb_zip1">주소</label></th>
<td colspan="3" style="line-height:2em">
<input type="text" name="mb_zip1" value="<?=$mb['mb_zip1']?>" id="mb_zip1" title="우편번호 앞자리" class="frm_input readonly" size="3" maxlength="3"> -
<input type="text" name="mb_zip2" value="<?=$mb['mb_zip2']?>" id="mb_zip2" title="우편번호 뒷자리" class="frm_input readonly" size="3" maxlength="3">
<input type="text" name="mb_zip1" value="<?php echo $mb['mb_zip1'] ?>" id="mb_zip1" title="우편번호 앞자리" class="frm_input readonly" size="3" maxlength="3"> -
<input type="text" name="mb_zip2" value="<?php echo $mb['mb_zip2'] ?>" id="mb_zip2" title="우편번호 뒷자리" class="frm_input readonly" size="3" maxlength="3">
<span id="win_zip" style="display:block"></span>
<input type="text" name="mb_addr1" value="<?=$mb['mb_addr1']?>" id="mb_addr1" title="행정기본주소" class="frm_input readonly" size="50"><br>
<input type="text" name="mb_addr2" value="<?=$mb['mb_addr2']?>" id="mb_addr2" title="상세주소" class="frm_input" size="50"> 상세주소 입력
<input type="text" name="mb_addr1" value="<?php echo $mb['mb_addr1'] ?>" id="mb_addr1" title="행정기본주소" class="frm_input readonly" size="50"><br>
<input type="text" name="mb_addr2" value="<?php echo $mb['mb_addr2'] ?>" id="mb_addr2" title="상세주소" class="frm_input" size="50"> 상세주소 입력
<script>
// 우편번호 자바스크립트 비활성화 대응을 위한 코드
$('<a href="<?=G4_BBS_URL?>/zip.php?frm_name=fmember&amp;frm_zip1=mb_zip1&amp;frm_zip2=mb_zip2&amp;frm_addr1=mb_addr1&amp;frm_addr2=mb_addr2" id="win_zip" class="win_zip_find btn_frmline" target="_blank">우편번호 검색</a><br>').appendTo('#win_zip');
$('<a href="<?php echo G4_BBS_URL ?>/zip.php?frm_name=fmember&amp;frm_zip1=mb_zip1&amp;frm_zip2=mb_zip2&amp;frm_addr1=mb_addr1&amp;frm_addr2=mb_addr2" id="win_zip" class="win_zip_find btn_frmline" target="_blank">우편번호 검색</a><br>').appendTo('#win_zip');
$('#win_zip').css('display','inline');
$('#mb_zip1,#mb_zip2,#mb_addr1').attr('readonly','readonly');
</script>
@ -163,9 +163,9 @@ include_once('./admin.head.php');
<tr>
<th scope="row"><label for="mb_icon">회원아이콘</label></th>
<td colspan="3">
<?=help('이미지 크기는 <strong>넓이 '.$config['cf_member_icon_width'].'픽셀 높이 '.$config['cf_member_icon_height'].'픽셀</strong>로 해주세요.')?>
<?php echo help('이미지 크기는 <strong>넓이 '.$config['cf_member_icon_width'].'픽셀 높이 '.$config['cf_member_icon_height'].'픽셀</strong>로 해주세요.') ?>
<input type="file" name="mb_icon" id="mb_icon">
<?
<?php
$mb_dir = substr($mb['mb_id'],0,2);
$icon_file = G4_DATA_PATH.'/member/'.$mb_dir.'/'.$mb['mb_id'].'.gif';
if (file_exists($icon_file)) {
@ -179,95 +179,95 @@ include_once('./admin.head.php');
<tr>
<th scope="row">메일 수신</th>
<td>
<input type="radio" name="mb_mailling" value="1" id="mb_mailling_yes" <?=$mailling_checked?>>
<input type="radio" name="mb_mailling" value="1" id="mb_mailling_yes" <?php echo $mailling_checked ?>>
<label for="mb_mailling_yes">예</label>
<input type="radio" name="mb_mailling" value="0" id="mb_mailling_no" <?=$mailling_no_checked?>>
<input type="radio" name="mb_mailling" value="0" id="mb_mailling_no" <?php echo $mailling_no_checked ?>>
<label for="mb_mailling_no">아니오</label>
</td>
<th scope="row"><label for="mb_sms_yes">SMS 수신</label></th>
<td>
<input type="radio" name="mb_sms" value="1" id="mb_sms_yes" <?=$sms_checked?>>
<input type="radio" name="mb_sms" value="1" id="mb_sms_yes" <?php echo $sms_checked ?>>
<label for="mb_sms_yes">예</label>
<input type="radio" name="mb_sms" value="0" id="mb_sms_no" <?=$sms_no_checked?>>
<input type="radio" name="mb_sms" value="0" id="mb_sms_no" <?php echo $sms_no_checked ?>>
<label for="mb_sms_no">아니오</label>
</td>
</tr>
<tr>
<th scope="row"><label for="mb_open">정보 공개</label></th>
<td colspan="3">
<input type="radio" name="mb_open" value="1" id="mb_open" <?=$open_checked?>>
<input type="radio" name="mb_open" value="1" id="mb_open" <?php echo $open_checked ?>>
<label for="mb_open">예</label>
<input type="radio" name="mb_open" value="0" id="mb_open_no" <?=$open_no_checked?>>
<input type="radio" name="mb_open" value="0" id="mb_open_no" <?php echo $open_no_checked ?>>
<label for="mb_open_no">아니오</label>
</td>
</tr>
<tr>
<th scope="row"><label for="mb_signature">서명</label></th>
<td colspan="3"><textarea name="mb_signature" id="mb_signature"><?=$mb['mb_signature']?></textarea></td>
<td colspan="3"><textarea name="mb_signature" id="mb_signature"><?php echo $mb['mb_signature'] ?></textarea></td>
</tr>
<tr>
<th scope="row"><label for="mb_profile">자기 소개</label></th>
<td colspan="3"><textarea name="mb_profile" id="mb_profile"><?=$mb['mb_profile']?></textarea></td>
<td colspan="3"><textarea name="mb_profile" id="mb_profile"><?php echo $mb['mb_profile'] ?></textarea></td>
</tr>
<tr>
<th scope="row"><label for="mb_memo">메모</label></th>
<td colspan="3"><textarea name="mb_memo" id="mb_memo"><?=$mb['mb_memo']?></textarea></td>
<td colspan="3"><textarea name="mb_memo" id="mb_memo"><?php echo $mb['mb_memo'] ?></textarea></td>
</tr>
<? if ($w == 'u') { ?>
<?php if ($w == 'u') { ?>
<tr>
<th scope="row">회원가입일</th>
<td><?=$mb['mb_datetime']?></td>
<td><?php echo $mb['mb_datetime'] ?></td>
<th scope="row">최근접속일</th>
<td><?=$mb['mb_today_login']?></td>
<td><?php echo $mb['mb_today_login'] ?></td>
</tr>
<tr>
<th scope="row">IP</th>
<td colspan="3"><?=$mb['mb_ip']?></td>
<td colspan="3"><?php echo $mb['mb_ip'] ?></td>
</tr>
<? if ($config['cf_use_email_certify']) { ?>
<?php if ($config['cf_use_email_certify']) { ?>
<tr>
<th scope="row">인증일시</th>
<td colspan="3">
<? if ($mb['mb_email_certify'] == '0000-00-00 00:00:00') { ?>
<?=help('회원님이 메일을 수신할 수 없는 경우 등에 직접 인증처리를 하실 수 있습니다.')?>
<?=$mb['mb_email_certify']?>
<?php if ($mb['mb_email_certify'] == '0000-00-00 00:00:00') { ?>
<?php echo help('회원님이 메일을 수신할 수 없는 경우 등에 직접 인증처리를 하실 수 있습니다.') ?>
<?php echo $mb['mb_email_certify'] ?>
<input type="checkbox" id="passive_certify" name="passive_certify">
<label>수동인증</label>
<? } else { ?>
<?=$mb['mb_email_certify']?>
<? } ?>
<?php } else { ?>
<?php echo $mb['mb_email_certify'] ?>
<?php } ?>
</td>
</tr>
<? } ?>
<? } ?>
<?php } ?>
<?php } ?>
<? if ($config['cf_use_recommend']) { // 추천인 사용 ?>
<?php if ($config['cf_use_recommend']) { // 추천인 사용 ?>
<tr>
<th scope="row">추천인</th>
<td colspan="3"><?=($mb['mb_recommend'] ? get_text($mb['mb_recommend']) : '없음'); // 081022 : CSRF 보안 결함으로 인한 코드 수정 ?></td>
<td colspan="3"><?php echo ($mb['mb_recommend'] ? get_text($mb['mb_recommend']) : '없음'); // 081022 : CSRF 보안 결함으로 인한 코드 수정 ?></td>
</tr>
<? } ?>
<?php } ?>
<tr>
<th scope="row">탈퇴일자</th>
<td>
<input type="text" name="mb_leave_date" value="<?=$mb['mb_leave_date']?>" class="frm_input" maxlength="8">
<input type="checkbox" value="<?=date("Ymd"); ?>" title="탈퇴일을 오늘로 지정" onclick="if (this.form.mb_leave_date.value==this.form.mb_leave_date.defaultValue) { this.form.mb_leave_date.value=this.value; } else { this.form.mb_leave_date.value=this.form.mb_leave_date.defaultValue; }"> 오늘
<input type="text" name="mb_leave_date" value="<?php echo $mb['mb_leave_date'] ?>" class="frm_input" maxlength="8">
<input type="checkbox" value="<?php echo date("Ymd"); ?>" title="탈퇴일을 오늘로 지정" onclick="if (this.form.mb_leave_date.value==this.form.mb_leave_date.defaultValue) { this.form.mb_leave_date.value=this.value; } else { this.form.mb_leave_date.value=this.form.mb_leave_date.defaultValue; }"> 오늘
</td>
<th scope="row">접근차단일자</th>
<td>
<input type="text" name="mb_intercept_date" value="<?=$mb['mb_intercept_date']?>" class="frm_input" maxlength="8">
<input type="checkbox" value="<?=date("Ymd"); ?>" title="접근차단일을 오늘로 지정" onclick="if (this.form.mb_intercept_date.value==this.form.mb_intercept_date.defaultValue) { this.form.mb_intercept_date.value=this.value; } else { this.form.mb_intercept_date.value=this.form.mb_intercept_date.defaultValue; }"> 오늘
<input type="text" name="mb_intercept_date" value="<?php echo $mb['mb_intercept_date'] ?>" class="frm_input" maxlength="8">
<input type="checkbox" value="<?php echo date("Ymd"); ?>" title="접근차단일을 오늘로 지정" onclick="if (this.form.mb_intercept_date.value==this.form.mb_intercept_date.defaultValue) { this.form.mb_intercept_date.value=this.value; } else { this.form.mb_intercept_date.value=this.form.mb_intercept_date.defaultValue; }"> 오늘
</td>
</tr>
<? for ($i=1; $i<=10; $i++) { ?>
<?php for ($i=1; $i<=10; $i++) { ?>
<tr>
<th scope="row"><label for="mb_<?=$i?>">여분 필드 <?=$i?></label></th>
<td colspan="3"><input type="text" id="mb_<?=$i?>" name="mb_<?=$i?>" value="<?=$mb['mb_'.$i]?>" class="frm_input" size="30" maxlength="255"></td>
<th scope="row"><label for="mb_<?php echo $i ?>">여분 필드 <?php echo $i ?></label></th>
<td colspan="3"><input type="text" id="mb_<?php echo $i ?>" name="mb_<?php echo $i ?>" value="<?php echo $mb['mb_'.$i] ?>" class="frm_input" size="30" maxlength="255"></td>
</tr>
<? } ?>
<?php } ?>
</tbody>
</table>
@ -286,7 +286,7 @@ include_once('./admin.head.php');
작성하신 내용을 제출하시려면 <strong>확인</strong> 버튼을, 작성을 취소하고 목록으로 돌아가시려면 <strong>목록</strong> 링크를 누르세요.
</p>
<input type="submit" value="확인" class="btn_submit" accesskey='s'>
<a href="./member_list.php?<?=$qstr?>">목록</a>
<a href="./member_list.php?<?php echo $qstr ?>">목록</a>
</div>
</form>
@ -302,6 +302,6 @@ function fmember_submit(f)
}
</script>
<?
<?php
include_once('./admin.tail.php');
?>

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "200100";
include_once('./_common.php');

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "200100";
include_once('./_common.php');
@ -73,25 +73,25 @@ $colspan = 15;
<fieldset>
<legend>회원검색</legend>
<span>
<?=$listall?>
총회원수 <?=number_format($total_count)?>명 중,
<a href="?sst=mb_intercept_date&amp;sod=desc&amp;sfl=<?=$sfl?>&amp;stx=<?=$stx?>">차단 <?=number_format($intercept_count)?></a>명,
<a href="?sst=mb_leave_date&amp;sod=desc&amp;sfl=<?=$sfl?>&amp;stx=<?=$stx?>">탈퇴 <?=number_format($leave_count)?></a>명
<?php echo $listall ?>
총회원수 <?php echo number_format($total_count) ?>명 중,
<a href="?sst=mb_intercept_date&amp;sod=desc&amp;sfl=<?php echo $sfl ?>&amp;stx=<?php echo $stx ?>">차단 <?php echo number_format($intercept_count) ?></a>명,
<a href="?sst=mb_leave_date&amp;sod=desc&amp;sfl=<?php echo $sfl ?>&amp;stx=<?php echo $stx ?>">탈퇴 <?php echo number_format($leave_count) ?></a>명
</span>
<select name="sfl" title="검색대상">
<option value="mb_id"<?=get_selected($_GET['sfl'], "mb_id");?>>회원아이디</option>
<option value="mb_nick"<?=get_selected($_GET['sfl'], "mb_nick");?>>별명</option>
<option value="mb_name"<?=get_selected($_GET['sfl'], "mb_name");?>>이름</option>
<option value="mb_level"<?=get_selected($_GET['sfl'], "mb_level");?>>권한</option>
<option value="mb_email"<?=get_selected($_GET['sfl'], "mb_email");?>>E-MAIL</option>
<option value="mb_tel"<?=get_selected($_GET['sfl'], "mb_tel");?>>전화번호</option>
<option value="mb_hp"<?=get_selected($_GET['sfl'], "mb_hp");?>>핸드폰번호</option>
<option value="mb_point"<?=get_selected($_GET['sfl'], "mb_point");?>>포인트</option>
<option value="mb_datetime"<?=get_selected($_GET['sfl'], "mb_datetime");?>>가입일시</option>
<option value="mb_ip"<?=get_selected($_GET['sfl'], "mb_ip");?>>IP</option>
<option value="mb_recommend"<?=get_selected($_GET['sfl'], "mb_recommend");?>>추천인</option>
<option value="mb_id"<?php echo get_selected($_GET['sfl'], "mb_id"); ?>>회원아이디</option>
<option value="mb_nick"<?php echo get_selected($_GET['sfl'], "mb_nick"); ?>>별명</option>
<option value="mb_name"<?php echo get_selected($_GET['sfl'], "mb_name"); ?>>이름</option>
<option value="mb_level"<?php echo get_selected($_GET['sfl'], "mb_level"); ?>>권한</option>
<option value="mb_email"<?php echo get_selected($_GET['sfl'], "mb_email"); ?>>E-MAIL</option>
<option value="mb_tel"<?php echo get_selected($_GET['sfl'], "mb_tel"); ?>>전화번호</option>
<option value="mb_hp"<?php echo get_selected($_GET['sfl'], "mb_hp"); ?>>핸드폰번호</option>
<option value="mb_point"<?php echo get_selected($_GET['sfl'], "mb_point"); ?>>포인트</option>
<option value="mb_datetime"<?php echo get_selected($_GET['sfl'], "mb_datetime"); ?>>가입일시</option>
<option value="mb_ip"<?php echo get_selected($_GET['sfl'], "mb_ip"); ?>>IP</option>
<option value="mb_recommend"<?php echo get_selected($_GET['sfl'], "mb_recommend"); ?>>추천인</option>
</select>
<input type="text" name="stx" value="<?=$stx?>" title="검색어(필수)" required class="required frm_input">
<input type="text" name="stx" value="<?php echo $stx ?>" title="검색어(필수)" required class="required frm_input">
<input type="submit" class="btn_submit" value="검색">
</fieldset>
</form>
@ -100,40 +100,40 @@ $colspan = 15;
<h2>회원 목록</h2>
<p>회원자료 삭제 시 다른 회원이 기존 회원아이디를 사용하지 못하도록 회원아이디, 이름, 별명은 삭제하지 않고 영구 보관합니다.</p>
<? if ($is_admin == 'super') {?>
<?php if ($is_admin == 'super') { ?>
<div id="btn_add">
<a href="./member_form.php" id="member_add">회원추가</a>
</div>
<?}?>
<?php } ?>
<form name="fmemberlist" id="fmemberlist" action="./member_list_update.php" onsubmit="return fmemberlist_submit(this);" method="post">
<input type="hidden" name="sst" value="<?=$sst?>">
<input type="hidden" name="sod" value="<?=$sod?>">
<input type="hidden" name="sfl" value="<?=$sfl?>">
<input type="hidden" name="stx" value="<?=$stx?>">
<input type="hidden" name="page" value="<?=$page?>">
<input type="hidden" name="sst" value="<?php echo $sst ?>">
<input type="hidden" name="sod" value="<?php echo $sod ?>">
<input type="hidden" name="sfl" value="<?php echo $sfl ?>">
<input type="hidden" name="stx" value="<?php echo $stx ?>">
<input type="hidden" name="page" value="<?php echo $page ?>">
<table class="tbl_mb_list">
<thead>
<tr>
<th scope="col"><input type="checkbox" name="chkall" value="1" id="chkall" title="현재 페이지 회원 전체선택" onclick="check_all(this.form)"></th>
<th scope="col"><?=subject_sort_link('mb_id')?>회원아이디</a></th>
<th scope="col"><?=subject_sort_link('mb_nick')?>별명</a></th>
<th scope="col"><?=subject_sort_link('mb_name')?>이름</a></th>
<th scope="col"><?=subject_sort_link('mb_level', '', 'desc')?>권한</a></th>
<th scope="col"><?=subject_sort_link('mb_point', '', 'desc')?> 포인트</a></th>
<th scope="col"><?=subject_sort_link('mb_today_login', '', 'desc')?>최종접속</a></th>
<th scope="col"><?=subject_sort_link('mb_datetime', '', 'desc')?>가입일</a></th>
<th scope="col"><?=subject_sort_link('mb_mailling', '', 'desc')?>수신</a></th>
<th scope="col"><?=subject_sort_link('mb_open', '', 'desc')?>공개</a></th>
<th scope="col"><?=subject_sort_link('mb_email_certify', '', 'desc')?>인증</a></th>
<th scope="col"><?=subject_sort_link('mb_intercept_date', '', 'desc')?>차단</a></th>
<th scope="col"><?php echo subject_sort_link('mb_id') ?>회원아이디</a></th>
<th scope="col"><?php echo subject_sort_link('mb_nick') ?>별명</a></th>
<th scope="col"><?php echo subject_sort_link('mb_name') ?>이름</a></th>
<th scope="col"><?php echo subject_sort_link('mb_level', '', 'desc') ?>권한</a></th>
<th scope="col"><?php echo subject_sort_link('mb_point', '', 'desc') ?> 포인트</a></th>
<th scope="col"><?php echo subject_sort_link('mb_today_login', '', 'desc') ?>최종접속</a></th>
<th scope="col"><?php echo subject_sort_link('mb_datetime', '', 'desc') ?>가입일</a></th>
<th scope="col"><?php echo subject_sort_link('mb_mailling', '', 'desc') ?>수신</a></th>
<th scope="col"><?php echo subject_sort_link('mb_open', '', 'desc') ?>공개</a></th>
<th scope="col"><?php echo subject_sort_link('mb_email_certify', '', 'desc') ?>인증</a></th>
<th scope="col"><?php echo subject_sort_link('mb_intercept_date', '', 'desc') ?>차단</a></th>
<th scope="col">그룹</th>
<th scope="col">관리</th>
</tr>
</thead>
<tbody>
<?
<?php
for ($i=0; $row=sql_fetch_array($result); $i++) {
// 접근가능한 그룹수
$sql2 = " select count(*) as cnt from {$g4['group_member_table']} where mb_id = '{$row['mb_id']}' ";
@ -178,32 +178,32 @@ $colspan = 15;
<tr>
<td class="td_chk">
<input type="hidden" name="mb_id[<?=$i?>]" value="<?=$row['mb_id']?>" id="mb_id_<?=$i?>">
<input type="checkbox" name="chk[]" value="<?=$i?>" id="chk_<?=$i?>" title="회원선택">
<input type="hidden" name="mb_id[<?php echo $i ?>]" value="<?php echo $row['mb_id'] ?>" id="mb_id_<?php echo $i ?>">
<input type="checkbox" name="chk[]" value="<?php echo $i ?>" id="chk_<?php echo $i ?>" title="회원선택">
</td>
<td class="td_mbid">
<?=$mb_id?>
<span><?=$leave_msg?><?=$intercept_msg?></span>
<?php echo $mb_id ?>
<span><?php echo $leave_msg ?><?php echo $intercept_msg ?></span>
</td>
<td class="td_name"><div><?=$mb_nick?></div></td>
<td class="td_mbname"><?=$row['mb_name']?></td>
<td><?=get_member_level_select("mb_level[$i]", 1, $member['mb_level'], $row['mb_level'])?></td>
<td class="td_bignum"><a href="point_list.php?sfl=mb_id&amp;stx=<?=$row['mb_id']?>"><?=number_format($row['mb_point'])?></a></td>
<td><?=substr($row['mb_today_login'],2,8)?></td>
<td><?=substr($row['mb_datetime'],2,8)?></td>
<td><?=$row['mb_mailling']?'<span class="txt_true">Yes</span>':'<span class="txt_false">No</span>';?></td>
<td><?=$row['mb_open']?'<span class="txt_true">Yes</span>':'<span class="txt_false">No</span>';?></td>
<td><?=preg_match('/[1-9]/', $row['mb_email_certify'])?'<span class="txt_true">Yes</span>':'<span class="txt_false">No</span>';?></td>
<td class="td_name"><div><?php echo $mb_nick ?></div></td>
<td class="td_mbname"><?php echo $row['mb_name'] ?></td>
<td><?php echo get_member_level_select("mb_level[$i]", 1, $member['mb_level'], $row['mb_level']) ?></td>
<td class="td_bignum"><a href="point_list.php?sfl=mb_id&amp;stx=<?php echo $row['mb_id'] ?>"><?php echo number_format($row['mb_point']) ?></a></td>
<td><?php echo substr($row['mb_today_login'],2,8) ?></td>
<td><?php echo substr($row['mb_datetime'],2,8) ?></td>
<td><?php echo $row['mb_mailling']?'<span class="txt_true">Yes</span>':'<span class="txt_false">No</span>'; ?></td>
<td><?php echo $row['mb_open']?'<span class="txt_true">Yes</span>':'<span class="txt_false">No</span>'; ?></td>
<td><?php echo preg_match('/[1-9]/', $row['mb_email_certify'])?'<span class="txt_true">Yes</span>':'<span class="txt_false">No</span>'; ?></td>
<td class="td_chk">
<? if(empty($row['mb_leave_date'])){?>
<input type="checkbox" name="mb_intercept_date[<?=$i?>]" <?=$row['mb_intercept_date']?'checked':'';?> value="<?=$intercept_date?>" id="mb_intercept_date_<?=$i?>" title="<?=$intercept_title?>">
<?}?>
<?php if(empty($row['mb_leave_date'])){ ?>
<input type="checkbox" name="mb_intercept_date[<?php echo $i ?>]" <?php echo $row['mb_intercept_date']?'checked':''; ?> value="<?php echo $intercept_date ?>" id="mb_intercept_date_<?php echo $i ?>" title="<?php echo $intercept_title ?>">
<?php } ?>
</td>
<td class="td_chk"><?=$group?></td>
<td><?=$s_mod?> <?=$s_grp?></td>
<td class="td_chk"><?php echo $group ?></td>
<td><?php echo $s_mod ?> <?php echo $s_grp ?></td>
</tr>
<?
<?php
}
if ($i == 0)
echo "<tr><td colspan=\"".$colspan."\" class=\"empty_table\">자료가 없습니다.</td></tr>";
@ -213,13 +213,13 @@ $colspan = 15;
<div class="btn_list">
<input type="submit" name="act_button" value="선택수정" onclick="document.pressed=this.value">
<input type="submit" name="act_button" value="선택삭제" onclick="document.pressed=this.value">
<? if ($is_admin == 'super') {?><a href="./member_form.php">회원추가</a><?}?>
<?php if ($is_admin == 'super') { ?><a href="./member_form.php">회원추가</a><?php } ?>
</div>
</form>
</section>
<?=get_paging(G4_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, '?'.$qstr.'&amp;page=');?>
<?php echo get_paging(G4_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, '?'.$qstr.'&amp;page='); ?>
<script>
function fmemberlist_submit(f)
@ -239,6 +239,6 @@ function fmemberlist_submit(f)
}
</script>
<?
<?php
include_once ('./admin.tail.php');
?>

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "200100";
include_once('./_common.php');

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "100500";
include_once('./_common.php');

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "200200";
include_once('./_common.php');

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "200200";
include_once('./_common.php');
@ -80,9 +80,9 @@ function point_clear()
<fieldset>
<legend>포인트 내역 검색</legend>
<span>
<?=$listall?>
전체 <?=number_format($total_count)?> 건
<?
<?php echo $listall ?>
전체 <?php echo number_format($total_count) ?> 건
<?php
if (isset($mb['mb_id']) && $mb['mb_id']) {
echo '&nbsp;(' . $mb['mb_id'] .' 님 포인트 합계 : ' . number_format($mb['mb_point']) . '점)';
} else {
@ -90,13 +90,13 @@ function point_clear()
echo '&nbsp;(전체 합계 '.number_format($row2['sum_point']).'점)';
}
?>
<? if ($is_admin == 'super') { ?><!-- <a href="javascript:point_clear();">포인트정리</a> --><? } ?>
<?php if ($is_admin == 'super') { ?><!-- <a href="javascript:point_clear();">포인트정리</a> --><?php } ?>
</span>
<select name="sfl" title="검색대상">
<option value="mb_id"<?=get_selected($_GET['sfl'], "mb_id");?>>회원아이디</option>
<option value="po_content"<?=get_selected($_GET['sfl'], "po_content");?>>내용</option>
<option value="mb_id"<?php echo get_selected($_GET['sfl'], "mb_id"); ?>>회원아이디</option>
<option value="po_content"<?php echo get_selected($_GET['sfl'], "po_content"); ?>>내용</option>
</select>
<input type="text" name="stx" value="<?=$stx?>" title="검색어(필수)" required class="required frm_input">
<input type="text" name="stx" value="<?php echo $stx ?>" title="검색어(필수)" required class="required frm_input">
<input type="submit" class="btn_submit" value="검색">
</fieldset>
</form>
@ -105,28 +105,28 @@ function point_clear()
<h2>포인트 내역</h2>
<form name="fpointlist" id="fpointlist" method="post">
<input type="hidden" name="sst" value="<?=$sst?>">
<input type="hidden" name="sod" value="<?=$sod?>">
<input type="hidden" name="sfl" value="<?=$sfl?>">
<input type="hidden" name="stx" value="<?=$stx?>">
<input type="hidden" name="page" value="<?=$page?>">
<input type="hidden" name="token" value="<?=$token?>">
<input type="hidden" name="sst" value="<?php echo $sst ?>">
<input type="hidden" name="sod" value="<?php echo $sod ?>">
<input type="hidden" name="sfl" value="<?php echo $sfl ?>">
<input type="hidden" name="stx" value="<?php echo $stx ?>">
<input type="hidden" name="page" value="<?php echo $page ?>">
<input type="hidden" name="token" value="<?php echo $token ?>">
<table class="tbl_pt_list">
<thead>
<tr>
<th scope="col"><input type="checkbox" name="chkall" value="1" id="chkall" title="현재 페이지 포인트 내역 전체선택" onclick="check_all(this.form)"></th>
<th scope="col"><?=subject_sort_link('mb_id')?>회원아이디</a></th>
<th scope="col"><?php echo subject_sort_link('mb_id') ?>회원아이디</a></th>
<th scope="col">이름</th>
<th scope="col">별명</th>
<th scope="col"><?=subject_sort_link('po_datetime')?>일시</a></th>
<th scope="col"><?=subject_sort_link('po_content')?>포인트 내용</a></th>
<th scope="col"><?=subject_sort_link('po_point')?>포인트</a></th>
<th scope="col"><?php echo subject_sort_link('po_datetime') ?>일시</a></th>
<th scope="col"><?php echo subject_sort_link('po_content') ?>포인트 내용</a></th>
<th scope="col"><?php echo subject_sort_link('po_point') ?>포인트</a></th>
<th scope="col">포인트합</th>
</tr>
</thead>
<tbody>
<?
<?php
for ($i=0; $row=sql_fetch_array($result); $i++) {
if ($i==0 || ($row2['mb_id'] != $row['mb_id'])) {
$sql2 = " select mb_id, mb_name, mb_nick, mb_email, mb_homepage, mb_point from {$g4['member_table']} where mb_id = '{$row['mb_id']}' ";
@ -144,20 +144,20 @@ function point_clear()
<tr>
<td class="td_chk">
<input type="hidden" id="mb_id_<?=$i?>" name="mb_id[<?=$i?>]" value="<?=$row['mb_id']?>">
<input type="hidden" id="po_id_<?=$i?>" name="po_id[<?=$i?>]" value="<?=$row['po_id']?>">
<input type="checkbox" id="chk_<?=$i?>" name="chk[]" value="<?=$i?>" title="내역선택">
<input type="hidden" id="mb_id_<?php echo $i ?>" name="mb_id[<?php echo $i ?>]" value="<?php echo $row['mb_id'] ?>">
<input type="hidden" id="po_id_<?php echo $i ?>" name="po_id[<?php echo $i ?>]" value="<?php echo $row['po_id'] ?>">
<input type="checkbox" id="chk_<?php echo $i ?>" name="chk[]" value="<?php echo $i ?>" title="내역선택">
</td>
<td class="td_mbid"><a href="?sfl=mb_id&amp;stx=<?=$row['mb_id']?>"><?=$row['mb_id']?></a></td>
<td class="td_mbname"><?=$row2['mb_name']?></td>
<td class="td_name"><div><?=$mb_nick?></div></td>
<td class="td_time"><?=$row['po_datetime']?></td>
<td class="td_pt_log"><?=$link1?><?=$row['po_content']?><?=$link2?></td>
<td class="td_num td_pt"><?=number_format($row['po_point'])?></td>
<td class="td_bignum td_pt"><?=number_format($row2['mb_point'])?></td>
<td class="td_mbid"><a href="?sfl=mb_id&amp;stx=<?php echo $row['mb_id'] ?>"><?php echo $row['mb_id'] ?></a></td>
<td class="td_mbname"><?php echo $row2['mb_name'] ?></td>
<td class="td_name"><div><?php echo $mb_nick ?></div></td>
<td class="td_time"><?php echo $row['po_datetime'] ?></td>
<td class="td_pt_log"><?php echo $link1 ?><?php echo $row['po_content'] ?><?php echo $link2 ?></td>
<td class="td_num td_pt"><?php echo number_format($row['po_point']) ?></td>
<td class="td_bignum td_pt"><?php echo number_format($row2['mb_point']) ?></td>
</tr>
<?
<?php
}
if ($i == 0)
@ -173,18 +173,18 @@ function point_clear()
</form>
</section>
<?=get_paging(G4_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&amp;page=");?>
<?php echo get_paging(G4_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&amp;page="); ?>
<section id="point_mng" class="cbox">
<h2>개별회원 포인트 증감 설정</h2>
<form name="fpointlist2" method="post" id="fpointlist2" action="./point_update.php" autocomplete="off">
<input type="hidden" name="sfl" value="<?=$sfl?>">
<input type="hidden" name="stx" value="<?=$stx?>">
<input type="hidden" name="sst" value="<?=$sst?>">
<input type="hidden" name="sod" value="<?=$sod?>">
<input type="hidden" name="page" value="<?=$page?>">
<input type="hidden" name="token" value="<?=$token?>">
<input type="hidden" name="sfl" value="<?php echo $sfl ?>">
<input type="hidden" name="stx" value="<?php echo $stx ?>">
<input type="hidden" name="sst" value="<?php echo $sst ?>">
<input type="hidden" name="sod" value="<?php echo $sod ?>">
<input type="hidden" name="page" value="<?php echo $page ?>">
<input type="hidden" name="token" value="<?php echo $token ?>">
<table class="frm_tbl">
<colgroup>
@ -194,7 +194,7 @@ function point_clear()
<tbody>
<tr>
<th scope="row"><label for="mb_id">회원아이디<strong class="sound_only">필수</strong></label></th>
<td><input type="text" name="mb_id" value="<?=$mb_id?>" id="mb_id" class="required frm_input" required></td>
<td><input type="text" name="mb_id" value="<?php echo $mb_id ?>" id="mb_id" class="required frm_input" required></td>
</tr>
<tr>
<th scope="row"><label for="po_content">포인트 내용<strong class="sound_only">필수</strong></label></th>
@ -222,6 +222,6 @@ function point_clear()
</section>
<?
<?php
include_once ('./admin.tail.php');
?>

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "200200";
include_once('./_common.php');

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "200200";
include_once('./_common.php');

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "200900";
include_once('./_common.php');
@ -22,22 +22,22 @@ include_once('./admin.head.php');
<div class="cbox">
<form name="fpoll" id="fpoll" action="./poll_form_update.php" method="post" enctype="multipart/form-data">
<input type="hidden" name="po_id" value="<?=$po_id?>">
<input type="hidden" name="w" value="<?=$w?>">
<input type="hidden" name="sfl" value="<?=$sfl?>">
<input type="hidden" name="stx" value="<?=$stx?>">
<input type="hidden" name="sst" value="<?=$sst?>">
<input type="hidden" name="sod" value="<?=$sod?>">
<input type="hidden" name="page" value="<?=$page?>">
<input type="hidden" name="token" value="<?=$token?>">
<input type="hidden" name="po_id" value="<?php echo $po_id ?>">
<input type="hidden" name="w" value="<?php echo $w ?>">
<input type="hidden" name="sfl" value="<?php echo $sfl ?>">
<input type="hidden" name="stx" value="<?php echo $stx ?>">
<input type="hidden" name="sst" value="<?php echo $sst ?>">
<input type="hidden" name="sod" value="<?php echo $sod ?>">
<input type="hidden" name="page" value="<?php echo $page ?>">
<input type="hidden" name="token" value="<?php echo $token ?>">
<table class="frm_tbl">
<tbody>
<tr>
<th scope="row"><label for="po_subject">투표 제목<strong class="sound_only">필수</strong></label></th>
<td><input type="text" name="po_subject" value="<?=$po['po_subject']?>" id="po_subject" required class="required frm_input" size="80" maxlength="125"></td>
<td><input type="text" name="po_subject" value="<?php echo $po['po_subject'] ?>" id="po_subject" required class="required frm_input" size="80" maxlength="125"></td>
</tr>
<?
<?php
for ($i=1; $i<=9; $i++) {
$required = '';
if ($i==1 || $i==2) {
@ -49,52 +49,52 @@ include_once('./admin.head.php');
?>
<tr>
<th scope="row"><label for="po_poll<?=$i?>">항목 <?=$i?><?=$sound_only?></label></th>
<th scope="row"><label for="po_poll<?php echo $i ?>">항목 <?php echo $i ?><?php echo $sound_only ?></label></th>
<td>
<input type="text" name="po_poll<?=$i?>" value="<?=$po_poll?>" id="po_poll<?=$i?>" <?=$required?> class="frm_input <?=$required?>" maxlength="125">
<label for="po_cnt<?=$i?>">항목 <?=$i?> 투표수</label>
<input type="text" name="po_cnt<?=$i?>" value="<?=$po['po_cnt'.$i]?>" id="po_cnt<?=$i?>" class="frm_input" size="3">
<input type="text" name="po_poll<?php echo $i ?>" value="<?php echo $po_poll ?>" id="po_poll<?php echo $i ?>" <?php echo $required ?> class="frm_input <?php echo $required ?>" maxlength="125">
<label for="po_cnt<?php echo $i ?>">항목 <?php echo $i ?> 투표수</label>
<input type="text" name="po_cnt<?php echo $i ?>" value="<?php echo $po['po_cnt'.$i] ?>" id="po_cnt<?php echo $i ?>" class="frm_input" size="3">
</td>
</tr>
<? } ?>
<?php } ?>
<tr>
<th scope="row"><label for="po_etc">기타의견</label></th>
<td>
<?=help('기타 의견을 남길 수 있도록 하려면, 간단한 질문을 입력하세요.')?>
<input type="text" name="po_etc" value="<?=get_text($po['po_etc'])?>" id="po_etc" class="frm_input" size="80" maxlength="125">
<?php echo help('기타 의견을 남길 수 있도록 하려면, 간단한 질문을 입력하세요.') ?>
<input type="text" name="po_etc" value="<?php echo get_text($po['po_etc']) ?>" id="po_etc" class="frm_input" size="80" maxlength="125">
</td>
</tr>
<tr>
<th scope="row"><label for="po_level">투표가능 회원레벨</label></th>
<td>
<?=help("레벨을 1로 설정하면 손님도 투표할 수 있습니다.")?>
<?=get_member_level_select('po_level', 1, 10, $po['po_level'])?> 이상 투표할 수 있음
<?php echo help("레벨을 1로 설정하면 손님도 투표할 수 있습니다.") ?>
<?php echo get_member_level_select('po_level', 1, 10, $po['po_level']) ?> 이상 투표할 수 있음
</td>
</tr>
<tr>
<th scope="row"><label for="po_point">포인트</label></th>
<td>
<?=help('투표에 참여한 회원에게 포인트를 부여합니다.')?>
<input type="text" name="po_point" value="<?=$po['po_point']?>" id="po_point" class="frm_input"> 점
<?php echo help('투표에 참여한 회원에게 포인트를 부여합니다.') ?>
<input type="text" name="po_point" value="<?php echo $po['po_point'] ?>" id="po_point" class="frm_input"> 점
</td>
</tr>
<? if ($w == 'u') { ?>
<?php if ($w == 'u') { ?>
<tr>
<th scope="row"><label for="po_date">투표시작일</label></th>
<td><input type="text" name="po_date" value="<?=$po['po_date']?>" id="po_date" class="frm_input" maxlength="10"></td>
<td><input type="text" name="po_date" value="<?php echo $po['po_date'] ?>" id="po_date" class="frm_input" maxlength="10"></td>
</tr>
<tr>
<th scope="row"><label for="po_ips">투표참가 IP</label></th>
<td><textarea name="po_ips" id="po_ips" readonly rows="10"><?=preg_replace("/\n/", " / ", $po['po_ips'])?></textarea></td>
<td><textarea name="po_ips" id="po_ips" readonly rows="10"><?php echo preg_replace("/\n/", " / ", $po['po_ips']) ?></textarea></td>
</tr>
<tr>
<th scope="row"><label for="mb_ids">투표참가 회원</label></th>
<td><textarea name="mb_ids" id="mb_ids" readonly rows="10"><?=preg_replace("/\n/", " / ", $po['mb_ids'])?></textarea></td>
<td><textarea name="mb_ids" id="mb_ids" readonly rows="10"><?php echo preg_replace("/\n/", " / ", $po['mb_ids']) ?></textarea></td>
</tr>
<? } ?>
<?php } ?>
</tbody>
</table>
@ -103,11 +103,11 @@ include_once('./admin.head.php');
작성하신 내용을 제출하시려면 <strong>확인</strong> 버튼을, 작성을 취소하고 목록으로 돌아가시려면 <strong>목록</strong> 링크를 누르세요.
</p>
<input type="submit" value="확인" class="btn_submit" accesskey="s">
<a href="./poll_list.php?<?=$qstr?>">목록</a>
<a href="./poll_list.php?<?php echo $qstr ?>">목록</a>
</div>
</form>
</div>
<?
<?php
include_once('./admin.tail.php');
?>

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "200900";
include_once('./_common.php');

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "200900";
include_once('./_common.php');
@ -58,13 +58,13 @@ $colspan = 6;
<fieldset>
<legend>투표검색</legend>
<span>
<?=$listall?>
투표수 : <?=number_format($total_count)?>개
<?php echo $listall ?>
투표수 : <?php echo number_format($total_count) ?>개
</span>
<select name="sfl" id="sfl" title="검색대상">
<option value="po_subject"<?=get_selected($_GET['sfl'], "po_subject");?>>제목</option>
<option value="po_subject"<?php echo get_selected($_GET['sfl'], "po_subject"); ?>>제목</option>
</select>
<input type="text" name="stx" value="<?=$stx?>" title="검색어(필수)" required class="required frm_input">
<input type="text" name="stx" value="<?php echo $stx ?>" title="검색어(필수)" required class="required frm_input">
<input type="submit" class="btn_submit" value="검색">
</fieldset>
</form>
@ -77,12 +77,12 @@ $colspan = 6;
</div>
<form name="fpolllist" id="fpolllist" action="./poll_delete.php" method="post">
<input type="hidden" name="sst" value="<?=$sst?>">
<input type="hidden" name="sod" value="<?=$sod?>">
<input type="hidden" name="sfl" value="<?=$sfl?>">
<input type="hidden" name="stx" value="<?=$stx?>">
<input type="hidden" name="page" value="<?=$page?>">
<input type="hidden" name="token" value="<?=$token?>">
<input type="hidden" name="sst" value="<?php echo $sst ?>">
<input type="hidden" name="sod" value="<?php echo $sod ?>">
<input type="hidden" name="sfl" value="<?php echo $sfl ?>">
<input type="hidden" name="stx" value="<?php echo $stx ?>">
<input type="hidden" name="page" value="<?php echo $page ?>">
<input type="hidden" name="token" value="<?php echo $token ?>">
<table>
<thead>
<tr>
@ -96,7 +96,7 @@ $colspan = 6;
</tr>
</thead>
<tbody>
<?
<?php
for ($i=0; $row=sql_fetch_array($result); $i++) {
$sql2 = " select sum(po_cnt1+po_cnt2+po_cnt3+po_cnt4+po_cnt5+po_cnt6+po_cnt7+po_cnt8+po_cnt9) as sum_po_cnt from {$g4['poll_table']} where po_id = '{$row['po_id']}' ";
$row2 = sql_fetch($sql2);
@ -108,17 +108,17 @@ $colspan = 6;
<tr>
<td class="td_chk">
<input type="checkbox" name="chk[]" value="<?=$row['po_id']?>" id="chk_<?=$i?>" title="투표선택">
<input type="checkbox" name="chk[]" value="<?php echo $row['po_id'] ?>" id="chk_<?php echo $i ?>" title="투표선택">
</td>
<td class="td_num"><?=$row['po_id']?></td>
<td><?=cut_str(get_text($row['po_subject']),70)?></td>
<td class="td_num"><?=$row['po_level']?></td>
<td class="td_num"><?=$row2['sum_po_cnt']?></td>
<td class="td_etc"><?=$po_etc?></td>
<td class="td_mng"><?=$s_mod?></td>
<td class="td_num"><?php echo $row['po_id'] ?></td>
<td><?php echo cut_str(get_text($row['po_subject']),70) ?></td>
<td class="td_num"><?php echo $row['po_level'] ?></td>
<td class="td_num"><?php echo $row2['sum_po_cnt'] ?></td>
<td class="td_etc"><?php echo $po_etc ?></td>
<td class="td_mng"><?php echo $s_mod ?></td>
</tr>
<?
<?php
}
if ($i==0)
@ -133,7 +133,7 @@ $colspan = 6;
</form>
</section>
<?=get_paging(G4_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&amp;page=");?>
<?php echo get_paging(G4_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&amp;page="); ?>
<script>
$(function() {
@ -152,6 +152,6 @@ $(function() {
});
</script>
<?
<?php
include_once ('./admin.tail.php');
?>

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "300300";
include_once('./_common.php');
@ -75,14 +75,14 @@ var list_delete_php = 'popular_list.php';
<fieldset>
<legend>인기검색어 검색</legend>
<span>
<?=$listall?>
건수 : <?=number_format($total_count)?>개
<?php echo $listall ?>
건수 : <?php echo number_format($total_count) ?>개
</span>
<select name="sfl" title="검색대상">
<option value="pp_word"<?=get_selected($_GET['sfl'], "pp_word");?>>검색어</option>
<option value="pp_date"<?=get_selected($_GET['sfl'], "pp_date");?>>등록일</option>
<option value="pp_word"<?php echo get_selected($_GET['sfl'], "pp_word"); ?>>검색어</option>
<option value="pp_date"<?php echo get_selected($_GET['sfl'], "pp_date"); ?>>등록일</option>
</select>
<input type="text" name="stx" value="<?=$stx?>" title="검색어(필수)" required class="required frm_input">
<input type="text" name="stx" value="<?php echo $stx ?>" title="검색어(필수)" required class="required frm_input">
<input type="submit" value="검색" class="btn_submit">
</fieldset>
</form>
@ -91,24 +91,24 @@ var list_delete_php = 'popular_list.php';
<h2>인기검색어 목록</h2>
<form name="fpopularlist" id="fpopularlist" method="post">
<input type="hidden" name="sst" value="<?=$sst?>">
<input type="hidden" name="sod" value="<?=$sod?>">
<input type="hidden" name="sfl" value="<?=$sfl?>">
<input type="hidden" name="stx" value="<?=$stx?>">
<input type="hidden" name="page" value="<?=$page?>">
<input type="hidden" name="token" value="<?=$token?>">
<input type="hidden" name="sst" value="<?php echo $sst ?>">
<input type="hidden" name="sod" value="<?php echo $sod ?>">
<input type="hidden" name="sfl" value="<?php echo $sfl ?>">
<input type="hidden" name="stx" value="<?php echo $stx ?>">
<input type="hidden" name="page" value="<?php echo $page ?>">
<input type="hidden" name="token" value="<?php echo $token ?>">
<table class="tbl_pop_list">
<thead>
<tr>
<th scope="col"><input type="checkbox" name="chkall" value="1" id="chkall" title="현재 페이지 인기검색어 전체선택" onclick="check_all(this.form)"></th>
<th scope="col"><?=subject_sort_link('pp_word')?>검색어</a></th>
<th scope="col"><?php echo subject_sort_link('pp_word') ?>검색어</a></th>
<th scope="col">등록일</th>
<th scope="col">등록IP</th>
</tr>
</thead>
<tbody>
<?
<?php
for ($i=0; $row=sql_fetch_array($result); $i++) {
$word = get_text($row['pp_word']);
@ -116,14 +116,14 @@ var list_delete_php = 'popular_list.php';
<tr>
<td class="td_chk">
<input type="checkbox" name="chk[]" value="<?=$row['pp_id']?>" id="chk_<?=$i?>" title="<?=$word?> 선택">
<input type="checkbox" name="chk[]" value="<?php echo $row['pp_id'] ?>" id="chk_<?php echo $i ?>" title="<?php echo $word ?> 선택">
</td>
<td>&nbsp; <a href="<?=$_SERVER['PHP_SELF']?>?sfl=pp_word&amp;stx=<?=$word?>"><?=$word?></a></td>
<td><?=$row['pp_date']?></td>
<td><?=$row['pp_ip']?></td>
<td>&nbsp; <a href="<?php echo $_SERVER['PHP_SELF'] ?>?sfl=pp_word&amp;stx=<?php echo $word ?>"><?php echo $word ?></a></td>
<td><?php echo $row['pp_date'] ?></td>
<td><?php echo $row['pp_ip'] ?></td>
</tr>
<?
<?php
}
if ($i == 0)
@ -132,16 +132,16 @@ var list_delete_php = 'popular_list.php';
</tbody>
</table>
<?if ($is_admin == 'super'){ ?>
<?php if ($is_admin == 'super'){ ?>
<div class="btn_list">
<button type="submit">선택삭제</button>
</div>
<?}?>
<?php } ?>
</form>
</section>
<?=get_paging(G4_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&amp;page=");?>
<?php echo get_paging(G4_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&amp;page="); ?>
<script>
$(function() {
@ -160,6 +160,6 @@ $(function() {
});
</script>
<?
<?php
include_once('./admin.tail.php');
?>

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "300400";
include_once('./_common.php');
@ -40,12 +40,12 @@ $colspan = 3;
<fieldset>
<legend>인기검색어 검색</legend>
<span>
<?=$listall?>
건수 <?=number_format($total_count)?>개
<?php echo $listall ?>
건수 <?php echo number_format($total_count) ?>개
</span>
<label for="fr_date">기간설정</label>
<input type="text" name="fr_date" value="<?=$fr_date?>" id="fr_date" title="구간시작일" class="frm_input" maxlength="10"> 부터
<input type="text" name="to_date" value="<?=$to_date?>" id="to_date" title="구간종료일" class="frm_input" maxlength="10"> 까지
<input type="text" name="fr_date" value="<?php echo $fr_date ?>" id="fr_date" title="구간시작일" class="frm_input" maxlength="10"> 부터
<input type="text" name="to_date" value="<?php echo $to_date ?>" id="to_date" title="구간종료일" class="frm_input" maxlength="10"> 까지
<input type="submit" class="btn_submit" value="검색">
</fieldset>
</form>
@ -53,12 +53,12 @@ $colspan = 3;
<section class="cbox">
<h2>인기검색어 순위 및 내역</h2>
<form name="fpopularrank" id="fpopularrank" method="post">
<input type="hidden" name="sst" value="<?=$sst?>">
<input type="hidden" name="sod" value="<?=$sod?>">
<input type="hidden" name="sfl" value="<?=$sfl?>">
<input type="hidden" name="stx" value="<?=$stx?>">
<input type="hidden" name="page" value="<?=$page?>">
<input type="hidden" name="token" value="<?=$token?>">
<input type="hidden" name="sst" value="<?php echo $sst ?>">
<input type="hidden" name="sod" value="<?php echo $sod ?>">
<input type="hidden" name="sfl" value="<?php echo $sfl ?>">
<input type="hidden" name="stx" value="<?php echo $stx ?>">
<input type="hidden" name="page" value="<?php echo $page ?>">
<input type="hidden" name="token" value="<?php echo $token ?>">
<table class="tbl_pop_list">
<thead>
<tr>
@ -68,7 +68,7 @@ $colspan = 3;
</tr>
</thead>
<tbody>
<?
<?php
for ($i=0; $row=sql_fetch_array($result); $i++) {
$word = get_text($row['pp_word']);
@ -77,12 +77,12 @@ $colspan = 3;
?>
<tr>
<td class="td_num"><?=$rank?></td>
<td><?=$word?></td>
<td class="td_bignum"><?=$row['cnt']?></td>
<td class="td_num"><?php echo $rank ?></td>
<td><?php echo $word ?></td>
<td class="td_bignum"><?php echo $row['cnt'] ?></td>
</tr>
<?
<?php
}
if ($i == 0)
@ -94,10 +94,10 @@ $colspan = 3;
</form>
</section>
<?
<?php
echo get_paging(G4_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&amp;page=");
?>
<?
<?php
include_once('./admin.tail.php');
?>

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = '100300';
include_once('./_common.php');
@ -51,7 +51,7 @@ if (isset($_POST['mail'])) {
<fieldset id="fsendmailtest">
<legend>테스트메일 발송</legend>
<label for="mail">받는 메일주소<strong class="sound_only">필수</strong></label>
<input type="text" name="mail" value="<?=$member['mb_email']?>" id="mail" required class="required frm_input" size="80">
<input type="text" name="mail" value="<?php echo $member['mb_email'] ?>" id="mail" required class="required frm_input" size="80">
<input type="submit" value="발송" class="btn_submit">
</fieldset>
</form>
@ -61,6 +61,6 @@ if (isset($_POST['mail'])) {
</p>
</section>
<?
<?php
include_once('./admin.tail.php');
?>

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "100800";
include_once("./_common.php");
@ -14,7 +14,7 @@ include_once("./admin.head.php");
완료 메세지가 나오기 전에 프로그램의 실행을 중지하지 마십시오.
</p>
<?
<?php
flush();
$list_tag_st = "";

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = '100920';
include_once('./_common.php');

View File

@ -1,4 +1,4 @@
<?
<?php
if (!defined('_GNUBOARD_')) exit;
include_once(G4_PLUGIN_PATH.'/jquery-ui/datepicker.php');
@ -13,22 +13,22 @@ $query_string = $qstr ? '?'.$qstr : '';
?>
<ul class="anchor">
<li><a href="./visit_list.php<?=$query_string?>">접속자</a></li>
<li><a href="./visit_domain.php<?=$query_string?>">도메인</a></li>
<li><a href="./visit_browser.php<?=$query_string?>">브라우저</a></li>
<li><a href="./visit_os.php<?=$query_string?>">운영체제</a></li>
<li><a href="./visit_hour.php<?=$query_string?>">시간</a></li>
<li><a href="./visit_week.php<?=$query_string?>">요일</a></li>
<li><a href="./visit_date.php<?=$query_string?>">일</a></li>
<li><a href="./visit_month.php<?=$query_string?>">월</a></li>
<li><a href="./visit_year.php<?=$query_string?>">년</a></li>
<li><a href="./visit_list.php<?php echo $query_string ?>">접속자</a></li>
<li><a href="./visit_domain.php<?php echo $query_string ?>">도메인</a></li>
<li><a href="./visit_browser.php<?php echo $query_string ?>">브라우저</a></li>
<li><a href="./visit_os.php<?php echo $query_string ?>">운영체제</a></li>
<li><a href="./visit_hour.php<?php echo $query_string ?>">시간</a></li>
<li><a href="./visit_week.php<?php echo $query_string ?>">요일</a></li>
<li><a href="./visit_date.php<?php echo $query_string ?>">일</a></li>
<li><a href="./visit_month.php<?php echo $query_string ?>">월</a></li>
<li><a href="./visit_year.php<?php echo $query_string ?>">년</a></li>
</ul>
<form name="fvisit" id="fvisit" method="get">
<fieldset>
<legend>기간별 접속자집계 검색</legend>
<input type="text" name="fr_date" value="<?=$fr_date?>" id="fr_date" class="frm_input" size="11" maxlength="10"> 부터
<input type="text" name="to_date" value="<?=$to_date?>" id="to_date" class="frm_input" size="11" maxlength="10"> 까지
<input type="text" name="fr_date" value="<?php echo $fr_date ?>" id="fr_date" class="frm_input" size="11" maxlength="10"> 부터
<input type="text" name="to_date" value="<?php echo $to_date ?>" id="to_date" class="frm_input" size="11" maxlength="10"> 까지
<input type="submit" value="검색" class="btn_submit">
</fieldset>
</form>

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "200800";
include_once('./_common.php');
@ -41,12 +41,12 @@ while ($row=sql_fetch_array($result)) {
<tfoot>
<tr>
<td colspan="3">합계</td>
<td><strong><?=$sum_count?></strong></td>
<td><strong><?php echo $sum_count ?></strong></td>
<td>100%</td>
</tr>
</tfoot>
<tbody>
<?
<?php
$i = 0;
$k = 0;
$save_count = -1;
@ -68,18 +68,18 @@ while ($row=sql_fetch_array($result)) {
?>
<tr>
<td class="td_num"><?=$no?></td>
<td class="td_category"><?=$key?></td>
<td class="td_num"><?php echo $no ?></td>
<td class="td_category"><?php echo $key ?></td>
<td>
<div class="visit_bar">
<span style="width:<?=$s_rate?>%"></span>
<span style="width:<?php echo $s_rate ?>%"></span>
</div>
</td>
<td class="td_bignum"><?=$count?></td>
<td class="td_num"><?=$s_rate?></td>
<td class="td_bignum"><?php echo $count ?></td>
<td class="td_num"><?php echo $s_rate ?></td>
</tr>
<?
<?php
}
} else {
echo '<tr><td colspan="'.$colspan.'" class="empty_table">자료가 없습니다.</td></tr>';
@ -89,6 +89,6 @@ while ($row=sql_fetch_array($result)) {
</table>
</section>
<?
<?php
include_once('./admin.tail.php');
?>

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "200800";
include_once('./_common.php');
@ -40,12 +40,12 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
<tfoot>
<tr>
<td colspan="2">합계</td>
<td><strong><?=number_format($sum_count)?></strong></td>
<td><strong><?php echo number_format($sum_count) ?></strong></td>
<td>100%</td>
</tr>
</tfoot>
<tbody>
<?
<?php
$i = 0;
$k = 0;
$save_count = -1;
@ -59,17 +59,17 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
?>
<tr>
<td class="td_category"><a href="./visit_list.php?fr_date=<?=$key?>&amp;to_date=<?=$key?>"><?=$key?></a></td>
<td class="td_category"><a href="./visit_list.php?fr_date=<?php echo $key ?>&amp;to_date=<?php echo $key ?>"><?php echo $key ?></a></td>
<td>
<div class="visit_bar">
<span style="width:<?=$s_rate?>%"></span>
<span style="width:<?php echo $s_rate ?>%"></span>
</div>
</td>
<td class="td_bignum"><?=number_format($value)?></td>
<td class="td_num"><?=$s_rate?></td>
<td class="td_bignum"><?php echo number_format($value) ?></td>
<td class="td_num"><?php echo $s_rate ?></td>
</tr>
<?
<?php
}
} else {
echo '<tr><td colspan="'.$colspan.'" class="empty_table">자료가 없습니다.</td></tr>';
@ -79,6 +79,6 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
</table>
</section>
<?
<?php
include_once('./admin.tail.php');
?>

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "200800";
include_once('./_common.php');
@ -43,12 +43,12 @@ while ($row=sql_fetch_array($result)) {
<tfoot>
<tr>
<td colspan="3">합계</td>
<td><strong><?=$sum_count?></strong></td>
<td><strong><?php echo $sum_count ?></strong></td>
<td>100%</td>
</tr>
</tfoot>
<tbody>
<?
<?php
$i = 0;
$k = 0;
$save_count = -1;
@ -78,17 +78,17 @@ while ($row=sql_fetch_array($result)) {
$s_rate = number_format($rate, 1);
?>
<tr>
<td class="td_num"><?=$no?></td>
<td class="td_category"><?=$link?><?=$key?><?=$link2?></td>
<td class="td_num"><?php echo $no ?></td>
<td class="td_category"><?php echo $link ?><?php echo $key ?><?php echo $link2 ?></td>
<td>
<div class="visit_bar">
<span style="width:<?=$s_rate?>%"></span>
<span style="width:<?php echo $s_rate ?>%"></span>
</div>
</td>
<td class="td_bignum"><?=$count?></td>
<td class="td_num"><?=$s_rate?></td>
<td class="td_bignum"><?php echo $count ?></td>
<td class="td_num"><?php echo $s_rate ?></td>
</tr>
<?
<?php
}
} else {
echo '<tr><td colspan="'.$colspan.'" class="empty_table">자료가 없습니다.</td></tr>';
@ -98,6 +98,6 @@ while ($row=sql_fetch_array($result)) {
</table>
</section>
<?
<?php
include_once('./admin.tail.php');
?>

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "200800";
include_once('./_common.php');
@ -41,12 +41,12 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
<tfoot>
<tr>
<td colspan="2">합계</td>
<td><strong><?=number_format($sum_count)?></strong></td>
<td><strong><?php echo number_format($sum_count) ?></strong></td>
<td>100%</td>
</tr>
</tfoot>
<tbody>
<?
<?php
$k = 0;
if ($i) {
for ($i=0; $i<24; $i++) {
@ -57,16 +57,16 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
$s_rate = number_format($rate, 1);
?>
<tr>
<td class="td_category"><?=$hour?></td>
<td class="td_category"><?php echo $hour ?></td>
<td>
<div class="visit_bar">
<span style="width:<?=$s_rate?>%"></span>
<span style="width:<?php echo $s_rate ?>%"></span>
</div>
</td>
<td class="td_bignum"><?=number_format($count)?></td>
<td class="td_num"><?=$s_rate?></td>
<td class="td_bignum"><?php echo number_format($count) ?></td>
<td class="td_num"><?php echo $s_rate ?></td>
</tr>
<?
<?php
}
} else {
echo '<tr><td colspan="'.$colspan.'" class="empty_table">자료가 없습니다.</td></tr>';
@ -76,6 +76,6 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
</table>
</section>
<?
<?php
include_once('./admin.tail.php');
?>

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "200800";
include_once('./_common.php');
@ -48,7 +48,7 @@ $result = sql_query($sql);
</tr>
</thead>
<tbody>
<?
<?php
for ($i=0; $row=sql_fetch_array($result); $i++) {
$brow = get_brow($row['vi_agent']);
$os = get_os($row['vi_agent']);
@ -82,14 +82,14 @@ $result = sql_query($sql);
?>
<tr>
<td class="td_category"><?=$ip?></td>
<td><?=$link?><?=$title?><?=$link2?></td>
<td class="td_category"><?=$brow?></td>
<td class="td_category"><?=$os?></td>
<td class="td_time"><?=$row['vi_date']?> <?=$row['vi_time']?></td>
<td class="td_category"><?php echo $ip ?></td>
<td><?php echo $link ?><?php echo $title ?><?php echo $link2 ?></td>
<td class="td_category"><?php echo $brow ?></td>
<td class="td_category"><?php echo $os ?></td>
<td class="td_time"><?php echo $row['vi_date'] ?> <?php echo $row['vi_time'] ?></td>
</tr>
<?
<?php
}
if ($i == 0)
echo '<tr><td colspan="'.$colspan.'" class="empty_table">자료가 없습니다.</td></tr>';
@ -98,7 +98,7 @@ $result = sql_query($sql);
</table>
</section>
<?
<?php
if (isset($domain))
$qstr .= "&amp;domain=$domain";
$qstr .= "&amp;page=";

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "200800";
include_once('./_common.php');
@ -41,12 +41,12 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
<tfoot>
<tr>
<td colspan="2">합계</td>
<td><strong><?=number_format($sum_count)?></strong></td>
<td><strong><?php echo number_format($sum_count) ?></strong></td>
<td>100%</td>
</tr>
</tfoot>
<tbody>
<?
<?php
$i = 0;
$k = 0;
$save_count = -1;
@ -60,17 +60,17 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
?>
<tr>
<td class="td_category"><a href="./visit_date.php?fr_date=<?=$key?>-01&amp;to_date=<?=$key?>-31"><?=$key?></a></td>
<td class="td_category"><a href="./visit_date.php?fr_date=<?php echo $key ?>-01&amp;to_date=<?php echo $key ?>-31"><?php echo $key ?></a></td>
<td>
<div class="visit_bar">
<span style="width:<?=$s_rate?>%"></span>
<span style="width:<?php echo $s_rate ?>%"></span>
</div>
</td>
<td class="td_bignum"><?=number_format($value)?></td>
<td class="td_num"><?=$s_rate?></td>
<td class="td_bignum"><?php echo number_format($value) ?></td>
<td class="td_num"><?php echo $s_rate ?></td>
</tr>
<?
<?php
}
@ -83,6 +83,6 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
</table>
</section>
<?
<?php
include_once('./admin.tail.php');
?>

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "200800";
include_once('./_common.php');
@ -41,12 +41,12 @@ while ($row=sql_fetch_array($result)) {
<tfoot>
<tr>
<td colspan="3">합계</td>
<td><strong><?=$sum_count?></strong></td>
<td><strong><?php echo $sum_count ?></strong></td>
<td>100%</td>
</tr>
</tfoot>
<tbody>
<?
<?php
$i = 0;
$k = 0;
$save_count = -1;
@ -72,18 +72,18 @@ while ($row=sql_fetch_array($result)) {
?>
<tr>
<td class="td_num"><?=$no?></td>
<td class="td_category"><?=$key?></td>
<td class="td_num"><?php echo $no ?></td>
<td class="td_category"><?php echo $key ?></td>
<td>
<div class="visit_bar">
<span style="width:<?=$s_rate?>%"></span>
<span style="width:<?php echo $s_rate ?>%"></span>
</div>
</td>
<td class="td_bignum"><?=$count?></td>
<td class="td_num"><?=$s_rate?></td>
<td class="td_bignum"><?php echo $count ?></td>
<td class="td_num"><?php echo $s_rate ?></td>
</tr>
<?
<?php
}
} else {
echo '<tr><td colspan="'.$colspan.'" class="empty_table">자료가 없습니다.</td></tr>';
@ -93,6 +93,6 @@ while ($row=sql_fetch_array($result)) {
</table>
</section>
<?
<?php
include_once('./admin.tail.php');
?>

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "200800";
include_once('./_common.php');
@ -39,12 +39,12 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
<tfoot>
<tr>
<td colspan="2">합계</td>
<td><strong><?=$sum_count?></strong></td>
<td><strong><?php echo $sum_count ?></strong></td>
<td>100%</td>
</tr>
</tfoot>
<tbody>
<?
<?php
$k = 0;
if ($i) {
for ($i=0; $i<7; $i++) {
@ -55,17 +55,17 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
?>
<tr>
<td class="td_category"><?=$weekday[$i]?></td>
<td class="td_category"><?php echo $weekday[$i] ?></td>
<td>
<div class="visit_bar">
<span style="width:<?=$s_rate?>%"></span>
<span style="width:<?php echo $s_rate ?>%"></span>
</div>
</td>
<td class="td_bignum"><?=$count?></td>
<td class="td_num"><?=$s_rate?></td>
<td class="td_bignum"><?php echo $count ?></td>
<td class="td_num"><?php echo $s_rate ?></td>
</tr>
<?
<?php
}
} else {
echo '<tr><td colspan="'.$colspan.'" class="empty_table">자료가 없습니다.</td></tr>';
@ -75,6 +75,6 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
</table>
</section>
<?
<?php
include_once('./admin.tail.php');
?>

View File

@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "200800";
include_once('./_common.php');
@ -41,12 +41,12 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
<tfoot>
<tr>
<td colspan="2">합계</td>
<td><strong><?=number_format($sum_count)?></strong></td>
<td><strong><?php echo number_format($sum_count) ?></strong></td>
<td>100%</td>
</tr>
</tfoot>
<tbody>
<?
<?php
$i = 0;
$k = 0;
$save_count = -1;
@ -60,17 +60,17 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
?>
<tr>
<td class="td_category"><a href="./visit_month.php?fr_date=<?=$key?>-01-01&amp;to_date=<?=$key?>-12-31"><?=$key?></a></td>
<td class="td_category"><a href="./visit_month.php?fr_date=<?php echo $key ?>-01-01&amp;to_date=<?php echo $key ?>-12-31"><?php echo $key ?></a></td>
<td>
<div class="visit_bar">
<span style="width:<?=$s_rate?>%"></span>
<span style="width:<?php echo $s_rate ?>%"></span>
</div>
</td>
<td class="td_bignum"><?=number_format($value)?></td>
<td class="td_num"><?=$s_rate?></td>
<td class="td_bignum"><?php echo number_format($value) ?></td>
<td class="td_num"><?php echo $s_rate ?></td>
</tr>
<?
<?php
}
} else {
echo '<tr><td colspan="'.$colspan.'" class="empty_table">자료가 없습니다.</td></tr>';
@ -80,6 +80,6 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
</table>
</section>
<?
<?php
include_once('./admin.tail.php');
?>

View File

@ -1,3 +1,3 @@
<?
<?php
include_once('../common.php');
?>

View File

@ -1,5 +1,4 @@
<?
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
include_once(G4_PATH.'/_head.php');
?>

View File

@ -1,4 +1,4 @@
<?
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
include_once(G4_PATH.'/head.sub.php');
?>

View File

@ -1,5 +1,4 @@
<?
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
include_once(G4_PATH.'/_tail.php');
?>

View File

@ -1,4 +1,4 @@
<?
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
include_once(G4_PATH.'/tail.sub.php');
?>

View File

@ -1,4 +1,4 @@
<?
<?php
include_once('./_common.php');
include_once(G4_LIB_PATH.'/register.lib.php');

View File

@ -1,4 +1,4 @@
<?
<?php
include_once('./_common.php');
include_once(G4_LIB_PATH.'/register.lib.php');

View File

@ -1,4 +1,4 @@
<?
<?php
include_once('./_common.php');
include_once(G4_LIB_PATH.'/register.lib.php');

View File

@ -1,4 +1,4 @@
<?
<?php
include_once('./_common.php');
include_once(G4_LIB_PATH.'/register.lib.php');

View File

@ -1,4 +1,4 @@
<?
<?php
global $lo_location;
global $lo_url;
@ -40,25 +40,25 @@ if($error) {
?>
<script>
alert("<? echo strip_tags($msg); ?>");
//document.location.href = "<? echo $url; ?>";
<? if ($url) { ?>
document.location.replace("<? echo $url; ?>");
<? } else { ?>
alert("<?php echo strip_tags($msg); ?>");
//document.location.href = "<?php echo $url; ?>";
<?php if ($url) { ?>
document.location.replace("<?php echo $url; ?>");
<?php } else { ?>
alert('history.back();');
history.back();
<?}?>
<?php } ?>
</script>
<noscript>
<div id="validation_check">
<h1><?=$header2?></h1>
<h1><?php echo $header2 ?></h1>
<p class="cbg">
<?=$msg2?>
<?php echo $msg2 ?>
</p>
<? if($post) { ?>
<form method="post" action="<?=$url?>">
<?
<?php if($post) { ?>
<form method="post" action="<?php echo $url ?>">
<?php
foreach($_POST as $key => $value) {
if(strlen($value) < 1)
continue;
@ -66,25 +66,25 @@ history.back();
if(preg_match("/pass|pwd|capt|url/", $key))
continue;
?>
<input type="hidden" name="<?=$key?>" value="<?=$value?>">
<?
<input type="hidden" name="<?php echo $key ?>" value="<?php echo $value ?>">
<?php
}
?>
<input type="submit" value="돌아가기">
</form>
<? } else { ?>
<?php } else { ?>
<div class="btn_confirm">
<a href="<?=$url?>">돌아가기</a>
<a href="<?php echo $url ?>">돌아가기</a>
</div>
<? } ?>
<?php } ?>
<? /*
<?php /*
<article id="validation_check">
<header>
<hgroup>
<!-- <h1>회원가입 정보 입력 확인</h1> --> <!-- 수행 중이던 작업 내용 -->
<h1><?=$header?></h1> <!-- 수행 중이던 작업 내용 -->
<h2><?=$header2?></h2>
<h1><?php echo $header ?></h1> <!-- 수행 중이던 작업 내용 -->
<h2><?php echo $header2 ?></h2>
</hgroup>
</header>
<p>
@ -93,15 +93,15 @@ history.back();
<strong>이름</strong> 필수 입력입니다. 한글만 입력할 수 있습니다.<br>
<strong>이메일</strong> 올바르게 입력하지 않았습니다.<br>
-->
<?=$msg2?>
<?php echo $msg2 ?>
</p>
<a href="<?=$url?>">돌아가기</a>
<a href="<?php echo $url ?>">돌아가기</a>
</article>
*/ ?>
</div>
</noscript>
<?
<?php
include_once(G4_PATH.'/tail.sub.php');
?>

View File

@ -1,4 +1,4 @@
<?
<?php
include_once('./_common.php');
include_once(G4_PATH.'/head.sub.php');
@ -14,29 +14,29 @@ if($error) {
?>
<script>
alert("<? echo $msg; ?>");
alert("<?php echo $msg; ?>");
window.close();
</script>
<noscript>
<div id="validation_check">
<h1><?=$header2?></h1>
<h1><?php echo $header2 ?></h1>
<p class="cbg">
<?=$msg2?>
<?php echo $msg2 ?>
</p>
<p class="cbg">
<?=$msg3?>
<?php echo $msg3 ?>
</p>
</div>
<? /*
<?php /*
<article id="validation_check">
<header>
<hgroup>
<!-- <h1>회원가입 정보 입력 확인</h1> --> <!-- 수행 중이던 작업 내용 -->
<h1><?=$header?></h1> <!-- 수행 중이던 작업 내용 -->
<h2><?=$header2?></h2>
<h1><?php echo $header ?></h1> <!-- 수행 중이던 작업 내용 -->
<h2><?php echo $header2 ?></h2>
</hgroup>
</header>
<p>
@ -45,17 +45,17 @@ window.close();
<strong>이름</strong> 필수 입력입니다. 한글만 입력할 수 있습니다.<br>
<strong>이메일</strong> 올바르게 입력하지 않았습니다.<br>
-->
<?=$msg2?>
<?php echo $msg2 ?>
</p>
<p>
<?=$msg3?>
<?php echo $msg3 ?>
</p>
</article>
*/?>
*/ ?>
</noscript>
<?
<?php
include_once(G4_PATH.'/tail.sub.php');
?>

View File

@ -1,4 +1,4 @@
<?
<?php
include_once('./_common.php');
if (!$board['bo_table']) {

View File

@ -1,4 +1,4 @@
<?
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
// 게시판 관리의 상단 내용

View File

@ -1,4 +1,4 @@
<?
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
// 게시판 관리의 하단 파일 경로

View File

@ -1,4 +1,4 @@
<?
<?php
include_once('./_common.php');
include_once(G4_PATH.'/head.sub.php');
?>
@ -6,19 +6,19 @@ include_once(G4_PATH.'/head.sub.php');
<article id="confirm_check">
<header>
<hgroup>
<h1><? echo $header; ?></h1> <!-- 수행 중이던 작업 내용 -->
<h1><?php echo $header; ?></h1> <!-- 수행 중이던 작업 내용 -->
<h2>아래 내용을 확인해 주세요.</h2>
</hgroup>
</header>
<p>
<? echo $msg; ?>
<?php echo $msg; ?>
</p>
<a href="<? echo $url1; ?>">확인</a>
<a href="<? echo $url2; ?>">취소</a><br><br>
<a href="<? echo $url3; ?>">돌아가기</a>
<a href="<?php echo $url1; ?>">확인</a>
<a href="<?php echo $url2; ?>">취소</a><br><br>
<a href="<?php echo $url3; ?>">돌아가기</a>
</article>
<?
<?php
include_once(G4_PATH.'/tail.sub.php');
?>

View File

@ -1,4 +1,4 @@
<?
<?php
include_once('./_common.php');
$g4['title'] = '현재접속자';

View File

@ -1,4 +1,4 @@
<?
<?php
include_once('./_common.php');
if ($is_admin)

View File

@ -1,4 +1,4 @@
<?
<?php
include_once('./_common.php');
// 4.11

View File

@ -1,4 +1,4 @@
<?
<?php
// 코멘트 삭제
include_once('./_common.php');

View File

@ -1,4 +1,4 @@
<?
<?php
include_once('./_common.php');
$no = (int)$no;

View File

@ -1,4 +1,4 @@
<?
<?php
include_once('./_common.php');
$sql = " select mb_id, mb_email, mb_datetime from {$g4['member_table']} where mb_id = '{$mb_id}' ";

View File

@ -1,4 +1,4 @@
<?
<?php
include_once('./_common.php');
$sql = " select mb_id, mb_email, mb_datetime from {$g4[member_table]} where mb_id = '{$mb_id}' ";

View File

@ -1,4 +1,4 @@
<?
<?php
include_once('./_common.php');
header("Content-Type: text/html; charset=utf-8");

View File

@ -1,4 +1,4 @@
<?
<?php
include_once('./_common.php');
include_once(G4_GCAPTCHA_PATH.'/gcaptcha.lib.php');

View File

@ -1,4 +1,4 @@
<?
<?php
include_once('./_common.php');
include_once(G4_GCAPTCHA_PATH.'/gcaptcha.lib.php');
include_once(G4_LIB_PATH.'/mailer.lib.php');

View File

@ -1,4 +1,4 @@
<?
<?php
include_once('./_common.php');
@include_once($board_skin_path.'/good.head.skin.php');

View File

@ -1,4 +1,4 @@
<?
<?php
include_once('./_common.php');
include_once(G4_LIB_PATH.'/latest.lib.php');
$g4['title'] = $group['gr_subject'];
@ -16,7 +16,7 @@ include_once('./_head.php');
<!-- 메인화면 최신글 시작 -->
<?
<?php
// 최신글
$sql = " select bo_table, bo_subject from {$g4[board_table]} where gr_id = '{$gr_id}' and bo_list_level <= '{$member[mb_level]}' and bo_device <> 'mobile' order by bo_order ";
$result = sql_query($sql);
@ -25,8 +25,8 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
if ($i%2==1) $lt_style = "margin-left:20px";
else $lt_style = "";
?>
<div style="float:left;<?=$lt_style?>">
<?
<div style="float:left;<?php echo $lt_style ?>">
<?php
// 이 함수가 바로 최신글을 추출하는 역할을 합니다.
// 스킨은 입력하지 않을 경우 관리자 > 환경설정의 최신글 스킨경로를 기본 스킨으로 합니다.
@ -35,11 +35,11 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
echo latest('basic', $row['bo_table'], 5, 70);
?>
</div>
<?
<?php
}
?>
<!-- 메인화면 최신글 끝 -->
<?
<?php
include_once('./_tail.php');
?>

View File

@ -1,4 +1,4 @@
<?
<?php
include_once('./_common.php');
$html_title = '링크 &gt; '.conv_subject($write[wr_subject], 255);

View File

@ -1,4 +1,4 @@
<?
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
// 분류 사용 여부

View File

@ -1,4 +1,4 @@
<?
<?php
include_once('./_common.php');
$g4['title'] = '로그인';

View File

@ -1,4 +1,4 @@
<?
<?php
include_once('./_common.php');
$g4['title'] = "로그인 검사";

View File

@ -1,4 +1,4 @@
<?
<?php
include_once('./_common.php');
// 이호경님 제안 코드

View File

@ -1,4 +1,4 @@
<?
<?php
include_once('./_common.php');
if ($is_guest)

Some files were not shown because too many files have changed in this diff Show More