Diff for /parser3/src/www/htdocs/Attic/index.html between versions 1.42 and 1.66

version 1.42, 2001/03/24 08:54:07 version 1.66, 2001/03/27 18:06:12
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)
   }]
   
   @dump[t]
   ^t.menu{$n<BR>}
   <HR>
   @func[n]
   $n
 @main[]  @main[]
   $t[^table:set{n
   3
   01.3
   1.2
   2
   }]
   ^$t:<BR>
   ^dump[$t]
   ^t.sort($n)
   ^^t.sort(^$n):<BR>
   ^dump[$t]
   ^t.sort{^:func($n)}
   ^^t.sort{^^:func(^$n)}:<BR>
   ^dump[$t]
   ^t.sort{$n}
   ^^t.sort{^$n}:<BR>
   ^dump[$t]
   ^t.sort{$n}[desc]
   ^^t.sort{^$n}[desc]:<BR>
   ^dump[$t]
   <HR>
   
   ^if(-f index.html){y}{n}<BR>
   ^taint[html-typo;не знаю
   я ничего
   
   <<слово длинное>>
   
   (c) by Я
   ]<HR>
 $t[^table:load[/test.cfg]]  $t[^table:load[/test.cfg]]
   ^process[@b[]
   f
   ]
   ^b[]<BR>
   
 ^$t.a=$t.a<BR>  ^$t.a=$t.a<BR>
   ^t.offset[2]
   #$r[^t.record[]]
   #^$r.a=$r.a<BR>
   
 ^$request:uri=$request:uri<BR>  ^$request:uri=$request:uri<BR>
 ^$env:REQUEST_URI=$env:REQUEST_URI<BR>  
 ^$env:PATH_INFO=$env:PATH_INFO<BR>  ^$env:PATH_INFO=$env:PATH_INFO<BR>
   
   
 ^$env:REMOTE_ADDR=$env:REMOTE_ADDR<BR>  ^$env:REMOTE_ADDR=$env:REMOTE_ADDR<BR>
 ^$env:REQUEST_URI=$env:REQUEST_URI<BR>  
   
 ^rem{  ^rem{
 $response:body[]  $response:body[]
Line 17  $response:location[http://parser3/123] Line 72  $response:location[http://parser3/123]
 }  }
   
   
 ^$root_test=$root_test !<BR>  <HR>
 ^$site_test=$site_test !<BR>  ^^auto_test[]:<BR>
 ^$main_test=$main_test !<BR>  <ol>
   ^auto_test[]
   </ol>
   <HR>
   
 ^${cookie:вот}=${cookie:вот}?<BR>  ^${cookie:вот}=${cookie:вот}?<BR>
 ^$request:query=$request:query<BR>  ^$request:query=$request:query<BR>
 ^$request:uri=$request:uri<BR>  ^$request:uri=$request:uri<BR>
   
 <form method=post>  <form method=post>
 (^$form:name=$form:name)<BR>  <table border=1 width=250><tr><td>$form:name</td></tr></table>
 <input name=name value="^default[$form:name;не знаю]">  <textarea name=name rows=5 cols=40>^untaint[html]{^default[$form:name;не знаю]}</textarea><BR>
 <input type=submit>  <input type=submit>
 </form>  </form>
   
 @default[test;def]  @default[test;def]
 ^if(^test.length[]){$test}{$def}  $result[^if(^test.length[]){$test}{$def}]
   
 @exception[origin;source;comment;type;code]  @exception[origin;source;comment;type;code]
 <body bgcolor=black>  <body bgcolor=black>
 <font color=white>  <font color=white>
 ERROR:  ERROR:
 ^if(def $source){$origin '$source'}  ^rem{TODO: checkif(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[]  @auto_test[]
 $main_test[$main_test + .html]  ^BASE.auto_test[]
   <li>${request:uri}!
   

Removed from v.1.42  
changed lines
  Added in v.1.66


E-mail: