mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-24 13:49:56 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@237 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
6ead633151
commit
a5f53d4b25
12 changed files with 158 additions and 47 deletions
8
modules/spamfilter/queries/deleteDeniedIP.xml
Normal file
8
modules/spamfilter/queries/deleteDeniedIP.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<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>
|
||||
8
modules/spamfilter/queries/deleteDeniedWord.xml
Normal file
8
modules/spamfilter/queries/deleteDeniedWord.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<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>
|
||||
12
modules/spamfilter/queries/getLogCount.xml
Normal file
12
modules/spamfilter/queries/getLogCount.xml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<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>
|
||||
9
modules/spamfilter/queries/insertDeniedIP.xml
Normal file
9
modules/spamfilter/queries/insertDeniedIP.xml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<query id="insertDeniedIP" action="insert">
|
||||
<tables>
|
||||
<table name="spamfilter_denied_ip" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="ipaddress" var="ipaddress" notnull="notnull" />
|
||||
<column name="regdate" var="regdate" default="curdate()" />
|
||||
</columns>
|
||||
</query>
|
||||
9
modules/spamfilter/queries/insertDeniedWord.xml
Normal file
9
modules/spamfilter/queries/insertDeniedWord.xml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<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>
|
||||
10
modules/spamfilter/queries/insertLog.xml
Normal file
10
modules/spamfilter/queries/insertLog.xml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<query id="insertLog" action="insert">
|
||||
<tables>
|
||||
<table name="spamfilter_log" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="spamfilter_log_srl" default="sequence()" />
|
||||
<column name="ipaddress" default="ipaddress()" />
|
||||
<column name="regdate" var="regdate" default="curdate()" />
|
||||
</columns>
|
||||
</query>
|
||||
Loading…
Add table
Add a link
Reference in a new issue