Merge branch 'master' of github.com:gnuboard/g4s
This commit is contained in:
@ -171,13 +171,12 @@ for ($i=0; $row=mysql_fetch_array($result); $i++)
|
||||
break;
|
||||
}
|
||||
}
|
||||
$it_img = it_img_thumb($filename, G4_DATA_PATH.'/item/'.$row['it_id'], 50, 50);
|
||||
|
||||
echo "
|
||||
<input type='hidden' name='it_id[$i]' value='$row[it_id]'>
|
||||
<tr class='list$list'>
|
||||
<td>$row[it_id]</td>
|
||||
<td style='padding-top:5px; padding-bottom:5px;'><a href='$href'>".get_it_image("{$row['it_id']}/{$it_img}", 50, 50)."</a></td>
|
||||
<td style='padding-top:5px; padding-bottom:5px;'><a href='$href'>".get_it_image($row['it_id'], $filename, 50, 50)."</a></td>
|
||||
<td align=left>$tmp_ca_list<br><input type='text' name='it_name[$i]' value='".htmlspecialchars2(cut_str($row[it_name],250, ""))."' required size=40 class=ed></td>
|
||||
<td colspan=3>
|
||||
<table width=210 cellpadding=0 cellspacing=0>
|
||||
|
||||
@ -143,14 +143,30 @@ function get_image($img, $width=0, $height=0)
|
||||
}
|
||||
|
||||
// 상품 이미지를 얻는다
|
||||
function get_it_image($img, $width=0, $height=0, $id="")
|
||||
function get_it_image($dir, $img, $width, $height, $it_id="", $class="", $thumbnail=true)
|
||||
{
|
||||
global $g4;
|
||||
if($thumbnail && !$width)
|
||||
return "";
|
||||
|
||||
$str = get_image($img, $width, $height);
|
||||
if ($id) {
|
||||
$str = "<a href='".G4_SHOP_URL."/item.php?it_id=$id'>$str</a>";
|
||||
$src = G4_DATA_URL.'/item/'.$dir.'/'.$img;
|
||||
|
||||
if($thumbnail) {
|
||||
$filepath = G4_DATA_PATH.'/item/'.$dir;
|
||||
|
||||
if(file_exists($filepath.'/'.$img) && is_file($filepath.'/'.$img)) {
|
||||
$src = G4_DATA_URL.'/item/'.$dir.'/'.it_img_thumb($img, $filepath, $width, $height);
|
||||
}
|
||||
}
|
||||
|
||||
$str = "<img id=\"$img\" src=\"$src\" width=\"$width\" height=\"$height\"";
|
||||
if($class)
|
||||
$str .= " class=\"$class\"";
|
||||
$str .= " />";
|
||||
|
||||
if ($it_id) {
|
||||
$str = "<a href='".G4_SHOP_URL."/item.php?it_id=$it_id'>$str</a>";
|
||||
}
|
||||
|
||||
return $str;
|
||||
}
|
||||
|
||||
@ -209,16 +225,14 @@ function get_option_stock_qty($it_id, $opt_id, $is_option)
|
||||
// 큰 이미지
|
||||
function get_large_image($img, $it_id, $btn_image=true)
|
||||
{
|
||||
global $g4;
|
||||
|
||||
if (file_exists(G4_DATA_PATH."/item/$img") && $img != "")
|
||||
if (file_exists(G4_DATA_PATH."/item/$it_id/$img") && $img != "")
|
||||
{
|
||||
$size = getimagesize(G4_DATA_PATH."/item/$img");
|
||||
$size = getimagesize(G4_DATA_PATH."/item/$it_id/$img");
|
||||
$width = $size[0];
|
||||
$height = $size[1];
|
||||
$str = "<a href=\"".G4_SHOP_URL."/largeimage.php?it_id=".$it['it_id']."&img=".$img."\" target=\"_blank\" onclick=\"popup_large_image(this.href, $width, $height); return false;\">";
|
||||
$str = "<a href=\"".G4_SHOP_URL."/largeimage.php?it_id=".$it_id."&img=".$img."\" target=\"_blank\" onclick=\"popup_large_image(this.href, $width, $height); return false;\">";
|
||||
if ($btn_image)
|
||||
$str .= "<img src='$g4[shop_img_path]/btn_zoom.gif' border='0'></a>";
|
||||
$str .= "<img src='".G4_SHOP_IMG_URL."/btn_zoom.gif' border='0'></a>";
|
||||
}
|
||||
else
|
||||
$str = "";
|
||||
|
||||
@ -66,8 +66,8 @@ for ($i=1; $i<=$tv_idx; $i++)
|
||||
if(file_exists($tv_filepath.'/'.$tv_filename) && $tv_filename != "")
|
||||
break;
|
||||
}
|
||||
$tv_it_img = $tv_it_id.'/'.it_img_thumb($tv_filename, $tv_filepath, $tv_div['img_width'], $tv_div['img_height']);
|
||||
$img = get_it_image($tv_it_img, $tv_div['img_width'], $tv_div['img_height'], $tv_it_id);
|
||||
$img = get_it_image($tv_it_id, $tv_filename, $tv_div['img_width'], $tv_div['img_height'], $tv_it_id);
|
||||
$img = str_replace("\"", "\\\"", $img);
|
||||
$img = preg_replace("/\<a /", "<a title='$it_name' ", $img);
|
||||
echo "goods_link[$i] = \"{$img}<br/><span class=small>".cut_str($it_name,10,"")."</span>\";\n";
|
||||
}
|
||||
|
||||
@ -88,13 +88,23 @@ $sql = " select a.ct_id,
|
||||
b.it_option_use,
|
||||
b.it_supplement_use,
|
||||
b.it_nocoupon,
|
||||
b.it_notax
|
||||
b.it_notax,
|
||||
b.it_img1,
|
||||
b.it_img2,
|
||||
b.it_img3,
|
||||
b.it_img4,
|
||||
b.it_img5,
|
||||
b.it_img6,
|
||||
b.it_img7,
|
||||
b.it_img8,
|
||||
b.it_img9,
|
||||
b.it_img10
|
||||
from {$g4['yc4_cart_table']} as a left join {$g4['yc4_item_table']} as b on ( a.it_id = b.it_id )
|
||||
where $sql_where
|
||||
and a.ct_parent = '0'
|
||||
and a.ct_direct = '$sw_direct' ";
|
||||
|
||||
if($w == "selectedbuy")
|
||||
if($act == "selectedbuy")
|
||||
$sql .= " and a.ct_selected = '1' ";
|
||||
|
||||
if($s_page == "cart.php" || $s_page == "orderform.php")
|
||||
@ -146,14 +156,24 @@ for ($i=0; $row=mysql_fetch_array($result); $i++)
|
||||
$continue_ca_id = $row['ca_id'];
|
||||
}
|
||||
|
||||
// 리스트 썸네일 이미지
|
||||
$filepath = G4_DATA_PATH.'/item/'.$row['it_id'];
|
||||
for($k=1; $k<=10; $k++) {
|
||||
$idx = 'it_img'.$k;
|
||||
if(file_exists($filepath.'/'.$row[$idx]) && is_file($filepath.'/'.$row[$idx])) {
|
||||
$filename = $row[$idx];
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if ($s_page == "cart.php" || $s_page == "orderinquiryview.php") { // 링크를 붙이고
|
||||
$a1 = "<a href='./item.php?it_id={$row['it_id']}'>";
|
||||
$a2 = "</a>";
|
||||
$image = get_it_image($row['it_id']."_s", 50, 50, $row['it_id']);
|
||||
$image = get_it_image($row['it_id'], $filename, 50, 50, $row['it_id']);
|
||||
} else { // 붙이지 않고
|
||||
$a1 = "";
|
||||
$a2 = "";
|
||||
$image = get_it_image($row['it_id']."_s", 50, 50);
|
||||
$image = get_it_image($row['it_id'], $filename, 50, 50);
|
||||
}
|
||||
|
||||
$it_name = $a1 . stripslashes($row['it_name']) . $a2 . '<br />';
|
||||
|
||||
@ -183,14 +183,12 @@ else
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
$middle_image = $it['it_id'].'/'.it_img_thumb($filename, $filepath, $default['de_mimg_width'], $default['de_mimg_height']);
|
||||
?>
|
||||
<td align=center valign=top>
|
||||
<table cellpadding=0 cellspacing=0>
|
||||
<tr><td height=22></td></tr>
|
||||
<tr><td colspan=3 align=center>
|
||||
<table cellpadding=1 cellspacing=0 bgcolor=#E4E4E4><tr><td><?=get_large_image($it['it_id'].'/'.$filename, $it['it_id'], false)?><?=get_it_image($middle_image);?></a></td></tr></table></td></tr>
|
||||
<table cellpadding=1 cellspacing=0 bgcolor=#E4E4E4><tr><td id="middle_image"><?=get_large_image($filename, $it['it_id'], false)?><?=get_it_image($it['it_id'], $filename, $default['de_mimg_width'], $default['de_mimg_height']);?></a></td></tr></table></td></tr>
|
||||
<tr><td colspan=3 height=10></td></tr>
|
||||
<tr>
|
||||
<td colspan=3 align=center>
|
||||
@ -201,9 +199,8 @@ else
|
||||
|
||||
if (file_exists($filepath.'/'.$filename) && $filename != "")
|
||||
{
|
||||
echo get_large_image($it['it_id'].'/'.$filename, $it['it_id'], false);
|
||||
echo "<img id='middle{$i}' src='".G4_DATA_URL."/item/{$it_id}/{$filename}' border=0 width=40 height=40 style='border:1px solid #E4E4E4;' ";
|
||||
echo " onmouseover=\"document.getElementById('$middle_image').src=document.getElementById('middle{$i}').src;\">";
|
||||
echo get_large_image($filename, $it['it_id'], false);
|
||||
echo get_it_image($it['it_id'], $filename, 40, 40, "", "item_view_thumbnail");
|
||||
echo "</a> ";
|
||||
}
|
||||
}
|
||||
@ -1110,6 +1107,12 @@ function explan_resize_image()
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
explan_resize_image();
|
||||
|
||||
// middle_image 변경
|
||||
$(".item_view_thumbnail").mouseover(function() {
|
||||
var src = "<?=G4_DATA_URL?>/item/<?=$it_id?>/"+$(this).attr("id");
|
||||
$("#middle_image img").attr("src", src);
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
@ -1,13 +1,14 @@
|
||||
<?
|
||||
include_once("./_common.php");
|
||||
include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
||||
|
||||
$sql = " select it_name, it_img1, it_img2, it_img3, it_img4, it_img5, it_img6, it_img7, it_img8, it_img9, it_img10
|
||||
from $g4[yc4_item_table]
|
||||
where it_id='$it_id' ";
|
||||
$row = sql_fetch_array(sql_query($sql));
|
||||
|
||||
$imagefile = G4_DATA_PATH."/item/$img";
|
||||
$imagefile_url = G4_DATA_URL."/item/$img";
|
||||
$imagefile = G4_DATA_PATH."/item/$it_id/$img";
|
||||
$imagefile_url = G4_DATA_URL."/item/$it_id/$img";
|
||||
$size = getimagesize($imagefile);
|
||||
|
||||
$g4['title'] = "{$row['it_name']} ($it_id)";
|
||||
@ -27,13 +28,22 @@ include_once(G4_PATH.'/head.sub.php');
|
||||
{
|
||||
$filename = $row['it_img'.$i];
|
||||
if (file_exists(G4_DATA_PATH."/item/{$it_id}/{$filename}") && $filename != "")
|
||||
echo "<img id='large{$i}' src='".G4_DATA_URL."/item/{$it_id}/{$filename}' border=0 width=50 height=50 style='border:1 solid #E4E4E4;'
|
||||
onmouseover=\"document.getElementById('largeimage').src=document.getElementById('large{$i}').src;\"> ";
|
||||
echo get_it_image($it_id, $filename, 50, 50, "", "image_thumbnail")." ";
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<script>
|
||||
$(function() {
|
||||
$(".image_thumbnail").mouseover(function() {
|
||||
var src = "<?=G4_DATA_URL?>/item/<?=$it_id?>/"+$(this).attr("id");
|
||||
$("#largeimage").attr("src", src);
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
<?
|
||||
include_once(G4_PATH.'/tail.sub.php');
|
||||
?>
|
||||
@ -23,13 +23,12 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
break;
|
||||
}
|
||||
}
|
||||
$it_img = it_img_thumb($filename, G4_DATA_PATH.'/item/'.$row['it_id'], $img_width, $img_height);
|
||||
|
||||
echo "
|
||||
<td width='{$td_width}%' align=center valign=top>
|
||||
<br>
|
||||
<table width=98% cellpadding=2 cellspacing=0>
|
||||
<tr><td align=center>".get_it_image($row['it_id'].'/'.$it_img, $img_width , $img_height, $row[it_id])."</td></tr>
|
||||
<tr><td align=center>".get_it_image($row['it_id'], $filename, $img_width , $img_height, $row['it_id'])."</td></tr>
|
||||
<tr><td align=center>".it_name_icon($row)."</td></tr>";
|
||||
|
||||
if ($row[it_cust_amount] && !$row[it_gallery])
|
||||
|
||||
@ -21,12 +21,11 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
$it_img = it_img_thumb($filename, G4_DATA_PATH.'/item/'.$row['it_id'], $img_width, $img_height);
|
||||
?>
|
||||
<td width="<?=$td_width?>%" align=center valign=top>
|
||||
<table width=98% cellpadding=1 cellspacing=0 border=0>
|
||||
<tr><td height=5></td></tr>
|
||||
<tr><td align=center><?=$href?><?=get_it_image($row['it_id'].'/'.$it_img, $img_width, $img_height)?></a></td></tr>
|
||||
<tr><td align=center><?=$href?><?=get_it_image($row['it_id'], $filename, $img_width, $img_height)?></a></td></tr>
|
||||
<tr><td align=center><?=$href?><?=stripslashes($row['it_name'])?></a></td></tr>
|
||||
<!--시중가격<tr><td align=center><strike><?=display_amount($row[it_cust_amount])?></strike></td></tr>-->
|
||||
<tr><td align=center><span class=amount><?=display_amount(get_amount($row), $row['it_tel_inq'])?></span></td></tr>
|
||||
|
||||
@ -39,7 +39,7 @@ if ($is_nogood) $colspan++;
|
||||
<option value="wr_name,1">글쓴이</option>
|
||||
<option value="wr_name,0">글쓴이(코)</option>
|
||||
</select>
|
||||
<input name="stx" class="fieldset_input required" maxlength="15" size="15" required value="<?=stripslashes($stx)?>" title="검색어">
|
||||
<input name="stx" class="fieldset_input required" maxlength="15" size="15" required value="<?=stripslashes($stx)?>" title="검색어(필수)">
|
||||
<input type="submit" class="fieldset_submit" value="검색">
|
||||
</form>
|
||||
</fieldset>
|
||||
@ -68,7 +68,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);"></th><?}?>
|
||||
<? if ($is_checkbox) { ?><th scope="col"><input type="checkbox" onclick="if (this.checked) all_checked(true); else all_checked(false);" title="현재 페이지 게시물 전체선택"></th><?}?>
|
||||
<th scope="col">제목</th>
|
||||
<th scope="col">글쓴이</th>
|
||||
<th scope="col"><?=subject_sort_link('wr_datetime', $qstr2, 1)?>날짜</a></th>
|
||||
|
||||
@ -53,7 +53,7 @@ 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?>" title="이름"></td>
|
||||
<td><input type="text" id="wr_name" name="wr_name" class="frm_input required" size="10" maxlength="20" required value="<?=$name?>"></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
|
||||
@ -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?>" title="제목"></td>
|
||||
<td><input type="text" id="wr_subject" name="wr_subject" class="frm_input required" size="50" required value="<?=$subject?>"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
@ -118,7 +118,7 @@ echo $option_hidden;
|
||||
<tr>
|
||||
<th scope="row">파일 #<?=$i+1?></th>
|
||||
<td>
|
||||
<input type="file" name="bf_file[]" class="frm_file frm_input" title="파일 용량 <?=$upload_max_filesize?> 이하만 업로드 가능">
|
||||
<input type="file" name="bf_file[]" class="frm_file frm_input" title="파일첨부 <?=$i+1?> : 용량 <?=$upload_max_filesize?> 이하만 업로드 가능">
|
||||
<? if ($is_file_content) { ?>
|
||||
<input type="text" name="bf_content[]" class="frm_file frm_input" value="<? echo $file[$i]['bf_content']; ?>" size="50" title="파일 설명을 입력해주세요.">
|
||||
<?}?>
|
||||
@ -143,7 +143,7 @@ echo $option_hidden;
|
||||
|
||||
<div class="btn_confirm">
|
||||
<input type="submit" id="btn_submit" class="btn_submit" value="글쓰기" accesskey="s">
|
||||
<a href="./board.php?bo_table=<?=$bo_table?>" class="btn_cancel" title="글쓰기를 취소하고 목록으로 돌아가기">목록</a>
|
||||
<a href="./board.php?bo_table=<?=$bo_table?>" class="btn_cancel">취소</a>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
@ -10,9 +10,9 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
|
||||
<fieldset class="cbg">
|
||||
<label for="login_id" class="login_id">회원아이디<strong class="sound_only">필수</strong></label>
|
||||
<input type="text" id="login_id" name="mb_id" class="fs_input" maxLength="20" size="20" required title="회원아이디">
|
||||
<input type="text" id="login_id" name="mb_id" class="fs_input" maxLength="20" size="20" required>
|
||||
<label for="login_pw" class="login_pw">패스워드<strong class="sound_only">필수</strong></label>
|
||||
<input type="password" id="login_pw" class="fs_input" name="mb_password" maxLength="20" size="20" required title="패스워드">
|
||||
<input type="password" id="login_pw" class="fs_input" name="mb_password" maxLength="20" size="20" required>
|
||||
<input type="submit" class="btn_submit" value="로그인">
|
||||
<input type="checkbox" id="login_auto_login" name="auto_login">
|
||||
<label for="login_auto_login">자동로그인</label>
|
||||
|
||||
@ -21,7 +21,7 @@ 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" id="confirm_mb_password" name="mb_password" class="fs_input" maxLength="20" size="15" required onkeypress="check_capslock('confirm_mb_password');" title="패스워드">
|
||||
<input type="password" id="confirm_mb_password" name="mb_password" class="fs_input" maxLength="20" size="15" required onkeypress="check_capslock('confirm_mb_password');">
|
||||
<input type="submit" id="btn_submit" class="fs_submit" value="확인">
|
||||
</fieldset>
|
||||
|
||||
|
||||
@ -20,7 +20,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
|
||||
<fieldset class="cbg">
|
||||
<label for="password_wr_password">패스워드<strong class="sound_only">필수</strong></label>
|
||||
<input type="password" id="password_wr_password" name="wr_password" class="fs_input required" maxLength="20" size="15" required title="패스워드">
|
||||
<input type="password" id="password_wr_password" name="wr_password" class="fs_input required" maxLength="20" size="15" required>
|
||||
<input type="submit" class="fs_submit" value="확인">
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
@ -13,7 +13,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
해당 이메일로 아이디와 패스워드 정보를 보내드립니다.
|
||||
</p>
|
||||
<label for="mb_email">E-mail 주소<strong class="sound_only">필수</strong></label>
|
||||
<input type="text" id="mb_email" name="mb_email" class="fs_input email" required size="30" title="E-mail 주소">
|
||||
<input type="text" id="mb_email" name="mb_email" class="fs_input email" required size="30">
|
||||
</fieldset>
|
||||
<?=captcha_html(); ?>
|
||||
<div class="btn_win">
|
||||
|
||||
@ -21,18 +21,18 @@ var member_skin_path = "<?=$member_skin_path?>";
|
||||
<tr>
|
||||
<th scope="row"><label for="reg_mb_id">아이디<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<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?> title="회원아이디">
|
||||
<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?>>
|
||||
<span id="msg_mb_id"></span>
|
||||
<span class="frm_info">영문자, 숫자, _ 만 입력 가능. 최소 3자이상 입력하세요.</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?> title="패스워드"></td>
|
||||
<td><input type="password" id="reg_mb_password" name="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?> title="패스워드 확인"></td>
|
||||
<td><input type="password" id="reg_mb_password_re" name="mb_password_re" class="frm_input minlength_3 <?=$required?>" maxlength="20" <?=$required?>></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@ -41,7 +41,7 @@ var member_skin_path = "<?=$member_skin_path?>";
|
||||
<tr>
|
||||
<th scope="row"><label for="reg_mb_name">이름<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<input id="reg_mb_name" name="mb_name" class="frm_input hangul nospace <?=$required?> <?=$readonly?>" value="<?=$member['mb_name']?>" size="10" <?=$required?> <?=$readonly?> title="이름">
|
||||
<input id="reg_mb_name" name="mb_name" class="frm_input hangul nospace <?=$required?> <?=$readonly?>" value="<?=$member['mb_name']?>" size="10" <?=$required?> <?=$readonly?>>
|
||||
<? if ($w=='') { echo "<span class=\"frm_info\">공백없이 한글만 입력하세요.</span>"; } ?>
|
||||
</td>
|
||||
</tr>
|
||||
@ -50,7 +50,7 @@ var member_skin_path = "<?=$member_skin_path?>";
|
||||
<th scope="row"><label for="reg_mb_nick">별명<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<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" size="10" value="<?=isset($member['mb_nick'])?$member['mb_nick']:'';?>" required title="별명">
|
||||
<input type="text" id="reg_mb_nick" name="mb_nick" class="frm_input required nospace" maxlength="20" size="10" value="<?=isset($member['mb_nick'])?$member['mb_nick']:'';?>" required>
|
||||
<span id="msg_mb_nick"></span>
|
||||
<span class="frm_info">
|
||||
공백없이 한글,영문,숫자만 입력 가능 (한글2자, 영문4자 이상)<br>
|
||||
@ -64,7 +64,7 @@ var member_skin_path = "<?=$member_skin_path?>";
|
||||
<th scope="row"><label for="reg_mb_email">E-mail<? if ($config['cf_use_email_certify']) {?><strong class="sound_only">필수</strong><?}?></label></th>
|
||||
<td>
|
||||
<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" size="50" value='<?=isset($member['mb_email'])?$member['mb_email']:'';?>' <?=$config['cf_use_email_certify']?"required":"";?> title="E-mail">
|
||||
<input type="text" id="reg_mb_email" name="mb_email" class="frm_input email <?=$config['cf_use_email_certify']?"required":"";?>" maxlength="100" size="50" value='<?=isset($member['mb_email'])?$member['mb_email']:'';?>' <?=$config['cf_use_email_certify']?"required":"";?>>
|
||||
<span id="msg_mb_email"></span>
|
||||
<? if ($config['cf_use_email_certify']) { ?>
|
||||
<span class="frm_info">
|
||||
@ -195,7 +195,7 @@ var member_skin_path = "<?=$member_skin_path?>";
|
||||
<? 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" title="추천인아이디"></td>
|
||||
<td><input type="text" id="reg_mb_recommend" name="mb_recommend" class="frm_input"></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<option value="w">원글만
|
||||
<option value="c">코멘트만
|
||||
</select>
|
||||
<input type="text" id="mb_id" name="mb_id" class="fs_input" value="<?=$mb_id?>" title="검색어">
|
||||
<input type="text" id="mb_id" name="mb_id" class="fs_input" value="<?=$mb_id?>" title="검색어(필수)">
|
||||
<input type="submit" class="fs_submit" value="검색">
|
||||
</form>
|
||||
<script>
|
||||
|
||||
@ -9,9 +9,9 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<fieldset>
|
||||
<input type="hidden" name="url" value="<?=$outlogin_url?>">
|
||||
<label for="ol_id" id="ol_idlabel">회원아이디<strong class="sound_only">필수</strong></label>
|
||||
<input type="text" id="ol_id" name="mb_id" maxlength="20" required title="회원아이디">
|
||||
<input type="text" id="ol_id" name="mb_id" maxlength="20" required>
|
||||
<label for="ol_pw" id="ol_pwlabel">패스워드<strong class="sound_only">필수</strong></label>
|
||||
<input type="password" id="ol_pw" name="mb_password" maxlength="20" required title="패스워드">
|
||||
<input type="password" id="ol_pw" name="mb_password" maxlength="20" required>
|
||||
<input type="submit" id="ol_submit" value="로그인">
|
||||
<div id="ol_svc">
|
||||
<a href="<?=G4_BBS_URL?>/register.php"><b>회원가입</b></a>
|
||||
|
||||
@ -65,8 +65,8 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
</tr>
|
||||
<? } ?>
|
||||
<tr>
|
||||
<th scope="row">의견</th>
|
||||
<td><input type="text" id="pc_idea" name="pc_idea" class="fieldset_input required" size="47" required maxlength="100" title="의견"></td>
|
||||
<th scope="row"><label for="pc_idea">의견<strong class="sound_only">필수</strong></label></th>
|
||||
<td><input type="text" id="pc_idea" name="pc_idea" class="fieldset_input required" size="47" required maxlength="100"></td>
|
||||
</tr>
|
||||
<? if ($is_guest) { ?>
|
||||
<tr>
|
||||
|
||||
@ -17,7 +17,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<option value="wr_name">이름</option>
|
||||
</select>
|
||||
|
||||
<input type="text" name="stx" class="fieldset_input" class="required" value="<?=$text_stx?>" maxlength="20" required title="검색어">
|
||||
<input type="text" name="stx" class="fieldset_input" class="required" value="<?=$text_stx?>" maxlength="20" required title="검색어(필수)">
|
||||
|
||||
<input type="submit" class="fieldset_submit" value="검색">
|
||||
|
||||
|
||||
Reference in New Issue
Block a user