|
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();?>
<?php
$oTemplate = &TemplateHandler::getInstance();
print $oTemplate->compile('./modules/member/tpl/','header.html');
?>
<?php if($__Context->member_info->member_srl){ ?>
<?php
require_once("./classes/xml/XmlJsFilter.class.php");
$oXmlFilter = new XmlJSFilter("modules/member/tpl/filter/","update_member.xml");
$oXmlFilter->compile();
?>
<?php }else{ ?>
<?php
require_once("./classes/xml/XmlJsFilter.class.php");
$oXmlFilter = new XmlJSFilter("modules/member/tpl/filter/","insert.xml");
$oXmlFilter->compile();
?>
<?php } ?>
<!--Meta:modules/member/tpl/css/member_admin.css--><?php Context::addCSSFile("modules/member/tpl/css/member_admin.css", true, "all", ""); ?>
<?php Context::loadJavascriptPlugin("ui.datepicker"); ?>
<?php Context::loadJavascriptPlugin("filebox"); ?>
<form id="fo_insert_member" action="./" method="get" onsubmit="return procFilter(this, insert)">
<input type="hidden" name="page" value="<?php @print($__Context->page);?>" />
<input type="hidden" name="member_srl" value="<?php @print($__Context->member_info->member_srl);?>" />
<input type="hidden" name="signature" value="<?php @print(htmlspecialchars($__Context->member_info->signature));?>" />
<?php if($__Context->member_info->member_srl){ ?>
<input type="hidden" name="user_id" value="<?php @print(htmlspecialchars($__Context->member_info->user_id));?>" />
<?php } ?>
<h4 class="xeAdmin"><?php @print($__Context->lang->member_default_info);?></h4>
<table cellspacing="0" class="rowTable">
<tr>
<th scope="row"><div><?php @print($__Context->lang->user_id);?></div></th>
<td class="wide">
<?php if($__Context->member_info->member_srl){ ?>
<?php @print(htmlspecialchars($__Context->member_info->user_id));?>
<?php }else{ ?>
<input type="text" name="user_id" value="" class="inputTypeText" />
<p><?php @print($__Context->lang->about_user_id);?></p>
<?php } ?>
</td>
</tr>
<tr class="row2">
<th scope="row"><div><?php @print($__Context->lang->password);?></div></th>
<td>
<input type="text" name="password" value="" class="inputTypeText" />
</td>
</tr>
<tr>
<th scope="row"><div><?php @print($__Context->lang->user_name);?></div></th>
<td>
<input type="text" name="user_name" value="<?php @print(htmlspecialchars($__Context->member_info->user_name));?>" class="inputTypeText" />
<p><?php @print($__Context->lang->about_user_name);?></p>
</td>
</tr>
<tr class="row2">
<th scope="row"><div><?php @print($__Context->lang->nick_name);?></div></th>
<td>
<input type="text" name="nick_name" value="<?php @print(htmlspecialchars($__Context->member_info->nick_name));?>" class="inputTypeText" />
<p><?php @print($__Context->lang->about_nick_name);?></p>
</td>
</tr>
<tr>
<th scope="row"><div><?php @print($__Context->lang->email_address);?></div></th>
<td>
<input type="text" name="email_address" value="<?php @print(htmlspecialchars($__Context->member_info->email_address));?>" class="inputTypeText" />
</td>
</tr>
<tr class="row2">
<th scope="row"><div><?php @print($__Context->lang->homepage);?></div></th>
<td>
<input type="text" name="homepage" value="<?php @print(htmlspecialchars($__Context->member_info->homepage));?>" class="inputTypeText"/>
<p><?php @print($__Context->lang->about_homepage);?></p>
</td>
</tr>
<tr>
<th scope="row"><div><?php @print($__Context->lang->blog);?></div></th>
<td>
<input type="text" name="blog" value="<?php @print(htmlspecialchars($__Context->member_info->blog));?>" class="inputTypeText" />
</td>
</tr>
<tr class="row2">
<th scope="row"><div><?php @print($__Context->lang->birthday);?></div></th>
<td>
<input type="hidden" name="birthday" id="date_birthday" value="<?php @print($__Context->member_info->birthday);?>" />
<input type="text" class="inputDate" value="<?php @print(zdate($__Context->member_info->birthday,'Y-m-d',false));?>" readonly="readonly" />
<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 scope="row"><div><?php @print($__Context->lang->allow_mailing);?></div></th>
<td>
<input type="checkbox" name="allow_mailing" value="Y" <?php if($__Context->member_info->allow_mailing!='N'){ ?>checked="checked"<?php } ?>/>
<?php @print($__Context->lang->about_allow_mailing);?>
</td>
</tr>
<tr class="row2">
<th scope="row"><div><?php @print($__Context->lang->allow_message);?></div></th>
<td>
<select name="allow_message">
<?php $Context->__idx[0]=0;if(count($__Context->lang->allow_message_type)) foreach($__Context->lang->allow_message_type as $__Context->key => $__Context->val){$__Context->__idx[1]=($__Context->__idx[1]+1)%2; $__Context->cycle_idx = $__Context->__idx[1]+1; ?>
<option value="<?php @print($__Context->key);?>" <?php if($__Context->member_info->allow_message == $__Context->key){ ?>selected="selected"<?php } ?>><?php @print($__Context->val);?></option>
<?php } ?>
</select>
<p><?php @print($__Context->lang->about_allow_message);?></p>
</td>
</tr>
<?php if($__Context->member_srl && $__Context->editor){ ?>
<tr>
<th scope="row"><div><?php @print($__Context->lang->signature);?></div></th>
<td><?php @print($__Context->editor);?></td>
</tr>
<?php } ?>
<tr class="row2">
<th scope="row"><div><?php @print($__Context->lang->denied);?></div></th>
<td>
<input type="checkbox" name="denied" value="Y" <?php if($__Context->member_info->denied=='Y'){ ?>checked="checked"<?php } ?>/>
<p><?php @print($__Context->lang->about_denied);?></p>
</td>
</tr>
<tr>
<th scope="row"><div><?php @print($__Context->lang->limit_date);?></div></th>
<td>
<input type="hidden" name="limit_date" id="date_limit_date" value="<?php @print($__Context->member_info->limit_date);?>" />
<input type="text" class="inputDate" value="<?php @print(zdate($__Context->member_info->limit_date,'Y-m-d',false));?>" readonly="readonly" />
<span class="button"><input type="button" value="<?php @print($__Context->lang->cmd_delete);?>" class="dateRemover" /></span>
<p class="clear"><?php @print($__Context->lang->about_limit_date);?></p>
</td>
</tr>
<tr class="row2">
<th scope="row"><div><?php @print($__Context->lang->is_admin);?></div></th>
<td>
<input type="checkbox" name="is_admin" value="Y" <?php if($__Context->member_info->is_admin=='Y'){ ?>checked="checked"<?php } ?>/>
<p><?php @print($__Context->lang->about_is_admin);?></p>
</td>
</tr>
<tr>
<th scope="row"><div><?php @print($__Context->lang->description);?></div></th>
<td>
<textarea name="description" class="inputTypeTextArea fullWidth"><?php @print(htmlspecialchars($__Context->member_info->description));?></textarea>
<p><?php @print($__Context->lang->about_member_description);?></p>
</td>
</tr>
<tr class="row2">
<th scope="row"><div><?php @print($__Context->lang->group);?></div></th>
<td>
<?php $Context->__idx[1]=0;if(count($__Context->group_list)) foreach($__Context->group_list as $__Context->key=>$__Context->val){$__Context->__idx[2]=($__Context->__idx[2]+1)%2; $__Context->cycle_idx = $__Context->__idx[2]+1; ?>
<input type="checkbox" name="group_srl_list" value="<?php @print($__Context->key);?>" id="group_<?php @print($__Context->key);?>" <?php if($__Context->member_info->group_list[$__Context->key]){ ?>checked="checked"<?php } ?> class="checkbox" />
<label for="group_<?php @print($__Context->key);?>"><?php @print($__Context->val->title);?></label>
<?php } ?>
<p><?php @print($__Context->lang->about_group);?></p>
</td>
</tr>
</table>
<?php if($__Context->extend_form_list){ ?>
<h4 class="xeAdmin"><?php @print($__Context->lang->member_extend_info);?></h4>
<table cellspacing="0" class="rowTable">
<?php $Context->__idx[2]=0;if(count($__Context->extend_form_list)) foreach($__Context->extend_form_list as $__Context->key => $__Context->val){$__Context->__idx[3]=($__Context->__idx[3]+1)%2; $__Context->cycle_idx = $__Context->__idx[3]+1; ?>
<?php if($__Context->val->is_active=='Y'){ ?>
<tr class="row<?php @print($__Context->cycle_idx);?>">
<th scope="row"><div>
<?php @print(htmlspecialchars($__Context->val->column_title));?>
<?php if($__Context->val->required=='Y'){ ?>*<?php } ?>
<div class="publicItem">
<input type="checkbox" class="checkbox" name="open_<?php @print($__Context->val->column_name);?>" <?php if($__Context->val->is_opened){ ?>checked="checked"<?php } ?> 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>
</div></th>
<td class="wide">
<?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){ ?>
<?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; ?>
<input type="checkbox" name="<?php @print($__Context->val->column_name);?>" value="<?php @print(htmlspecialchars($__Context->v));?>" <?php if(is_array($__Context->val->value)&&in_array($__Context->v, $__Context->val->value)){ ?>checked="checked"<?php } ?>/> <?php @print($__Context->v);?>
<?php } ?>
<?php } ?>
<?php }elseif($__Context->val->column_type == 'radio'){ ?>
<?php if($__Context->val->default_value){ ?>
<ul class="radio">
<?php $Context->__idx[4]=0;if(count($__Context->val->default_value)) foreach($__Context->val->default_value as $__Context->v){$__Context->__idx[5]=($__Context->__idx[5]+1)%2; $__Context->cycle_idx = $__Context->__idx[5]+1; ?>
<li><input type="radio" name="<?php @print($__Context->val->column_name);?>" value="<?php @print($__Context->v);?>" <?php if($__Context->val->value == $__Context->v){ ?>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[5]=0;if(count($__Context->val->default_value)) foreach($__Context->val->default_value as $__Context->v){$__Context->__idx[6]=($__Context->__idx[6]+1)%2; $__Context->cycle_idx = $__Context->__idx[6]+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 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(htmlspecialchars($__Context->val->value[0]));?>" class="inputTypeText w400"/>
<span class="button"><input type="button" value="<?php @print($__Context->lang->cmd_cancel);?>" onclick="doHideKrZipList('<?php @print($__Context->val->column_name);?>'); return false;" /></span>
</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>
<span class="button"><input type="button" value="<?php @print($__Context->lang->cmd_select);?>" onclick="doSelectKrZip('<?php @print($__Context->val->column_name);?>'); return false;" /></span>
<span class="button"><input type="button" value="<?php @print($__Context->lang->cmd_cancel);?>" onclick="doHideKrZipList('<?php @print($__Context->val->column_name);?>'); return false;" /></span>
</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);?>" value="" class="inputTypeText w400" />
<span class="button"><input type="button" value="<?php @print($__Context->lang->cmd_search);?>" onclick="doSearchKrZip('<?php @print($__Context->val->column_name);?>'); return false;" /></span>
</div>
<div>
<input type="text" name="<?php @print($__Context->val->column_name);?>" value="<?php @print(htmlspecialchars($__Context->val->value[1]));?>" class="inputTypeText w400" />
</div>
<?php }elseif($__Context->val->column_type == 'jp_zip'){ ?>
<input type="text" name="<?php @print($__Context->val->column_name);?>" value="<?php @print($__Context->val->value);?>" class="inputTypeText w400" />
<?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" value="<?php @print(zdate($__Context->val->value,"Y-m-d"));?>" />
<?php } ?>
<?php if($__Context->val->description){ ?><p class="clear"><?php @print(htmlspecialchars($__Context->val->description));?></p><?php } ?>
</td>
</tr>
<?php } ?>
<?php } ?>
</table>
<?php } ?>
<table cellspacing="0" class="rowTable">
<tbody>
<tr>
<th class="button">
<span class="button black strong"><input type="submit" value="<?php @print($__Context->lang->cmd_registration);?>" accesskey="s" /></span>
<?php if($__Context->member_srl){ ?>
<a href="<?php @print(getUrl('act','dispMemberAdminInfo'));?>" class="button"><span><?php @print($__Context->lang->cmd_cancel);?></span></a>
<?php }else{ ?>
<a href="<?php @print(getUrl('act','dispMemberAdminList'));?>" class="button"><span><?php @print($__Context->lang->cmd_cancel);?></span></a>
<?php } ?>
</td>
</tr>
</tbody>
</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>