mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1106 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4f1d02cda0
commit
ea50fbbaa6
43 changed files with 235 additions and 101 deletions
|
|
@ -1,8 +1,8 @@
|
|||
<query id="deleteAddon" action="delete">
|
||||
<tables>
|
||||
<table name="addons" />
|
||||
</tables>
|
||||
<conditions>
|
||||
<condition operation="equal" column="addon" var="addon" notnull="notnull" />
|
||||
</conditions>
|
||||
<tables>
|
||||
<table name="addons" />
|
||||
</tables>
|
||||
<conditions>
|
||||
<condition operation="equal" column="addon" var="addon" notnull="notnull" />
|
||||
</conditions>
|
||||
</query>
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
<query id="getAddonIsActivated" action="select">
|
||||
<tables>
|
||||
<table name="addons" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="count(*)" alias="count" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="addon" var="addon" notnull="notnull" />
|
||||
</conditions>
|
||||
<tables>
|
||||
<table name="addons" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="count(*)" alias="count" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="addon" var="addon" notnull="notnull" />
|
||||
</conditions>
|
||||
</query>
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<query id="getAddons" action="select">
|
||||
<tables>
|
||||
<table name="addons" />
|
||||
</tables>
|
||||
<navigation>
|
||||
<index var="list_order" default="addon" order="asc" />
|
||||
</navigation>
|
||||
<tables>
|
||||
<table name="addons" />
|
||||
</tables>
|
||||
<navigation>
|
||||
<index var="list_order" default="addon" order="asc" />
|
||||
</navigation>
|
||||
</query>
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
<query id="insertAddon" action="insert">
|
||||
<tables>
|
||||
<table name="addons" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="addon" var="addon" notnull="notnull" />
|
||||
<column name="regdate" var="regdate" default="curdate()" />
|
||||
</columns>
|
||||
<tables>
|
||||
<table name="addons" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="addon" var="addon" notnull="notnull" />
|
||||
<column name="regdate" var="regdate" default="curdate()" />
|
||||
</columns>
|
||||
</query>
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
</group>
|
||||
</conditions>
|
||||
<navigation>
|
||||
<index var="sort_index" order="desc" />
|
||||
<index var="sort_index" default="module_srl" order="desc" />
|
||||
<list_count var="list_count" default="20" />
|
||||
<page_count var="page_count" default="10" />
|
||||
<page var="page" default="1" />
|
||||
|
|
|
|||
|
|
@ -9,6 +9,6 @@
|
|||
<condition operation="equal" column="document_srl" var="document_srl" filter="number" notnull="notnull" />
|
||||
</conditions>
|
||||
<navigation>
|
||||
<index var="list_order" order="asc" />
|
||||
<index var="list_order" default="list_order" order="asc" />
|
||||
</navigation>
|
||||
</query>
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
<condition operation="like_prefix" column="ipaddress" var="s_ipaddress" pipe="or" />
|
||||
</conditions>
|
||||
<navigation>
|
||||
<index var="sort_index" order="asc" />
|
||||
<index var="sort_index" default="list_order" order="asc" />
|
||||
<list_count var="list_count" default="20" />
|
||||
<page_count var="page_count" default="10" />
|
||||
<page var="page" default="1" />
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
</group>
|
||||
</conditions>
|
||||
<navigation>
|
||||
<index var="sort_index" order="asc" />
|
||||
<index var="sort_index" default="comments.list_order" order="asc" />
|
||||
<list_count var="list_count" default="20" />
|
||||
<page_count var="page_count" default="10" />
|
||||
<page var="page" default="1" />
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
<column name="module_srl" var="module_srl" filter="number" notnull="notnull" />
|
||||
<column name="parent_srl" var="parent_srl" filter="number" default="0" />
|
||||
<column name="document_srl" var="document_srl" filter="number" notnull="notnull" />
|
||||
<column name="content" var="content" notnull="notnull" minlength="2" maxlength="250" />
|
||||
<column name="content" var="content" notnull="notnull" />
|
||||
<column name="password" var="password" minlength="2" maxlength="60" />
|
||||
<column name="nick_name" var="nick_name" notnull="notnull" minlength="1" maxlength="40" />
|
||||
<column name="user_name" var="user_name" default="" />
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<columns>
|
||||
<column name="module_srl" var="module_srl" filter="number" default="0" />
|
||||
<column name="parent_srl" var="parent_srl" filter="number" default="0" />
|
||||
<column name="content" var="content" notnull="notnull" minlength="2" maxlength="250" />
|
||||
<column name="content" var="content" notnull="notnull" />
|
||||
<column name="password" var="password" minlength="2" maxlength="60" />
|
||||
<column name="user_name" var="user_name" default="" />
|
||||
<column name="nick_name" var="nick_name" notnull="notnull" minlength="1" maxlength="40" />
|
||||
|
|
|
|||
|
|
@ -6,6 +6,6 @@
|
|||
<condition operation="equal" column="module_srl" var="module_srl" filter="number" notnull="notnull" />
|
||||
</conditions>
|
||||
<navigation>
|
||||
<index var="sort_index" order="asc" />
|
||||
<index var="sort_index" default="list_order" order="asc" />
|
||||
</navigation>
|
||||
</query>
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
</group>
|
||||
</conditions>
|
||||
<navigation>
|
||||
<index var="sort_index" order="asc" />
|
||||
<index var="sort_index" default="list_order" order="asc" />
|
||||
<list_count var="list_count" default="20" />
|
||||
<page_count var="page_count" default="10" />
|
||||
<page var="page" default="1" />
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
</group>
|
||||
</conditions>
|
||||
<navigation>
|
||||
<index var="sort_index" order="asc" />
|
||||
<index var="sort_index" default="documents.list_order" order="asc" />
|
||||
<list_count var="list_count" default="20" />
|
||||
<page_count var="page_count" default="10" />
|
||||
<page var="page" default="1" />
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<table name="documents" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="comment_count" var="comment_count" />
|
||||
<column name="comment_count" var="comment_count" notnull="notnull" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="document_srl" var="document_srl" filter="number" notnull="notnull" />
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
</group>
|
||||
</conditions>
|
||||
<navigation>
|
||||
<index var="sort_index" order="desc" />
|
||||
<index var="sort_index" default="file_srl" order="desc" />
|
||||
<list_count var="list_count" default="20" />
|
||||
<page_count var="page_count" default="10" />
|
||||
<page var="page" default="1" />
|
||||
|
|
|
|||
|
|
@ -6,6 +6,6 @@
|
|||
<condition operation="equal" column="upload_target_srl" var="upload_target_srl" filter="number" notnull="notnull" />
|
||||
</conditions>
|
||||
<navigation>
|
||||
<index var="sort_index" order="asc" />
|
||||
<index var="sort_index" defualt="file_srl" order="asc" />
|
||||
</navigation>
|
||||
</query>
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
<column name="uploaded_filename" type="varchar" size="250" />
|
||||
<column name="file_size" type="number" size="11" default="0" notnull="notnull" index="idx_file_size" />
|
||||
<column name="comment" type="varchar" size="250" />
|
||||
<column name="isvalid" type="char" size="1" default="N" index="idx_upload_target_srl" />
|
||||
<column name="isvalid" type="char" size="1" default="N" index="idx_is_valid" />
|
||||
<column name="regdate" type="date" index="idx_regdate" />
|
||||
<column name="ipaddress" type="varchar" size="128" notnull="notnull" index="idx_ipaddress"/>
|
||||
</table>
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="layout_srl" var="layout_srl" filter="number" notnull="notnull" />
|
||||
<condition operation="equal" column="menu_id" var="menu_id" filter="number" notnull="notnull" pipe="and" />
|
||||
<condition operation="equal" column="menu_id" var="menu_id" notnull="notnull" pipe="and" />
|
||||
</conditions>
|
||||
<navigation>
|
||||
<index var="sort_index" default="listorder" order="desc" />
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<table name="layout_menu" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="parent_srl" var="parent_srl" />
|
||||
<column name="parent_srl" var="parent_srl" default="0" />
|
||||
<column name="listorder" var="listorder" notnull="notnull" />
|
||||
</columns>
|
||||
<conditions>
|
||||
|
|
|
|||
|
|
@ -3,6 +3,6 @@
|
|||
<table name="member_denied_user_id" />
|
||||
</tables>
|
||||
<conditions>
|
||||
<condition operation="equal" column="user_id" var="user_id" notnull="notnull" filter="number" />
|
||||
<condition operation="equal" column="user_id" var="user_id" notnull="notnull" />
|
||||
</conditions>
|
||||
</query>
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
<condition operation="equal" column="member.member_srl" var="friend.target_srl" pipe="and" />
|
||||
</conditions>
|
||||
<navigation>
|
||||
<index var="sort_index" order="asc" />
|
||||
<index var="sort_index" default="friend.list_order" order="asc" />
|
||||
<list_count var="list_count" default="10" />
|
||||
<page_count var="page_count" default="10" />
|
||||
<page var="page" default="1" />
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
</group>
|
||||
</conditions>
|
||||
<navigation>
|
||||
<index var="sort_index" order="desc" />
|
||||
<index var="sort_index" default="member_srl" order="desc" />
|
||||
<list_count var="list_count" default="20" />
|
||||
<page_count var="page_count" default="10" />
|
||||
<page var="page" default="1" />
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
</group>
|
||||
</conditions>
|
||||
<navigation>
|
||||
<index var="sort_index" order="desc" />
|
||||
<index var="sort_index" default="member.list_order" order="desc" />
|
||||
<list_count var="list_count" default="20" />
|
||||
<page_count var="page_count" default="10" />
|
||||
<page var="page" default="1" />
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
<condition operation="equal" column="message.sender_srl" var="member.member_srl" pipe="and"/>
|
||||
</conditions>
|
||||
<navigation>
|
||||
<index var="sort_index" order="asc" />
|
||||
<index var="sort_index" default="message.list_order" order="asc" />
|
||||
<list_count var="list_count" default="10" />
|
||||
<page_count var="page_count" default="10" />
|
||||
<page var="page" default="1" />
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
<condition operation="equal" column="message.receiver_srl" var="member.member_srl" pipe="and"/>
|
||||
</conditions>
|
||||
<navigation>
|
||||
<index var="sort_index" order="asc" />
|
||||
<index var="sort_index" default="message.list_order" order="asc" />
|
||||
<list_count var="list_count" default="10" />
|
||||
<page_count var="page_count" default="10" />
|
||||
<page var="page" default="1" />
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
<condition operation="equal" column="message.sender_srl" var="member.member_srl" pipe="and"/>
|
||||
</conditions>
|
||||
<navigation>
|
||||
<index var="sort_index" order="asc" />
|
||||
<index var="sort_index" default="message.list_order" order="asc" />
|
||||
<list_count var="list_count" default="10" />
|
||||
<page_count var="page_count" default="10" />
|
||||
<page var="page" default="1" />
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@
|
|||
<!--%import("filter/delete_image_mark.xml")-->
|
||||
<!--@end-->
|
||||
<!--%import("js/member.js")-->
|
||||
<!--%import("../../tpl/js/krzip_search.js")-->
|
||||
<div>
|
||||
{$lang->msg_update_member}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
<!--%import("filter/signup.xml")-->
|
||||
<!--%import("js/member.js")-->
|
||||
<!--%import("../../tpl/js/krzip_search.js")-->
|
||||
|
||||
<div>
|
||||
{$lang->msg_new_member}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
<!--%import("js/member_admin.js")-->
|
||||
<!--%import("js/krzip_search.js")-->
|
||||
|
||||
<div style="margin-bottom:20px;">
|
||||
<span <!--@if($act=='dispMemberAdminList')-->style="font-weight:bold"<!--@end-->>[<a href="{getUrl('act','dispMemberAdminList','member_srl','')}">{$lang->cmd_member_list}</a>]</span>
|
||||
|
|
|
|||
71
modules/member/tpl/js/krzip_search.js
Normal file
71
modules/member/tpl/js/krzip_search.js
Normal file
|
|
@ -0,0 +1,71 @@
|
|||
/* 한국 우편 번호 관련 */
|
||||
function doHideKrZipList(column_name) {
|
||||
var zone_list_obj = xGetElementById('zone_address_list_'+column_name);
|
||||
var zone_search_obj = xGetElementById('zone_address_search_'+column_name);
|
||||
var zone_addr1_obj = xGetElementById('zone_address_1_'+column_name);
|
||||
var addr1_obj = xGetElementById('fo_insert_member')[column_name][0];
|
||||
var field_obj = xGetElementById('fo_insert_member')['_tmp_address_search_'+column_name];
|
||||
|
||||
zone_addr1_obj.style.display = 'none';
|
||||
zone_list_obj.style.display = 'none';
|
||||
zone_search_obj.style.display = 'inline';
|
||||
addr1_obj.value = '';
|
||||
field_obj.focus();
|
||||
}
|
||||
|
||||
function doSelectKrZip(column_name) {
|
||||
var zone_list_obj = xGetElementById('zone_address_list_'+column_name);
|
||||
var zone_search_obj = xGetElementById('zone_address_search_'+column_name);
|
||||
var zone_addr1_obj = xGetElementById('zone_address_1_'+column_name);
|
||||
var sel_obj = xGetElementById('fo_insert_member')['_tmp_address_list_'+column_name];
|
||||
var value = sel_obj.options[sel_obj.selectedIndex].value;
|
||||
var addr1_obj = xGetElementById('fo_insert_member')[column_name][0];
|
||||
var addr2_obj = xGetElementById('fo_insert_member')[column_name][1];
|
||||
addr1_obj.value = value;
|
||||
zone_search_obj.style.display = 'none';
|
||||
zone_list_obj.style.display = 'none';
|
||||
zone_addr1_obj.style.display = 'inline';
|
||||
addr2_obj.focus();
|
||||
}
|
||||
|
||||
function doSearchKrZip(column_name) {
|
||||
var field_obj = xGetElementById('fo_insert_member')['_tmp_address_search_'+column_name];
|
||||
var addr = field_obj.value;
|
||||
if(!addr) return;
|
||||
|
||||
var params = new Array();
|
||||
params['addr'] = addr;
|
||||
params['column_name'] = column_name;
|
||||
|
||||
var response_tags = new Array('error','message','address_list');
|
||||
exec_xml('krzip', 'getKrzipCodeList', params, completeSearchKrZip, response_tags, params);
|
||||
}
|
||||
|
||||
function completeSearchKrZip(ret_obj, response_tags, callback_args) {
|
||||
if(!ret_obj['address_list']) {
|
||||
alert(alert_msg['address']);
|
||||
return;
|
||||
}
|
||||
var address_list = ret_obj['address_list'].split("\n");
|
||||
var column_name = callback_args['column_name'];
|
||||
|
||||
var zone_list_obj = xGetElementById('zone_address_list_'+column_name);
|
||||
var zone_search_obj = xGetElementById('zone_address_search_'+column_name);
|
||||
var zone_addr1_obj = xGetElementById('zone_address_1_'+column_name);
|
||||
var sel_obj = xGetElementById('fo_insert_member')['_tmp_address_list_'+column_name];
|
||||
|
||||
for(var i=0;i<address_list.length;i++) {
|
||||
var opt = new Option(address_list[i],address_list[i],false,false);
|
||||
sel_obj.options[i] = opt;
|
||||
}
|
||||
|
||||
for(var i=address_list.length-1;i<sel_obj.options.length;i++) {
|
||||
sel_obj.remove(i);
|
||||
}
|
||||
|
||||
sel_obj.selectedIndex = 0;
|
||||
|
||||
zone_search_obj.style.display = 'none';
|
||||
zone_addr1_obj.style.display = 'none';
|
||||
zone_list_obj.style.display = 'inline';
|
||||
}
|
||||
|
|
@ -6,6 +6,6 @@
|
|||
<column name="*" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="act" default="act" />
|
||||
<condition operation="equal" column="act" var="act" />
|
||||
</conditions>
|
||||
</query>
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<table name="module_config" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="module" default="module" notnull="notnull" />
|
||||
<column name="module" var="module" notnull="notnull" />
|
||||
<column name="config" var="config" />
|
||||
<column name="regdate" default="curdate()" />
|
||||
</columns>
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<column name="module_srl" type="number" size="11" notnull="notnull" primary_key="primary_key" />
|
||||
<column name="module" type="varchar" size="80" notnull="notnull" index="idx_module" />
|
||||
<column name="module_category_srl" type="number" size="11" default="0" index="idx_module_category" />
|
||||
<column name="layout_srl" type="number" size="11" notnull="notnull" default="0" />
|
||||
<column name="layout_srl" type="number" size="11" default="0" />
|
||||
<column name="mid" type="varchar" size="40" notnull="notnull" unique="unique_mid"/>
|
||||
<column name="skin" type="varchar" size="250" />
|
||||
<column name="browser_title" type="varchar" size="250" notnull="notnull"/>
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
</group>
|
||||
</conditions>
|
||||
<navigation>
|
||||
<index var="sort_index" order="desc" />
|
||||
<index var="sort_index" default="module_srl" order="desc" />
|
||||
<list_count var="list_count" default="20" />
|
||||
<page_count var="page_count" default="10" />
|
||||
<page var="page" default="1" />
|
||||
|
|
|
|||
|
|
@ -8,6 +8,6 @@
|
|||
<conditions>
|
||||
<condition operation="equal" column="poll_srl" var="poll_srl" />
|
||||
<condition operation="equal" column="member_srl" default="0" var="memer_srl" pipe="and" />
|
||||
<condition operation="equal" column="ipaddress" var="ipaddress" default="ipaddress" pipe="and" />
|
||||
<condition operation="equal" column="ipaddress" var="ipaddress" default="ipaddress()" pipe="and" />
|
||||
</conditions>
|
||||
</query>
|
||||
|
|
|
|||
|
|
@ -6,6 +6,6 @@
|
|||
<column name="*" />
|
||||
</columns>
|
||||
<navigation>
|
||||
<index var="sort_index" order="desc" />
|
||||
<index var="sort_index" default="regdate" order="desc" />
|
||||
</navigation>
|
||||
</query>
|
||||
|
|
|
|||
|
|
@ -6,6 +6,6 @@
|
|||
<column name="*" />
|
||||
</columns>
|
||||
<navigation>
|
||||
<index var="sort_index" order="desc" />
|
||||
<index var="sort_index" default="regdate" order="desc" />
|
||||
</navigation>
|
||||
</query>
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
<condition operation="like_prefix" column="ipaddress" var="s_ipaddress" pipe="or" />
|
||||
</conditions>
|
||||
<navigation>
|
||||
<index var="sort_index" order="asc" />
|
||||
<index var="sort_index" default="list_order" order="asc" />
|
||||
<list_count var="list_count" default="20" />
|
||||
<page_count var="page_count" default="10" />
|
||||
<page var="page" default="1" />
|
||||
|
|
|
|||
|
|
@ -9,6 +9,6 @@
|
|||
<condition operation="equal" column="document_srl" var="document_srl" filter="number" notnull="notnull" />
|
||||
</conditions>
|
||||
<navigation>
|
||||
<index var="list_order" order="asc" />
|
||||
<index var="list_order" default="list_order" order="asc" />
|
||||
</navigation>
|
||||
</query>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue