Diff for /parser3/src/www/htdocs/Attic/index.html between versions 1.50 and 1.174

version 1.50, 2001/03/24 19:12:25 version 1.174, 2001/05/08 09:44:32
Line 1 Line 1
 @auto[]  @main[]
 $html-typo[^table:set{user      html  $t2[^table:set{key      a       b
 _       &nbsp^;  1       a1
 {       &laquo^;  2       a2      b2
 }       &raquo^;  }]
   ^t2.offset(1)
   $t2.b
   $r[^t2.record[]]
   <hr>
   $th[^t2.hash[b]]
   ^$th.b2.a=$th.b2.a<br>
   <hr>
   $th[^t2.hash[key;a]]
   ^$th.2.a=$th.2.a<br>
   <hr>
   #^OP:eval(1<2)
   
   $filelist[^table:dir[.]]
   <hr>
   $path[/news/tululu/]
   #^path.flip[]
   <hr>
   $branches[^table:set{name       val
   index.cgihtml   123
 }]  }]
   $splitURI[^request:uri.lsplit[/]]
   name ^if(^branches.locate[name;$splitURI.1]){found;not found}:
   $branches.name
   <HR>
   $splitURI[^request:uri.lsplit[/]]
   $splitURI.0!$splitURI.1
   <HR>
   
 @main[]  $t2[^table:set{dir      title
   /here   Here
   }]
   $t2{^menu{${dir}-$title}[,]}
 <HR>  <HR>
 $t[^table:load[/test.cfg]]  $dir[news]
 ^process[@b[]  $list[^table:dir[$dir]]
 f  ^list.menu{
 ]      $subdir[$dir/$list.name]
 ^b[]<BR>          $sublist[^table:dir[$subdir]]
           ${list.name}/ $sublist{^menu{$name}[,]}<br>
 ^$t.a=$t.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]  
 }  }
   
   
 <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>
 <table border=1 width=250><tr><td>$form:name</td></tr></table>  <input name=проверка_имя value=проверка_значение>
 <textarea name=name rows=5 cols=40>^untaint[html]{^default[$form:name;не знаю]}</textarea><BR>  
 <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>
   
   $files[^table:set{name}]
   $d{^menu{
       ^if(-d "$name"){
           ^:files.append{$name}
       }
   }}
   
 @default[test;def]  $files{^menu{$name}[,]}
 ^if(^test.length[]){$test}{$def}  <HR>
   
 @exception[origin;source;comment;type;code]  @exception[origin;source;comment;type;code][i;j]
 <body bgcolor=black>  <body bgcolor=black>
 <font color=white>  <font color=white>
 ERROR:  ERROR:
Line 56  ${comment}. Line 81  ${comment}.
   
 @auto_test[]  @auto_test[]
 ^BASE.auto_test[]  ^BASE.auto_test[]
 <li>$request:uri  <li>${request:uri}!
   
   @t[a]
   -${a}-
   @end
   

Removed from v.1.50  
changed lines
  Added in v.1.174


E-mail: