|
|
| version 1.2, 2001/03/15 11:09:51 | version 1.35, 2001/03/22 16:38:26 |
|---|---|
| Line 1 | Line 1 |
| @USE | @main[] |
| news | ^$root_test=$root_test !<BR> |
| ^$site_test=$site_test !<BR> | |
| ^${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> | |
| </form> | |
| @справа[] | @default[test;def] |
| $новость[^новость:загрузить[]] | ^if(^test.length[]){$test}{$def} |
| $новость{ | |
| <h1>$заголовок</h1> | @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} |