|
|
| version 1.28, 2001/03/20 07:37:13 | version 1.35, 2001/03/22 16:38:26 |
|---|---|
| Line 1 | Line 1 |
| $t[^table:load[nameless;test.cfg]] | @main[] |
| ^t.save[test2.cfg] | ^$root_test=$root_test !<BR> |
| <form method=post enctype=multipart/form-data> | ^$site_test=$site_test !<BR> |
| <input name=photo type=file> | ^${cookie:вот}=${cookie:вот}?<BR> |
| ^$request:query=$request:query<BR> | |
| ^$request:uri=$request:uri<BR> | |
| <form method=post> | |
| (^$form:name=$form:name)<BR> | |
| <input name=name value="^default[$form:name;не знаю]"> | |
| <input type=submit> | <input type=submit> |
| </form> | </form> |
| <hr> | |
| ^if($form:photo){ | @default[test;def] |
| <pre> | ^if(^test.length[]){$test}{$def} |
| ^$form:photo.name='$form:photo.name' | |
| ^$form:photo.size='$form:photo.size' | @exception[origin;source;comment;type;code] |
| ^$form:photo.text='$form:photo.text' | <body bgcolor=black> |
| ^form:photo.save[paf.txt] | <font color=white> |
| </pre> | ERROR: |
| } | ^if(def $source){$origin '$source'} |
| ${comment}. | |
| ^if(def $type){type=$type} | |
| ^if(def $code){code=$code} |