Diff for /parser3/src/www/htdocs/Attic/index.html between versions 1.264 and 1.290

version 1.264, 2001/08/10 07:13:07 version 1.290, 2001/09/03 17:07:16
Line 2 Line 2
 t.p  t.p
 dtf.p  dtf.p
   
   @main[]
   #^tresult[]
   #^voidtest[]
   ^ttext[]
   #^tdoubledefault[]
   #^tintdefault[]
   #^t3partycookie[]
   #^t3partycookie[]
   #^tcookie[]
   #^tfilemove[]
   #^treplace[]
   #^measuretest[]
   #^savetest[]
   #^oratestinsert[]
   #^oratestread[]
   #^process_check[]
   #^ffcheck[]^[xxx]
   
   #$ORIGINS(1)
   #^list[]
   #^tests[]
   #^func(0)<hr>
   
   @tresult[]
   44
   $result[]
   
   @voidtest[]
   #$var[123x]
   ^var.int(4)
   
   @ttext[]
   $êàðòèíêà[^image::load[/i/commons_22_prev.gif]]
   ^êàðòèíêà.font[ ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ0123456789-+=!\"%:,.^^^;<>?@()[]'&*/^$;/i/font.gif](5)
   
   ^êàðòèíêà.text(10;10)[ ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijkl]
   ^êàðòèíêà.text(10;30)[mnopqrstuvwxyzÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞß]
   ^êàðòèíêà.text(10;50)[àáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ0123456789]
   ^êàðòèíêà.text(10;70)[!-+=!\"%:,.^^^;<>?@()[]'&*/^$!]
   
   
   $response:body[^êàðòèíêà.gif[]]
   
   @tdoubledefault[]
   $a[123.6x]
   #^a.double[]
   ^a.double(999)
   
   
   @tintdefault[]
   $a[123x]
   #^a.int[]
   ^a.int(999)
   
   @t3partycookie2[]
   #z<img width=100 height=100 src=http://i/cgi-bin/p3p.cgi>z
   z<img width=100 height=100 src=http://i.office.design.ru/cgi-bin/p3p.cgi>z
   
   @t3partycookie[]
   z<img width=100 height=100 src=http://rotabanner.adex.ru/cgi-bin/banner/mail>z
   
   @tcookie[]
   $response:P3P[policyref="http://parser3/w3c/paf.xml"]
   $cookie:test[$form:x^math:random(100)]
   $env:HTTP_COOKIE<br>
   get:$cookie:test
   #<img src=http://parser3.office.design.ru/?x=coffice>
   
   @tfilemove[]
   ^file:move[a/a;b/b]
   
   @treplace[]
   $øèëî-íà-ìûëî[^table::set{a     b
   øèëî    ìûëî
   }]
   $ñòðîêà[áûâàåò øèëî â çàäèöå]
   ^ñòðîêà.replace[$øèëî-íà-ìûëî]<BR>
   
   @measuretest[]
   $im[^image::measure[mm3.gif]]
   x:y=${im.width}:${im.height}<BR>
   
   @savetest[]
   $file[^file::load[text;index.html]]
   ^file.save[binary;/some/dir/here.dat]
   OK
           
   @oratestinsert[]
   ^connect[oracle://mts_admin:admin_pwd@ORACLE.PAF.OFFICE.DESIGN.RU]{
   #^void:sql{create table lobtest(test clob)}
   ^void:sql{insert into lobtest values (/**test**/'áó''êâû')}
   $table[^table::sql{select * from lobtest}]
   ^table.menu{^table.line[] <!--. $table.test -->}
   }
   
   @oratestread[]
   ^connect[oracle://mts_admin:admin_pwd@ORACLE.PAF.OFFICE.DESIGN.RU]{
   ^rem{
   $tables[^table::sql{select table_name from user_tables}]
   ^tables.menu{
           $tables.table_name<br>
   }
   <hr>
   }
   $news[^table::sql{select * from news}[$.limit(2)]]
   ^rem{
   news columns:<br>
   $news_columns[^news.columns[]]
   ^news_columns.menu{
           $news_columns.column<br>
   }
   <hr>
   }
   news description:<br>
   ^news.menu{
   <hr>
           $news.description
   }
   }
   
   @process_check[]
   $f[^file::load[text;process.tpl]]
   ^process[$f.text]
   
   @ffcheck[]
   ^file:find[bug/index.html]{not found}
   
   @list[]
   $list[^file:list[.;.*\.html^$]]
   ^list.menu{$list.name<br>}
   #^list.count[]
   
   @func[param]
   #[local]
   $local(0)
   ^local.inc(1)
   #$local($local+1)
   ^if($param<10){^func($param+1)}
   =$local=
   
 @bannerSSI[][code]  @bannerSSI[][code]
 $code[^file::cgi[/../cgi-bin/bbssi.pl;  $code[^file::cgi[/../cgi-bin/bbssi.pl;
         $.QUERY_STRING[d=1&H=ad1.lbe.ru&pubid=91033&pg=1&vbn=26&num=1&w=-1&h=-1&r=ssi&i=http://go.bb.ru/images/onerror/bb.gif&g=http://www.bb.ru&before=<center>&after=</center>&bafter=]          $.QUERY_STRING[d=1&H=ad1.lbe.ru&pubid=91033&pg=1&vbn=26&num=1&w=-1&h=-1&r=ssi&i=http://go.bb.ru/images/onerror/bb.gif&g=http://www.bb.ru&before=<center>&after=</center>&bafter=]
Line 22  document.write(''); Line 162  document.write('');
 </script>  </script>
 <!-- BannerBank advertising end: new -->  <!-- BannerBank advertising end: new -->
   
 @main[]  @tests[]
   $ab(123)
   ${[ab]}=
   <hr>
   $õýø[$.âîçðàñò(88)] $äîñòàòü[$.ïîëå[âîçðàñò]] ^õýø.[$äîñòàòü.ïîëå].format{%05d}
   <hr>
   
   $ëþäè[
           $.âàñÿ[
                   $.âîçðàñò(45)
           ]
   ]
   $÷åëîâåê[
           $.ïîëå[âîçðàñò] 
   ]
   
   $ëþäè.âàñÿ.[$÷åëîâåê.ïîëå]<br>
   ^ëþäè.âàñÿ.[$÷åëîâåê.ïîëå].format{%010d}<br>
   
   
   <hr>
 $unsorted[^table::set{a b  $unsorted[^table::set{a b
 1       1  1       1
 3       3  3       3
 2       2  2       2
 }]  }]
 $sorted[^unsorted.sort($a)[asc]]  $sorted[^unsorted.sort($unsorted.a)]
 ^sorted.menu{$sorted.a}[,]  ^sorted.menu{$sorted.a}[,]
 <hr>  <hr>
                 =^dtf:format[aaa-%Y-bbb-%m]=                  =^dtf:format[aaa-%Y-bbb-%m]=

Removed from v.1.264  
changed lines
  Added in v.1.290


E-mail: