Ngôi Làng Của Gió 3D 1.1.7

Chức năng xt
[...] = optional ... = your value
[var $... = ]
[print[_raw]][...][...]
Code ví dụ:
<!--parser:xtscript-->
# xtfunctions can be printed out
print you are using a <xt:get_device_template /> device<br />
# Most xtfunctions can be read into variables
var $country=<xt:country type="1" />
print $country<hr />
# forums cannot be read into xtscript variables
var $forum=<xt:forum />
print $forum no forum here <hr/>
#xtfunctions can be constructed with variables
var $function=browser detail="4"
var $browser=<xt:$function />
print $browser<hr />
# The content of a file can be included in to a variable
var $included = <xt:include file="/manual/basics/examples/included"/>
print $included<hr />
# widgets are parsed separately to Xtscript so they cannot be read into variables
var $widget=<xt:widget id="flickr_random_photo"/>
print $widget no widget here <hr/>
#but they can be constructed for output
var $w = flickr_random_photo
print <xt:widget id="$w"/><hr />
# dump of variables on this page
print Variables on this page <br />
var $dump=call dump_vars
var $dump=call trim $val=$dump ; $charlist={{<pre>
Array/ }}
var $dump=call trim $val=$dump ; $charlist=( )
var $dump=call htmlspecialchars $val=$dump
#var $dump=call nl2br $val=$dump
print <pre>$dump</pre>
<!--/parser:xtscript--><!--parser:xtscript-->
# xtfunctions can be printed out
print you are using a <xt:get_device_template /> device<br />
# Most xtfunctions can be read into variables
var $country=<xt:country type="1" />
print $country<hr />
# forums cannot be read into xtscript variables
var $forum=<xt:forum />
print $forum no forum here <hr/>
#xtfunctions can be constructed with variables
var $function=browser detail="4"
var $browser=<xt:$function />
print $browser<hr />
# The content of a file can be included in to a variable
var $included = <xt:include file="/manual/basics/examples/included"/>
print $included<hr />
# widgets are parsed separately to Xtscript so they cannot be read into variables
var $widget=<xt:widget id="flickr_random_photo"/>
print $widget no widget here <hr/>
#but they can be constructed for output
var $w = flickr_random_photo
print <xt:widget id="$w"/><hr />
# dump of variables on this page
print Variables on this page <br />
var $dump=call dump_vars
var $dump=call trim $val=$dump ; $charlist={{<pre>
Array/ }}
var $dump=call trim $val=$dump ; $charlist=( )
var $dump=call htmlspecialchars $val=$dump
#var $dump=call nl2br $val=$dump
print <pre>$dump</pre>
<!--/parser:xtscript-->
Code đã chạy:you are using a mobile device
no forum here

0: php_network_getaddresses: getaddrinfo failed: Name or service not known no widget here
0: php_network_getaddresses: getaddrinfo failed: Name or service not known
Variables on this page
[url] =>
[___t] =>
[__xtblog_rss] =>
[$url] => http://wapviip.hexat.com
[$input] => /hoc-xtscript/cap-nhat/xtfunctions-in-xts-cach-dug-xts
[$this] => cap-nhat
[$that] => ten
[$output] => /hoc-xtscript/ten/xtfunctions-in-xts-cach-dug-xts
[$ten] => <script type="text/javascript" src="/hoc-xtscript/ten/xtfunctions-in-xts-cach-dug-xts"></script>
[$country] =>
[$forum] =>
[$function] => browser detail="4"
[$browser] => <img src="http://xtgem.com/images/browsers/mozilla.png" title="Mozilla" alt="Mozilla" />
[$included] =>
[$widget] => <xt:widget id="flickr_random_photo"/>
[$w] => flickr_random_photo
Thucdaik
Đăng lúc:13:29 13/11/2016
Chia sẻ bài viết:
☆BÌNH LUẬN
☆ BẠN XEM CHƯA?
※ TRUNG TÂM HỖ TRỢ
Yahoo!:AdmjnWapViip@yahoo.com
Gmail:AdmjnWap@Gmail.Com