g4s 2013-03-21일자 코드 반영
This commit is contained in:
@ -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 type="text" name="stx" value="<?=stripslashes($stx)?>" title="검색어(필수)" required class="fs_input required" size="15" maxlength="15">
|
||||
<input type="submit" value="검색" class="fs_submit">
|
||||
<input type="text" name="stx" value="<?=stripslashes($stx)?>" title="검색어(필수)" required class="frm_input required" size="15" maxlength="15">
|
||||
<input type="submit" value="검색" class="btn_submit">
|
||||
</form>
|
||||
</fieldset>
|
||||
|
||||
|
||||
@ -40,7 +40,7 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
if (isset($view['file'][$i]['source']) && $view['file'][$i]['source'] && !$view['file'][$i]['view']) {
|
||||
?>
|
||||
<li>
|
||||
<a href="<? echo $view['file'][$i]['href']; ?>" onclick="javascript:file_download('<? echo $view['file'][$i]['href'].'&confirm=yes'; ?>', '<?=$view['file'][$i]['source']?>'); return false;">
|
||||
<a href="<? echo $view['file'][$i]['href']; ?>" class="view_file_download">
|
||||
<img src="<?=$board_skin_url?>/img/icon_file.gif" alt="첨부파일">
|
||||
<strong><?=$view['file'][$i]['source']?></strong>
|
||||
<span> (<?=$view['file'][$i]['size']?>)</span>
|
||||
@ -184,10 +184,22 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
|
||||
|
||||
<script>
|
||||
function file_download(link, file) {
|
||||
<? if ($board['bo_download_point'] < 0) { ?>if (confirm("'"+file+"' 파일을 다운로드 하시면 포인트가 차감(<?=number_format($board['bo_download_point'])?>점)됩니다.\n\n포인트는 게시물당 한번만 차감되며 다음에 다시 다운로드 하셔도 중복하여 차감하지 않습니다.\n\n그래도 다운로드 하시겠습니까?"))<?}?>
|
||||
document.location.href=link;
|
||||
}
|
||||
<? if ($board['bo_download_point'] < 0) { ?>
|
||||
$(function() {
|
||||
$("a.view_file_download").click(function() {
|
||||
var msg = "파일을 다운로드 하시면 포인트가 차감(<?=number_format($board['bo_download_point'])?>점)됩니다.\n\n포인트는 게시물당 한번만 차감되며 다음에 다시 다운로드 하셔도 중복하여 차감하지 않습니다.\n\n그래도 다운로드 하시겠습니까?";
|
||||
|
||||
if(confirm(msg)) {
|
||||
var href = $(this).attr("href")+"&js=on";
|
||||
$(this).attr("href", href);
|
||||
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
});
|
||||
});
|
||||
<?}?>
|
||||
|
||||
function board_move(href)
|
||||
{
|
||||
|
||||
@ -62,7 +62,7 @@ var char_max = parseInt(<?=$comment_max?>); // 최대
|
||||
<ul class="bo_vc_act">
|
||||
<? if ($list[$i]['is_reply']) { ?><li><a href="<? echo $c_reply_href; ?>" onclick="comment_box('<?=$comment_id?>', 'c'); return false;">답변</a></li><? } ?>
|
||||
<? if ($list[$i]['is_edit']) { ?><li><a href="<? echo $c_edit_href; ?>" onclick="comment_box('<?=$comment_id?>', 'cu'); return false;">수정</a></li><? } ?>
|
||||
<? if ($list[$i]['is_del']) { ?><li><a href="<? echo $list[$i]['del_link']; ?>" onclick="comment_delete('<?=$list[$i]['del_link']?>'); return false;">삭제</a></li><? } ?>
|
||||
<? if ($list[$i]['is_del']) { ?><li><a href="<? echo $list[$i]['del_link']; ?>" onclick="return comment_delete();">삭제</a></li><? } ?>
|
||||
</ul>
|
||||
</footer>
|
||||
<? } ?>
|
||||
@ -195,17 +195,17 @@ var char_max = parseInt(<?=$comment_max?>); // 최대
|
||||
var cnt = parseInt(document.getElementById('char_count').innerHTML);
|
||||
if (char_min > 0 && char_min > cnt)
|
||||
{
|
||||
alert("댓글는 "+char_min+"글자 이상 쓰셔야 합니다.");
|
||||
alert("댓글은 "+char_min+"글자 이상 쓰셔야 합니다.");
|
||||
return false;
|
||||
} else if (char_max > 0 && char_max < cnt)
|
||||
{
|
||||
alert("댓글는 "+char_max+"글자 이하로 쓰셔야 합니다.");
|
||||
alert("댓글은 "+char_max+"글자 이하로 쓰셔야 합니다.");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else if (!document.getElementById('wr_content').value)
|
||||
{
|
||||
alert("댓글를 입력하여 주십시오.");
|
||||
alert("댓글을 입력하여 주십시오.");
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -279,9 +279,9 @@ var char_max = parseInt(<?=$comment_max?>); // 최대
|
||||
}
|
||||
}
|
||||
|
||||
function comment_delete(url)
|
||||
function comment_delete()
|
||||
{
|
||||
if (confirm("이 댓글를 삭제하시겠습니까?")) location.href = url;
|
||||
return confirm("이 댓글을 삭제하시겠습니까?");
|
||||
}
|
||||
|
||||
comment_box('', 'c'); // 댓글 입력폼이 보이도록 처리하기위해서 추가 (root님)
|
||||
|
||||
@ -161,21 +161,6 @@ if ($is_admin)
|
||||
}
|
||||
?>
|
||||
|
||||
with (document.fwrite)
|
||||
{
|
||||
if (typeof(wr_name) != "undefined")
|
||||
wr_name.focus();
|
||||
else if (typeof(wr_subject) != "undefined")
|
||||
wr_subject.focus();
|
||||
else if (typeof(wr_content) != "undefined")
|
||||
wr_content.focus();
|
||||
|
||||
if (typeof(ca_name) != "undefined")
|
||||
if (w.value == "u") {
|
||||
ca_name.value = "<?=isset($write['ca_name'])?$write['ca_name']:'';?>";
|
||||
}
|
||||
}
|
||||
|
||||
function html_auto_br(obj)
|
||||
{
|
||||
if (obj.checked) {
|
||||
|
||||
@ -46,13 +46,13 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
|
||||
<ul id="bo_img_list">
|
||||
<? for ($i=0; $i<count($list); $i++) {
|
||||
if($i>0 && ($i % $board['bo_gallery_cols'] == 0))
|
||||
if($i>0 && ($i % $bo_gallery_cols == 0))
|
||||
$style = 'clear:both;';
|
||||
else
|
||||
$style = '';
|
||||
if ($i == 0) $k = 0;
|
||||
$k += 1;
|
||||
if ($k % $board['bo_gallery_cols'] == 0) $style .= "margin:0 !important;";
|
||||
if ($k % $bo_gallery_cols == 0) $style .= "margin:0 !important;";
|
||||
?>
|
||||
<li class="bo_img_list_li <? if ($wr_id == $list[$i]['wr_id']) { ?>bo_img_now<? } ?>" style="<?=$style?>">
|
||||
<? if ($is_checkbox) { ?><input type="checkbox" name="chk_wr_id[]" value="<?=$list[$i]['wr_id']?>" title="<?=$list[$i]['wr_subject']?> 선택"><? } ?>
|
||||
@ -72,13 +72,10 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
<strong style="width:<?=$board['bo_gallery_width']?>px;height:<?=$board['bo_gallery_height']?>px">공지</strong>
|
||||
<?
|
||||
} else {
|
||||
$file = get_list_file($bo_table, $list[$i]['wr_id']);
|
||||
$thumb = get_list_thumbnail($board['bo_table'], $list[$i]['wr_id'], $board['bo_gallery_width'], $board['bo_gallery_height']);
|
||||
|
||||
$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'].'">';
|
||||
if($thumb['src']) {
|
||||
$img_content = '<img src="'.$thumb['src'].'" alt="'.$thumb['alt'].'" 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>';
|
||||
}
|
||||
@ -168,8 +165,8 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
<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 type="text" name="stx" value="<?=stripslashes($stx)?>" title="검색어(필수)" required class="fs_input required" size="15" maxlength="15">
|
||||
<input type="submit" class="fs_submit" value="검색">
|
||||
<input type="text" name="stx" value="<?=stripslashes($stx)?>" title="검색어(필수)" required class="frm_input required" size="15" maxlength="15">
|
||||
<input type="submit" value="검색" class="btn_submit">
|
||||
</form>
|
||||
</fieldset>
|
||||
|
||||
|
||||
@ -53,7 +53,6 @@
|
||||
.td_num strong {color:#000}
|
||||
.bo_cate_link {display:inline-block;margin:0 3px 0 0;padding:0 6px 0 0;border-right:1px solid #e7f1ed;color:#999 !important;font-weight:bold;text-decoration:none} /* 글제목줄 분류스타일 */
|
||||
.bo_current {color:#e8180c}
|
||||
.cnt_cmt {font-weight:bold}
|
||||
|
||||
#bo_sch {margin-bottom:10px;padding-top:5px;text-align:center}
|
||||
#bo_sch legend {width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
|
||||
|
||||
@ -40,7 +40,7 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
if (isset($view['file'][$i]['source']) && $view['file'][$i]['source'] && !$view['file'][$i]['view']) {
|
||||
?>
|
||||
<li>
|
||||
<a href="<? echo $view['file'][$i]['href']; ?>" onclick="javascript:file_download('<? echo $view['file'][$i]['href'].'&confirm=yes'; ?>', '<?=$view['file'][$i]['source']?>'); return false;">
|
||||
<a href="<? echo $view['file'][$i]['href']; ?>" class="view_file_download">
|
||||
<img src="<?=$board_skin_url?>/img/icon_file.gif" alt="첨부파일">
|
||||
<strong><?=$view['file'][$i]['source']?></strong>
|
||||
<span> (<?=$view['file'][$i]['size']?>)</span>
|
||||
@ -182,10 +182,22 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
|
||||
|
||||
<script>
|
||||
function file_download(link, file) {
|
||||
<? if ($board['bo_download_point'] < 0) { ?>if (confirm("'"+file+"' 파일을 다운로드 하시면 포인트가 차감(<?=number_format($board['bo_download_point'])?>점)됩니다.\n\n포인트는 게시물당 한번만 차감되며 다음에 다시 다운로드 하셔도 중복하여 차감하지 않습니다.\n\n그래도 다운로드 하시겠습니까?"))<?}?>
|
||||
document.location.href=link;
|
||||
}
|
||||
<? if ($board['bo_download_point'] < 0) { ?>
|
||||
$(function() {
|
||||
$("a.view_file_download").click(function() {
|
||||
var msg = "파일을 다운로드 하시면 포인트가 차감(<?=number_format($board['bo_download_point'])?>점)됩니다.\n\n포인트는 게시물당 한번만 차감되며 다음에 다시 다운로드 하셔도 중복하여 차감하지 않습니다.\n\n그래도 다운로드 하시겠습니까?";
|
||||
|
||||
if(confirm(msg)) {
|
||||
var href = $(this).attr("href")+"&js=on";
|
||||
$(this).attr("href", href);
|
||||
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
});
|
||||
});
|
||||
<?}?>
|
||||
|
||||
function board_move(href)
|
||||
{
|
||||
|
||||
@ -62,7 +62,7 @@ var char_max = parseInt(<?=$comment_max?>); // 최대
|
||||
<ul class="bo_vc_act">
|
||||
<? if ($list[$i]['is_reply']) { ?><li><a href="<? echo $c_reply_href; ?>" onclick="comment_box('<?=$comment_id?>', 'c'); return false;">답변</a></li><? } ?>
|
||||
<? if ($list[$i]['is_edit']) { ?><li><a href="<? echo $c_edit_href; ?>" onclick="comment_box('<?=$comment_id?>', 'cu'); return false;">수정</a></li><? } ?>
|
||||
<? if ($list[$i]['is_del']) { ?><li><a href="<? echo $list[$i]['del_link']; ?>" onclick="comment_delete('<?=$list[$i]['del_link']?>'); return false;">삭제</a></li><? } ?>
|
||||
<? if ($list[$i]['is_del']) { ?><li><a href="<? echo $list[$i]['del_link']; ?>" onclick="return comment_delete();">삭제</a></li><? } ?>
|
||||
</ul>
|
||||
</footer>
|
||||
<? } ?>
|
||||
@ -195,17 +195,17 @@ var char_max = parseInt(<?=$comment_max?>); // 최대
|
||||
var cnt = parseInt(document.getElementById('char_count').innerHTML);
|
||||
if (char_min > 0 && char_min > cnt)
|
||||
{
|
||||
alert("댓글는 "+char_min+"글자 이상 쓰셔야 합니다.");
|
||||
alert("댓글은 "+char_min+"글자 이상 쓰셔야 합니다.");
|
||||
return false;
|
||||
} else if (char_max > 0 && char_max < cnt)
|
||||
{
|
||||
alert("댓글는 "+char_max+"글자 이하로 쓰셔야 합니다.");
|
||||
alert("댓글은 "+char_max+"글자 이하로 쓰셔야 합니다.");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else if (!document.getElementById('wr_content').value)
|
||||
{
|
||||
alert("댓글를 입력하여 주십시오.");
|
||||
alert("댓글을 입력하여 주십시오.");
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -279,9 +279,9 @@ var char_max = parseInt(<?=$comment_max?>); // 최대
|
||||
}
|
||||
}
|
||||
|
||||
function comment_delete(url)
|
||||
function comment_delete()
|
||||
{
|
||||
if (confirm("이 댓글를 삭제하시겠습니까?")) location.href = url;
|
||||
return confirm("이 댓글을 삭제하시겠습니까?");
|
||||
}
|
||||
|
||||
comment_box('', 'c'); // 댓글 입력폼이 보이도록 처리하기위해서 추가 (root님)
|
||||
|
||||
@ -2,8 +2,6 @@
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<link rel="stylesheet" href="<?=$latest_skin_url?>/style.css">
|
||||
|
||||
<div class="lt">
|
||||
<strong class="lt_title"><a href="<?=G4_BBS_URL?>/board.php?bo_table=<?=$bo_table?>"><?=$bo_subject?></a></strong>
|
||||
<ul>
|
||||
|
||||
@ -44,7 +44,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="file1">첨부 1</label></th>
|
||||
<td><input type="file"name="file1" id="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>
|
||||
|
||||
@ -19,8 +19,8 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<span id="mb_confirm_id"><?=$member[mb_id]?></span>
|
||||
|
||||
<label for="confirm_mb_password">패스워드<strong class="sound_only">필수</strong></label>
|
||||
<input type="password" name="mb_password" id="confirm_mb_password" required class="required fs_input" size="15" maxLength="20">
|
||||
<input type="submit" value="확인" id="btn_submit" class="fs_submit">
|
||||
<input type="password" name="mb_password" id="confirm_mb_password" required class="required frm_input" size="15" maxLength="20">
|
||||
<input type="submit" value="확인" id="btn_submit" class="btn_submit">
|
||||
</fieldset>
|
||||
|
||||
</form>
|
||||
|
||||
@ -33,8 +33,8 @@ else $g4['title'] = $g4['title'];
|
||||
|
||||
<fieldset>
|
||||
<label for="pw_wr_password">패스워드<strong class="sound_only">필수</strong></label>
|
||||
<input type="password" name="wr_password" id="password_wr_password" required class="fs_input required" size="15" maxLength="20">
|
||||
<input type="submit" value="확인" class="fs_submit">
|
||||
<input type="password" name="wr_password" id="password_wr_password" required class="frm_input required" size="15" maxLength="20">
|
||||
<input type="submit" value="확인" class="btn_submit">
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
|
||||
@ -60,7 +60,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<? } ?>
|
||||
|
||||
<tr>
|
||||
<th scope="row"><label for="reg_mb_email">E-mail<? if ($config['cf_use_email_certify']) {?><strong class="sound_only">필수</strong><?}?></label></th>
|
||||
<th scope="row"><label for="reg_mb_email">E-mail<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<? if ($config['cf_use_email_certify']) { ?>
|
||||
<span class="frm_info">
|
||||
@ -69,28 +69,28 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
</span>
|
||||
<? } ?>
|
||||
<input type="hidden" name="old_email" value="<?=$member['mb_email']?>">
|
||||
<input type="text" name="mb_email" value="<?=isset($member['mb_email'])?$member['mb_email']:'';?>" id="reg_mb_email" class="frm_input email <?=$config['cf_use_email_certify']?"required":"";?>" size="50" maxlength="100" <?=$config['cf_use_email_certify']?"required":"";?>>
|
||||
<input type="text" name="mb_email" value="<?=isset($member['mb_email'])?$member['mb_email']:'';?>" id="reg_mb_email" required class="frm_input email required" size="50" 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" name="mb_homepage" value="<?=$member['mb_homepage']?>" id="reg_mb_homepage" class="frm_input <?=$config['cf_req_homepage']?"required":"";?>" size="50" maxlength="255" <?=$config['cf_req_homepage']?"required":"";?>></td>
|
||||
<td><input type="text" name="mb_homepage" value="<?=$member['mb_homepage']?>" id="reg_mb_homepage" <?=$config['cf_req_homepage']?"required":"";?> class="frm_input <?=$config['cf_req_homepage']?"required":"";?>" size="50" maxlength="255"></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" 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>
|
||||
<td><input type="text" name="mb_tel" value="<?=$member['mb_tel']?>" id="reg_mb_tel" <?=$config['cf_req_tel']?"required":"";?> class="frm_input <?=$config['cf_req_tel']?"required":"";?>" maxlength="20"></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
|
||||
<? if ($config['cf_use_hp']) { ?>
|
||||
<tr>
|
||||
<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" 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>
|
||||
<td><input type="text" name="mb_hp" value="<?=$member[mb_hp]?>" id="reg_mb_hp" <?=$config['cf_req_hp']?"required":"";?> class="frm_input <?=$config['cf_req_hp']?"required":"";?>" maxlength="20"></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" name="mb_zip1" value="<?=$member['mb_zip1']?>" id="reg_mb_zip1" title="우편번호 앞자리" class="frm_input <?=$config['cf_req_addr']?"required":"";?>" size="2" maxlength="3" <?=$config['cf_req_addr']?"required":"";?>>
|
||||
-
|
||||
<input type="text" name="mb_zip2" value="<?=$member['mb_zip2']?>" id="reg_mb_zip2" title="우편번호 뒷자리" class="frm_input <?=$config['cf_req_addr']?"required":"";?>" size="2" maxlength="3" <?=$config['cf_req_addr']?"required":"";?>>
|
||||
<input type="text" name="mb_zip1" value="<?=$member['mb_zip1']?>" id="reg_mb_zip1" <?=$config['cf_req_addr']?"required":"";?> title="우편번호 앞자리<?=$config['cf_req_addr']?"(필수)":"";?>" class="frm_input <?=$config['cf_req_addr']?"required":"";?>" size="2" maxlength="3">
|
||||
-
|
||||
<input type="text" name="mb_zip2" value="<?=$member['mb_zip2']?>" id="reg_mb_zip2" <?=$config['cf_req_addr']?"required":"";?> title="우편번호 뒷자리<?=$config['cf_req_addr']?"(필수)":"";?>" class="frm_input <?=$config['cf_req_addr']?"required":"";?>" size="2" maxlength="3">
|
||||
<a href="<? echo $zip_href; ?>" id="reg_zip_find" class="btn_frmline win_zip_find" target="_blank">주소찾기</a>
|
||||
<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":"";?>" size="50" <?=$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":"";?>" size="50" <?=$config['cf_req_addr']?"required":"";?>>
|
||||
<input type="text" name="mb_addr1" value="<?=$member['mb_addr1']?>" id="reg_mb_addr1" <?=$config['cf_req_addr']?"required":"";?> title="행정구역주소<?=$config['cf_req_addr']?"(필수)":"";?>" class="frm_input frm_address <?=$config['cf_req_addr']?"required":"";?>" size="50">
|
||||
<input type="text" name="mb_addr2" value="<?=$member['mb_addr2']?>" id="reg_mb_addr2" <?=$config['cf_req_addr']?"required":"";?> title="상세주소<?=$config['cf_req_addr']?"(필수)":"";?>" class="frm_input frm_address <?=$config['cf_req_addr']?"required":"";?>" size="50">
|
||||
</td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
@ -119,18 +119,18 @@ 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 name="mb_signature" id="reg_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" <?=$config['cf_req_signature']?"required":"";?> class="<?=$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 name="mb_profile" id="reg_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" <?=$config['cf_req_profile']?"required":"";?> class="<?=$config['cf_req_profile']?"required":"";?>"><?=$member['mb_profile']?></textarea></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
|
||||
<? if ($member['mb_level'] >= $config['cf_icon_level']) { ?>
|
||||
<? if ($config['cf_use_member_icon'] && $member['mb_level'] >= $config['cf_icon_level']) { ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="reg_mb_icon">회원아이콘</label></th>
|
||||
<td>
|
||||
|
||||
@ -14,8 +14,8 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
<fieldset>
|
||||
<label for="addr1">동/읍/면/리 검색</label>
|
||||
<input type="text" name="addr1" value="<?=$addr1?>" id="addr1" required class="required fs_input" minlength="2">
|
||||
<input type="submit" value="검색" class="fs_submit">
|
||||
<input type="text" name="addr1" value="<?=$addr1?>" id="addr1" required class="required frm_input" minlength="2">
|
||||
<input type="submit" value="검색" class="btn_submit">
|
||||
</fieldset>
|
||||
|
||||
<!-- 검색결과 여기서부터 -->
|
||||
|
||||
@ -44,7 +44,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="file1">첨부 1</label></th>
|
||||
<td><input type="file"name="file1" id="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>
|
||||
|
||||
@ -19,8 +19,8 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<span id="mb_confirm_id"><?=$member[mb_id]?></span>
|
||||
|
||||
<label for="confirm_mb_password">패스워드<strong class="sound_only">필수</strong></label>
|
||||
<input type="password" name="mb_password" id="confirm_mb_password" required class="required fs_input" size="15" maxLength="20">
|
||||
<input type="submit" value="확인" id="btn_submit" class="fs_submit">
|
||||
<input type="password" name="mb_password" id="confirm_mb_password" required class="required frm_input" size="15" maxLength="20">
|
||||
<input type="submit" value="확인" id="btn_submit" class="btn_submit">
|
||||
</fieldset>
|
||||
|
||||
</form>
|
||||
|
||||
@ -33,8 +33,8 @@ else $g4['title'] = $g4['title'];
|
||||
|
||||
<fieldset>
|
||||
<label for="pw_wr_password">패스워드<strong class="sound_only">필수</strong></label>
|
||||
<input type="password" name="wr_password" id="password_wr_password" required class="fs_input required" size="15" maxLength="20">
|
||||
<input type="submit" value="확인" class="fs_submit">
|
||||
<input type="password" name="wr_password" id="password_wr_password" required class="frm_input required" size="15" maxLength="20">
|
||||
<input type="submit" value="확인" class="btn_submit">
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
|
||||
@ -60,10 +60,10 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<? } ?>
|
||||
|
||||
<tr>
|
||||
<th scope="row"><label for="reg_mb_email">E-mail<? if ($config['cf_use_email_certify']) {?><strong class="sound_only">필수</strong><?}?></label></th>
|
||||
<th scope="row"><label for="reg_mb_email">E-mail<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<input type="hidden" name="old_email" value="<?=$member['mb_email']?>">
|
||||
<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":"";?>" size="50" maxlength="100">
|
||||
<input type="text" name="mb_email" value='<?=isset($member['mb_email'])?$member['mb_email']:'';?>' id="reg_mb_email" required class="frm_input email required" size="50" maxlength="100">
|
||||
<? if ($config['cf_use_email_certify']) { ?>
|
||||
<span class="frm_info">
|
||||
<? if ($w=='') { echo "E-mail 로 발송된 내용을 확인한 후 인증하셔야 회원가입이 완료됩니다."; } ?>
|
||||
@ -109,7 +109,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" name="mb_zip1"value="<?=$member['mb_zip1']?>" id="reg_mb_zip1" title="우편번호 앞자리" class="frm_input <?=$config['cf_req_addr']?"required":"";?>" size="2" maxlength="3" <?=$config['cf_req_addr']?"required":"";?> >
|
||||
-
|
||||
-
|
||||
<input type="text" name="mb_zip2" value="<?=$member['mb_zip2']?>" id="reg_mb_zip2" title="우편번호 뒷자리" class="frm_input <?=$config['cf_req_addr']?"required":"";?>" size="2" maxlength="3" <?=$config['cf_req_addr']?"required":"";?>>
|
||||
<a href="<? echo $zip_href; ?>" target="_blank" id="reg_zip_find" class="btn_frmline win_zip_find">주소찾기</a>
|
||||
<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":"";?>" size="50" <?=$config['cf_req_addr']?"required":"";?>>
|
||||
@ -135,7 +135,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
</tr>
|
||||
<? } ?>
|
||||
|
||||
<? if ($member['mb_level'] >= $config['cf_icon_level']) { ?>
|
||||
<? if ($config['cf_use_member_icon'] && $member['mb_level'] >= $config['cf_icon_level']) { ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="reg_mb_icon">회원아이콘</label></th>
|
||||
<td>
|
||||
|
||||
@ -14,8 +14,8 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
<fieldset>
|
||||
<label for="addr1">동/읍/면/리 검색</label>
|
||||
<input type="text" name="addr1" value="<?=$addr1?>" id="addr1" required class="required fs_input" minlength="2">
|
||||
<input type="submit" value="검색" class="fs_submit">
|
||||
<input type="text" name="addr1" value="<?=$addr1?>" id="addr1" required class="required frm_input" minlength="2">
|
||||
<input type="submit" value="검색" class="btn_submit">
|
||||
</fieldset>
|
||||
|
||||
<!-- 검색결과 여기서부터 -->
|
||||
|
||||
@ -7,10 +7,10 @@
|
||||
#ol_before fieldset {position:relative}
|
||||
#ol_id {display:block;margin:0 0 5px !important;margin:0 0 3px;padding:0 5px;width:168px;height:22px;border:1px solid #b8c9c2;background:#f7f7f7;line-height:1.6em}
|
||||
#ol_id:focus {border-color:#333;background:#21272e;color:#fff}
|
||||
.ol_idlabel {position:absolute;top:6px;left:5px;color:#333;font-size:0.9em}
|
||||
.ol_idlabel {position:absolute;top:6px;left:5px;color:#333;font-size:0.95em}
|
||||
#ol_pw {display:block;margin:0 0 5px !important;margin:0 0 3px;padding:0 5px;width:168px;height:22px;border:1px solid #b8c9c2;background:#f7f7f7;vertical-align:top;line-height:1.6em}
|
||||
#ol_pw:focus {border-color:#333;background:#21272e;color:#fff}
|
||||
.ol_pwlabel {position:absolute;top:35px;left:5px;color:#333;font-size:0.9em}
|
||||
.ol_pwlabel {position:absolute;top:35px;left:5px;color:#333;font-size:0.95em}
|
||||
#auto_login {}
|
||||
#auto_login_label {letter-spacing:-0.1em}
|
||||
#ol_submit {display:inline-block;width:60px;height:24px;border:0;background:#333;color:#fff;font-size:0.9em;font-weight:bold;vertical-align:top}
|
||||
|
||||
@ -1,16 +1,5 @@
|
||||
<?
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
|
||||
global $is_admin;
|
||||
|
||||
// 투표번호가 넘어오지 않았다면 가장 큰(최근에 등록한) 투표번호를 얻는다
|
||||
if (!$po_id) {
|
||||
$po_id = $config['cf_max_po_id'];
|
||||
|
||||
if (!$po_id) return;
|
||||
}
|
||||
|
||||
$po = sql_fetch(" select * from {$g4['poll_table']} where po_id = '$po_id' ");
|
||||
?>
|
||||
|
||||
<form name="fpoll" action="<?=G4_BBS_URL?>/poll_update.php" onsubmit="return fpoll_submit(this);" target="win_poll" method="post">
|
||||
@ -55,7 +44,7 @@ function fpoll_submit(f)
|
||||
return false;
|
||||
}
|
||||
|
||||
win_poll();
|
||||
win_poll(f.action);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@ -17,8 +17,8 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<option value="wr_name"<?=get_selected($_GET['sfl'], "wr_name")?>>이름</option>
|
||||
</select>
|
||||
|
||||
<input type="text" name="stx" value="<?=$text_stx?>" title="검색어(필수)" class="fs_input" required class="required" maxlength="20">
|
||||
<input type="submit" class="fs_submit" value="검색">
|
||||
<input type="text" name="stx" value="<?=$text_stx?>" title="검색어(필수)" class="frm_input" required class="required" maxlength="20">
|
||||
<input type="submit" class="btn_submit" value="검색">
|
||||
|
||||
<script>
|
||||
function fsearch_submit(f)
|
||||
|
||||
Reference in New Issue
Block a user