Diff for /parser3/src/www/htdocs/Attic/index.html between versions 1.40 and 1.242

version 1.40, 2001/03/23 13:08:15 version 1.242, 2001/07/25 12:18:23
Line 1 Line 1
 @main[]  
   
 $t[^table:load[/test.cfg]]  
 ^$t.a=$t.a<BR>  
   
 ^$env:REMOTE_ADDR=$env:REMOTE_ADDR<BR>  
 ^$env:REQUEST_URI=$env:REQUEST_URI<BR>  
   
 ^rem{  #################################################################
 $response:body[]  # тут описаны следующие макросы :
 $response:location[http://parser3/123]  # default[val;deflt]
 }  # ifdef[value;deflt;undef]
   # color[color1;color2]
   # load[file]
   # include[file]
   # trim[string;char]
   # getFileExt[file]
   
   
     
   
 ^$root_test=$root_test !<BR>  #################################################################
 ^$site_test=$site_test !<BR>  # старый добрый default
 ^${cookie:вот}=${cookie:вот}?<BR>  @main[]
 ^$request:query=$request:query<BR>  #$response:status[404]
 ^$request:uri=$request:uri<BR>  #$response:location[/inh.html]
   #<hr>
 <form method=post>  $таблица[^table:set{a   b
 (^$form:name=$form:name)<BR>  1       2
 <input name=name value="^default[$form:name;не знаю]">  11      22
 <input type=submit>  }]
 </form>  ^$таблица.fields.a=$таблица.fields.a<br>
   ^$таблица.a=$таблица.a<br>
 @default[test;def]  <hr>
 ^if(^test.length[]){$test}{$def}  $n[]
   =^n.match[sdf][]{123}=
 @exception[origin;source;comment;type;code]  <hr>
 <body bgcolor=black>  
 <font color=white>  =$3=
 ERROR:  <hr>
 ^if(def $source){$origin '$source'}  
 ${comment}.  $строка[123]
 ^if(def $type){type=$type}  ^строка.match[(.);g]{($match.1)}
 ^if(def $code){code=$code}  <hr>
   $a{
           $b[1]
   }
   ^$b=$b<br>
   ^$a!$a<br>
   ^$b=$b<br>
   <hr>

Removed from v.1.40  
changed lines
  Added in v.1.242


E-mail: