Difference between revisions of "Globals test"

From EntropiaPlanets Wiki - Entropia Universe Guides Wiki Info
m
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Atrox Mature ==
{{#get_db_data:
{{#get_db_data:
db=globals
db=globals
|from=globallog
|from=globalnames
|where=item=3
|limit=10
|limit=10
|order by=value DESC
|order by=globalnames.id
|data=date=date,name=owner,item=item,type=type,value=value
|data=id=globalnames.id,name=globalnames.name
}}
}}


{| class="wikitable"
<table>
|-
<tr><th>ID</th><th>Name</th></tr>
! date
{{#for_external_table:<tr><td>{{{id}}}</td><td>{{{name}}}</td></tr>}}
! name
</table>
! item
! type
! value
|-
{{#for_external_table:
{{!}} {{{date}}}
{{!}} {{{name}}}
{{!}} {{{item}}}  
{{!}} {{{type}}}
{{!}} {{{value}}}
{{!}}- }}
|}

Latest revision as of 00:30, 28 September 2013

{{#get_db_data: db=globals |from=globalnames |limit=10 |order by=globalnames.id |data=id=globalnames.id,name=globalnames.name }}

{{#for_external_table:}}
IDName
{{{id}}}{{{name}}}