Diff for /parser3/src/www/htdocs/Attic/index.html between versions 1.33 and 1.249

version 1.33, 2001/03/22 07:05:46 version 1.249, 2001/07/30 15:32:42
Line 1 Line 1
 @main[]  @main[]
 ${cookie:н}?  ^connect[pgsql://paf:paf123@six/paf]{
   #    ^void::sql{insert into хрен (a) values (1)}
           $id(^int:sql{select 2*2})
           $id<br>
   
 <form method=post>          $пресса[^table::sql{select * from aaa}]
 (^$form:name=$form:name)<BR>  #       $a[^пресса.columns[]]^a.menu{$a.column}
 <input name=name value="^default[$form:name;не знаю]">          ^пресса.menu{
 <input type=submit>                  $пресса.val
 </form>          }[<br>]
   }
   <hr>
   #$cookie:reg0[8reg0]
   #$cookie:reg1[8reg1]
   $cookie:reg0
   $cookie:reg1
   
 @default[test;def]  <hr>
 ^if(^test.length[]){$test}{$def}  ^connect[odbc://dsn=voz7^;uid=voz^;pwd=pwd]{
   #    ^void::sql{insert into хрен (a) values (1)}
           $id(^int:sql{select 5})
           $id
   
 @exception[origin;source;comment;type;code]          $пресса[^table::sql{select * from press where header='$form:h'}]
 ERROR:          ^пресса.menu{
 ^if(def $source){$origin '$source'}                  $пресса.id, $пресса.date_row, $пресса.header, $пресса.short_text^rem{, $пресса.full_text}, $пресса.mode
 ${comment}.          }[<br>]
 ^if(def $type){type=$type}  }
 ^if(def $code){code=$code}  <hr>
   #$response:status[404]
   #$response:location[/inh.html]
   #<hr>
   $таблица[^table::set{a  b
   1       2
   11      22
   }]
   ^$таблица.fields.a=$таблица.fields.a<br>
   ^$таблица.a=$таблица.a<br>
   <hr>
   $n[z]
   =^n.match[sdf][]{123}=
   <hr>
   
   =$3=
   <hr>
   
   $строка[123]
   ^строка.match[(.);g]{($match.1)}
   <hr>
   $a{
           $b[1]
   }
   ^$b=$b<br>
   ^$a!$a<br>
   ^$b=$b<br>
   <hr>

Removed from v.1.33  
changed lines
  Added in v.1.249


E-mail: