|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /home/queenjbs/xe/files/cache/template_compiled/ |
Upload File : |
<?php if(!defined("__ZBXE__")) exit();?>
<!--Meta:modules/member/skins/default/../../tpl/js/signup_check.js--><?php Context::addJsFile("modules/member/skins/default/../../tpl/js/signup_check.js", true, ""); ?>
<!--Meta:modules/member/skins/default/../../tpl/js/krzip_search.js--><?php Context::addJsFile("modules/member/skins/default/../../tpl/js/krzip_search.js", true, ""); ?>
<?php
require_once("./classes/xml/XmlJsFilter.class.php");
$oXmlFilter = new XmlJSFilter("modules/member/skins/default/filter/","signup.xml");
$oXmlFilter->compile();
?>
<?php Context::loadJavascriptPlugin("ui"); ?>
<?php Context::loadJavascriptPlugin("ui.datepicker"); ?>
<?php
$oTemplate = &TemplateHandler::getInstance();
print $oTemplate->compile('./modules/member/skins/default/','common_header.html');
?>
<h3><?php @print($__Context->lang->cmd_signup);?></h3>
<form id="fo_insert_member" action="./" method="get" onsubmit="return procFilter(this, signup)">
<?php if(!$__Context->is_logged && $__Context->member_config->agreement){ ?>
<div class="agreementBox">
<?php @print(nl2br($__Context->member_config->agreement));?>
</div>
<div class="agreementButton">
<input type="checkbox" name="accept_agreement" value="Y" id="accept_agree" />
<label for="accept_agree"><?php @print($__Context->lang->about_accept_agreement);?></label>
</div>
<?php } ?>
<table cellspacing="0" class="rowTable">
<tr>
<th colspan="2" class="title"><div><?php @print($__Context->lang->member_default_info);?></div></th>
</tr>
<tr>
<th><div><?php @print($__Context->lang->user_id);?> <span class="require">*</span></div></th>
<td class="wide"><input type="text" name="user_id" value="" class="inputTypeText"/> <p><?php @print($__Context->lang->about_user_id);?></p> </td>
</tr>
<tr>
<th><div><?php @print($__Context->lang->password);?> <span class="require">*</span></div></th>
<td><input type="password" name="password1" value="" class="inputTypeText"/><p><?php @print($__Context->lang->about_password);?></p></td>
</tr>
<tr>
<th><div><?php @print($__Context->lang->password2);?> <span class="require">*</span></div></th>
<td><input type="password" name="password2" value="" class="inputTypeText"/></td>
</tr>
<tr>
<th><div><?php @print($__Context->lang->user_name);?> <span class="require">*</span></div></th>
<td>
<input type="text" name="user_name" value="" class="inputTypeText"/><p><?php @print($__Context->lang->about_user_name);?></p>
</td>
</tr>
<tr>
<th><div><?php @print($__Context->lang->nick_name);?> <span class="require">*</span></div></th>
<td>
<input type="text" name="nick_name" value="" class="inputTypeText"/><p><?php @print($__Context->lang->about_nick_name);?></p>
</td>
</tr>
<tr>
<th><div><?php @print($__Context->lang->email_address);?> <span class="require">*</span></div></th>
<td>
<input type="text" name="email_address" value="" class="inputTypeText"/><p><?php @print($__Context->lang->about_email_address);?></p>
</td>
</tr>
<tr>
<th><div><?php @print($__Context->lang->homepage);?></div></th>
<td>
<input type="text" name="homepage" value="" class="inputTypeText"/><p><?php @print($__Context->lang->about_homepage);?></p>
</td>
</tr>
<tr>
<th><div><?php @print($__Context->lang->blog);?></div></th>
<td>
<input type="text" name="blog" value="" class="inputTypeText"/><p><?php @print($__Context->lang->about_blog_url);?></p>
</td>
</tr>
<tr>
<th><div><?php @print($__Context->lang->birthday);?></div></th>
<td>
<input type="hidden" name="birthday" id="date_birthday" value="" />
<input type="text" value="" readonly="readonly" class="inputDate inputTypeText" />
<span class="button"><input type="button" value="<?php @print($__Context->lang->cmd_delete);?>" class="dateRemover" /></span>
<p><?php @print($__Context->lang->about_birthday);?></p>
</td>
</tr>
<tr>
<th><div><?php @print($__Context->lang->allow_mailing);?></div></th>
<td><input type="checkbox" class="checkbox" name="allow_mailing" value="Y" checked="checked" /> <p><?php @print($__Context->lang->about_allow_mailing);?></p></td>
</tr>
<?php if($__Context->extend_form_list){ ?>
<tr>
<th class="title" colspan="2"><div><?php @print($__Context->lang->member_extend_info);?></div></th>
</tr>
<?php $Context->__idx[0]=0;if(count($__Context->extend_form_list)) foreach($__Context->extend_form_list as $__Context->key => $__Context->val){$__Context->__idx[1]=($__Context->__idx[1]+1)%2; $__Context->cycle_idx = $__Context->__idx[1]+1; ?><?php if($__Context->val->is_active=='Y'){ ?>
<tr>
<th>
<?php @print(htmlspecialchars($__Context->val->column_title));?>
<?php if($__Context->val->required=='Y'){ ?><span class="require">*</span><?php } ?>
</th>
<td>
<?php if($__Context->val->column_type == 'text'){ ?>
<input type="text" name="<?php @print($__Context->val->column_name);?>" value="<?php @print(htmlspecialchars($__Context->val->value));?>" class="inputTypeText w400" />
<?php }elseif($__Context->val->column_type == 'homepage'){ ?>
<input type="text" name="<?php @print($__Context->val->column_name);?>" value="<?php @print(htmlspecialchars($__Context->val->value));?>" class="inputTypeText w400" />
<?php }elseif($__Context->val->column_type == 'email_address'){ ?>
<input type="text" name="<?php @print($__Context->val->column_name);?>" value="<?php @print(htmlspecialchars($__Context->val->value));?>" class="inputTypeText w400" />
<?php }elseif($__Context->val->column_type == 'tel'){ ?>
<input type="text" name="<?php @print($__Context->val->column_name);?>" value="<?php @print(htmlspecialchars($__Context->val->value[0]));?>" size="4" class="inputTypeText" />
<input type="text" name="<?php @print($__Context->val->column_name);?>" value="<?php @print(htmlspecialchars($__Context->val->value[1]));?>" size="4" class="inputTypeText" />
<input type="text" name="<?php @print($__Context->val->column_name);?>" value="<?php @print(htmlspecialchars($__Context->val->value[2]));?>" size="4" class="inputTypeText" />
<?php }elseif($__Context->val->column_type == 'textarea'){ ?>
<textarea name="<?php @print($__Context->val->column_name);?>" class="inputTypeTextArea w400"><?php @print(htmlspecialchars($__Context->val->value));?></textarea>
<?php }elseif($__Context->val->column_type == 'checkbox'){ ?>
<?php if($__Context->val->default_value){ ?>
<ul class="checkbox">
<?php $Context->__idx[1]=0;if(count($__Context->val->default_value)) foreach($__Context->val->default_value as $__Context->v){$__Context->__idx[2]=($__Context->__idx[2]+1)%2; $__Context->cycle_idx = $__Context->__idx[2]+1; ?>
<li><input type="checkbox" name="<?php @print($__Context->val->column_name);?>" value="<?php @print($__Context->v);?>" <?php if(is_array($__Context->val->value)&&in_array($__Context->v, $__Context->val->value)){ ?>checked="checked"<?php } ?>/><?php @print($__Context->v);?></li>
<?php } ?>
</ul>
<?php } ?>
<?php }elseif($__Context->val->column_type == 'radio'){ ?>
<?php if($__Context->val->default_value){ ?>
<ul class="radio">
<?php $Context->__idx[2]=0;if(count($__Context->val->default_value)) foreach($__Context->val->default_value as $__Context->v){$__Context->__idx[3]=($__Context->__idx[3]+1)%2; $__Context->cycle_idx = $__Context->__idx[3]+1; ?>
<li><input type="radio" name="<?php @print($__Context->val->column_name);?>" value="<?php @print($__Context->v);?>" <?php if(is_array($__Context->val->value)&&in_array($__Context->v, $__Context->val->value)){ ?>checked="checked"<?php } ?>/><?php @print($__Context->v);?></li>
<?php } ?>
</ul>
<?php } ?>
<?php }elseif($__Context->val->column_type == 'select'){ ?>
<select name="<?php @print($__Context->val->column_name);?>">
<?php if($__Context->val->default_value){ ?>
<?php $Context->__idx[3]=0;if(count($__Context->val->default_value)) foreach($__Context->val->default_value as $__Context->v){$__Context->__idx[4]=($__Context->__idx[4]+1)%2; $__Context->cycle_idx = $__Context->__idx[4]+1; ?>
<option value="<?php @print($__Context->v);?>" <?php if($__Context->v == $__Context->val->value){ ?>selected="selected"<?php } ?>><?php @print($__Context->v);?></option>
<?php } ?>
<?php } ?>
</select>
<?php }elseif($__Context->val->column_type == 'kr_zip'){ ?>
<div class="krZip">
<div id="zone_address_1_<?php @print($__Context->val->column_name);?>" style="display:<?php if($__Context->val->value[0]){ ?>inline<?php }else{ ?>none<?php } ?>;">
<input type="text" name="<?php @print($__Context->val->column_name);?>" value="<?php @print($__Context->val->value[0]);?>" class="inputTypeText w400"/>
<a href="#" onclick="doHideKrZipList('<?php @print($__Context->val->column_name);?>'); return false;" class="button"><span><?php @print($__Context->lang->cmd_cancel);?></span></a>
</div>
<div id="zone_address_list_<?php @print($__Context->val->column_name);?>" style="display:none">
<select name="_tmp_address_list_<?php @print($__Context->val->column_name);?>" class="w300"></select>
<a href="#" onclick="doSelectKrZip('<?php @print($__Context->val->column_name);?>'); return false;" class="button"><span><?php @print($__Context->lang->cmd_select);?></span></a>
<a href="#" onclick="doHideKrZipList('<?php @print($__Context->val->column_name);?>'); return false;" class="button"><span><?php @print($__Context->lang->cmd_cancel);?></span></a>
</div>
<div id="zone_address_search_<?php @print($__Context->val->column_name);?>" style="display:<?php if($__Context->val->value[0]){ ?>none<?php }else{ ?>inline<?php } ?>;">
<input type="text" name="_tmp_address_search_<?php @print($__Context->val->column_name);?>" class="inputTypeText w400" value="" />
<a href="#" onclick="doSearchKrZip('<?php @print($__Context->val->column_name);?>'); return false;" class="button"><span><?php @print($__Context->lang->cmd_search);?></span></a>
</div>
<div class="address2">
<input type="text" name="<?php @print($__Context->val->column_name);?>" value="<?php @print(htmlspecialchars($__Context->val->value[1]));?>" class="inputTypeText w400" />
</div>
</div>
<?php }elseif($__Context->val->column_type == 'jp_zip'){ ?>
<input type="text" name="<?php @print($__Context->val->column_name);?>" value="<?php @print(htmlspecialchars($__Context->val->value));?>" />
<?php }elseif($__Context->val->column_type == 'date'){ ?>
<input type="hidden" name="<?php @print($__Context->val->column_name);?>" id="date_<?php @print($__Context->val->column_name);?>" value="<?php @print($__Context->val->value);?>" />
<input type="text" class="inputDate inputTypeText" value="<?php @print(zdate($__Context->val->value,'Y-m-d'));?>" readonly="readonly" />
<span class="button"><input type="button" value="<?php @print($__Context->lang->cmd_delete);?>" class="dateRemover" /></span>
<?php } ?>
<p><?php @print($__Context->val->description);?></p>
<div class="publicItem">
<input type="checkbox" class="checkbox" name="open_<?php @print($__Context->val->column_name);?>" value="Y" id="open_<?php @print($__Context->val->column_name);?>" />
<label for="open_<?php @print($__Context->val->column_name);?>"><?php @print($__Context->lang->public);?></label>
</div>
</td>
</tr>
<?php } ?><?php } ?>
<?php } ?>
<tr>
<th class="button" colspan="2">
<span class="button black strong"><input type="submit" value="<?php @print($__Context->lang->cmd_registration);?>" accesskey="s" /></span>
<a href="<?php @print(getUrl('act','','member_srl',''));?>" class="button"><span><?php @print($__Context->lang->cmd_cancel);?></span></a>
</th>
</tr>
</table>
</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['<?php @print($__Context->lang_type);?>']);
$(".inputDate").datepicker(option);
$(".dateRemover").click(function() {
$(this).parent().prevAll('input').val('');
return false;});
});
})(jQuery);
</script>
<?php
$oTemplate = &TemplateHandler::getInstance();
print $oTemplate->compile('./modules/member/skins/default/','common_footer.html');
?>