Diff for /parser3/src/www/htdocs/Attic/index.html between versions 1.62 and 1.245

version 1.62, 2001/03/27 14:50:48 version 1.245, 2001/07/26 10:47:03
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[]
 $t[^table:set{n  ^connect[odbc://dsn=voz7^;uid=voz^;pwd=pwd]{
 1  #    ^void::sql{insert into хрен (a) values (1)}
 3          $пресса[^table::sql{select * from press where header='$form:h'}]
 2          ^пресса.menu{
                   $пресса.id, $пресса.date_row, $пресса.header, $пресса.short_text^rem{, $пресса.full_text}, $пресса.mode
           }[<br>]
   }
   <hr>
   #$response:status[404]
   #$response:location[/inh.html]
   #<hr>
   $таблица[^table::set{a  b
   1       2
   11      22
 }]  }]
 $t.n  ^$таблица.fields.a=$таблица.fields.a<br>
 <HR>  ^$таблица.a=$таблица.a<br>
   <hr>
 ^if(-f index.html){y}{n}<BR>  $n[]
 ^taint[html-typo;не знаю  =^n.match[sdf][]{123}=
 я ничего  <hr>
   
 <<слово длинное>>  =$3=
   <hr>
 (c) by Я  
 ]<HR>  $строка[123]
 $t[^table:load[/test.cfg]]  ^строка.match[(.);g]{($match.1)}
 ^process[@b[]  <hr>
 f  $a{
 ]          $b[1]
 ^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]  
 }  }
   ^$b=$b<br>
   ^$a!$a<br>
 <HR>  ^$b=$b<br>
 ^^auto_test[]:<BR>  <hr>
 <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.62  
changed lines
  Added in v.1.245


E-mail: