|
|
| version 1.45, 2001/03/24 09:57:52 | version 1.308, 2001/09/11 08:49:22 |
|---|---|
| Line 1 | Line 1 |
| @USE | |
| /news.p | |
| @main[] | @main[] |
| #^testdom3[] | |
| $t[^table:load[/test.cfg]] | #^testdom2[] |
| ^process[@b[] | #^testdom1[] |
| f | ^testdom0[] |
| ] | OK |
| ^b[] | |
| @testdom3[] | |
| ^$t.a=$t.a<BR> | $dom[^dom::load[test.xml]] |
| $dom[^dom.xslt[test.xsl;$.param1(48)]] | |
| ^$request:uri=$request:uri<BR> | $dom[^dom.xslt[test.xsl;$.param1(48)]] |
| ^$env:PATH_INFO=$env:PATH_INFO<BR> | |
| ^$env:REMOTE_ADDR=$env:REMOTE_ADDR<BR> | @testdom2[] |
| $dom[^dom::load[test.xml]] | |
| ^rem{ | #^dom.save[$.encoding[windows-1251];write.xml] |
| $response:body[] | #^dom.save[;write.xml] |
| $response:location[http://parser3/123] | ^dom.save[$.encoding[windows-1251] $.method[xml];write.xml] |
| } | ^dom.save[$.encoding[windows-1251] $.method[html];write.html] |
| ^dom.save[$.encoding[windows-1251] $.method[text];write.txt] | |
| <HR> | @testdom1[] |
| ^^auto_test[]:<BR> | $dom[^dom::load[test.xml]] |
| <ol> | $dom[^dom.xslt[test.xsl;$.param1(48)]] |
| ^auto_test[] | $response:body[^dom.file[windows-1251]] |
| </ol> | |
| <HR> | @testdom0[] |
| $dom[^dom::load[test.xml]] | |
| ^${cookie:גמע}=${cookie:גמע}?<BR> | ^dom.save[$.encoding[windows-1251];write.xml] |
| ^$request:query=$request:query<BR> | ^dom.string[$.encoding[windows-1251]] |
| ^$request:uri=$request:uri<BR> | $פאיכ[^dom.file[$.encoding[windows-1251]]] |
| ^פאיכ.save[binary;writefile.xml] | |
| <form method=post> | $response:body[$פאיכ] |
| (^$form:name=$form:name)<BR> | OK |
| <input name=name value="^default[$form:name;םו חםא]"> | |
| <input type=submit> | |
| </form> | |
| @default[test;def] | |
| ^if(^test.length[]){$test}{$def} | |
| @exception[origin;source;comment;type;code] | |
| <body bgcolor=black> | |
| <font color=white> | |
| ERROR: | |
| ^if(def $source){$origin '$source'} | |
| ${comment}. | |
| ^if(def $type){type=$type} | |
| ^if(def $code){code=$code} | |
| @auto_test[] | |
| ^BASE.auto_test[] | |
| <li>$request:uri<BR> | |