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@1201 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
3ed4516b8a
commit
3cd2f4432a
10 changed files with 33 additions and 50 deletions
|
|
@ -1,8 +0,0 @@
|
|||
<query id="deleteDeniedIP" action="delete">
|
||||
<tables>
|
||||
<table name="spamfilter_denied_ip" />
|
||||
</tables>
|
||||
<conditions>
|
||||
<condition operation="equal" column="ipaddress" var="ipaddress" filter="number" notnull="notnull" />
|
||||
</conditions>
|
||||
</query>
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
<query id="deleteDeniedWord" action="delete">
|
||||
<tables>
|
||||
<table name="spamfilter_denied_word" />
|
||||
</tables>
|
||||
<conditions>
|
||||
<condition operation="equal" column="word" var="word" filter="number" notnull="notnull" />
|
||||
</conditions>
|
||||
</query>
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<query id="getDeniedWordList" action="select">
|
||||
<query id="getDeniedIPList" action="select">
|
||||
<tables>
|
||||
<table name="spamfilter_denied_word" />
|
||||
<table name="spamfilter_denied_ip" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="*" />
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
<query id="getLogCount" action="select">
|
||||
<tables>
|
||||
<table name="spamfilter_log" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="count(*)" alias="count" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="ipaddress" var="ipaddress" filter="number" notnull="notnull" />
|
||||
<condition operation="more" column="regdate" var="regdate" notnull="notnull" pipe="and" />
|
||||
</conditions>
|
||||
</query>
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
<query id="insertDeniedIP" action="insert">
|
||||
<tables>
|
||||
<table name="spamfilter_denied_word" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="word" var="word" notnull="notnull" />
|
||||
<column name="regdate" var="regdate" default="curdate()" />
|
||||
</columns>
|
||||
</query>
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
<query id="isDeniedIP" action="select">
|
||||
<tables>
|
||||
<table name="spamfilter_denied_ip" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="count(*)" alias="count" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="ipaddress" var="ipaddress" filter="number" notnull="notnull" />
|
||||
</conditions>
|
||||
</query>
|
||||
31
modules/counter/queries/updateCounterStatus.xml
Normal file
31
modules/counter/queries/updateCounterStatus.xml
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
<query id="updateDocument" action="update">
|
||||
<tables>
|
||||
<table name="documents" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="module_srl" var="module_srl" filter="number" default="0" />
|
||||
<column name="category_srl" var="category_srl" filter="number" default="0" />
|
||||
<column name="is_notice" var="is_notice" notnull="notnull" default="N" />
|
||||
<column name="is_secret" var="is_secret" notnull="notnull" default="N" />
|
||||
<column name="title" var="title" notnull="notnull" minlength="2" maxlength="250" />
|
||||
<column name="content" var="content" notnull="notnull" />
|
||||
<column name="uploaded_count" var="uploaded_count" default="0" />
|
||||
<column name="password" var="password" minlength="2" maxlength="60" />
|
||||
<column name="nick_name" var="nick_name" minlength="1" maxlength="40" notnull="notnull" />
|
||||
<column name="member_srl" var="member_srl" default="0" filter="number" />
|
||||
<column name="user_name" var="user_name" default="" />
|
||||
<column name="email_address" var="email_address" filter="email" maxlength="250" />
|
||||
<column name="homepage" var="homepage" filter="homepage" maxlength="250" />
|
||||
<column name="tags" var="tags" />
|
||||
<column name="last_update" var="last_update" default="curdate()" />
|
||||
<column name="ipaddress" var="ipaddress" default="ipaddress()" />
|
||||
<column name="list_order" var="list_order" />
|
||||
<column name="update_order" var="update_order" default="0" />
|
||||
<column name="allow_comment" var="allow_comment" default="Y" />
|
||||
<column name="lock_comment" var="lock_comment" default="N" />
|
||||
<column name="allow_trackback" var="allow_trackback" default="Y" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="document_srl" var="document_srl" filter="number" notnull="notnull" />
|
||||
</conditions>
|
||||
</query>
|
||||
Loading…
Add table
Add a link
Reference in a new issue