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

version 1.42, 2001/03/24 08:54:07 version 1.241, 2001/07/25 11:22:47
Line 1 Line 1
 @main[]  
   
 $t[^table:load[/test.cfg]]  
 ^$t.a=$t.a<BR>  
   
 ^$request:uri=$request:uri<BR>  
 ^$env:REQUEST_URI=$env:REQUEST_URI<BR>  
 ^$env:PATH_INFO=$env:PATH_INFO<BR>  
   
   
 ^$env:REMOTE_ADDR=$env:REMOTE_ADDR<BR>  #################################################################
 ^$env:REQUEST_URI=$env:REQUEST_URI<BR>  # тут описаны следующие макросы :
   # default[val;deflt]
   # ifdef[value;deflt;undef]
   # color[color1;color2]
   # load[file]
   # include[file]
   # trim[string;char]
   # getFileExt[file]
   
 ^rem{  
 $response:body[]  
 $response:location[http://parser3/123]  
 }  
   
   
 ^$root_test=$root_test !<BR>  
 ^$site_test=$site_test !<BR>  
 ^$main_test=$main_test !<BR>  
 ^${cookie:вот}=${cookie:вот}?<BR>  
 ^$request:query=$request:query<BR>  
 ^$request:uri=$request:uri<BR>  
   
 <form method=post>  
 (^$form:name=$form:name)<BR>  
 <input name=name value="^default[$form:name;не знаю]">  
 <input type=submit>  
 </form>  
   
 @default[test;def]  
 ^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[]  #################################################################
 $main_test[$main_test + .html]  # старый добрый default
   @main[]
   #$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[]
   =^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.42  
changed lines
  Added in v.1.241


E-mail: