Merge branch 'master' of github.com:gnuboard/g4s
This commit is contained in:
@ -70,7 +70,7 @@ function member_delete($mb_id)
|
||||
}
|
||||
|
||||
// 회원자료는 정보만 없앤 후 아이디는 보관하여 다른 사람이 사용하지 못하도록 함 : 061025
|
||||
$sql = " update {$g4['member_table']} set mb_jumin = '', mb_password = '', mb_level = 1, mb_email = '', mb_homepage = '', mb_password_q = '', mb_password_a = '', mb_tel = '', mb_hp = '', mb_zip1 = '', mb_zip2 = '', mb_addr1 = '', mb_addr2 = '', mb_birth = '', mb_sex = '', mb_signature = '', mb_memo = '".date('Ymd', G4_SERVER_TIME)." 삭제함".PHP_EOL."{$mb['mb_memo']}', mb_leave_date = '".date('Ymd', G4_SERVER_TIME)."' where mb_id = '{$mb_id}' ";
|
||||
$sql = " update {$g4['member_table']} set mb_jumin = '', mb_password = '', mb_level = 1, mb_email = '', mb_homepage = '', mb_password_q = '', mb_password_a = '', mb_tel = '', mb_hp = '', mb_zip1 = '', mb_zip2 = '', mb_addr1 = '', mb_addr2 = '', mb_birth = '', mb_sex = '', mb_signature = '', mb_memo = '".date('Ymd', G4_SERVER_TIME)." 삭제함\n{$mb['mb_memo']}', mb_leave_date = '".date('Ymd', G4_SERVER_TIME)."' where mb_id = '{$mb_id}' ";
|
||||
sql_query($sql);
|
||||
}
|
||||
|
||||
@ -176,7 +176,7 @@ function help($help="")
|
||||
{
|
||||
global $g4;
|
||||
|
||||
$str = '<span class="adm_field_explain">'.$help.'</span>';
|
||||
$str = '<span class="adm_field_explain">'.str_replace("\n", "<br>", $help).'</span>';
|
||||
|
||||
return $str;
|
||||
}
|
||||
|
||||
@ -138,7 +138,7 @@ $colspan = 5;
|
||||
|
||||
<?
|
||||
//if (isset($stx))
|
||||
// echo '<script>document.fsearch.sfl.value = "'.$sfl.'";</script>'.PHP_EOL;
|
||||
// echo '<script>document.fsearch.sfl.value = "'.$sfl.'";</script>'."\n";
|
||||
|
||||
if (strstr($sfl, 'mb_id'))
|
||||
$mb_id = $stx;
|
||||
|
||||
@ -185,7 +185,7 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<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']).PHP_EOL.'게시판 목록에서 글의 번호가 맞지 않을 경우에 체크하십시오.')?>
|
||||
<?=help('현재 원글수 : '.number_format($board['bo_count_write']).', 현재 댓글수 : '.number_format($board['bo_count_comment'])."\n".'게시판 목록에서 글의 번호가 맞지 않을 경우에 체크하십시오.')?>
|
||||
<input type="checkbox" id="proc_count" name="proc_count" value="1">
|
||||
</td>
|
||||
</tr>
|
||||
@ -457,7 +457,8 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" id="chk_grp_use_name" name="chk_grp_use_name" value="1">
|
||||
<label for="chk_grp_use_name">그룹적용</label>
|
||||
<input type="checkbox" id="chk_grp_all_name" name="chk_all_use_name" value="1">
|
||||
|
||||
<input type="checkbox" id="chk_all_use_name" name="chk_all_use_name" value="1">
|
||||
<label for="chk_all_use_name">전체적용</label>
|
||||
</td>
|
||||
</tr>
|
||||
@ -809,8 +810,8 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" id="chk_grp_gallery_width" name="chk_grp_gallery_width" value="1">
|
||||
<label for="chk_grp_gallery_width">그룹적용</label>
|
||||
<input type="checkbox" id="chk_grp_gallery_width" name="chk_grp_gallery_width" value="1">
|
||||
<label for="chk_grp_gallery_width">전체적용</label>
|
||||
<input type="checkbox" id="chk_all_gallery_width" name="chk_all_gallery_width" value="1">
|
||||
<label for="chk_all_gallery_width">전체적용</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -833,10 +834,10 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<input type="text" id="bo_mobile_gallery_cols" name="bo_mobile_gallery_cols" class="required numeric frm_input" required value="<?=$board['bo_mobile_gallery_cols']?>" size="4">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" id="chk_grp_gallery_cols" name="chk_grp_gallery_cols" value="1">
|
||||
<label for="chk_grp_gallery_cols">그룹적용</label>
|
||||
<input type="checkbox" id="chk_all_gallery_cols" name="chk_all_gallery_cols" value="1">
|
||||
<label for="chk_all_gallery_cols">전체적용</label>
|
||||
<input type="checkbox" id="mobile_chk_grp_gallery_cols" name="mobile_chk_grp_gallery_cols" value="1">
|
||||
<label for="mobile_chk_grp_gallery_cols">그룹적용</label>
|
||||
<input type="checkbox" id="mobile_chk_all_gallery_cols" name="mobile_chk_all_gallery_cols" value="1">
|
||||
<label for="mobile_chk_all_gallery_cols">전체적용</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -846,10 +847,10 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<input type="text" id="bo_mobile_gallery_width" name="bo_mobile_gallery_width" class="required numeric frm_input" required value="<?=$board['bo_mobile_gallery_width']?>" size="4">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" id="chk_grp_gallery_width" name="chk_grp_gallery_width" value="1">
|
||||
<label for="chk_grp_gallery_width">그룹적용</label>
|
||||
<input type="checkbox" id="chk_all_gallery_width" name="chk_all_gallery_width" value="1">
|
||||
<label for="chk_all_gallery_width">전체적용</label>
|
||||
<input type="checkbox" id="mobile_chk_grp_gallery_width" name="mobile_chk_grp_gallery_width" value="1">
|
||||
<label for="mobile_chk_grp_gallery_width">그룹적용</label>
|
||||
<input type="checkbox" id="mobile_chk_all_gallery_width" name="mobile_chk_all_gallery_width" value="1">
|
||||
<label for="mobile_chk_all_gallery_width">전체적용</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -859,10 +860,10 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<input type="text" id="bo_mobile_gallery_height" name="bo_mobile_gallery_height" class="required numeric frm_input" required value="<?=$board['bo_mobile_gallery_height']?>" size="4">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" id="chk_grp_gallery_height" name="chk_grp_gallery_height" value="1">
|
||||
<label for="chk_grp_gallery_height">그룹적용</label>
|
||||
<input type="checkbox" id="chk_all_gallery_height" name="chk_all_gallery_height" value="1">
|
||||
<label for="chk_all_gallery_height">전체적용</label>
|
||||
<input type="checkbox" id="mobile_chk_grp_gallery_height" name="mobile_chk_grp_gallery_height" value="1">
|
||||
<label for="mobile_chk_grp_gallery_height">그룹적용</label>
|
||||
<input type="checkbox" id="mobile_chk_all_gallery_height" name="mobile_chk_all_gallery_height" value="1">
|
||||
<label for="mobile_chk_all_gallery_height">전체적용</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
@ -191,7 +191,7 @@ $pg_anchor = "
|
||||
<?
|
||||
$arr = get_skin_dir('new');
|
||||
for ($i=0; $i<count($arr); $i++) {
|
||||
echo "<option value=\"".$arr[$i]."\"".get_selected($config['cf_new_skin'], $arr[$i]).">".$arr[$i]."</option>".PHP_EOL;
|
||||
echo "<option value=\"".$arr[$i]."\"".get_selected($config['cf_new_skin'], $arr[$i]).">".$arr[$i]."</option>\n";
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
@ -202,7 +202,7 @@ $pg_anchor = "
|
||||
<?
|
||||
$arr = get_skin_dir('new', G4_MOBILE_PATH.'/'.G4_SKIN_DIR);
|
||||
for ($i=0; $i<count($arr); $i++) {
|
||||
echo "<option value=\"".$arr[$i]."\"".get_selected($config['cf_mobile_new_skin'], $arr[$i]).">".$arr[$i]."</option>".PHP_EOL;
|
||||
echo "<option value=\"".$arr[$i]."\"".get_selected($config['cf_mobile_new_skin'], $arr[$i]).">".$arr[$i]."</option>\n";
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
@ -215,7 +215,7 @@ $pg_anchor = "
|
||||
<?
|
||||
$arr = get_skin_dir('search');
|
||||
for ($i=0; $i<count($arr); $i++) {
|
||||
echo "<option value=\"".$arr[$i]."\"".get_selected($config['cf_search_skin'], $arr[$i]).">".$arr[$i]."</option>".PHP_EOL;
|
||||
echo "<option value=\"".$arr[$i]."\"".get_selected($config['cf_search_skin'], $arr[$i]).">".$arr[$i]."</option>\n";
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
@ -226,7 +226,7 @@ $pg_anchor = "
|
||||
<?
|
||||
$arr = get_skin_dir('search', G4_MOBILE_PATH.'/'.G4_SKIN_DIR);
|
||||
for ($i=0; $i<count($arr); $i++) {
|
||||
echo "<option value=\"".$arr[$i]."\"".get_selected($config['cf_mobile_search_skin'], $arr[$i]).">".$arr[$i]."</option>".PHP_EOL;
|
||||
echo "<option value=\"".$arr[$i]."\"".get_selected($config['cf_mobile_search_skin'], $arr[$i]).">".$arr[$i]."</option>\n";
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
@ -239,7 +239,7 @@ $pg_anchor = "
|
||||
<?
|
||||
$arr = get_skin_dir('connect');
|
||||
for ($i=0; $i<count($arr); $i++) {
|
||||
echo "<option value=\"".$arr[$i]."\"".get_selected($config['cf_connect_skin'], $arr[$i]).">".$arr[$i]."</option>".PHP_EOL;
|
||||
echo "<option value=\"".$arr[$i]."\"".get_selected($config['cf_connect_skin'], $arr[$i]).">".$arr[$i]."</option>\n";
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
@ -250,7 +250,7 @@ $pg_anchor = "
|
||||
<?
|
||||
$arr = get_skin_dir('connect', G4_MOBILE_PATH.'/'.G4_SKIN_DIR);
|
||||
for ($i=0; $i<count($arr); $i++) {
|
||||
echo "<option value=\"".$arr[$i]."\"".get_selected($config['cf_mobile_connect_skin'], $arr[$i]).">".$arr[$i]."</option>".PHP_EOL;
|
||||
echo "<option value=\"".$arr[$i]."\"".get_selected($config['cf_mobile_connect_skin'], $arr[$i]).">".$arr[$i]."</option>\n";
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
@ -374,7 +374,7 @@ $pg_anchor = "
|
||||
<?
|
||||
$arr = get_skin_dir('member');
|
||||
for ($i=0; $i<count($arr); $i++) {
|
||||
echo '<option value="'.$arr[$i].'"'.get_selected($config['cf_member_skin'], $arr[$i]).'>'.$arr[$i].'</option>'.PHP_EOL;
|
||||
echo '<option value="'.$arr[$i].'"'.get_selected($config['cf_member_skin'], $arr[$i]).'>'.$arr[$i].'</option>'."\n";
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
@ -385,7 +385,7 @@ $pg_anchor = "
|
||||
<?
|
||||
$arr = get_skin_dir('member', G4_MOBILE_PATH.'/'.G4_SKIN_DIR);
|
||||
for ($i=0; $i<count($arr); $i++) {
|
||||
echo '<option value="'.$arr[$i].'"'.get_selected($config['cf_member_skin'], $arr[$i]).'>'.$arr[$i].'</option>'.PHP_EOL;
|
||||
echo '<option value="'.$arr[$i].'"'.get_selected($config['cf_member_skin'], $arr[$i]).'>'.$arr[$i].'</option>'."\n";
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
|
||||
@ -15,12 +15,35 @@ if ($member['mb_password'] != sql_password($_POST['admin_password'])) {
|
||||
|
||||
$mb_id = mysql_real_escape_string(trim($_POST['mb_id']));
|
||||
|
||||
// 핸드폰번호 체크
|
||||
$mb_hp = $_POST['mb_hp'];
|
||||
if($mb_hp) {
|
||||
$mb_hp = preg_replace("/[^0-9]/", "", $mb_hp);
|
||||
$hp_len = strlen($mb_hp);
|
||||
if($hp_len == 10) {
|
||||
$mb_hp = preg_replace("/([0-9]{3})([0-9]{3})([0-9]{4})/", "\\1-\\2-\\3", $mb_hp);
|
||||
} else if($hp_len == 11) {
|
||||
$mb_hp = preg_replace("/([0-9]{3})([0-9]{4})([0-9]{4})/", "\\1-\\2-\\3", $mb_hp);
|
||||
} else {
|
||||
alert('핸드폰번호를 올바르게 입력해 주십시오.');
|
||||
}
|
||||
|
||||
// 중복체크
|
||||
$sql = " select count(*) as cnt from {$g4['member_table']} where mb_hp = '$mb_hp' ";
|
||||
if($w == 'u')
|
||||
$sql .= " and mb_id <> '$mb_id' ";
|
||||
|
||||
$row = sql_fetch($sql);
|
||||
if($row['cnt'])
|
||||
alert('다른 회원이 사용 중인 핸드폰번호입니다.');
|
||||
}
|
||||
|
||||
$sql_common = " mb_name = '{$_POST['mb_name']}',
|
||||
mb_nick = '{$_POST['mb_nick']}',
|
||||
mb_email = '{$_POST['mb_email']}',
|
||||
mb_homepage = '{$_POST['mb_homepage']}',
|
||||
mb_tel = '{$_POST['mb_tel']}',
|
||||
mb_hp = '{$_POST['mb_hp']}',
|
||||
mb_hp = '$mb_hp',
|
||||
mb_zip1 = '{$_POST['mb_zip1']}',
|
||||
mb_zip2 = '{$_POST['mb_zip2']}',
|
||||
mb_addr1 = '{$_POST['mb_addr1']}',
|
||||
@ -51,13 +74,13 @@ if ($w == '')
|
||||
{
|
||||
$mb = get_member($mb_id);
|
||||
if ($mb['mb_id'])
|
||||
alert('이미 존재하는 회원입니다.'.PHP_EOL.'ID : '.$mb['mb_id'].PHP_EOL.'이름 : '.$mb['mb_name'].PHP_EOL.'별명 : '.$mb['mb_nick'].PHP_EOL.'메일 : '.$mb['mb_email']);
|
||||
alert('이미 존재하는 회원입니다.\\nID : '.$mb['mb_id'].'\\n이름 : '.$mb['mb_name'].'\\n별명 : '.$mb['mb_nick'].'\\n메일 : '.$mb['mb_email']);
|
||||
|
||||
if ($mb['mb_nick'] == $mb_nick)
|
||||
alert('이미 존재하는 별명입니다.'.PHP_EOL.'ID : '.$mb['mb_id'].PHP_EOL.'이름 : '.$mb['mb_name'].PHP_EOL.'별명 : '.$mb['mb_nick'].PHP_EOL.'메일 : '.$mb['mb_email']);
|
||||
alert('이미 존재하는 별명입니다.\\nID : '.$mb['mb_id'].'\\n이름 : '.$mb['mb_name'].'\\n별명 : '.$mb['mb_nick'].'\\n메일 : '.$mb['mb_email']);
|
||||
|
||||
if ($mb['mb_email'] == $mb_email)
|
||||
alert('이미 존재하는 E-mail 입니다.'.PHP_EOL.'ID : '.$mb['mb_id'].PHP_EOL.'이름 : '.$mb['mb_name'].PHP_EOL.'별명 : '.$mb['mb_nick'].PHP_EOL.'메일 : '.$mb['mb_email']);
|
||||
alert('이미 존재하는 E-mail 입니다.\\nID : '.$mb['mb_id'].'\\n이름 : '.$mb['mb_name'].'\\n별명 : '.$mb['mb_nick'].'\\n메일 : '.$mb['mb_email']);
|
||||
|
||||
sql_query(" insert into {$g4['member_table']} set mb_id = '{$mb_id}', mb_password = '".sql_password($mb_password)."', mb_datetime = '".G4_TIME_YMDHIS."', mb_ip = '{$_SERVER['REMOTE_ADDR']}', mb_email_certify = '".G4_TIME_YMDHIS."', {$sql_common} ");
|
||||
}
|
||||
@ -97,7 +120,7 @@ else if ($w == 'u')
|
||||
if (file_exists($dest_path)) {
|
||||
$size = getimagesize($dest_path);
|
||||
// 아이콘의 폭 또는 높이가 설정값 보다 크다면 이미 업로드 된 아이콘 삭제
|
||||
if ($size[0] > $config[cf_member_icon_width] || $size[1] > $config[cf_member_icon_height]) {
|
||||
if ($size[0] > $config['cf_member_icon_width'] || $size[1] > $config['cf_member_icon_height']) {
|
||||
@unlink($dest_path);
|
||||
}
|
||||
}
|
||||
|
||||
@ -16,7 +16,7 @@ echo '<span id="ct"></span>';
|
||||
include_once('./admin.tail.php');
|
||||
flush();
|
||||
|
||||
echo '<script>document.getElementById(\'ct\').innerHTML += \'<p>포인트 정리중...</p>\';</script>'.PHP_EOL;
|
||||
echo '<script>document.getElementById(\'ct\').innerHTML += \'<p>포인트 정리중...</p>\';</script>'."\n";
|
||||
flush();
|
||||
|
||||
$max_count = 50;
|
||||
@ -52,7 +52,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
insert_point($row['mb_id'], $total, '포인트 {$count}건 정리', '@clear', $row['mb_id'], G4_TIME_YMD."-".uniqid(""));
|
||||
|
||||
$str = $row['mb_id']."님 포인트 내역 ".number_format($count)."건 ".number_format($total)."점 정리<br>";
|
||||
echo '<script>document.getElementById(\'ct\').innerHTML += \''.$str.'\';</script>'.PHP_EOL;
|
||||
echo '<script>document.getElementById(\'ct\').innerHTML += \''.$str.'\';</script>'."\n";
|
||||
flush();
|
||||
}
|
||||
|
||||
@ -60,5 +60,5 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
$sql = " UNLOCK TABLES ";
|
||||
sql_query($sql);
|
||||
|
||||
echo '<script>document.getElementById(\'ct\').innerHTML += \'<p>총 '.$i.'건의 회원포인트 내역이 정리 되었습니다.</p>\';</script>'.PHP_EOL;
|
||||
echo '<script>document.getElementById(\'ct\').innerHTML += \'<p>총 '.$i.'건의 회원포인트 내역이 정리 되었습니다.</p>\';</script>'."\n";
|
||||
?>
|
||||
|
||||
@ -1,16 +1,16 @@
|
||||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
function editor_html($id, $content, $ckeditor=true, $class="")
|
||||
function editor_html($id, $content, $ckeditor=true, $class="")
|
||||
{
|
||||
global $g4;
|
||||
static $js = true;
|
||||
|
||||
$html = "";
|
||||
if ($js) {
|
||||
$html .= PHP_EOL.'<script src="'.G4_CKEDITOR_URL.'/ckeditor.js"></script>';
|
||||
$html .= PHP_EOL.'<script>var g4_ckeditor_url = "'.G4_CKEDITOR_URL.'";</script>';
|
||||
$html .= PHP_EOL.'<script src="'.G4_CKEDITOR_URL.'/config.js"></script>';
|
||||
$html .= "\n".'<script src="'.G4_CKEDITOR_URL.'/ckeditor.js"></script>';
|
||||
$html .= "\n".'<script>var g4_ckeditor_url = "'.G4_CKEDITOR_URL.'";</script>';
|
||||
$html .= "\n".'<script src="'.G4_CKEDITOR_URL.'/config.js"></script>';
|
||||
$js = false;
|
||||
}
|
||||
|
||||
@ -21,7 +21,7 @@ function editor_html($id, $content, $ckeditor=true, $class="")
|
||||
|
||||
|
||||
// textarea 로 값을 넘긴다. javascript 반드시 필요
|
||||
function get_editor_js($id, $ckeditor=true)
|
||||
function get_editor_js($id, $ckeditor=true)
|
||||
{
|
||||
if ( $ckeditor ) {
|
||||
return "var {$id}_editor_data = CKEDITOR.instances.{$id}.getData();\n";
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
include_once("./_common.php");
|
||||
|
||||
class gcaptcha
|
||||
class gcaptcha
|
||||
{
|
||||
// 이미지크기 폭
|
||||
var $width = 70;
|
||||
@ -77,13 +77,13 @@ class gcaptcha
|
||||
return mt_rand($from, $to);
|
||||
}
|
||||
|
||||
function run()
|
||||
function run()
|
||||
{
|
||||
global $g4;
|
||||
|
||||
// The text to draw
|
||||
$captcha_key = $this->get_captcha_key();
|
||||
|
||||
|
||||
set_session('ss_captcha_cnt', 0);
|
||||
set_session('ss_captcha_key', $captcha_key);
|
||||
|
||||
@ -125,7 +125,7 @@ class gcaptcha
|
||||
imagejpeg($im, G4_DATA_PATH.'/cache/'.$this->captcha_filename.'.jpg');
|
||||
imagedestroy($im);
|
||||
|
||||
$this->make_wav($this->captcha_filename.'.wav');
|
||||
$this->make_wav($this->captcha_filename.'.wav');
|
||||
}
|
||||
|
||||
function get_captcha_filename()
|
||||
@ -152,7 +152,7 @@ class gcaptcha
|
||||
}
|
||||
|
||||
/*
|
||||
사용법 :
|
||||
사용법 :
|
||||
$gcaptcha = new gcaptcha();
|
||||
$gcaptcha->set_captcha_length(mt_rand(4, 6));
|
||||
$gcaptcha->set_position(mt_rand(0, 10), mt_rand(15, 20));
|
||||
@ -176,8 +176,8 @@ function captcha_html($class='captcha')
|
||||
$jpg_file_url = G4_DATA_URL.'/cache/'.$obj->captcha_filename.'.jpg';
|
||||
$wav_file_url = G4_DATA_URL.'/cache/'.$obj->captcha_filename.'.wav';
|
||||
|
||||
$html .= PHP_EOL.'<script>var g4_gcaptcha_url = "'.G4_GCAPTCHA_URL.'";</script>';
|
||||
$html .= PHP_EOL.'<script src="'.G4_GCAPTCHA_URL.'/gcaptcha.js"></script>';
|
||||
$html .= "\n".'<script>var g4_gcaptcha_url = "'.G4_GCAPTCHA_URL.'";</script>';
|
||||
$html .= "\n".'<script src="'.G4_GCAPTCHA_URL.'/gcaptcha.js"></script>';
|
||||
$html .= '<fieldset id="captcha" class="'.$class.'">';
|
||||
$html .= '<legend class="sound_only">자동등록방지</legend>';
|
||||
$html .= '<img src="'.$jpg_file_url.'?_='.$rand.'" alt="자동등록방지 숫자">';
|
||||
|
||||
@ -5,16 +5,16 @@ include_once(G4_GCAPTCHA_PATH.'/gcaptcha.lib.php');
|
||||
if ($is_guest)
|
||||
alert_close('회원만 이용하실 수 있습니다.');
|
||||
|
||||
if (!$member['mb_open'] && $is_admin != 'super' && $member['mb_id'] != $mb_id)
|
||||
if (!$member['mb_open'] && $is_admin != 'super' && $member['mb_id'] != $mb_id)
|
||||
alert_close("자신의 정보를 공개하지 않으면 다른분에게 쪽지를 보낼 수 없습니다. 정보공개 설정은 회원정보수정에서 하실 수 있습니다.");
|
||||
|
||||
$content = "";
|
||||
// 탈퇴한 회원에게 쪽지 보낼 수 없음
|
||||
if ($me_recv_mb_id)
|
||||
if ($me_recv_mb_id)
|
||||
{
|
||||
$mb = get_member($me_recv_mb_id);
|
||||
if (!$mb['mb_id'])
|
||||
alert_close('회원정보가 존재하지 않습니다.'.PHP_EOL.PHP_EOL.'탈퇴하였을 수 있습니다.');
|
||||
alert_close('회원정보가 존재하지 않습니다.\\n\\n탈퇴하였을 수 있습니다.');
|
||||
|
||||
if (!$mb['mb_open'] && $is_admin != 'super')
|
||||
alert_close('정보공개를 하지 않았습니다.');
|
||||
@ -23,10 +23,10 @@ if ($me_recv_mb_id)
|
||||
$row = sql_fetch(" select me_memo from {$g4['memo_table']} where me_id = '{$me_id}' and (me_recv_mb_id = '{$member['mb_id']}' or me_send_mb_id = '{$member['mb_id']}') ");
|
||||
if ($row['me_memo'])
|
||||
{
|
||||
$content = PHP_EOL.PHP_EOL.PHP_EOL.' >'
|
||||
.PHP_EOL.' >'
|
||||
.PHP_EOL.' >'.preg_replace("/\n/", "\n> ", get_text($row[me_memo], 0))
|
||||
.PHP_EOL.' >'
|
||||
$content = "\n\n\n".' >'
|
||||
."\n".' >'
|
||||
."\n".' >'.preg_replace("/\n/", "\n> ", get_text($row['me_memo'], 0))
|
||||
."\n".' >'
|
||||
.' >';
|
||||
|
||||
}
|
||||
|
||||
@ -43,7 +43,7 @@ while ($row = sql_fetch_array($result))
|
||||
{
|
||||
$nick = cut_str($member['mb_nick'], $config['cf_cut_name']);
|
||||
if (!$row2['wr_is_comment'] && $config['cf_use_copy_log'])
|
||||
$row2['wr_content'] .= PHP_EOL.'<div class="content_'.$sw.'">[이 게시물은 '.$nick.'님에 의해 '.G4_TIME_YMDHIS.' '.$board['bo_subject'].'에서 '.($sw == 'copy' ? '복사' : '이동').' 됨]</div>';
|
||||
$row2['wr_content'] .= "\n".'<div class="content_'.$sw.'">[이 게시물은 '.$nick.'님에 의해 '.G4_TIME_YMDHIS.' '.$board['bo_subject'].'에서 '.($sw == 'copy' ? '복사' : '이동').' 됨]</div>';
|
||||
|
||||
$sql = " insert into $move_write_table
|
||||
set wr_num = '$next_wr_num',
|
||||
|
||||
@ -6,7 +6,7 @@ if ($is_member) {
|
||||
alert("이미 로그인중입니다.");
|
||||
}
|
||||
|
||||
$g4['title'] = '회원아이디/패스워드 찾기';
|
||||
$g4['title'] = '회원정보 찾기';
|
||||
include_once(G4_PATH.'/head.sub.php');
|
||||
|
||||
$action_url = G4_HTTPS_BBS_URL."/password_lost2.php";
|
||||
|
||||
@ -19,7 +19,7 @@ sql_query(" update {$g4['member_table']} set mb_lost_certify = '' where mb_no =
|
||||
// 변경될 패스워드가 넘어와야하고 저장된 변경패스워드를 md5 로 변환하여 같으면 정상
|
||||
if ($mb_lost_certify && $mb_datetime === sql_password($mb['mb_datetime']) && $mb_lost_certify === $mb['mb_lost_certify']) {
|
||||
sql_query(" update {$g4['member_table']} set mb_password = '{$mb['mb_lost_certify']}' where mb_no = '$mb_no' ");
|
||||
alert('이메일로 보내드린 패스워드로 변경 하였습니다.\\n\\n회원아이디와 변경된 패스워드로 로그인 하시기 바랍니다.', G4_BBS_URL.'/login.php');
|
||||
alert('변경된 패스워드를 이메일로 보내드렸습니다.\\n\\n회원아이디와 변경된 패스워드로 로그인 하시기 바랍니다.', G4_BBS_URL.'/login.php');
|
||||
}
|
||||
else {
|
||||
die("Error");
|
||||
|
||||
@ -35,71 +35,3 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=<?=$g4['charset']?>">
|
||||
<title>인증 메일</title>
|
||||
</head>
|
||||
|
||||
<style>
|
||||
body, th, td, form, input, select, text, textarea, caption { font-size: 12px; font-family:굴림;}
|
||||
.line {border: 1px solid #868F98;}
|
||||
</style>
|
||||
|
||||
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
|
||||
|
||||
<table width="600" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td width="25" height="25"></td>
|
||||
<td height="25"></td>
|
||||
<td width="25" height="25"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="25" valign="top"></td>
|
||||
<td align="center" class="line" >
|
||||
<br>
|
||||
<table width="500" border="0" align="center" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td>
|
||||
<table width="500" border="0" cellspacing="0" cellpadding="4">
|
||||
<tr>
|
||||
<td width="100%" height="25" bgcolor=#F7F1D8>인증 메일입니다.</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p>
|
||||
|
||||
<table width="500" border="0" align="center" cellpadding="4" cellspacing="0">
|
||||
<tr><td height="150">
|
||||
<b><?=$mb_name?></b> 님의 E-mail 주소가 변경되었습니다.
|
||||
|
||||
<p>아래의 주소를 클릭하시면 인증이 완료됩니다.
|
||||
<p><a href='<?=$certify_href?>'><b><?=$certify_href?></b></a>
|
||||
|
||||
<p>회원님의 성원에 보답하고자 더욱 더 열심히 하겠습니다.
|
||||
<p>감사합니다.
|
||||
</td></tr>
|
||||
</table>
|
||||
<p>
|
||||
|
||||
<table width="500" border="0" cellpadding="0" cellspacing="0" style="table-layout:fixed">
|
||||
<tr>
|
||||
<td height="2" bgcolor="#E0E0E0" align="center"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="25" bgcolor="#EDEDED" align="center">로그인 후 모든 정보를 이용하실 수 있습니다.[<a href="<?=G4_BBS_URL?>/login.php">바로가기</a>]</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
</td>
|
||||
<td width="25" valign="top"></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@ -114,7 +114,7 @@ else
|
||||
include_once($board_skin_path.'/view_comment.skin.php');
|
||||
|
||||
if (!$member['mb_id']) // 비회원일 경우에만
|
||||
echo '<script src="'.G4_JS_URL.'/md5.js"></script>'.PHP_EOL;
|
||||
echo '<script src="'.G4_JS_URL.'/md5.js"></script>'."\n";
|
||||
|
||||
@include_once($board_skin_path.'/view_comment.tail.skin.php');
|
||||
?>
|
||||
@ -67,7 +67,7 @@ if ($w == 'c') // 댓글 입력
|
||||
{
|
||||
/*
|
||||
if ($member[mb_point] + $board[bo_comment_point] < 0 && !$is_admin)
|
||||
alert('보유하신 포인트('.number_format($member[mb_point]).')가 없거나 모자라서 댓글쓰기('.number_format($board[bo_comment_point]).')가 불가합니다.'.PHP_EOL.PHP_EOL.'포인트를 적립하신 후 다시 댓글를 써 주십시오.');
|
||||
alert('보유하신 포인트('.number_format($member[mb_point]).')가 없거나 모자라서 댓글쓰기('.number_format($board[bo_comment_point]).')가 불가합니다.\\n\\n포인트를 적립하신 후 다시 댓글를 써 주십시오.');
|
||||
*/
|
||||
// 댓글쓰기 포인트설정시 회원의 포인트가 음수인 경우 댓글를 쓰지 못하던 버그를 수정 (곱슬최씨님)
|
||||
$tmp_point = ($member['mb_point'] > 0) ? $member['mb_point'] : 0;
|
||||
|
||||
@ -349,7 +349,7 @@ if ($w == '' || $w == 'r') {
|
||||
// 쓰기 포인트 부여
|
||||
if ($w == '') {
|
||||
if ($notice) {
|
||||
$bo_notice = $wr_id.PHP_EOL.$board['bo_notice'];
|
||||
$bo_notice = $wr_id."\n".$board['bo_notice'];
|
||||
sql_query(" update {$g4['board_table']} set bo_notice = '{$bo_notice}' where bo_table = '{$bo_table}' ");
|
||||
}
|
||||
|
||||
|
||||
@ -145,8 +145,12 @@ a:active {color:#000;text-decoration:underline}
|
||||
.btn02:hover {text-decoration:none !important}
|
||||
.btn_confirm {text-align:center} /* 서식단계 진행 */
|
||||
.btn_submit {padding:0 10px;height:24px;border:0;background:#333;color:#fff;letter-spacing:-0.1em;vertical-align:top;cursor:pointer}
|
||||
button.btn_submit {height:22px !important;font-size:1em}
|
||||
.btn_cancel {display:inline-block;padding:0 10px;height:22px;border:1px solid #ccc;background:#fafafa;line-height:2em}
|
||||
.btn_cancel:focus,
|
||||
.btn_cancel:hover {text-decoration:none !important}
|
||||
.btn_frmline {display:inline-block;padding:0 7px 0 5px;height:22px;border:0;background:#333;color:#fff !important;letter-spacing:-0.1em;text-decoration:none;vertical-align:top;line-height:2em} /* 우편번호검색버튼 등 */
|
||||
button.btn_frmline {font-size:1em}
|
||||
.btn_win {clear:both;margin-bottom:20px;text-align:center} /* 새창용 */
|
||||
.btn_win a {display:inline-block;padding:0 10px;height:22px;border:1px solid #ccc;background:#fafafa;line-height:2em;cursor:pointer}
|
||||
.btn_win a:focus,
|
||||
@ -258,9 +262,15 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff;
|
||||
#reg_result .btn_confirm {margin:50px 0}
|
||||
|
||||
/* 아이디/패스워드 찾기 */
|
||||
#find_info_fs {margin:0 auto 20px;padding:10px 20px 15px;width:87%;border-right:1px solid #eee;border-bottom:1px solid #eee;background:#fff}
|
||||
#find_info #mb_hp_label {display:inline-block;margin-left:10px}
|
||||
#find_info #captcha {margin:0 auto 20px;width:87%}
|
||||
#find_info #captcha input {margin-left:5px}
|
||||
#find_info_fs {margin:0 auto 20px;padding:10px 20px 15px;width:87%;border-right:1px solid #eee;border-bottom:1px solid #eee;background:#fff}
|
||||
|
||||
#find_info_result li {margin:0 0 5px}
|
||||
#find_info_result span {display:inline-block;width:70px}
|
||||
#find_info_result strong {color:#ff3061}
|
||||
#find_info_result_wrap {margin:0 auto 20px;padding:10px 20px 15px;width:87%;border-right:1px solid #eee;border-bottom:1px solid #eee;background:#fff}
|
||||
|
||||
/* 아웃로그인 스킨 */
|
||||
.ol {position:relative;padding:15px 15px 14px 14px}
|
||||
@ -498,7 +508,8 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff;
|
||||
.bo_img_href a:link,
|
||||
.bo_img_href a:focus,
|
||||
.bo_img_href a:hover {text-decoration:none}
|
||||
.bo_img_href strong {display:block;width:174px;height:124px;background:#f7f7f7;text-align:center;line-height:10em}
|
||||
.bo_img_href strong,
|
||||
.bo_img_href span {display:block;background:#f7f7f7;text-align:center;line-height:10em}
|
||||
|
||||
.bo_img_text_href {margin:10px 0 !important}
|
||||
.bo_img_text_href a {font-weight:bold}
|
||||
|
||||
@ -446,7 +446,8 @@ input.required:focus {border:0;background:#21272e !important;color:#fff;line-hei
|
||||
.bo_img_href a:link,
|
||||
.bo_img_href a:focus,
|
||||
.bo_img_href a:hover {text-decoration:none}
|
||||
.bo_img_href strong {display:block;width:174px;height:124px;background:#f7f7f7;text-align:center;line-height:10em}
|
||||
.bo_img_href strong,
|
||||
.bo_img_href span {display:block;width:174px;height:124px;background:#f7f7f7;text-align:center;line-height:8em}
|
||||
|
||||
.bo_img_text_href {margin:1em 0 !important}
|
||||
.bo_img_text_href a {color:#000;font-weight:bold;text-decoration:none}
|
||||
|
||||
2
head.php
2
head.php
@ -75,7 +75,7 @@ if ($config['cf_include_head']) {
|
||||
<li>
|
||||
<a href="<?=G4_BBS_URL?>/current_connect.php" id="snb_cnt">
|
||||
<img src="<?=G4_IMG_URL?>/snb_cnt.jpg" alt="">
|
||||
현재접속자 <?=connect(); // 현재 접속자수 ?>
|
||||
접속자 <?=connect(); // 현재 접속자수 ?>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
|
||||
@ -24,10 +24,10 @@ include_once(G4_LIB_PATH.'/popular.lib.php');
|
||||
|
||||
<fieldset id="schall">
|
||||
<legend>사이트 내 전체검색</legend>
|
||||
<form name="fsearchbox" method="get" action="<?=G4_BBS_URL?>/search.php" onsubmit="return fsearchbox_submit(this);">
|
||||
<form name="fsearchbox" action="<?=G4_BBS_URL?>/search.php" onsubmit="return fsearchbox_submit(this);" method="get">
|
||||
<input type="hidden" name="sfl" value="wr_subject||wr_content">
|
||||
<input type="hidden" name="sop" value="and">
|
||||
<input type="text" id="schall_stx" name="stx" title="검색어" maxlength="20"><input type="image" id="schall_submit" src="<?=G4_IMG_URL?>/btn_search.jpg" width="24" height="24" alt="검색">
|
||||
<input type="text" name="stx" id="schall_stx" title="검색어" maxlength="20"><input type="image" alt="검색" src="<?=G4_IMG_URL?>/btn_search.jpg" id="schall_submit" width="24" height="24">
|
||||
</form>
|
||||
|
||||
<script>
|
||||
|
||||
@ -15,7 +15,7 @@ if ($is_nogood) $colspan++;
|
||||
<div id="bo_list<? if ($is_admin) echo "_admin";?>" style="width:<?=$width;?>">
|
||||
|
||||
<? if ($is_category) { ?>
|
||||
<form id="fcategory" name="fcategory" method="get">
|
||||
<form name="fcategory" id="fcategory" method="get">
|
||||
<nav id="bo_cate">
|
||||
<h2><?=$board['bo_subject']?> 카테고리</h2>
|
||||
<ul id="bo_cate_ul">
|
||||
@ -40,7 +40,7 @@ if ($is_nogood) $colspan++;
|
||||
<? } ?>
|
||||
</div>
|
||||
|
||||
<form id="fboardlist" name="fboardlist" method="post" action="./board_list_update.php" onsubmit="return fboardlist_submit(this);">
|
||||
<form name="fboardlist" id="fboardlist" action="./board_list_update.php" onsubmit="return fboardlist_submit(this);" method="post">
|
||||
<input type="hidden" name="bo_table" value="<?=$bo_table?>">
|
||||
<input type="hidden" name="sfl" value="<?=$sfl?>">
|
||||
<input type="hidden" name="stx" value="<?=$stx?>">
|
||||
@ -51,7 +51,7 @@ if ($is_nogood) $colspan++;
|
||||
<table class="basic_tbl">
|
||||
<thead>
|
||||
<tr>
|
||||
<? if ($is_checkbox) { ?><th scope="col"><input type="checkbox" onclick="if (this.checked) all_checked(true); else all_checked(false);" title="현재 페이지 게시물 전체선택"></th><?}?>
|
||||
<? if ($is_checkbox) { ?><th scope="col"><input type="checkbox" title="현재 페이지 게시물 전체선택" onclick="if (this.checked) all_checked(true); else all_checked(false);"></th><?}?>
|
||||
<th scope="col">제목</th>
|
||||
<th scope="col"><?=subject_sort_link('wr_datetime', $qstr2, 1)?>날짜</a></th>
|
||||
</tr>
|
||||
@ -101,9 +101,9 @@ if ($is_nogood) $colspan++;
|
||||
<li><a href="<?=$list_href?>" class="btn_b01"> 목록</a></li>
|
||||
<? } ?>
|
||||
<? if ($is_checkbox) { ?>
|
||||
<li><input type="submit" name="btn_submit" onclick="document.pressed=this.value" value="선택삭제"></li>
|
||||
<li><input type="submit" name="btn_submit" onclick="document.pressed=this.value" value="선택복사"></li>
|
||||
<li><input type="submit" name="btn_submit" onclick="document.pressed=this.value" value="선택이동"></li>
|
||||
<li><input type="submit" name="btn_submit" value="선택삭제" onclick="document.pressed=this.value"></li>
|
||||
<li><input type="submit" name="btn_submit" value="선택복사" onclick="document.pressed=this.value"></li>
|
||||
<li><input type="submit" name="btn_submit" value="선택이동" onclick="document.pressed=this.value"></li>
|
||||
<? } ?>
|
||||
</ul>
|
||||
|
||||
@ -140,7 +140,7 @@ if ($is_nogood) $colspan++;
|
||||
<option value="wr_name,1"<?=get_selected($sfl, 'wr_name,1');?>>글쓴이</option>
|
||||
<option value="wr_name,0"<?=get_selected($sfl, 'wr_name,0');?>>글쓴이(코)</option>
|
||||
</select>
|
||||
<input name="stx" class="required" maxlength="15" size="15" required value="<?=stripslashes($stx)?>" title="검색어(필수)">
|
||||
<input name="stx" value="<?=stripslashes($stx)?>" title="검색어(필수)" required class="required" size="15" maxlength="15">
|
||||
<input type="submit" value="검색">
|
||||
</form>
|
||||
</fieldset>
|
||||
|
||||
@ -143,6 +143,7 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
<? if ($scrap_href || $good_href || $nogood_href) { ?>
|
||||
<div id="bo_v_act">
|
||||
<? if ($scrap_href) { ?><a href="<?=$scrap_href; ?>" target="_blank" class="btn_b01" onclick="win_scrap(this.href); return false;">스크랩</a><? } ?>
|
||||
|
||||
<? if ($good_href) {?>
|
||||
<a href="<?=$good_href.'&'.$qstr?>" id="good_button" class="btn_b01">추천 <strong><?=number_format($view['wr_good'])?></strong></a>
|
||||
<b id="bo_v_act_good"></b>
|
||||
|
||||
@ -28,7 +28,7 @@ var char_max = parseInt(<?=$comment_max?>); // 최대
|
||||
<header>
|
||||
<h1><?=$list[$i]['wr_name']?>님의 댓글</h1>
|
||||
<?=$list[$i]['name']?>
|
||||
<? if ($cmt_depth) {?><img src="<?=$board_skin_url?>/img/icon_reply.gif" class="icon_reply" alt="댓글의 댓글"><? } ?>
|
||||
<? if ($cmt_depth) {?><img src="<?=$board_skin_url?>/img/icon_reply.gif" alt="댓글의 댓글" class="icon_reply"><? } ?>
|
||||
<? if ($is_ip_view) { ?>
|
||||
아이피
|
||||
<span class="bo_vc_hdinfo"><?=$list[$i]['ip'];?></span>
|
||||
@ -81,11 +81,11 @@ var char_max = parseInt(<?=$comment_max?>); // 최대
|
||||
?>
|
||||
<aside id="bo_vc_w">
|
||||
<h2>댓글쓰기</h2>
|
||||
<form name="fviewcomment" method="post" action="./write_comment_update.php" onsubmit="return fviewcomment_submit(this);" autocomplete="off">
|
||||
<input type="hidden" id="w" name="w" value="<?=$w?>">
|
||||
<form name="fviewcomment" action="./write_comment_update.php" onsubmit="return fviewcomment_submit(this);" method="post" autocomplete="off">
|
||||
<input type="hidden" name="w" value="<?=$w?>" id="w">
|
||||
<input type="hidden" name="bo_table" value="<?=$bo_table?>">
|
||||
<input type="hidden" name="wr_id" value="<?=$wr_id?>">
|
||||
<input type="hidden" id="comment_id" name="comment_id" value="<?=$c_id?>">
|
||||
<input type="hidden" name="comment_id" value="<?=$c_id?>" id="comment_id">
|
||||
<input type="hidden" name="sca" value="<?=$sca?>">
|
||||
<input type="hidden" name="sfl" value="<?=$sfl?>">
|
||||
<input type="hidden" name="stx" value="<?=$stx?>">
|
||||
@ -98,16 +98,16 @@ var char_max = parseInt(<?=$comment_max?>); // 최대
|
||||
<? if ($is_guest) { ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="wr_name">이름<strong class="sound_only">필수</strong></label></th>
|
||||
<td><input type="text" id="wr_name" name="wr_name" class="frm_input required" maxLength="20" size="5" required></td>
|
||||
<td><input type="text" name="wr_name" id="wr_name" required class="frm_input required" size="5" maxLength="20"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="wr_password">패스워드<strong class="sound_only">필수</strong></label></th>
|
||||
<td><input type="password" id="wr_password" name="wr_password" class="frm_input required" maxLength="20" size="10" required></td>
|
||||
<td><input type="password" name="wr_password" id="wr_password" required class="frm_input required" size="10" maxLength="20"></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="wr_secret">비밀글사용</label></th>
|
||||
<td><input type="checkbox" id="wr_secret" name="wr_secret" value="secret"></td>
|
||||
<td><input type="checkbox" name="wr_secret" value="secret" id="wr_secret"></td>
|
||||
</tr>
|
||||
<? if ($is_guest) { ?>
|
||||
<tr>
|
||||
@ -119,8 +119,8 @@ var char_max = parseInt(<?=$comment_max?>); // 최대
|
||||
<th scope="row">내용</th>
|
||||
<td>
|
||||
<? if ($comment_min || $comment_max) { ?><strong id="char_cnt"><span id="char_count"></span>글자</strong><?}?>
|
||||
<textarea id="wr_content" name="wr_content" required
|
||||
<? if ($comment_min || $comment_max) { ?>onkeyup="check_byte('wr_content', 'char_count');"<?}?> title="댓글내용입력(필수)"><? echo $c_wr_content; ?></textarea>
|
||||
<textarea id="wr_content" title="댓글내용입력(필수)" name="wr_content" required
|
||||
<? if ($comment_min || $comment_max) { ?>onkeyup="check_byte('wr_content', 'char_count');"<?}?>><? echo $c_wr_content; ?></textarea>
|
||||
<? if ($comment_min || $comment_max) { ?><script> check_byte('wr_content', 'char_count'); </script><?}?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@ -4,7 +4,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
<h1 id="wrapper_title"><?=$g4['title']?></h1>
|
||||
|
||||
<form id="fwrite" name="fwrite" method="post" action="<?=$action_url?>" onsubmit="return fwrite_submit(this);" enctype="multipart/form-data" autocomplete="off" style="width:<?=$width;?>">
|
||||
<form name="fwrite" id="fwrite" action="<?=$action_url?>" onsubmit="return fwrite_submit(this);" method="post" enctype="multipart/form-data" autocomplete="off" style="width:<?=$width;?>">
|
||||
<input type="hidden" name="w" value="<?=$w?>">
|
||||
<input type="hidden" name="bo_table" value="<?=$bo_table?>">
|
||||
<input type="hidden" name="wr_id" value="<?=$wr_id?>">
|
||||
@ -53,28 +53,28 @@ echo $option_hidden;
|
||||
<? if ($is_name) { ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="wr_name">이름<strong class="sound_only">필수</strong></label></th>
|
||||
<td><input type="text" id="wr_name" name="wr_name" class="frm_input required" size="10" maxlength="20" required value="<?=$name?>"></td>
|
||||
<td><input type="text" name="wr_name" value="<?=$name?>" id="wr_name" required class="frm_input required" size="10" maxlength="20"></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
|
||||
<? if ($is_password) { ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="wr_password">패스워드<strong class="sound_only">필수</strong></label></th>
|
||||
<td><input type="password" id="wr_password" name="wr_password" class="frm_input" maxlength="20" <?=$password_required?>></td>
|
||||
<td><input type="password" name="wr_password" id="wr_password" class="frm_input" maxlength="20" <?=$password_required?>></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
|
||||
<? if ($is_email) { ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="wr_email">이메일</label></th>
|
||||
<td><input type="text" id="wr_email" name="wr_email" class="frm_input email" size="50" value="<?=$email?>" maxlength="100"></td>
|
||||
<td><input type="text" name="wr_email" value="<?=$email?>" id="wr_email" class="frm_input email" size="50" maxlength="100"></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
|
||||
<? if ($is_homepage) { ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="wr_homepage">홈페이지</label></th>
|
||||
<td><input type="text" id="wr_homepage" name="wr_homepage" class="frm_input" size="50" value="<?=$homepage?>"></td>
|
||||
<td><input type="text" name="wr_homepage" value="<?=$homepage?>" id="wr_homepage" class="frm_input" size="50"></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
|
||||
@ -89,7 +89,7 @@ echo $option_hidden;
|
||||
<tr>
|
||||
<th scope="row"><label for="ca_name">분류<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<select id="ca_name" name="ca_name" class="required" required>
|
||||
<select class="required" id="ca_name" name="ca_name" required>
|
||||
<option value="">선택하세요</option>
|
||||
<?=$category_option?>
|
||||
</select>
|
||||
@ -99,7 +99,7 @@ echo $option_hidden;
|
||||
|
||||
<tr>
|
||||
<th scope="row"><label for="wr_subject">제목<strong class="sound_only">필수</strong></label></th>
|
||||
<td><input type="text" id="wr_subject" name="wr_subject" class="frm_input required" size="50" required value="<?=$subject?>"></td>
|
||||
<td><input type="text" name="wr_subject" value="<?=$subject?>" id="wr_subject" required class="frm_input required" size="50"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
@ -110,7 +110,7 @@ echo $option_hidden;
|
||||
<? for ($i=1; $is_link && $i<=G4_LINK_COUNT; $i++) { ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="wr_link<?=$i?>">링크 #<?=$i?></label></th>
|
||||
<td><input type="text" id="wr_link<?=$i?>" name="wr_link<?=$i?>" class="frm_input" size="50" value="<?if($w=="u"){echo$write['wr_link'.$i];}?>"></td>
|
||||
<td><input type="text" name="wr_link<?=$i?>" value="<?if($w=="u"){echo$write['wr_link'.$i];}?>" id="wr_link<?=$i?>" class="frm_input" size="50"></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
|
||||
@ -118,9 +118,9 @@ echo $option_hidden;
|
||||
<tr>
|
||||
<th scope="row">파일 #<?=$i+1?></th>
|
||||
<td>
|
||||
<input type="file" name="bf_file[]" class="frm_file frm_input" title="파일첨부 <?=$i+1?> : 용량 <?=$upload_max_filesize?> 이하만 업로드 가능">
|
||||
<input type="file" name="bf_file[]" title="파일첨부 <?=$i+1?> : 용량 <?=$upload_max_filesize?> 이하만 업로드 가능" class="frm_file frm_input">
|
||||
<? if ($is_file_content) { ?>
|
||||
<input type="text" name="bf_content[]" class="frm_file frm_input" value="<? echo $file[$i]['bf_content']; ?>" size="50" title="파일 설명을 입력해주세요.">
|
||||
<input type="text" name="bf_content[]" value="<? echo $file[$i]['bf_content']; ?>" title="파일 설명을 입력해주세요." class="frm_file frm_input" size="50">
|
||||
<?}?>
|
||||
<? if($w == 'u' && $file[$i]['file']) { ?>
|
||||
<input type="checkbox" id="bf_file_del<?=$i?>" name="bf_file_del[<? echo $i; ?>]" value="1"> <label for="bf_file_del<?=$i?>"><? echo $file[$i]['source'].'('.$file[$i]['size'].')'; ?> 파일 삭제</label>
|
||||
@ -142,7 +142,7 @@ echo $option_hidden;
|
||||
</table>
|
||||
|
||||
<div class="btn_confirm">
|
||||
<input type="submit" id="btn_submit" class="btn_submit" value="글쓰기" accesskey="s">
|
||||
<input type="submit" value="글쓰기" id="btn_submit" class="btn_submit" accesskey="s">
|
||||
<a href="./board.php?bo_table=<?=$bo_table?>" class="btn_cancel">취소</a>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
@ -82,22 +82,25 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
<ul class="bo_img_con">
|
||||
<li class="bo_img_href">
|
||||
<a href="<?=$list[$i]['href']?>">
|
||||
<? if ($list[$i]['is_notice']) { // 공지사항 ?>
|
||||
<strong>공지</strong>
|
||||
<? } else { ?>
|
||||
<?
|
||||
$file = get_list_file($bo_table, $list[$i]['wr_id']);
|
||||
|
||||
$filepath = G4_DATA_PATH.'/file/'.$bo_table;
|
||||
if(preg_match("/\.({$config['cf_image_extension']})$/i", $file['bf_file']) && is_file($filepath.'/'.$file['bf_file'])) {
|
||||
$thumb = get_list_thumbnail($file['bf_file'], $filepath, $board['bo_mobile_gallery_width'], $board['bo_mobile_gallery_height']);
|
||||
$imgsrc = G4_DATA_URL.'/file/'.$bo_table.'/'.$thumb;
|
||||
if ($list[$i]['is_notice']) { // 공지사항 ?>
|
||||
<strong style="width:<?=$board['bo_mobile_gallery_width']?>px;height:<?=$board['bo_mobile_gallery_height']?>px">공지</strong>
|
||||
<?
|
||||
} else {
|
||||
$imgsrc = $board_skin_url.'/img/noimg.jpg';
|
||||
$file = get_list_file($bo_table, $list[$i]['wr_id']);
|
||||
|
||||
$filepath = G4_DATA_PATH.'/file/'.$bo_table;
|
||||
if(preg_match("/\.({$config['cf_image_extension']})$/i", $file['bf_file']) && is_file($filepath.'/'.$file['bf_file'])) {
|
||||
$thumb = get_list_thumbnail($file['bf_file'], $filepath, $board['bo_mobile_gallery_width'], $board['bo_mobile_gallery_height']);
|
||||
$imgsrc = G4_DATA_URL.'/file/'.$bo_table.'/'.$thumb;
|
||||
$img_content = '<img src="'.$imgsrc.'" alt="'.$file['bf_content'].'" width="'.$board['bo_mobile_gallery_width'].'" height="'.$board['bo_mobile_gallery_height'].'">';
|
||||
} else {
|
||||
$img_content = '<span style="width:'.$board['bo_mobile_gallery_width'].'px;height:'.$board['bo_mobile_gallery_height'].'px">no image</span>';
|
||||
}
|
||||
|
||||
echo $img_content;
|
||||
}
|
||||
?>
|
||||
<img src="<?=$imgsrc?>" alt="<?=get_text($file['bf_content'])?>" width="<?=$board['bo_gallery_width']?>" height="<?=$board['bo_gallery_height']?>">
|
||||
<? } ?>
|
||||
</a>
|
||||
</li>
|
||||
<li class="bo_img_text_href">
|
||||
|
||||
@ -3,7 +3,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<div class="lt">
|
||||
<a href="<?=G4_BBS_URL?>/board.php?bo_table=<?=$bo_table?>" onclick="return false" class="lt_title"><strong><?=$bo_subject?></strong></a>
|
||||
<a href="<?=G4_BBS_URL?>/board.php?bo_table=<?=$bo_table?>" class="lt_title" onclick="return false"><strong><?=$bo_subject?></strong></a>
|
||||
<ul>
|
||||
<? for ($i=0; $i<count($list); $i++) { ?>
|
||||
<li>
|
||||
|
||||
@ -5,7 +5,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<div id="formmail" class="new_win">
|
||||
<h1><?=$name?>님께 메일보내기</h1>
|
||||
|
||||
<form name="fformmail" method="post" action="./formmail_send.php" onsubmit="return fformmail_submit(this);" enctype="multipart/form-data" style="margin:0px;">
|
||||
<form name="fformmail" action="./formmail_send.php" onsubmit="return fformmail_submit(this);" method="post" enctype="multipart/form-data" style="margin:0px;">
|
||||
<input type="hidden" name="to" value="<?=$email?>">
|
||||
<input type="hidden" name="attach" value="2">
|
||||
<input type="hidden" name="token" value="<?=$token?>">
|
||||
@ -19,36 +19,36 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<? if (!$is_member) { ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="fnick">이름<strong class="sound_only">필수</strong></label></th>
|
||||
<td><input type="text" id="fnick" name="fnick" class="frm_input required" required></td>
|
||||
<td><input type="text" name="fnick" id="fnick" required class="frm_input required"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="fmail">E-mail<strong class="sound_only">필수</strong></label></th>
|
||||
<td><input type="text" id="fmail" name="fmail" class="frm_input required" required></td>
|
||||
<td><input type="text" name="fmail" id="fmail" required class="frm_input required"></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="subject">제목<strong class="sound_only">필수</strong></label></th>
|
||||
<td><input type="text" id="subject" name="subject" class="frm_input required" required></td>
|
||||
<td><input type="text" name="subject" id="subject" required class="frm_input required"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">형식</th>
|
||||
<td>
|
||||
<input type="radio" id="type_text" name="type" value="0" checked> <label for="type_text">TEXT</label>
|
||||
<input type="radio" id="type_html" name="type" value="1" > <label for="type_html">HTML</label>
|
||||
<input type="radio" id="type_both" name="type" value="2" > <label for="type_both">TEXT+HTML</label>
|
||||
<input type="radio" name="type" value="0" id="type_text" checked> <label for="type_text">TEXT</label>
|
||||
<input type="radio" name="type" value="1" id="type_html"> <label for="type_html">HTML</label>
|
||||
<input type="radio" name="type" value="2" id="type_both"> <label for="type_both">TEXT+HTML</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="content">내용<strong class="sound_only">필수</strong></label></th>
|
||||
<td><textarea id="content" name="content" class="required" required></textarea></td>
|
||||
<td><textarea name="content" id="content" required class="required"></textarea></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="file1">첨부 1</label></th>
|
||||
<td><input type="file" id="file1" name="file1" class="frm_input"></td>
|
||||
<td><input type="file" name="file1" id="file1" class="frm_input"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="file2">첨부 2</label></th>
|
||||
<td><input type="file" id="file2" name="file2" class="frm_input"></td>
|
||||
<td><input type="file" name="file2" id="file2" class="frm_input"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">자동등록방지</th>
|
||||
@ -58,7 +58,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
</table>
|
||||
|
||||
<div class="btn_win">
|
||||
<input type="submit" id="btn_submit" class="btn_submit" value="메일발송">
|
||||
<input type="submit" value="메일발송" id="btn_submit" class="btn_submit">
|
||||
<a href="javascript:window.close();">창닫기</a>
|
||||
</div>
|
||||
|
||||
|
||||
@ -5,14 +5,14 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<div id="mb_login">
|
||||
<h1><?=$g4['title']?></h1>
|
||||
|
||||
<form name="flogin" method="post" action="<?=$login_action_url?>" onsubmit="return flogin_submit(this);">
|
||||
<form name="flogin" action="<?=$login_action_url?>" onsubmit="return flogin_submit(this);" method="post">
|
||||
<input type="hidden" name="url" value='<?=$login_url?>'>
|
||||
|
||||
<fieldset>
|
||||
<input type="text" id="login_id" name="mb_id" class="frm_input required" maxLength="20" required placeholder="아이디(필수)" title="아이디(필수)">
|
||||
<input type="password" id="login_pw" class="frm_input required" name="mb_password" maxLength="20" required placeholder="패스워드(필수)" title="패스워드(필수)">
|
||||
<input type="submit" class="btn_submit" value="로그인">
|
||||
<input type="checkbox" id="login_auto_login" name="auto_login">
|
||||
<input type="text" name="mb_id" id="login_id" title="아이디(필수)" placeholder="아이디(필수)" required class="frm_input required" maxLength="20">
|
||||
<input type="password" name="mb_password" id="login_pw" title="패스워드(필수)" placeholder="패스워드(필수)" required class="frm_input required" maxLength="20">
|
||||
<input type="submit" value="로그인" class="btn_submit">
|
||||
<input type="checkbox" name="auto_login" id="login_auto_login">
|
||||
<label for="login_auto_login">자동로그인</label>
|
||||
</fieldset>
|
||||
|
||||
@ -23,7 +23,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
아직 회원이 아니시라면 회원으로 가입 후 이용해 주십시오.
|
||||
</p>
|
||||
<div>
|
||||
<a href="<?=$g4['bbs_url']?>/password_lost.php" id="login_password_lost" class="btn02" target="win_password_lost">아이디 패스워드 찾기</a>
|
||||
<a href="<?=$g4['bbs_url']?>/password_lost.php" target="win_password_lost" id="login_password_lost" class="btn02">아이디 패스워드 찾기</a>
|
||||
<a href="./register.php" class="btn01">회원 가입</a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@ -10,15 +10,15 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
회원님의 정보를 안전하게 보호하기 위해 패스워드를 한번 더 확인합니다.
|
||||
</p>
|
||||
|
||||
<form name="fmemberconfirm" method="post" onsubmit="return fmemberconfirm_submit(this);">
|
||||
<input type=hidden name="mb_id" value="<?=$member[mb_id]?>">
|
||||
<input type=hidden name="w" value="u">
|
||||
<form name="fmemberconfirm" onsubmit="return fmemberconfirm_submit(this);" method="post">
|
||||
<input type="hidden" name="mb_id" value="<?=$member[mb_id]?>">
|
||||
<input type="hidden" name="w" value="u">
|
||||
|
||||
<fieldset>
|
||||
회원아이디
|
||||
<span id="mb_confirm_id"><?=$member[mb_id]?></span>
|
||||
<input type="password" id="mb_confirm_pw" name="mb_password" class="frm_input" maxLength="20" size="15" required placeholder="패스워드(필수)" title="패스워드(필수)">
|
||||
<input type="submit" id="btn_submit" class="btn_submit" value="확인">
|
||||
<input type="password" name="mb_password" id="mb_confirm_pw" title="패스워드(필수)"placeholder="패스워드(필수)" required class="frm_input" size="15" maxLength="20">
|
||||
<input type="submit" value="확인" id="btn_submit" class="btn_submit">
|
||||
</fieldset>
|
||||
|
||||
</form>
|
||||
|
||||
@ -12,20 +12,20 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
</ul>
|
||||
|
||||
<div class="cbox">
|
||||
<form name="fmemoform" method="post" action="./memo_form_update.php" onsubmit="return fmemoform_submit(this);" autocomplete="off">
|
||||
<form name="fmemoform" action="./memo_form_update.php" onsubmit="return fmemoform_submit(this);" method="post" autocomplete="off">
|
||||
<table class="frm_tbl">
|
||||
<caption>쪽지쓰기</caption>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row"><label for="me_recv_mb_id">받는 회원아이디<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<input type="text" id="me_recv_mb_id" name="me_recv_mb_id" class="frm_input required" required value="<?=$me_recv_mb_id?>">
|
||||
<input type="text" name="me_recv_mb_id" value="<?=$me_recv_mb_id?>" id="me_recv_mb_id" required class="frm_input required">
|
||||
<span class="frm_info">여러 회원에게 보낼때는 컴마(,)로 구분하세요.</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="me_memo">내용</label></th>
|
||||
<td><textarea id="me_memo" name="me_memo" required><?=$content?></textarea></td>
|
||||
<td><textarea name="me_memo" id="me_memo" required><?=$content?></textarea></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">자동등록방지</th>
|
||||
@ -38,7 +38,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
</div>
|
||||
|
||||
<div class="btn_win">
|
||||
<input type="submit" id="btn_submit" class="btn_submit" value="보내기">
|
||||
<input type="submit" value="보내기" id="btn_submit" class="btn_submit">
|
||||
<a href="javascript:;" onclick="window.close();">창닫기</a>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
@ -22,7 +22,7 @@ else $g4['title'] = $g4['title'];
|
||||
<? } ?>
|
||||
</p>
|
||||
|
||||
<form name="fboardpassword" method="post" action="<? echo $action; ?>">
|
||||
<form name="fboardpassword" action="<? echo $action; ?>" method="post">
|
||||
<input type="hidden" name="w" value="<?=$w?>">
|
||||
<input type="hidden" name="bo_table" value="<?=$bo_table?>">
|
||||
<input type="hidden" name="wr_id" value="<?=$wr_id?>">
|
||||
@ -32,7 +32,7 @@ else $g4['title'] = $g4['title'];
|
||||
<input type="hidden" name="page" value="<?=$page?>">
|
||||
|
||||
<fieldset>
|
||||
<input type="password" id="pw_wr_password" name="wr_password" class="frm_input required" maxLength="20" required placeholder="패스워드(필수)" title="패스워드(필수)">
|
||||
<input type="password" name="wr_password" id="pw_wr_password" title="패스워드(필수)" placeholder="패스워드(필수)" required class="frm_input required" maxLength="20">
|
||||
<input type="submit" class="btn_submit" value="확인">
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
@ -5,13 +5,13 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<div id="find_info" class="new_win">
|
||||
<h1>아이디/패스워드 찾기</h1>
|
||||
|
||||
<form name="fpasswordlost" method="post" action="<?=$action_url?>" onsubmit="return fpasswordlost_submit(this);" autocomplete="off">
|
||||
<form name="fpasswordlost" action="<?=$action_url?>" onsubmit="return fpasswordlost_submit(this);" method="post" autocomplete="off">
|
||||
<fieldset id="find_info_fs">
|
||||
<p>
|
||||
회원가입 시 등록하신 이메일 주소를 입력해 주세요.<br>
|
||||
해당 이메일로 아이디와 패스워드 정보를 보내드립니다.
|
||||
</p>
|
||||
<input type="text" id="mb_email" name="mb_email" class="frm_input email" required placeholder="이메일주소(필수)" title="이메일주소(필수)">
|
||||
<input type="text" id="mb_email" name="mb_email" title="이메일주소(필수)" placeholder="이메일주소(필수)" required class="frm_input email">
|
||||
</fieldset>
|
||||
<?=captcha_html(); ?>
|
||||
<div class="btn_win">
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<form id="fregister" name="fregister" method="POST" action="<?=$register_action_url?>" onsubmit="return fregister_submit(this);" autocomplete="off">
|
||||
<form name="fregister" id="fregister" action="<?=$register_action_url?>" onsubmit="return fregister_submit(this);" method="POST" autocomplete="off">
|
||||
|
||||
<p>회원가입약관 및 개인정보수집이용안내의 내용에 동의하셔야 회원가입 하실 수 있습니다.</p>
|
||||
|
||||
@ -11,7 +11,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<textarea readonly><?=get_text($config['cf_stipulation'])?></textarea>
|
||||
<fieldset class="fregister_agree">
|
||||
<label for="agree11">회원가입약관의 내용에 동의합니다.</label>
|
||||
<input type="checkbox" id="agree11" name="agree" value="1">
|
||||
<input type="checkbox" name="agree" value="1" id="agree11">
|
||||
</fieldset>
|
||||
</section>
|
||||
|
||||
@ -20,7 +20,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<textarea readonly><?=get_text($config['cf_privacy'])?></textarea>
|
||||
<fieldset class="fregister_agree">
|
||||
<label for="agree21">개인정보수집이용안내의 내용에 동의합니다.</label>
|
||||
<input type="checkbox" id="agree21" name="agree2" value="1">
|
||||
<input type="checkbox" name="agree2" value="1" id="agree21">
|
||||
</fieldset>
|
||||
</section>
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
<script src="<?=G4_JS_URL?>/jquery.register_form.js"></script>
|
||||
|
||||
<form id="fregisterform" name="fregisterform" method="post" action="<?=$register_action_url?>" onsubmit="return fregisterform_submit(this);" enctype="multipart/form-data" autocomplete="off">
|
||||
<form name="fregisterform" id="fregisterform" action="<?=$register_action_url?>" onsubmit="return fregisterform_submit(this);" method="post" enctype="multipart/form-data" autocomplete="off">
|
||||
<input type="hidden" name="w" value="<?=$w?>">
|
||||
<input type="hidden" name="url" value="<?=$urlencode?>">
|
||||
<input type="hidden" name="agree" value="<?=$agree?>">
|
||||
@ -21,17 +21,17 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<th scope="row"><label for="reg_mb_id">아이디<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<span class="frm_info">영문자, 숫자, _ 만 입력 가능. 최소 3자이상 입력하세요.</span>
|
||||
<input type="text" id="reg_mb_id" name="mb_id" class="frm_input minlength_3 <?=$required?> <?=$readonly?>" value="<?=$member['mb_id']?>" maxlength="20" <?=$required?> <?=$readonly?>>
|
||||
<input type="text" name="mb_id" value="<?=$member['mb_id']?>" id="reg_mb_id" class="frm_input minlength_3 <?=$required?> <?=$readonly?>" maxlength="20" <?=$required?> <?=$readonly?>>
|
||||
<span id="msg_mb_id"></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="reg_mb_password">패스워드<strong class="sound_only">필수</strong></label></th>
|
||||
<td><input type="password" id="reg_mb_password" name="mb_password" class="frm_input minlength_3 <?=$required?>" maxlength="20" <?=$required?>></td>
|
||||
<td><input type="password" name="mb_password" id="reg_mb_password" class="frm_input minlength_3 <?=$required?>" maxlength="20" <?=$required?>></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="reg_mb_password_re">패스워드 확인<strong class="sound_only">필수</strong></label></th>
|
||||
<td><input type="password" id="reg_mb_password_re" name="mb_password_re" class="frm_input minlength_3 <?=$required?>" maxlength="20" <?=$required?>></td>
|
||||
<td><input type="password" name="mb_password_re" id="reg_mb_password_re" class="frm_input minlength_3 <?=$required?>" maxlength="20" <?=$required?>></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@ -41,7 +41,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<th scope="row"><label for="reg_mb_name">이름<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<? if ($w=='') { echo "<span class=\"frm_info\">공백없이 한글만 입력하세요.</span>"; } ?>
|
||||
<input type="text" id="reg_mb_name" name="mb_name" class="frm_input hangul nospace <?=$required?> <?=$readonly?>" value="<?=$member['mb_name']?>" <?=$required?> <?=$readonly?>>
|
||||
<input type="text" name="mb_name" value="<?=$member['mb_name']?>" id="reg_mb_name" class="frm_input hangul nospace <?=$required?> <?=$readonly?>" <?=$required?> <?=$readonly?>>
|
||||
</td>
|
||||
</tr>
|
||||
<? if ($req_nick) { ?>
|
||||
@ -53,7 +53,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
별명을 바꾸시면 앞으로 <?=(int)$config['cf_nick_modify']?>일 이내에는 변경 할 수 없습니다.
|
||||
</span>
|
||||
<input type="hidden" name="mb_nick_default" value="<?=isset($member['mb_nick'])?$member['mb_nick']:'';?>">
|
||||
<input type="text" id="reg_mb_nick" name="mb_nick" class="frm_input required nospace" maxlength="20" value="<?=isset($member['mb_nick'])?$member['mb_nick']:'';?>" required>
|
||||
<input type="text" name="mb_nick" value="<?=isset($member['mb_nick'])?$member['mb_nick']:'';?>" id="reg_mb_nick" required class="frm_input required nospace" maxlength="20">
|
||||
<span id="msg_mb_nick"></span>
|
||||
</td>
|
||||
</tr>
|
||||
@ -69,28 +69,28 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
</span>
|
||||
<? } ?>
|
||||
<input type="hidden" name="old_email" value="<?=$member['mb_email']?>">
|
||||
<input type="text" id="reg_mb_email" name="mb_email" class="frm_input email <?=$config['cf_use_email_certify']?"required":"";?>" maxlength="100" value='<?=isset($member['mb_email'])?$member['mb_email']:'';?>' <?=$config['cf_use_email_certify']?"required":"";?>>
|
||||
<input type="text" name="mb_email" value='<?=isset($member['mb_email'])?$member['mb_email']:'';?>' <?=$config['cf_use_email_certify']?"required":"";?> id="reg_mb_email" class="frm_input email <?=$config['cf_use_email_certify']?"required":"";?>" maxlength="100">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<? if ($config['cf_use_homepage']) { ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="reg_mb_homepage">홈페이지<? if ($config['cf_req_homepage']){?><strong class="sound_only">필수</strong><?}?></label></th>
|
||||
<td><input type="text" id="reg_mb_homepage" name="mb_homepage" class="frm_input <?=$config['cf_req_homepage']?"required":"";?>" maxlength="255" <?=$config['cf_req_homepage']?"required":"";?> value="<?=$member['mb_homepage']?>"></td>
|
||||
<td><input type="text" name="mb_homepage" value="<?=$member['mb_homepage']?>" id="reg_mb_homepage" class="frm_input <?=$config['cf_req_homepage']?"required":"";?>" maxlength="255" <?=$config['cf_req_homepage']?"required":"";?>></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
|
||||
<? if ($config['cf_use_tel']) { ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="reg_mb_tel">전화번호<? if ($config['cf_req_tel']) {?><strong class="sound_only">필수</strong><?}?></label></th>
|
||||
<td><input type="text" id="reg_mb_tel" name="mb_tel" class="frm_input <?=$config['cf_req_tel']?"required":"";?>" maxlength="20" <?=$config['cf_req_tel']?"required":"";?> value="<?=$member['mb_tel']?>"></td>
|
||||
<td><input type="text" name="mb_tel" value="<?=$member['mb_tel']?>" id="reg_mb_tel" class="frm_input <?=$config['cf_req_tel']?"required":"";?>" maxlength="20" <?=$config['cf_req_tel']?"required":"";?>></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
|
||||
<? if ($config['cf_use_hp']) { ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="reg_mb_hp">핸드폰번호<? if ($config['cf_req_hp']) {?><strong class="sound_only">필수</strong><?}?></label></th>
|
||||
<td><input type="text" id="reg_mb_hp" name="mb_hp" class="frm_input <?=$config['cf_req_hp']?"required":"";?>" maxlength="20" <?=$config['cf_req_hp']?"required":"";?> value="<?=$member[mb_hp]?>"></td>
|
||||
<td><input type="text" name="mb_hp" value="<?=$member[mb_hp]?>" id="reg_mb_hp" class="frm_input <?=$config['cf_req_hp']?"required":"";?>" maxlength="20" <?=$config['cf_req_hp']?"required":"";?>></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
|
||||
@ -103,12 +103,12 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<? if ($config['cf_req_addr']) {?><strong class="sound_only">필수</strong><? } ?>
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" id="reg_mb_zip1" name="mb_zip1" class="frm_input <?=$config['cf_req_addr']?"required":"";?>" maxlength="3" <?=$config['cf_req_addr']?"required":"";?> value="<?=$member['mb_zip1']?>" title="우편번호 앞자리">
|
||||
<input type="text" name="mb_zip1" value="<?=$member['mb_zip1']?>" id="reg_mb_zip1" title="우편번호 앞자리" class="frm_input <?=$config['cf_req_addr']?"required":"";?>" maxlength="3" <?=$config['cf_req_addr']?"required":"";?>>
|
||||
-
|
||||
<input type="text" id="reg_mb_zip2" name="mb_zip2" class="frm_input <?=$config['cf_req_addr']?"required":"";?>" maxlength="3" <?=$config['cf_req_addr']?"required":"";?> value="<?=$member['mb_zip2']?>" title="우편번호 뒷자리">
|
||||
<input type="text" name="mb_zip2" value="<?=$member['mb_zip2']?>" id="reg_mb_zip2" title="우편번호 뒷자리" class="frm_input <?=$config['cf_req_addr']?"required":"";?>" maxlength="3" <?=$config['cf_req_addr']?"required":"";?> >
|
||||
<a href="<? echo $zip_href; ?>" id="reg_zip_find" class="btn_frmline win_zip_find" target="_blank">주소찾기</a>
|
||||
<input type="text" id="reg_mb_addr1" name="mb_addr1" class="frm_input frm_address <?=$config['cf_req_addr']?"required":"";?>" <?=$config['cf_req_addr']?"required":"";?> value="<?=$member['mb_addr1']?>" title="행정구역주소">
|
||||
<input type="text" id="reg_mb_addr2" name="mb_addr2" class="frm_input frm_address <?=$config['cf_req_addr']?"required":"";?>" <?=$config['cf_req_addr']?"required":"";?> value="<?=$member['mb_addr2']?>" title="상세주소">
|
||||
<input type="text" name="mb_addr1" value="<?=$member['mb_addr1']?>" id="reg_mb_addr1" title="행정구역주소" class="frm_input frm_address <?=$config['cf_req_addr']?"required":"";?>" <?=$config['cf_req_addr']?"required":"";?> >
|
||||
<input type="text" name="mb_addr2" value="<?=$member['mb_addr2']?>" id="reg_mb_addr2" title="상세주소"class="frm_input frm_address <?=$config['cf_req_addr']?"required":"";?>" <?=$config['cf_req_addr']?"required":"";?>>
|
||||
</td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
@ -119,14 +119,14 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<? if ($config['cf_use_signature']) { ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="reg_mb_signature">서명<? if ($config['cf_req_signature']){?><strong class="sound_only">필수</strong><?}?></label></th>
|
||||
<td><textarea id="reg_mb_signature" name="mb_signature" class="<?=$config['cf_req_signature']?"required":"";?>" <?=$config['cf_req_signature']?"required":"";?>><?=$member['mb_signature']?></textarea></td>
|
||||
<td><textarea name="mb_signature" id="reg_mb_signature" class="<?=$config['cf_req_signature']?"required":"";?>" <?=$config['cf_req_signature']?"required":"";?>><?=$member['mb_signature']?></textarea></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
|
||||
<? if ($config['cf_use_profile']) { ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="reg_mb_profile">자기소개</label></th>
|
||||
<td><textarea id="reg_mb_profile" name="mb_profile" class="<?=$config['cf_req_profile']?"required":"";?>" <?=$config['cf_req_profile']?"required":"";?>><?=$member['mb_profile']?></textarea></td>
|
||||
<td><textarea name="mb_profile" id="reg_mb_profile" class="<?=$config['cf_req_profile']?"required":"";?>" <?=$config['cf_req_profile']?"required":"";?>><?=$member['mb_profile']?></textarea></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
|
||||
@ -138,9 +138,9 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
이미지 크기는 가로 <?=$config['cf_member_icon_width']?>픽셀, 세로 <?=$config['cf_member_icon_height']?>픽셀 이하로 해주세요.<br>
|
||||
gif만 가능하며 용량 <?=number_format($config['cf_member_icon_size'])?>바이트 이하만 등록됩니다.
|
||||
</span>
|
||||
<input type="file" id="reg_mb_icon" name="mb_icon" class="frm_input">
|
||||
<input type="file" name="mb_icon" id="reg_mb_icon" class="frm_input">
|
||||
<? if ($w == 'u' && file_exists($mb_icon)) { ?>
|
||||
<input type="checkbox" id="del_mb_icon" name="del_mb_icon" value="1">
|
||||
<input type="checkbox" name="del_mb_icon" value="1" id="del_mb_icon">
|
||||
<label for="del_mb_icon">삭제</label>
|
||||
<? } ?>
|
||||
</td>
|
||||
@ -150,7 +150,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<tr>
|
||||
<th scope="row"><label for="reg_mb_mailling">메일링서비스</label></th>
|
||||
<td>
|
||||
<input type="checkbox" id="reg_mb_mailling" name="mb_mailling" value="1" <?=($w=='' || $member['mb_mailling'])?'checked':'';?>>
|
||||
<input type="checkbox" name="mb_mailling" value="1" id="reg_mb_mailling" <?=($w=='' || $member['mb_mailling'])?'checked':'';?>>
|
||||
정보 메일을 받겠습니다.
|
||||
</td>
|
||||
</tr>
|
||||
@ -159,7 +159,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<tr>
|
||||
<th scope="row"><label for="reg_mb_sms">SMS 수신여부</label></th>
|
||||
<td>
|
||||
<input type="checkbox" id="reg_mb_sms" name="mb_sms" value="1" <?=($w=='' || $member['mb_sms'])?'checked':'';?>>
|
||||
<input type="checkbox" name="mb_sms" value="1" id="reg_mb_sms" <?=($w=='' || $member['mb_sms'])?'checked':'';?>>
|
||||
핸드폰 문자메세지를 받겠습니다.
|
||||
</td>
|
||||
</tr>
|
||||
@ -173,7 +173,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
정보공개를 바꾸시면 앞으로 <?=(int)$config['cf_open_modify']?>일 이내에는 변경이 안됩니다.
|
||||
</span>
|
||||
<input type="hidden" name="mb_open_default" value="<?=$member['mb_open']?>">
|
||||
<input type="checkbox" id="reg_mb_open" name="mb_open" value="1" <?=($w=='' || $member['mb_open'])?'checked':'';?>>
|
||||
<input type="checkbox" name="mb_open" value="1" id="reg_mb_open" <?=($w=='' || $member['mb_open'])?'checked':'';?>>
|
||||
다른분들이 나의 정보를 볼 수 있도록 합니다.
|
||||
</td>
|
||||
</tr>
|
||||
@ -193,7 +193,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<? if ($w == "" && $config['cf_use_recommend']) { ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="reg_mb_recommend">추천인아이디</label></th>
|
||||
<td><input type="text" id="reg_mb_recommend" name="mb_recommend" class="frm_input"></td>
|
||||
<td><input type="text" name="mb_recommend" id="reg_mb_recommend" class="frm_input"></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
|
||||
@ -204,7 +204,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
</table>
|
||||
|
||||
<div class="btn_confirm">
|
||||
<input type="submit" class="btn_submit" value="<?=$w==''?'회원가입':'정보수정';?>" accesskey="s">
|
||||
<input type="submit" value="<?=$w==''?'회원가입':'정보수정';?>" class="btn_submit" accesskey="s">
|
||||
<a href="<?=$g4['path']?>/" class="btn_cancel">취소</a>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
@ -5,7 +5,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<div id="scrap_do" class="new_win">
|
||||
<h1>스크랩하기</h1>
|
||||
|
||||
<form name="f_scrap_popin" method="post" action="./scrap_popin_update.php">
|
||||
<form name="f_scrap_popin" action="./scrap_popin_update.php" method="post">
|
||||
<input type="hidden" name="bo_table" value="<?=$bo_table?>">
|
||||
<input type="hidden" name="wr_id" value="<?=$wr_id?>">
|
||||
|
||||
@ -18,7 +18,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="wr_content">댓글</label></th>
|
||||
<td><textarea id="wr_content" name="wr_content"></textarea></td>
|
||||
<td><textarea name="wr_content" id="wr_content"></textarea></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
@ -13,7 +13,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<input type="hidden" name="frm_addr2" value="<?=$frm_addr2?>">
|
||||
|
||||
<fieldset>
|
||||
<input type="text" id="addr1" name="addr1" class="frm_input" value="<?=$addr1?>" required minlength=2 placeholder="동/읍/면/리(필수)" title="동/읍/면/리(필수)">
|
||||
<input type="text" name="addr1" value="<?=$addr1?>" id="addr1" title="동/읍/면/리(필수)" placeholder="동/읍/면/리(필수)" required class="frm_input" minlength=2>
|
||||
<input type="submit" class="btn_submit" value="검색">
|
||||
</fieldset>
|
||||
|
||||
|
||||
@ -7,12 +7,12 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<legend>상세검색</legend>
|
||||
<form name="fnew" method="get">
|
||||
<?=$group_select?>
|
||||
<select id="view" name="view" onchange="select_change()" title="검색종류">
|
||||
<select name="view" id="view" title="검색종류" onchange="select_change()">
|
||||
<option value="">전체게시물
|
||||
<option value="w">원글만
|
||||
<option value="c">코멘트만
|
||||
</select>
|
||||
<input type="text" id="mb_id" name="mb_id" class="required" required value="<?=$mb_id?>" title="검색어(필수)">
|
||||
<input type="text" name="mb_id" value="<?=$mb_id?>" id="mb_id" title="검색어(필수)" required class="required">
|
||||
<input type="submit" value="검색">
|
||||
</form>
|
||||
<script>
|
||||
|
||||
@ -5,11 +5,11 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<section id="ol_before" class="ol">
|
||||
<h2>회원로그인</h2>
|
||||
<!-- 로그인 전 외부로그인 시작 -->
|
||||
<form name="foutlogin" method="post" action="<?=$outlogin_action_url?>" onsubmit="return fhead_submit(this);" autocomplete="off">
|
||||
<form name="foutlogin" action="<?=$outlogin_action_url?>" onsubmit="return fhead_submit(this);" method="post" autocomplete="off">
|
||||
<fieldset>
|
||||
<input type="hidden" name="url" value="<?=$outlogin_url?>">
|
||||
<input type="text" id="ol_id" name="mb_id" class="required" maxlength="20" required placeholder="회원아이디(필수)" title="회원아이디(필수)">
|
||||
<input type="password" id="ol_pw" name="mb_password" class="required" maxlength="20" required placeholder="패스워드(필수)" title="패스워드(필수)">
|
||||
<input type="text" name="mb_id" id="ol_id" title="회원아이디(필수)" placeholder="회원아이디(필수)" required class="required" maxlength="20">
|
||||
<input type="password" id="ol_pw" name="mb_password" title="패스워드(필수)" placeholder="패스워드(필수)" required class="required" maxlength="20">
|
||||
<input type="submit" id="ol_submit" value="로그인">
|
||||
<div id="ol_svc">
|
||||
<input type="checkbox" id="auto_login" name="auto_login" value="1">
|
||||
|
||||
@ -11,19 +11,19 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
</header>
|
||||
<ul id="ol_after_private">
|
||||
<li id="ol_after_memo">
|
||||
<a href="<?=G4_BBS_URL?>/memo.php" class="win_memo" target="_blank">
|
||||
<a href="<?=G4_BBS_URL?>/memo.php" target="_blank" class="win_memo">
|
||||
<span class="sound_only">안 읽은 </span>쪽지
|
||||
<strong><?=$memo_not_read?></strong>
|
||||
</a>
|
||||
</li>
|
||||
<li id="ol_after_pt">
|
||||
<a href="<?=G4_BBS_URL?>/point.php" class="win_point" target="_blank">
|
||||
<a href="<?=G4_BBS_URL?>/point.php" target="_blank" class="win_point">
|
||||
포인트
|
||||
<strong><?=$point?></strong>
|
||||
</a>
|
||||
</li>
|
||||
<li id="ol_after_scrap">
|
||||
<a href="<?=G4_BBS_URL?>/scrap.php" class="win_scrap" target="_blank">스크랩</a>
|
||||
<a href="<?=G4_BBS_URL?>/scrap.php" target="_blank" class="win_scrap">스크랩</a>
|
||||
</li>
|
||||
</ul>
|
||||
<footer id="ol_after_ft">
|
||||
|
||||
@ -13,7 +13,7 @@ if (!$po_id) {
|
||||
$po = sql_fetch(" select * from {$g4['poll_table']} where po_id = '$po_id' ");
|
||||
?>
|
||||
|
||||
<form name="fpoll" method="post" action="<?=G4_BBS_URL?>/poll_update.php" onsubmit="return fpoll_submit(this);" target="win_poll">
|
||||
<form name="fpoll" action="<?=G4_BBS_URL?>/poll_update.php" onsubmit="return fpoll_submit(this);" target="win_poXll" method="post">
|
||||
<input type="hidden" name="po_id" value="<?=$po_id?>">
|
||||
<input type="hidden" name="skin_dir" value="<?=$skin_dir?>">
|
||||
<section id="poll">
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<form name="fsearch" method="get" onsubmit="return fsearch_submit(this);">
|
||||
<form name="fsearch" onsubmit="return fsearch_submit(this);" method="get">
|
||||
<input type="hidden" name="srows" value="<?=$srows?>">
|
||||
<fieldset id="sch_result_detail">
|
||||
<legend>상세검색</legend>
|
||||
@ -17,7 +17,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<option value="wr_name"<?=get_selected($_GET['sfl'], "wr_name")?>>이름</option>
|
||||
</select>
|
||||
|
||||
<input type="text" name="stx" class="required" value="<?=$text_stx?>" maxlength="20" required title="검색어(필수)">
|
||||
<input type="text" name="stx" value="<?=$text_stx?>" title="검색어(필수)" required class="required" maxlength="20">
|
||||
<input type="submit" value="검색">
|
||||
|
||||
<script>
|
||||
|
||||
@ -81,22 +81,25 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
<ul class="bo_img_con">
|
||||
<li class="bo_img_href">
|
||||
<a href="<?=$list[$i]['href']?>">
|
||||
<? if ($list[$i]['is_notice']) { // 공지사항 ?>
|
||||
<strong>공지</strong>
|
||||
<? } else { ?>
|
||||
<?
|
||||
$file = get_list_file($bo_table, $list[$i]['wr_id']);
|
||||
|
||||
$filepath = G4_DATA_PATH.'/file/'.$bo_table;
|
||||
if(preg_match("/\.({$config['cf_image_extension']})$/i", $file['bf_file']) && is_file($filepath.'/'.$file['bf_file'])) {
|
||||
$thumb = get_list_thumbnail($file['bf_file'], $filepath, $board['bo_gallery_width'], $board['bo_gallery_height']);
|
||||
$imgsrc = G4_DATA_URL.'/file/'.$bo_table.'/'.$thumb;
|
||||
if ($list[$i]['is_notice']) { // 공지사항 ?>
|
||||
<strong style="width:<?=$board['bo_gallery_width']?>px;height:<?=$board['bo_gallery_height']?>px">공지</strong>
|
||||
<?
|
||||
} else {
|
||||
$imgsrc = $board_skin_url.'/img/noimg.jpg';
|
||||
$file = get_list_file($bo_table, $list[$i]['wr_id']);
|
||||
|
||||
$filepath = G4_DATA_PATH.'/file/'.$bo_table;
|
||||
if(preg_match("/\.({$config['cf_image_extension']})$/i", $file['bf_file']) && is_file($filepath.'/'.$file['bf_file'])) {
|
||||
$thumb = get_list_thumbnail($file['bf_file'], $filepath, $board['bo_gallery_width'], $board['bo_gallery_height']);
|
||||
$imgsrc = G4_DATA_URL.'/file/'.$bo_table.'/'.$thumb;
|
||||
$img_content = '<img src="'.$imgsrc.'" alt="'.$file['bf_content'].'" width="'.$board['bo_gallery_width'].'" height="'.$board['bo_gallery_height'].'">';
|
||||
} else {
|
||||
$img_content = '<span style="width:'.$board['bo_gallery_width'].'px;height:'.$board['bo_gallery_height'].'px">no image</span>';
|
||||
}
|
||||
|
||||
echo $img_content;
|
||||
}
|
||||
?>
|
||||
<img src="<?=$imgsrc?>" alt="<?=get_text($file['bf_content'])?>" width="<?=$board['bo_gallery_width']?>" height="<?=$board['bo_gallery_height']?>">
|
||||
<? } ?>
|
||||
</a>
|
||||
</li>
|
||||
<li class="bo_img_text_href">
|
||||
|
||||
@ -3,7 +3,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<div id="find_info" class="new_win">
|
||||
<h1>아이디/패스워드 찾기</h1>
|
||||
<h1>회원정보 찾기</h1>
|
||||
|
||||
<form name="fpasswordlost" action="<?=$action_url?>" onsubmit="return fpasswordlost_submit(this);" method="post" autocomplete="off">
|
||||
<fieldset id="find_info_fs">
|
||||
@ -12,7 +12,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
해당 이메일로 아이디와 패스워드 정보를 보내드립니다.
|
||||
</p>
|
||||
<label for="mb_email">E-mail 주소<strong class="sound_only">필수</strong></label>
|
||||
<input type="text" name="mb_email" id="mb_email" required class="fs_input email" size="30">
|
||||
<input type="text" name="mb_email" id="mb_email" required class="frm_input email" size="30">
|
||||
</fieldset>
|
||||
<?=captcha_html(); ?>
|
||||
<div class="btn_win">
|
||||
|
||||
@ -39,32 +39,32 @@ sql_query($sql);
|
||||
|
||||
$href = G4_BBS_URL.'/password_lost_certify.php?mb_no='.$mb['mb_no'].'&mb_datetime='.$mb_datetime.'&mb_lost_certify='.$mb_lost_certify;
|
||||
|
||||
$subject = '요청하신 회원아이디/패스워드 정보입니다.';
|
||||
$subject = $config['cf_title']."요청하신 회원 아이디/패스워드 정보입니다.";
|
||||
|
||||
$content = '';
|
||||
$content .= '<div style="line-height:180%;">';
|
||||
$content .= '<p>요청하신 계정정보는 다음과 같습니다.</p>';
|
||||
$content .= '<hr>';
|
||||
$content .= '<ul>';
|
||||
$content .= '<li>회원아이디 : '.$mb['mb_id'].'</li>';
|
||||
$content .= '<li>변경 패스워드 : <span style="color:#ff3300; font:13px Verdana;"><strong>'.$change_password.'</strong></span></li>';
|
||||
$content .= '<li>이름 : '.addslashes($mb['mb_name']).'</li>';
|
||||
$content .= '<li>별명 : '.addslashes($mb['mb_nick']).'</li>';
|
||||
$content .= '<li>이메일주소 : '.addslashes($mb['mb_email']).'</li>';
|
||||
$content .= '<li>요청일시 : '.G4_TIME_YMDHIS.'</li>';
|
||||
$content .= '<li>홈페이지 : '.G4_URL.'</li>';
|
||||
$content .= '</ul>';
|
||||
$content .= '<hr>';
|
||||
$content .= '<p><a href="'.$href.'" target="_blank">'.$href.'</a></p>';
|
||||
$content .= '<p>';
|
||||
$content .= '1. 위의 링크를 클릭하십시오. 링크가 클릭되지 않는다면 링크를 브라우저의 주소창에 직접 복사해 넣으시기 바랍니다.<br />';
|
||||
$content .= '2. 링크를 클릭하시면 패스워드가 변경 되었다는 인증 메세지가 출력됩니다.<br />';
|
||||
$content .= '3. 홈페이지에서 회원아이디와 위에 적힌 변경 패스워드로 로그인 하십시오.<br />';
|
||||
$content .= '4. 로그인 하신 후 새로운 패스워드로 변경하시면 됩니다.';
|
||||
$content .= '</p>';
|
||||
$content .= '<p>감사합니다.</p>';
|
||||
$content .= '<p>[끝]</p>';
|
||||
$content .= '</div>';
|
||||
$content = "";
|
||||
|
||||
$content .= "<div style=\"margin:30px auto;width:600px;border:10px solid #f7f7f7\">";
|
||||
$content .= "<div style=\"border:1px solid #dedede\">";
|
||||
$content .= "<h1 style=\"padding:30px 30px 0;background:#f7f7f7;color:#555;font-size:1.4em\">";
|
||||
$content .= "회원 패스워드가 변경되었습니다.";
|
||||
$content .= "</h1>";
|
||||
$content .= "<span style=\"display:block;padding:10px 30px 30px;background:#f7f7f7;text-align:right\">";
|
||||
$content .= "<a href=\"".G4_URL."\" target=\"_blank\">".$config['cf_title']."</a>";
|
||||
$content .= "</span>";
|
||||
$content .= "<p style=\"margin:20px 0 0;padding:30px 30px 30px;border-bottom:1px solid #eee;line-height:1.7em\">";
|
||||
$content .= addslashes($mb['mb_name'])." (".addslashes($mb['mb_nick']).")"." 회원님은 ".G4_TIME_YMDHIS." 에 회원정보 찾기 요청을 하셨습니다.<br>";
|
||||
$content .= "저희 사이트는 관리자라도 회원님의 비밀번호를 알 수 없기 때문에, 비밀번호를 알려드리는 대신 새로운 비밀번호를 생성하여 안내 해드리고 있습니다.<br>";
|
||||
$content .= "다음에서 변경될 패스워드를 확인하신 후, <span style=\"color:#ff3061\"><strong>패스워드 변경</strong> 링크를 클릭 하십시오.</span><br>";
|
||||
$content .= "패스워드가 변경되었다는 인증 메세지가 출력되면, 홈페이지에서 회원아이디와 변경된 패스워드를 입력하시고 로그인 하십시오.<br>";
|
||||
$content .= "로그인 후에는 정보수정 메뉴에서 새 패스워드로 변경하십시오.";
|
||||
$content .= "</p>";
|
||||
$content .= "<p style=\"margin:0;padding:30px 30px 30px;border-bottom:1px solid #eee;line-height:1.7em\">";
|
||||
$content .= "<span style=\"display:inline-block;width:100px\">회원아이디</span> ".$mb['mb_id']."<br>";
|
||||
$content .= "<span style=\"display:inline-block;width:100px\">변경될 패스워드</span> <strong style=\"color:#ff3061\">".$change_password."</strong>";
|
||||
$content .= "</p>";
|
||||
$content .= "<a href=\"".$href."/\" style=\"display:block;padding:30px 0;background:#484848;color:#fff;text-decoration:none;text-align:center\">패스워드 변경</a>";
|
||||
$content .= "</div>";
|
||||
$content .= "</div>";
|
||||
|
||||
$admin = get_admin('super');
|
||||
mailer($admin['mb_nick'], $admin['mb_email'], $mb['mb_email'], $subject, $content, 1);
|
||||
|
||||
@ -1,12 +1,12 @@
|
||||
<?
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
if((int)get_cookie('ck_passwordlost_count') > 2)
|
||||
alert_close('아이디/패스워드 찾기를 기준회수이상 시도하였습니다.');
|
||||
//if((int)get_cookie('ck_passwordlost_count') > 2)
|
||||
// alert_close('회원정보 찾기를 기준 횟수 이상 시도하였습니다.');
|
||||
?>
|
||||
|
||||
<div id="find_info" class="new_win">
|
||||
<h1>아이디/패스워드 찾기</h1>
|
||||
<h1>회원정보 찾기</h1>
|
||||
|
||||
<form name="fpasswordlost" action="<?=$action_url?>" onsubmit="return fpasswordlost_submit(this);" method="post" autocomplete="off">
|
||||
<input type="hidden" name="kcpcert_no" value="">
|
||||
@ -16,13 +16,13 @@ if((int)get_cookie('ck_passwordlost_count') > 2)
|
||||
회원가입 시 등록하신 이름과 핸드폰번호를 입력해 주세요.
|
||||
</p>
|
||||
<label for="mb_name">이름<strong class="sound_only">필수</strong></label>
|
||||
<input type="text" name="mb_name" id="mb_name" required class="fs_input hangul nospace required" size="30">
|
||||
<label for="mb_hp">핸드폰번호<strong class="sound_only">필수</strong></label>
|
||||
<input type="text" name="mb_hp" id="mb_hp" required class="fs_input required" size="30" maxlength="20">
|
||||
<button type="button" id="win_kcpcert">휴대폰인증</button>
|
||||
<input type="text" name="mb_name" id="mb_name" required class="frm_input hangul nospace required" size="10">
|
||||
<label for="mb_hp" id="mb_hp_label">핸드폰번호<strong class="sound_only">필수</strong></label>
|
||||
<input type="text" name="mb_hp" id="mb_hp" required class="frm_input required" size="12" maxlength="20">
|
||||
<button type="button" id="win_kcpcert" class="btn_submit">휴대폰인증</button>
|
||||
<noscript>휴대폰인증을 위해서는 자바스크립트 사용이 가능해야합니다.</noscript>
|
||||
</fieldset>
|
||||
<?=captcha_html(); ?>
|
||||
<?=captcha_html();?>
|
||||
<div class="btn_win">
|
||||
<input type="submit" class="btn_submit" value="확인">
|
||||
<a href="javascript:window.close();" class="btn_cancel">창닫기</a>
|
||||
|
||||
@ -5,12 +5,12 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
if(!(int)$pl_count = get_cookie('ck_passwordlost_count')) {
|
||||
set_cookie('ck_passwordlost_count', 1, 60*60*1);
|
||||
} else {
|
||||
if($pl_count > 2) {
|
||||
alert_close('아이디/패스워드 찾기를 기준회수이상 시도하였습니다.');
|
||||
} else {
|
||||
$pl_count++;
|
||||
set_cookie('ck_passwordlost_count', $pl_count, 60*60*1);
|
||||
}
|
||||
//if($pl_count > 2) {
|
||||
// alert_close('아이디/패스워드 찾기를 기준 횟수 이상 시도하였습니다.');
|
||||
//} else {
|
||||
// $pl_count++;
|
||||
// set_cookie('ck_passwordlost_count', $pl_count, 60*60*1);
|
||||
//}
|
||||
}
|
||||
|
||||
$mb_name = trim($_POST['mb_name']);
|
||||
@ -61,27 +61,27 @@ $sql = " update {$g4['member_table']}
|
||||
where mb_id = '{$mb['mb_id']}' ";
|
||||
sql_query($sql);
|
||||
|
||||
$g4['title'] = '회원아이디/패스워드 찾기';
|
||||
$g4['title'] = '회원정보 찾기 결과';
|
||||
include_once(G4_PATH.'/head.sub.php');
|
||||
?>
|
||||
|
||||
<div id="find_info" class="new_win">
|
||||
<h1>아이디/패스워드 찾기</h1>
|
||||
<div id="find_info_result" class="new_win">
|
||||
<h1>회원정보 찾기 결과</h1>
|
||||
|
||||
<form name="fpasswordlost" action="<?=$action_url?>" onsubmit="return fpasswordlost_submit(this);" method="post" autocomplete="off">
|
||||
<fieldset id="find_info_fs">
|
||||
<div id="find_info_result_wrap">
|
||||
<p>
|
||||
회원님의 아이디와 변경된 패스워드입니다.<br>
|
||||
로그인 후 패스워드를 변경해 주세요.
|
||||
</p>
|
||||
<div>
|
||||
<div> 아이디 : <?=$mb['mb_id']?></div>
|
||||
<div> 패스워드 : <?=$change_password?></div>
|
||||
<ul>
|
||||
<li><span>아이디</span> <?=$mb['mb_id']?></li>
|
||||
<li><span>패스워드</span> <strong><?=$change_password?></strong></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="btn_win">
|
||||
<a href="javascript:window.close();" class="btn_cancel">확인</a>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
||||
<?php
|
||||
|
||||
@ -94,7 +94,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<input type="hidden" name="kcpcert_time" value="<?=$member['mb_hp_certify']?>">
|
||||
<input type="hidden" name="old_mb_hp" value="<?=$member['mb_hp']?>">
|
||||
<input type="text" name="mb_hp" value="<?=$member['mb_hp']?>" id="reg_mb_hp" required class="frm_input required" maxlength="20">
|
||||
<button type="button" id="win_kcpcert">휴대폰인증</button>
|
||||
<button type="button" id="win_kcpcert" class="btn_frmline">휴대폰인증</button>
|
||||
<noscript>휴대폰인증을 위해서는 자바스크립트 사용이 가능해야합니다.</noscript>
|
||||
</td>
|
||||
</tr>
|
||||
@ -210,7 +210,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
<div class="btn_confirm">
|
||||
<input type="submit" value="<?=$w==''?'회원가입':'정보수정';?>" class="btn_submit" accesskey="s">
|
||||
<a href="<?=$g4['path']?>/" class="btn_cancel">취소</a>
|
||||
<a href="<?=G4_URL?>/" class="btn_cancel">취소</a>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user