|
|
| version 1.100, 2001/04/03 17:46:17 | version 1.113, 2001/04/06 08:55:23 |
|---|---|
| Line 28 $n | Line 28 $n |
| #^data.match[1][g]{X} | #^data.match[1][g]{X} |
| @mt[s;m] | @mt[s;m] |
| $m ^if(^s.match[$:m][i]){matches}{do not match} $s<BR> | $m ^if(^s.match[$:m;i]){matches}{does not match} $s<BR> |
| @main[] | @main[] |
| ^connect[$SQL.connect-string]{ | |
| $random_age(^random:generate(10000)) | |
| $shit[^taint[our's]] | |
| $paf[^table:sql{insert into paf (name, age) values ('$shit', ^random:generate(10000))}] | |
| $paf[^table:sql{select * from paf order by id desc}(5)] | |
| $paf{ | |
| ^empty{query result is empty}{ | |
| <table border=1> | |
| <tr><td>id</td><td>name</td><td>age</td></tr> | |
| ^menu{<tr><td>$id</td><td>$name</td><td>$age</td></tr>} | |
| </table> | |
| }} | |
| } | |
| <HR> | |
| $with-cr[^table:set{a b | |
| ^taint[<1 | |
| 2>] 3 | |
| }] | |
| "$with-cr.a"<BR> | |
| <HR> | |
| ^if(def $form:s){ | ^if(def $form:s){ |
| $form:s<BR> | $form:s<BR> |
| ^form:s.match[!][g]{<b>!</b>}<BR> | ^form:s.match[!][g]{<b>!</b>}<BR> |
| Line 65 $sm[^s.match[(.)][]] | Line 87 $sm[^s.match[(.)][]] |
| } | } |
| <HR> | <HR> |
| ^mt[$s;я] | ^mt[$s;я] |
| ^mt[$s;Я] | |
| ^mt[$s;b] | ^mt[$s;b] |
| ^mt[$s;^^b] | ^mt[$s;^^b] |
| ^mt[$s;^^a] | ^mt[$s;^^a] |
| Line 205 $response:location[http://parser3/123] | Line 228 $response:location[http://parser3/123] |
| <form method=post> | <form method=post> |
| <table border=1 width=250><tr><td>$form:name</td></tr></table> | <table border=1 width=250><tr><td>$form:name</td></tr></table> |
| <textarea name=name rows=5 cols=40>^untaint[html]{^default[$form:name;не знаю]}</textarea><BR> | <textarea name=name rows=5 cols=40>^untaint[html]{^default[$form:name;Пробный текст: А.Ф._Петросян <<Жизнь в Аду>> |
| нажми Submit]}</textarea><BR> | |
| <input type=submit> | <input type=submit> |
| </form> | </form> |