묻고답하기
회원가입 약관에 체크가 되지않습니다.
2011.10.17 16:19
요런 사이트를 하나 만들어서 관리중입니다.
다만 문제가 생긴것이 ... 사파리나 크롬같은 서드 브라우져에서
회원가입시 약관에 체크가 되지않는 문제가 발생하고 있습니다.
전부다 그런건 아닌것 같은데... 원인이 무얼까요
해당 가입폼의 소스는
<!--%import("../../tpl/js/signup_check.js")-->
<!--%import("../../tpl/js/krzip_search.js")-->
<!--%import("filter/signup.xml")-->
<!--// datepicker javascript plugin load -->
<!--%load_js_plugin("ui")-->
<!--%load_js_plugin("ui.datepicker")-->
<!--#include("./common_header.html")-->
<form id="fo_insert_member" action="./" method="get" onsubmit="return procFilter(this, signup)">
<div class="title_01_01">
<h3><img src="img/member/member_title01_01.gif" alt="계정등록" /></h3>
<table cellspacing="0" class="rowTable">
<tr>
<th><div>{$lang->user_id} <span class="require">*</span></div></th>
<td class="wide"><input type="text" name="user_id" value="" class="inputTypeText"/> <p>{$lang->about_user_id}</p> </td>
</tr>
<tr>
<th><div>{$lang->password} <span class="require">*</span></div></th>
<td><input type="password" name="password1" value="" class="inputTypeText"/><p>{$lang->about_password}</p></td>
</tr>
<tr>
<th><div>{$lang->password2} <span class="require">*</span></div></th>
<td><input type="password" name="password2" value="" class="inputTypeText"/></td>
</tr>
</table>
</div>
<div class="title_01_02">
<h3><img src="img/member/member_title01_02.gif" alt="회원정보입력" /></h3>
<table cellspacing="0" class="rowTable">
<tr>
<th><div>{$lang->user_name} <span class="require">*</span></div></th>
<td>
<input type="text" name="user_name" value="" class="inputTypeText"/><p>{$lang->about_user_name}</p>
</td>
</tr>
<tr>
<th><div>{$lang->nick_name} <span class="require">*</span></div></th>
<td>
<input type="text" name="nick_name" value="" class="inputTypeText"/><p>{$lang->about_nick_name}</p>
</td>
</tr>
<tr>
<th><div>{$lang->email_address} <span class="require">*</span></div></th>
<td>
<input type="text" name="email_address" value="" class="inputTypeText"/><p>{$lang->about_email_address}</p>
</td>
</tr>
<!--@if(count($lang->find_account_question_items)>1)-->
<tr>
<th><div>{$lang->find_account_question} <span class="require">*</span></div></th>
<td>
<select name="find_account_question" class="inputTypeSelect">
<!--@for($i=1,$c=count($lang->find_account_question_items);$i<$c;$i++)-->
<option value="{$i}">{$lang->find_account_question_items[$i]}</option>
<!--@end-->
</select>
<br />
<input type="text" name="find_account_answer" value="" class="inputTypeText"/>
</td>
</tr>
<!--@end-->
<tr>
<th><div>{$lang->homepage}</div></th>
<td>
<input type="text" name="homepage" value="" class="inputTypeText"/><p>{$lang->about_homepage}</p>
</td>
</tr>
<tr>
<th><div>{$lang->blog}</div></th>
<td>
<input type="text" name="blog" value="" class="inputTypeText"/><p>{$lang->about_blog_url}</p>
</td>
</tr>
<tr>
<th><div>{$lang->birthday}</div></th>
<td>
<input type="hidden" name="birthday" id="date_birthday" value="" />
<input type="text" value="" readonly="readonly" class="inputDate inputTypeText" style="width:600px" />
<span><input type="button" value="" class="dateRemover" alt="삭제" /></span>
<p>{$lang->about_birthday}</p>
</td>
</tr>
<tr>
<th><div>{$lang->allow_mailing}</div></th>
<td><input type="checkbox" class="checkbox" name="allow_mailing" value="Y" checked="checked" /> <p>{$lang->about_allow_mailing}</p></td>
</tr>
<!--@if($extend_form_list)-->
<tr>
<th class="title" colspan="2"><div>{$lang->member_extend_info}</div></th>
</tr>
<!--@foreach($extend_form_list as $key => $val)--><!--@if($val->is_active=='Y')-->
<tr>
<th>
{htmlspecialchars($val->column_title)}
<!--@if($val->required=='Y')--><span class="require">*</span><!--@end-->
</th>
<td>
<!--// 일반 text -->
<!--@if($val->column_type == 'text')-->
<input type="text" name="{$val->column_name}" value="{htmlspecialchars($val->value)}" class="inputTypeText w400" />
<!--// 홈페이지 주소 -->
<!--@elseif($val->column_type == 'homepage')-->
<input type="text" name="{$val->column_name}" value="{htmlspecialchars($val->value)}" class="inputTypeText w400" />
<!--// Email 주소 -->
<!--@elseif($val->column_type == 'email_address')-->
<input type="text" name="{$val->column_name}" value="{htmlspecialchars($val->value)}" class="inputTypeText w400" />
<!--// 전화번호 -->
<!--@elseif($val->column_type == 'tel')-->
<input type="text" name="{$val->column_name}" value="{htmlspecialchars($val->value[0])}" size="4" class="inputTypeText" />
<input type="text" name="{$val->column_name}" value="{htmlspecialchars($val->value[1])}" size="4" class="inputTypeText" />
<input type="text" name="{$val->column_name}" value="{htmlspecialchars($val->value[2])}" size="4" class="inputTypeText" />
<!--// textarea -->
<!--@elseif($val->column_type == 'textarea')-->
<textarea name="{$val->column_name}" class="inputTypeTextArea w400">{htmlspecialchars($val->value)}</textarea>
<!--// 다중 선택 -->
<!--@elseif($val->column_type == 'checkbox')-->
<!--@if($val->default_value)-->
<ul class="checkbox">
<!--@foreach($val->default_value as $v)-->
<li><input type="checkbox" name="{$val->column_name}" value="{$v}" <!--@if(is_array($val->value)&&in_array($v, $val->value))-->checked="checked"<!--@end-->/>{$v}</li>
<!--@end-->
</ul>
<!--@end-->
<!--@elseif($val->column_type == 'radio')-->
<!--@if($val->default_value)-->
<ul class="radio">
<!--@foreach($val->default_value as $v)-->
<li><input type="radio" name="{$val->column_name}" value="{$v}" <!--@if(is_array($val->value)&&in_array($v, $val->value))-->checked="checked"<!--@end-->/>{$v}</li>
<!--@end-->
</ul>
<!--@end-->
<!--// 단일 선택 -->
<!--@elseif($val->column_type == 'select')-->
<select name="{$val->column_name}">
<!--@if($val->default_value)-->
<!--@foreach($val->default_value as $v)-->
<option value="{$v}" <!--@if($v == $val->value)-->selected="selected"<!--@end-->>{$v}</option>
<!--@end-->
<!--@end-->
</select>
<!--// 한국 주소 검색 -->
<!--@elseif($val->column_type == 'kr_zip')-->
<div class="krZip">
<div id="zone_address_1_{$val->column_name}" style="display:<!--@if($val->value[0])-->inline<!--@else-->none<!--@end-->;">
<input type="text" name="{$val->column_name}" value="{$val->value[0]}" class="inputTypeText w400"/>
<a href="#" onclick="doHideKrZipList('{$val->column_name}'); return false;" class="button"><span>{$lang->cmd_cancel}</span></a>
</div>
<div id="zone_address_list_{$val->column_name}" style="display:none">
<select name="_tmp_address_list_{$val->column_name}" class="w300"></select>
<a href="#" onclick="doSelectKrZip('{$val->column_name}'); return false;" class="button"><span>{$lang->cmd_select}</span></a>
<a href="#" onclick="doHideKrZipList('{$val->column_name}'); return false;" class="button"><span>{$lang->cmd_cancel}</span></a>
</div>
<div id="zone_address_search_{$val->column_name}" style="display:<!--@if($val->value[0])-->none<!--@else-->inline<!--@end-->;">
<input type="text" name="_tmp_address_search_{$val->column_name}" class="inputTypeText w400" value="" />
<a href="#" onclick="doSearchKrZip('{$val->column_name}'); return false;" class="button"><span>{$lang->cmd_search}</span></a>
</div>
<div class="address2">
<input type="text" name="{$val->column_name}" value="{htmlspecialchars($val->value[1])}" class="inputTypeText w400" />
</div>
</div>
<!--// 일본 주소 검색 -->
<!--@elseif($val->column_type == 'jp_zip')-->
<input type="text" name="{$val->column_name}" value="{htmlspecialchars($val->value)}" />
<!--// 날짜 입력 -->
<!--@elseif($val->column_type == 'date')-->
<input type="hidden" name="{$val->column_name}" id="date_{$val->column_name}" value="{$val->value}" />
<input type="text" class="inputDate inputTypeText" value="{zdate($val->value,'Y-m-d')}" readonly="readonly" />
<span class="button"><input type="button" value="{$lang->cmd_delete}" class="dateRemover" /></span>
<!--@end-->
<p>{$val->description}</p>
<div class="publicItem">
<input type="checkbox" class="checkbox" name="open_{$val->column_name}" value="Y" id="open_{$val->column_name}" />
<label for="open_{$val->column_name}">{$lang->public}</label>
</div>
</td>
</tr>
<!--@end--><!--@end-->
<!--@end-->
</table>
</div>
<div class="title_01_02">
<h3><img src="img/member/member_title01_03.gif" alt="이용약관" /></h3>
<div class="agreementBox">
{$member_config->agreement}
</div>
<div class="agree_check">
<div class="checkinput"><input type="checkbox" name="accept_agreement" value="Y" id="accept_agree" /> <label for="accept_agree">{$lang->about_accept_agreement}</label></div>
<div class="checkbtn">
<input type="image" value="" accesskey="s" img src="img/member/member_btn_regist.gif" alt="등록" />
<a href="{getUrl('act','','member_srl','+ '')}"><img src="img/member/member_btn_cancel.gif" alt="취소" /></a>
</div>
</div>
</div>
</form>
<script type="text/javascript">
(function($){
$(function(){
var option = { changeMonth: true, changeYear: true, gotoCurrent: false,yearRange:'-100:+10', onSelect:function(){
$(this).prev('input[type="hidden"]').val(this.value.replace(/-/g,""))}
};
$.extend(option,$.datepicker.regional['{$lang_type}']);
$(".inputDate").datepicker(option);
$(".dateRemover").click(function() {
$(this).parent().prevAll('input').val('');
return false;});
});
})(jQuery);
</script>
<!--#include("./common_footer.html")-->