Diff for /parser3/src/www/htdocs/Attic/index.html between versions 1.44 and 1.166

version 1.44, 2001/03/24 09:44:21 version 1.166, 2001/05/07 14:09:08
Line 1 Line 1
   @t[a]
   -${a}-
   @end
   
 @main[]  @main[]
   $splitURI[^request:uri.lsplit[/]]
   $splitURI.0!$splitURI.1
   <HR>
   
 $t[^table:load[/test.cfg]]  $t2[^table:set{dir      title
 ^process[@b[]  /here   Here
 f  }]
 ]  $t2{^menu{${dir}-$title}[,]}
 ^b[]  <HR>
   $dir[news]
 ^$t.a=$t.a<BR>  $list[^table:dir[$dir]]
   ^list.menu{
 ^$request:uri=$request:uri<BR>      $subdir[$dir/$list.name]
 ^$env:PATH_INFO=$env:PATH_INFO<BR>          $sublist[^table:dir[$subdir]]
 ^$env:REMOTE_ADDR=$env:REMOTE_ADDR<BR>          ${list.name}/ $sublist{^menu{$name}[,]}<br>
   
 ^rem{  
 $response:body[]  
 $response:location[http://parser3/123]  
 }  }
   
   
 <HR>  <HR>
 ^^auto_test[]:<BR>  ^t[x]
 <ol>  
 ^auto_test[]  
 </ol>  
 <HR>  <HR>
   ^if(in "/otherdeeper"){y;n}
 ^${cookie:вот}=${cookie:вот}?<BR>  <HR>
 ^$request:query=$request:query<BR>  ^$form:проверка_имя=$form:проверка_имя<BR>
 ^$request:uri=$request:uri<BR>  
   
 <form method=post>  <form method=post>
 (^$form:name=$form:name)<BR>  <input name=проверка_имя value=проверка_значение>
 <input name=name value="^default[$form:name;не знаю]">  
 <input type=submit>  <input type=submit>
 </form>  </form>
   <HR>
   
   ^^table:dir[/]:<BR>
   $d[^table:dir[/]]
   $d{^menu{$name &nbsp^;&nbsp^;&nbsp^;&nbsp^;^if(-f $name){-f} ^if(-d $name){-d};<BR>}}
   <HR>
   
 @default[test;def]  $files[^table:set{name}]
 ^if(^test.length[]){$test}{$def}  $d{^menu{
       ^if(-d "$name"){
           ^:files.append{$name}
       }
   }}
   
 @exception[origin;source;comment;type;code]  $files{^menu{$name}[,]}
   <HR>
   
   @exception[origin;source;comment;type;code][i;j]
 <body bgcolor=black>  <body bgcolor=black>
 <font color=white>  <font color=white>
 ERROR:  ERROR:
Line 49  ${comment}. Line 57  ${comment}.
   
 @auto_test[]  @auto_test[]
 ^BASE.auto_test[]  ^BASE.auto_test[]
 <li>$request:uri<BR>  <li>${request:uri}!
   
   

Removed from v.1.44  
changed lines
  Added in v.1.166


E-mail: