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

version 1.78, 2001/03/29 17:23:23 version 1.168, 2001/05/08 05:50:06
Line 1 Line 1
 @auto[]  @main[]
 !!$html-typo[^table:set{user    html    comment  $filelist[^table:dir[]]
 <<      &laquo^;        длинные user вперёд  <hr>
 >>      &raquo^;  $path[/news/tululu/]
 \n\n    <p>     !эти есть в таблице по умолчанию  ^path.flip[]
 \n      <br>    !но т.к. заменяем, надо повторить.  <hr>
 <       &lt^;   !можно этим воспользоваться,  $branches[^table:set{name       val
 >       &gt^;   !и что-то сделать ДО обычных замен  index.cgihtml   123
 "       &quot^; !например из << и >>  
 &       &amp^;  !сделать ёлочки-кавычки.  
 _       &nbsp^;  
 ^#AB    &laquo^;        windows коды ёлочек  
 ^#BB    &raquo^;        windows коды ёлочек  
 (c)     &copy^;  
 ^#A9    &copy^; windows (c)  
 }]  }]
   $splitURI[^request:uri.lsplit[/]]
 @dump[t]                                          ^branches.locate[name2;$splitURI.1]
 #^t.menu{$n<BR>}                                          $branches.name
 <HR>  <HR>
 @func[n]  $splitURI[^request:uri.lsplit[/]]
 $n  $splitURI.0!$splitURI.1
 @twop[a;b]  <HR>
 ($a,$b)  
 @main[]  $t2[^table:set{dir      title
 $a[vasya,fedya,kolya]  /here   Here
 ^^"$a".lsplit[,]=$as[^a.lsplit[,]]^as.menu{$0;|}<BR>  
 ^^a.pos(sy]="^a.pos[sy]"<BR>  
 ^^a.pos[zsy]="^a.pos[zsy]"<BR>  
 ^^a.left(3)="^a.left(3)"<BR>  
 ^^a.right(3)="^a.right(3)"<BR>  
 ^^a.mid(1;3)="^a.mid(1;3)"<BR>  
 <HR>  
 ^twop[a;]  
 ^$request:browser.type=$request:browser.type<BR>  
 ^$request:browser.version=$request:browser.version<BR>  
   
 $tf[^file:load[test.zip;abc.zip]]  
 ^$tf.name=$tf.name<BR>  
 ^$tf.size=$tf.size<BR>  
 ^$tf.mime-type=$tf.mime-type<BR>  
 ^$tf.text:<BR>  
 $tf.text<HR>  
 <HR>  
 ^file:find[test.cfg]<BR>  
 ^file:find[tes.cfg]{not found}<BR>  
 <HR>  
   
 $t[^table:set{n  
 3  
 01.3  
 1.2  
 2  
 }]  }]
 #$t{^locate[n;2z]^found{$n}{not found}}<BR>  $t2{^menu{${dir}-$title}[,]}
 #$t{^locate[n;3]^found{found:$n}{not found}}<BR>  <HR>
 ^$t:<BR>  $dir[news]
 ^dump[$t]  $list[^table:dir[$dir]]
 #^t.sort($n)  ^list.menu{
 ^^t.sort(^$n):<BR>      $subdir[$dir/$list.name]
 ^dump[$t]          $sublist[^table:dir[$subdir]]
 #^t.sort{^:func($n)}          ${list.name}/ $sublist{^menu{$name}[,]}<br>
 ^^t.sort{^^:func(^$n)}:<BR>  
 ^dump[$t]  
 #^t.sort{$n}  
 ^^t.sort{^$n}:<BR>  
 ^dump[$t]  
 #^t.sort{$n}[desc]  
 ^^t.sort{^$n}[desc]:<BR>  
 ^dump[$t]  
 <HR>  
   
 ^if(-f index.html){y}{n}<BR>  
 ^taint[html-typo;не знаю  
 я ничего  
   
 <<слово длинное>>  
   
 (c) by Я  
 ]<HR>  
 $t[^table:load[/test.cfg]]  
 ^process[@b[]  
 f  
 ]  
 ^b[]<BR>  
   
 ^$t.a=$t.a<BR>  
 ^t.offset[2]  
 #$r[^t.record[]]  
 #^$r.a=$r.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>
   
 @default[test;def]  $files[^table:set{name}]
 $result[^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 130  ${comment}. Line 65  ${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.78  
changed lines
  Added in v.1.168


E-mail: