Diff for /parser3/src/www/htdocs/Attic/index.html between versions 1.168 and 1.307

version 1.168, 2001/05/08 05:50:06 version 1.307, 2001/09/11 08:43:39
Line 1 Line 1
 @main[]  @main[]
 $filelist[^table:dir[]]  ^testdom3[]
 <hr>  #^testdom2[]
 $path[/news/tululu/]  #^testdom1[]
 ^path.flip[]  #^testdom0[]
 <hr>  OK
 $branches[^table:set{name       val  
 index.cgihtml   123  @testdom3[]
 }]  $dom[^dom::load[test.xml]]
 $splitURI[^request:uri.lsplit[/]]  $dom[^dom.xslt[test.xsl;$.param1(48)]]
                                         ^branches.locate[name2;$splitURI.1]  $dom[^dom.xslt[test.xsl;$.param1(48)]]
                                         $branches.name  
 <HR>  @testdom2[]
 $splitURI[^request:uri.lsplit[/]]  $dom[^dom::load[test.xml]]
 $splitURI.0!$splitURI.1  #^dom.save[$.encoding[windows-1251];write.xml]
 <HR>  #^dom.save[;write.xml]
   ^dom.save[$.encoding[windows-1251] $.method[xml];write.xml]
 $t2[^table:set{dir      title  ^dom.save[$.encoding[windows-1251] $.method[html];write.html]
 /here   Here  ^dom.save[$.encoding[windows-1251] $.method[text];write.txt]
 }]  
 $t2{^menu{${dir}-$title}[,]}  @testdom1[]
 <HR>  $dom[^dom::load[test.xml]]
 $dir[news]  $dom[^dom.xslt[test.xsl;$.param1(48)]]
 $list[^table:dir[$dir]]  $response:body[^dom.file[windows-1251]]
 ^list.menu{  
     $subdir[$dir/$list.name]  @testdom0[]
         $sublist[^table:dir[$subdir]]  $dom[^dom::load[test.xml]]
         ${list.name}/ $sublist{^menu{$name}[,]}<br>  ^dom.save[windows-1251;write.xml]
 }  ^dom.string[windows-1251]
 <HR>  $файл[^dom.file[windows-1251]]
 ^t[x]  ^файл.save[binary;writefile.xml]
 <HR>  $response:body[$файл]
 ^if(in "/otherdeeper"){y;n}  OK
 <HR>  
 ^$form:проверка_имя=$form:проверка_имя<BR>  
 <form method=post>  
 <input name=проверка_имя value=проверка_значение>  
 <input type=submit>  
 </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}  
     }  
 }}  
   
 $files{^menu{$name}[,]}  
 <HR>  
   
 @exception[origin;source;comment;type;code][i;j]  
 <body bgcolor=black>  
 <font color=white>  
 ERROR:  
 ^if(def $source){$origin '$source'}  
 ${comment}.  
 ^if(def $type){type=$type}  
 ^if(def $code){code=$code}  
   
 @auto_test[]  
 ^BASE.auto_test[]  
 <li>${request:uri}!  
   
 @t[a]  
 -${a}-  
 @end  
   
   

Removed from v.1.168  
changed lines
  Added in v.1.307


E-mail: