|
|
| version 1.456, 2001/10/31 15:00:06 | version 1.463, 2001/11/05 10:43:00 |
|---|---|
| Line 1 | Line 1 |
| @main[] | @main[] |
| ^status[] | |
| <hr> | |
| #^xchildren[] | |
| #^thashforeach3[] | |
| #^thashforeach2[] | |
| #^thashforeach[] | |
| #^thashdelete[] | |
| #^connect[mysql://user:pass@cd.rinet.ru/db]{^void:sql{z} } | #^connect[mysql://user:pass@cd.rinet.ru/db]{^void:sql{z} } |
| #^tappend[] | #^tappend[] |
| #^sappend[] | #^sappend[] |
| Line 10 | Line 17 |
| #^безнадёжна_попытка_поправить_непоправимое[] | #^безнадёжна_попытка_поправить_непоправимое[] |
| #^tcache[] | #^tcache[] |
| #^thashfileexp[] | #^thashfileexp[] |
| ^tcounter[] | #^tcounter[] |
| #^tablehash[] | #^tablehash[] |
| #j^hashfile[] | #j^hashfile[] |
| #^formclass[] | #^formclass[] |
| Line 47 | Line 54 |
| #^mail[] | #^mail[] |
| #^exec[] | #^exec[] |
| #^fori[] | #^fori[] |
| #^tconnect[] | ^tconnect[] |
| #^xslt[] | ^xslt[] |
| #^xml[] | #^xml[] |
| #^header[] | #^header[] |
| <hr> | |
| ^status[] | |
| OK | OK |
| @status[] | |
| $c[$status:sql.cache] | |
| <table border=1> | |
| <tr> | |
| <td colspan=3> | |
| sql.cache | |
| </td> | |
| </tr> | |
| <td>url</td> | |
| <td>time</td> | |
| ^c.menu{ | |
| <tr> | |
| <td>$c.url</td> | |
| <td>$c.time</td> | |
| </tr> | |
| } | |
| </table> | |
| $c[$status:stylesheet.cache] | |
| <table border=1> | |
| <tr> | |
| <td colspan=3> | |
| stylesheet.cache | |
| </td> | |
| </tr> | |
| <td>file</td> | |
| <td>time</td> | |
| ^c.menu{ | |
| <tr> | |
| <td>$c.file</td> | |
| <td>$c.time</td> | |
| </tr> | |
| } | |
| </table> | |
| @xchildren[] | |
| $constructor[ | |
| <block1 name="main_srvr" type="0" label="Основное тело" /> | |
| <block2 name="main_srvr2" type="0" label="Основное тело" /> | |
| ] | |
| $constr[^xdoc::set{<?xml version="1.0" encoding="windows-1251" ?> | |
| <block-list>^untaint[as-is]{$constructor}</block-list>}] | |
| $children[$constr.documentElement.childNodes] | |
| ^if($children){ | |
| ^for[i](1;^children._count[]){ | |
| $node[$children.$i] | |
| $node.nodeName<br> | |
| } | |
| } | |
| @thashforeach3[] | |
| $h[ | |
| $.a[1] | |
| $.b[2] | |
| ] | |
| $c[^table::set{a | |
| ^h.foreach[key;value]{$value | |
| }}] | |
| $c.a | |
| @thashforeach2[] | |
| $h[ | |
| $.a[1] | |
| $.b[2] | |
| ] | |
| $c[ | |
| ^h.foreach[key;value]{ | |
| $.$key[$value] | |
| } | |
| ] | |
| $c.b | |
| @thashforeach[] | |
| $h[ | |
| $.a[1] | |
| $.b[2] | |
| ] | |
| ^h.foreach[key;value]{ | |
| $key=$value<br> | |
| } | |
| @thashdelete[] | |
| $h[$.a[1] $.b[2]] | |
| was:<br> | |
| count=^h._count[] <br> | |
| b='$h.b' <br> | |
| ^h.delete[b] | |
| now:<br> | |
| count=^h._count[] <br> | |
| b='$h.b' | |
| @sappend[] | @sappend[] |
| $test[123] | $test[123] |
| ^test.save[test] | ^test.save[test] |
| Line 95 $dom_created_in_air[^xdoc::create[doc]] | Line 201 $dom_created_in_air[^xdoc::create[doc]] |
| @tcache[] | @tcache[] |
| #^hashfile:clear[cache] | #^hashfile:clear[cache] |
| $code[^hashfile::open[cache]] | $code[^hashfile::open[$DB_HOME;cache]] |
| ^code.cache[key](2){ | ^code.cache[key](2){ |
| ^math:random(100) | ^math:random(100) |
| # ^code.delete[] | # ^code.delete[] |
| Line 103 $code[^hashfile::open[cache]] | Line 209 $code[^hashfile::open[cache]] |
| @thashfileexp[] | @thashfileexp[] |
| $hf[^hashfile::open[hashfile]] | $hf[^hashfile::open[$DB_HOME;hashfile]] |
| $hf.paf[$.value[крут] $.expires(3)] | $hf.paf[$.value[крут] $.expires(3)] |
| paf=$hf.paf | paf=$hf.paf |
| <hr> | <hr> |
| ^hf.foreach[key;value]{ | |
| $key=$value<br> | |
| } | |
| <hr> | |
| $hash[^hf.hash[]] | $hash[^hf.hash[]] |
| =$hash.paf= | =$hash.paf= |
| <hr> | <hr> |
| Line 501 $file[^xdoc.file[ | Line 611 $file[^xdoc.file[ |
| $.method[html] | $.method[html] |
| ]] | ]] |
| ^file.save[text;save_file.html] | ^file.save[text;save_file.html] |
| <pre>taint[^xdoc.string[]] | <pre>^taint[^xdoc.string[]] |
| # $.encoding[windows-1251] | # $.encoding[windows-1251] |
| # $.method[html] | # $.method[html] |
| #]] | #]] |