mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-22 04:39:55 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1212 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
76f599c69b
commit
713bbfe3d2
16 changed files with 44 additions and 62 deletions
11
modules/counter/queries/getTodayStatus.xml
Normal file
11
modules/counter/queries/getTodayStatus.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<query id="getTodayStatus" action="select">
|
||||
<tables>
|
||||
<table name="counter_status" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="count(*)" alias="count"/>
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="regdate" var="regdate" notnull="notnull" />
|
||||
</conditions>
|
||||
</query>
|
||||
10
modules/counter/queries/insertTodayStatus.xml
Normal file
10
modules/counter/queries/insertTodayStatus.xml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<query id="insertTodayStatus" action="insert">
|
||||
<tables>
|
||||
<table name="counter_status" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="regdate" var="regdate" notnull="notnull" />
|
||||
<column name="unique_visitor" default="0" />
|
||||
<column name="pageview" default="0" />
|
||||
</columns>
|
||||
</query>
|
||||
12
modules/counter/tpl/js/counter.js
Normal file
12
modules/counter/tpl/js/counter.js
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
/**
|
||||
* @brief 카운터 정보 수집 javascript
|
||||
* window.onload 이벤트 후에 counter 모듈을 호출한다.
|
||||
**/
|
||||
|
||||
// 이벤트 등록
|
||||
xAddEventListener(window,'load',doCallCounter);
|
||||
|
||||
// counter 모듈을 호출하는 함수
|
||||
function doCallCounter() {
|
||||
exec_xml('counter','procCounterExecute');
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue