Diff for /parser3/src/www/htdocs/Attic/index.html between versions 1.20 and 1.57

version 1.20, 2001/03/19 19:17:48 version 1.57, 2001/03/25 10:25:11
Line 1 Line 1
 @main[]  @auto[]
 <pre>  $html-typo[^table:set{user      html    comment
 ^$cookie:test-default1=$cookie:test-default1  <<      &laquo^;        длинные user вперёд
 ^$cookie:test-default2=$cookie:test-default2  >>      &raquo^;
 ^$cookie:test-tomorrow=$cookie:test-tomorrow  \n\n    <p>     !эти есть в таблице по умолчанию
 ^$cookie:test-session=$cookie:test-session  \n      <br>    !но т.к. заменяем, надо повторить.
   <       &lt^;   !можно этим воспользоваться,
 $cookie:test-default1[value=1]  >       &gt^;   !и что-то сделать ДО обычных замен
 $cookie:test-default2[$value[value=2]]  "       &quot^; !например из << и >>
 $cookie:test-tomorrow[$value[value=3] $expires(1)]  &       &amp^;  !сделать ёлочки-кавычки.
 $cookie:test-session[$value[value=8] $expires[session]]  _       &nbsp^;
 z  ^#AB    &laquo^;        windows коды ёлочек
 $t[^table:set{a b  ^#BB    &raquo^;        windows коды ёлочек
 $form:ta        12  (c)     &copy^;
 12      22  
 }]  }]
 ^$t.a="$t.a"  
 ^$t.b="$t.b"  
   
   
   @main[]
   ^taint[html-typo;не знаю
   я ничего
   
   <<слово длинное>>
   
   (c) by Я
   ]<HR>
   $t[^table:load[/test.cfg]]
   ^process[@b[]
   f
   ]
   ^b[]<BR>
   
   ^$t.a=$t.a<BR>
   
   ^$request:uri=$request:uri<BR>
   ^$env:PATH_INFO=$env:PATH_INFO<BR>
   ^$env:REMOTE_ADDR=$env:REMOTE_ADDR<BR>
   
   ^rem{
   $response:body[]
   $response:location[http://parser3/123]
   }
   
   
   <HR>
   ^^auto_test[]:<BR>
   <ol>
   ^auto_test[]
   </ol>
   <HR>
   
   ^${cookie:вот}=${cookie:вот}?<BR>
   ^$request:query=$request:query<BR>
   ^$request:uri=$request:uri<BR>
   
   <form method=post>
   <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>
   <input type=submit>
   </form>
   
   @default[test;def]
   $result[^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
   

Removed from v.1.20  
changed lines
  Added in v.1.57


E-mail: