Diff for /parser3/src/www/htdocs/Attic/index.html between versions 1.25 and 1.167

version 1.25, 2001/03/19 23:13:00 version 1.167, 2001/05/07 15:31:54
Line 1 Line 1
 $request:uri  @t[a]
 <form method=post enctype=multipart/form-data>  -${a}-
 <input name=photo type=file>  @end
   
   @main[]
   $branches[^table:set{name       val
   index.cgihtml   123
   }]
   $splitURI[^request:uri.lsplit[/]]
                                           ^branches.locate[name2;$splitURI.1]
                                           $branches.name
   <HR>
   $splitURI[^request:uri.lsplit[/]]
   $splitURI.0!$splitURI.1
   <HR>
   
   $t2[^table:set{dir      title
   /here   Here
   }]
   $t2{^menu{${dir}-$title}[,]}
   <HR>
   $dir[news]
   $list[^table:dir[$dir]]
   ^list.menu{
       $subdir[$dir/$list.name]
           $sublist[^table:dir[$subdir]]
           ${list.name}/ $sublist{^menu{$name}[,]}<br>
   }
   <HR>
   ^t[x]
   <HR>
   ^if(in "/otherdeeper"){y;n}
   <HR>
   ^$form:проверка_имя=$form:проверка_имя<BR>
   <form method=post>
   <input name=проверка_имя value=проверка_значение>
 <input type=submit>  <input type=submit>
 </form>  </form>
 <hr>  <HR>
 ^if($form:photo){  
         <pre>  ^^table:dir[/]:<BR>
         ^$form:photo.name='$form:photo.name'  $d[^table:dir[/]]
         ^$form:photo.size='$form:photo.size'  $d{^menu{$name &nbsp^;&nbsp^;&nbsp^;&nbsp^;^if(-f $name){-f} ^if(-d $name){-d};<BR>}}
         ^$form:photo.text='$form:photo.text'  <HR>
         ^form:photo.save{paf.txt}  
         </pre>  $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}!
   

Removed from v.1.25  
changed lines
  Added in v.1.167


E-mail: