Merge branch 'master' of github.com:gnuboard/g4s

This commit is contained in:
chicpro
2013-03-06 13:18:54 +09:00
13 changed files with 65 additions and 57 deletions

View File

@ -57,6 +57,7 @@ function imageview(id, w, h)
}
</script>
<? if ($is_member) { ?><span class="sound_only" style="position:absolute;top:0;left:0"><?=$member['mb_nick']?>님 로그인 중</span><? } ?>
<div id="to_content"><a href="#wrapper">본문 바로가기</a></div>
<header id="hd">

View File

@ -122,7 +122,7 @@ class gcaptcha
$this->captcha_filename = $this->get_captcha_filename();
imagejpeg($im, G4_DATA_PATH.'/cache/gcaptcha-'.$this->captcha_filename.'.jpg');
imagejpeg($im, G4_DATA_PATH.'/cache/'.$this->captcha_filename.'.jpg');
imagedestroy($im);
$this->make_wav($this->captcha_filename.'.wav');
@ -130,7 +130,7 @@ class gcaptcha
function get_captcha_filename()
{
return 'gcaptcha-'.abs_ip2long().'_'.$_COOKIE['PHPSESSID'];
return 'gcaptcha-'.abs_ip2long().'_'.session_id();
}
function make_wav($captcha_filename)
@ -144,7 +144,7 @@ class gcaptcha
$wavs[] = $file;
}
$wav_filepath = G4_DATA_PATH.'/cache/gcaptcha-'.$captcha_filename;
$wav_filepath = G4_DATA_PATH.'/cache/'.$captcha_filename;
$fp = fopen($wav_filepath, 'w+');
fwrite($fp, join_wavs($wavs));
fclose($fp);
@ -165,15 +165,15 @@ $gcaptcha->run();
*/
// 캡챠이미지는 한개만 사용 가능함.
function captcha_html($class="captcha")
function captcha_html($class='captcha')
{
global $g4, $gcaptcha;
$obj = new gcaptcha();
$obj->run();
$jpg_file_url = G4_DATA_URL.'/cache/gcaptcha-'.$obj->captcha_filename.'.jpg';
$wav_file_url = G4_DATA_URL.'/cache/gcaptcha-'.$obj->captcha_filename.'.wav';
$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>';

View File

@ -3,7 +3,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
include_once(G4_GCAPTCHA_PATH.'/gcaptcha.lib.php');
$captcha_html = "";
if ($is_guest) {
if ($is_guest && $board['bo_comment_level'] < 2) {
$captcha_html = captcha_html('_comment');
}

View File

@ -34,14 +34,14 @@ a:active {color:#000;text-decoration:underline}
/* 상단 레이아웃 */
#hd {border-top:3px solid #151515;border-bottom:1px solid #e7f1ed;background:#fff}
#hd h1 {font-size:0;line-height:0;overflow:hidden}
#hd h1 {width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
#hd_wrapper {position:relative;margin:0 auto;width:980px}
#logo {padding:17px 0 17px 0}
#logo span {display:inline-block;margin-left:10px;color:#109ff1;font-family:"verdana";vertical-align:middle}
#schall {position:absolute;top:22px;left:70px;margin:0;padding:0;letter-spacing:-5px}
#schall legend {font-size:0;line-height:0;overflow:hidden}
#schall legend {width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
#schall_stx {padding-left:5px;width:156px;height:24px;border:1px solid #aaa;border-right:0;background:#f7f7f2;line-height:1.9em !important;line-height:1.6em}
#schall_submit {border:1px solid #aaa;border-left:0}
@ -56,7 +56,7 @@ a:active {color:#000;text-decoration:underline}
/* gnb js off */
#gnb {background:#f0f4f8}
#gnb h2 {margin:0;padding:0;font-size:0;line-height:0;overflow:hidden}
#gnb h2 {margin:0;padding:0;width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
#gnb_ul {z-index:10;margin:0 auto;padding:0;width:980px}
.gnb_1depth {position:relative;margin-left:-1px;zoom:1}
.gnb_1depth:after {display:block;visibility:hidden;clear:both;content:""}
@ -103,7 +103,7 @@ a:active {color:#000;text-decoration:underline}
/* 하단 레이아웃 */
#ft {background:#484848}
#ft h1 {font-size:0;line-height:0;overflow:hidden}
#ft h1 {width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
#popular {background:#515151}
#popular div {margin:0 auto;width:980px;zoom:1}
@ -315,7 +315,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff;
/* 쪽지 */
#memo_view section {margin:0 auto 20px;padding:20px;width:87%}
#memo_view section h2 {font-size:0;line-height:0;overflow:hidden}
#memo_view section h2 {width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
#memo_view_ul {margin:0;padding:0 0 10px;border-bottom:1px solid #eee;list-style:none}
.memo_view_li {position:relative;padding:5px 0}
.memo_view_subj {display:inline-block;width:65px}
@ -415,7 +415,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff;
/* 최근게시물 스킨 (new) */
#new_sch {margin-bottom:10px;text-align:right}
#new_sch legend {font-size:0;line-height:0;overflow:hidden}
#new_sch legend {width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
/* 전체검색결과 스킨 */
#sch_result_detail {margin:0;padding:15px 0;border:0;text-align:right}
@ -466,7 +466,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff;
/* 게시판 목록 */
#bo_list_title {margin-bottom:20px;font-size:1.2em;letter-spacing:-0.1em}
#bo_cate h2 {font-size:0;line-height:0;overflow:hidden}
#bo_cate h2 {width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
#bo_cate ul {margin-bottom:10px;padding-left:1px;width:728px;zoom:1}
#bo_cate ul:after {display:block;visibility:hidden;clear:both;content:""}
#bo_cate li {float:left;margin-bottom:-1px}
@ -504,7 +504,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff;
.cnt_cmt {font-weight:bold}
#bo_sch {margin-bottom:10px;padding-top:5px;text-align:center}
#bo_sch legend {font-size:0;line-height:0;overflow:hidden}
#bo_sch legend {width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
/* 게시판 읽기 */
#bo_v {margin-bottom:20px;padding-bottom:20px}
@ -583,7 +583,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff;
#bo_vc .sv_member,
#bo_vc .sv_guest {font-weight:bold}
.bo_vc_hdinfo {display:inline-block;margin:0 15px 0 5px}
#bo_vc h1 {font-size:0;line-height:0;overflow:hidden}
#bo_vc h1 {width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
#bo_vc a {color:#000;text-decoration:none}
#bo_vc p {padding:0 0 5px;line-height:1.8em}
#bo_vc p a {text-decoration:underline}

View File

@ -21,8 +21,10 @@ p {margin:0;padding:1em 0;line-height:1.7em;word-break:break-all}
hr {display:none}
pre {overflow-x:scroll;font-size:1.1em}
/* 웹접근성 스킬 --- 기본 block 속성에는 적용 안됨*/
/* 화면낭독기 사용자용 */
.sound_only {display:inline-block;margin:0;padding:0;width:0;height:0;font-size:0;line-height:0;overflow:hidden}
/* 본문 바로가기 */
#to_content a {z-index:100000;position:absolute;top:0;left:0;font-size:0;line-height:0;overflow:hidden}
/* 이미지 등비율 리사이징 */
.img_fix {float:left;width:100%;height:auto}
@ -39,7 +41,7 @@ pre {overflow-x:scroll;font-size:1.1em}
#logo {float:left;padding:0.3em 0;margin-left:1em}
#schall {position:absolute;top:0.7em;right:1em}
#schall_stx {padding-left:0.3em;width:100px;height:1.5em;border:1px solid #aaa;border-right:0;background:#f7f7f7;line-height:1.5em}
#schall_stx {padding-left:0.3em;width:100px;height:1.5em;border:1px solid #aaa;border-right:0;background:#f7f7f7;line-height:1.5em;-webkit-appearance:none}
#schall_submit {border:1px solid #aaa;border-left:0}
#snb {clear:both;border-top:1px solid #e7f1ed;background:#151515;text-align:center}
@ -91,7 +93,7 @@ pre {overflow-x:scroll;font-size:1.1em}
#visit dl {float:left;margin:0 0 0 0.5em;padding:0}
#visit dt {float:left;margin:0;padding:0.5em 0.1em 0.5em 0;color:#fff}
#visit dd {float:left;margin:0 1em 0 0;padding:0.5em 0.1em;color:#fff}
#visit a {display:inline-block;padding:1em;color:#fff;text-decoration:none}
#visit a {display:inline-block;padding:0.5em 0.1em;color:#fff;text-decoration:none}
#visit a:focus,
#visit a:hover {background:#333;color:#fff}
@ -205,8 +207,10 @@ input.required:focus {border:0;background:#21272e !important;color:#fff;line-hei
#ol_before {padding:0 0.5em}
#ol_before input[type=text],
#ol_before input[type=password] {display:block;margin-bottom:0.3em;padding:0;width:80%;height:1.8em;line-height:1.8em}
#ol_before input[type=password] {display:block;margin-bottom:0.3em;padding:0;width:80%;height:1.8em;border:1px solid #b8c9c2;background:#f7f7f7;vertical-align:middle;line-height:1.8em;-webkit-appearance:none}
#ol_before input[type=submit] {position:absolute;top:0em;right:0.5em;padding:0 !important;width:18%;height:4em;border:0;background:#333;color:#fff;letter-spacing:-0.1em;vertical-align:top;cursor:pointer;-webkit-appearance:none}
#ol_svc {margin:0.5em 0;text-align:right}
#ol_svc a {display:inline-block;margin:0 0 0 0.5em;color:#000;text-decoration:none;vertical-align:middle}
#ol_after {}
#ol_after_hd {}
@ -221,10 +225,8 @@ input.required:focus {border:0;background:#21272e !important;color:#fff;line-hei
#ol_after_private a strong {color:#000;font-weight:normal}
#ol_after_private a:nth-of-type(1) {border-right:1px solid #fff}
#ol_after_private a:nth-of-type(2) {border-right:1px solid #fff}
#ol_after_ft {margin-top:0.5em;text-align:justify}
#ol_after_ft a {display:inline-block;width:88px;height:22px;background:#333;color:#fff;text-align:center;line-height:1.8em}
#ol_after_ft a:focus,
#ol_after_ft a:hover {text-decoration:none !important}
#ol_after_ft {margin-top:0.5em;text-align:right}
#ol_after_ft a {display:inline-block;padding:0 2em;height:2em;background:#333;color:#fff;text-decoration:none;text-align:center;line-height:2em}
/* 로그인 */
#mb_login {margin:2em 0}

View File

@ -24,10 +24,12 @@ if ($config['cf_include_head']) {
?>
<header id="hd">
<div id="to_content"><a href="#container">본문 바로가기</a></div>
<? if ($is_member) { ?><span class="sound_only"><?=$member['mb_nick']?>님 로그인 중</span><? } ?>
<h1><?=$config['cf_title']?></h1>
<div id="to_content"><a href="#container">본문 바로가기</a></div>
<div id="hd_wrapper">
<div id="logo">

View File

@ -67,4 +67,4 @@ var g4_cookie_domain = "<?=G4_COOKIE_DOMAIN?>";
<? } ?>
<? if (!defined('G4_IS_ADMIN')) { echo $config['cf_add_script']; } ?>
</head>
<body>
<body>

View File

@ -12,8 +12,11 @@ include_once(G4_LIB_PATH.'/popular.lib.php');
<header id="hd">
<? if ($is_member) { ?><span class="sound_only"><?=$member['mb_nick']?>님 로그인 중</span><? } ?>
<h1><?=$config['cf_title']?></h1>
<div id="to_content"><a href="#container">본문 바로가기</a></div>
<div id="hd_wrapper">
<div id="logo">

View File

@ -12,10 +12,10 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<input type="password" id="ol_pw" name="mb_password" class="required" maxlength="20" required placeholder="패스워드(필수)" title="패스워드(필수)">
<input type="submit" id="ol_submit" value="로그인">
<div id="ol_svc">
<a href="<?=G4_BBS_URL?>/register.php"><b>회원가입</b></a>
<a href="<?=G4_BBS_URL?>/password_lost.php" id="ol_password_lost">정보찾기</a>
<input type="checkbox" id="auto_login" name="auto_login" value="1">
<label for="auto_login" id="auto_login_label">자동로그인</label>
<a href="<?=G4_BBS_URL?>/register.php"><b>회원가입</b></a>
<a href="<?=G4_BBS_URL?>/password_lost.php" id="ol_password_lost">정보찾기</a>
</div>
</fieldset>
</form>

View File

@ -15,7 +15,7 @@ if ($is_nogood) $colspan++;
<div id="bo_list" 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?>">
@ -53,7 +53,7 @@ if ($is_nogood) $colspan++;
<thead>
<tr>
<th scope="col">번호</th>
<? 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">글쓴이</th>
<th scope="col"><?=subject_sort_link('wr_datetime', $qstr2, 1)?>날짜</a></th>
@ -121,9 +121,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>
@ -160,8 +160,8 @@ 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="fs_input required" maxlength="15" size="15" required value="<?=stripslashes($stx)?>" title="검색어(필수)">
<input type="submit" class="fs_submit" value="검색">
<input type="text" name="stx" value="<?=stripslashes($stx)?>" title="검색어(필수)" required class="fs_input required" size="15" maxlength="15">
<input type="submit" value="검색" class="fs_submit">
</form>
</fieldset>

View File

@ -143,9 +143,9 @@ 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" onclick="win_scrap(this.href); return false;" class="btn_b01">스크랩</a><? } ?>
<? if ($good_href) {?><a href="<?=$good_href?>" class="btn_b01" target="hiddenframe">추천 <strong><?=number_format($view['wr_good'])?></strong></a><? } ?>
<? if ($nogood_href) {?><a href="<?=$nogood_href?>" class="btn_b01" target="hiddenframe">비추천 <strong><?=number_format($view['wr_nogood'])?></strong></a><? } ?>
<? 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?>" target="hiddenframe" class="btn_b01">추천 <strong><?=number_format($view['wr_good'])?></strong></a><? } ?>
<? if ($nogood_href) {?><a href="<?=$nogood_href?>" target="hiddenframe" class="btn_b01">비추천 <strong><?=number_format($view['wr_nogood'])?></strong></a><? } ?>
</div>
<? } else {
if($board['bo_use_good'] || $board['bo_use_nogood']) {

View File

@ -46,7 +46,7 @@ var char_max = parseInt(<?=$comment_max?>); // 최대
<span id="edit_<?=$comment_id?>"></span><!-- 수정 -->
<span id="reply_<?=$comment_id?>"></span><!-- 답변 -->
<input type="hidden" id="secret_comment_<?=$comment_id?>" value="<?=strstr($list[$i]['wr_option'],"secret")?>">
<input type="hidden" value="<?=strstr($list[$i]['wr_option'],"secret")?>" id="secret_comment_<?=$comment_id?>">
<textarea id="save_comment_<?=$comment_id?>" style="display:none"><?=get_text($list[$i]['content1'], 0)?></textarea>
<? if($list[$i]['is_reply'] || $list[$i]['is_edit'] || $list[$i]['is_del']) {
@ -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>

View File

@ -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 name="ca_name" id="ca_name" required class="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" accesskey="s" class="btn_submit">
<a href="./board.php?bo_table=<?=$bo_table?>" class="btn_cancel">취소</a>
</div>
</form>