Diff for /parser3/src/www/htdocs/Attic/index.html between versions 1.31 and 1.61

version 1.31, 2001/03/21 15:53:31 version 1.61, 2001/03/27 13:47:32
Line 1 Line 1
   @auto[]
   $html-typo[^table:set{user      html    comment
   <<      &laquo^;        длинные user вперёд
   >>      &raquo^;
   \n\n    <p>     !эти есть в таблице по умолчанию
   \n      <br>    !но т.к. заменяем, надо повторить.
   <       &lt^;   !можно этим воспользоваться,
   >       &gt^;   !и что-то сделать ДО обычных замен
   "       &quot^; !например из << и >>
   &       &amp^;  !сделать ёлочки-кавычки.
   _       &nbsp^;
   ^#AB    &laquo^;        windows коды ёлочек
   ^#BB    &raquo^;        windows коды ёлочек
   (c)     &copy^;
   ^#A9    &copy^; windows (c)
   }]
   
 @main[]  @main[]
 $href[${request:uri}.]  ^if(-f index.html){y}{n}<BR>
 <a href=$href>$href</a>  ^taint[html-typo;не знаю
   я ничего
   
   <<слово длинное>>
   
   (c) by Я
   ]<HR>
   $t[^table:load[/test.cfg]]
   ^process[@b[]
   f
   ]
   ^b[]<BR>
   
   ^$t.a=$t.a<BR>
   ^t.offset[2]
   #$r[^t.record[]]
   #^$r.a=$r.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>  <HR>
   
 ^$cookie:a={$cookie:a}<BR>  ^${cookie:вот}=${cookie:вот}?<BR>
 $cookie:a[123]  ^$request:query=$request:query<BR>
 ^$form:a={$form:a}<BR>  ^$request:uri=$request:uri<BR>
 $env:CONTENT_LENGTH ?<BR>  
   
 ^$env:REQUEST_URI={$env: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]  @exception[origin;source;comment;type;code]
   <body bgcolor=black>
   <font color=white>
 ERROR:  ERROR:
 ^if(def $source){$origin '$source'}  ^if(def $source){$origin '$source'}
 ${comment}.  ${comment}.
 ^if(def $type){type=$type}  ^if(def $type){type=$type}
 ^if(def $code){code=$code}  ^if(def $code){code=$code}
   
   @auto_test[]
   ^BASE.auto_test[]
   <li>$request:uri
   

Removed from v.1.31  
changed lines
  Added in v.1.61


E-mail: