Diff for /parser3/src/www/htdocs/Attic/index.html between versions 1.124 and 1.157.2.2

version 1.124, 2001/04/08 13:15:52 version 1.157.2.2, 2001/04/27 16:48:38
Line 1 Line 1
 @auto[]  @USE
 $html-typo[^table:set{user      html    comment  news.p
 <<      &laquo^;        äëèííûå user âïåð¸ä  
 >>      &raquo^;  
 \n\n    <p>     !ýòè åñòü â òàáëèöå ïî óìîë÷àíèþ  
 \n      <br>    !íî ò.ê. çàìåíÿåì, íàäî ïîâòîðèòü.  
 <       &lt^;   !ìîæíî ýòèì âîñïîëüçîâàòüñÿ,  
 >       &gt^;   !è ÷òî-òî ñäåëàòü ÄÎ îáû÷íûõ çàìåí  
 "       &quot^; !íàïðèìåð èç << è >>  
 &       &amp^;  !ñäåëàòü ¸ëî÷êè-êàâû÷êè.  
 _       &nbsp^;  
 ^#AB    &laquo^;        windows êîäû ¸ëî÷åê  
 ^#BB    &raquo^;        windows êîäû ¸ëî÷åê  
 (c)     &copy^;  
 ^#A9    &copy^; windows (c)  
 }]  
   
 @dump[t]  @dump[t]
 ^t.menu{$n<BR>}  ^t.menu{$n<BR>}
Line 23  $n Line 9  $n
 @twop[a;b]  @twop[a;b]
 ($a,$b)  ($a,$b)
   
 @Zpost-process[data]  @Zpostprocess[data]
 #(<BR>$data)<BR>  #(<BR>$data)<BR>
 ^data.match[1][g]{X}  ^data.match[1][g]{X}
   
Line 31  $n Line 17  $n
 $m ^if(^s.match[$:m;i]){matches}{does not match} $s<BR>  $m ^if(^s.match[$:m;i]){matches}{does not match} $s<BR>
   
 @main[]  @main[]
   ^if(1>2){y}{n}
   #$SQL.drivers.a[z]
   
   <form action=post.html method=post>
   <input name=name value=çíà÷åíèå>
   <input type=submit>
   </form>
   <HR>
   match xmg:<BR>
   $s[2
   2]
   $r[^s.match[(2^$ #comment
   
   
   )][xmg]]
   ^r.menu{$match}[,]
   <HR>
   
   image:create<BR>
   $itext[^image:create(300;100)]
   $itext{
   ^font[ ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ0123456789-+=!\"%:,.^^^;<>?@()[]'&*/;font.gif](13)
   ^^text(10;10)[ÏÀÔ ñäåëàë ýòî]<BR>
   ^text(10;10)[ÏÀÔ ñäåëàë ýòî]
   ^font[ ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ0123456789-+=!\"%:,.^^^;<>?@()[]'&*/;font.gif](13;8)
   ^^text(10;30)[ÏÀÔ ñäåëàë ýòî fixed]<BR>
   ^text(10;30)[ÏÀÔ ñäåëàë ýòî fixed]
   }
   $ff[^itext.gif[]]
   ^ff.save[i/itext.gif]
   ^rem{
   ^ff.save[i2/itext.gif]
   ^file:delete[i2/itext.gif]
   }
   ^itext.html[$src[i/itext.gif]]
   
   
   <HR>
   $t[^table:set{id}]
   ^^t.id.int[]=^t.id.int[]<BR>
   ^^hren.double[]=^hren.double[]<BR>
   <HR>
   #image:create<BR>
   #$drawing[^image:create(300;100)]
   drawing:load<BR>
   $drawing[^image:load[001004paf(c)lena_karin.gif]]
   $drawing{
   ^$drawing.width=$width<BR>
   ^$drawing.height=$height<BR>
   ^for[i](0;$width/4){
   ^line(0;0)($:i*4;$height-1)(0x00FF00)
   }
   
   ^rectangle(100;10)(180;40)(0xFF0000)
   ^bar(100+20;10+20)(180+20;40+20)(0xFFFF00)
   ^fill(0;0)(0x0000FF)
   ^replace(0xFFffFF;0x00FF00)(30;0)(150;99)(200;50)
   ^polybar(0x00FFFF)(200;100)(170;99)(280;50)
   ^polygon(0xFFFF00)(210;100)(160;90)(250;50)
   
   }
   <HR>
   #$response:body[^drawing.gif[]]
   $ff[^drawing.gif[]]
   ^ff.save[drawing.gif]
   ^drawing.html[$src[drawing.gif]]
   <HR>
   image:load<BR>
   $face[^image:load[001004paf(c)lena_karin.gif]]
   ^$face.src=$face.src<BR>
   ^$face.width=$face.width<BR>
   ^$face.height=$face.height<BR>
   <HR>
   
   ^if($form:photo){
   upload file:<BR>
   $face[^image:measure[$form:photo]]
   $face.src=$face.src<BR>
   ^$face.width=$face.width<BR>
   ^$face.height=$face.height<BR>
   <HR>
   }
   gif file class:<BR>
   $face[^image:measure[^file:load[001004paf(c)lena_karin.gif]]]
   ^$face.src=$face.src<BR>
   ^$face.width=$face.width<BR>
   ^$face.height=$face.height<BR>
   ^^face.html[]=^face.html[]<BR>
   <HR>
   gif:<BR>
   $face[^image:measure[001004paf(c)lena_karin.gif]]
   ^$face.src=$face.src<BR>
   ^$face.width=$face.width<BR>
   ^$face.height=$face.height<BR>
   ^^face.html[]=^face.html[]<BR>
   <HR>
   jpeg:<BR>
   $face[^image:measure[001004paf(c)lena_karin.jpg]]
   ^$face.src=$face.src<BR>
   ^$face.width=$face.width<BR>
   ^$face.height=$face.height<BR>
   <a href=$request:uri>^^face.html[^$border(1) ^$ismap(-1)]=^face.html[$border(1) $ismap(-1)]</a>
   <HR>
   
   ^rem{
   ^mail:send[
           $from[paf@design.ru]
           $to[paf@design.ru]
           $subject[test ïðîâåðêà]
           $body[test]
           $content-type[$value[text/plain] $charset[windows-1251]]
   ]
   <HR>
   }
   
   env.pl<BR>
   $e[^file:cgi[env.pl;$t[<b>1</b>]]]
   ^$e.exit-code=$e.exit-code<BR>
   ^$e.stderr="$e.stderr"<BR>
   ^$e.header="$e.header"<BR>
   $e.text
   <HR>
   
 ^rem{^mail:send[  ^rem{^mail:send[
     $to[paf@design.ru]      $to[paf@design.ru]
     $from[paf@design.ru]      $from[paf@design.ru]
Line 96  subject: 2 Line 205  subject: 2
   
 ^^table:dir[/]:<BR>  ^^table:dir[/]:<BR>
 $d[^table:dir[/]]  $d[^table:dir[/]]
 ^d.menu{$name;<BR>}  ^d.menu{$name &nbsp^;&nbsp^;&nbsp^;&nbsp^;^if(-f $name){-f} ^if(-d $name){-d};<BR>}
 <HR>  <HR>
   
 ^^table:dir[/;html^$]<BR>  ^^table:dir[/;html^$]<BR>
Line 104  $d[^table:dir[/;html^$]] Line 213  $d[^table:dir[/;html^$]]
 ^d.menu{$name;<BR>}  ^d.menu{$name;<BR>}
 <HR>  <HR>
   
   #^rem{
 ^connect[$SQL.connect-string]{  ^connect[$SQL.connect-string]{
         $shit[^taint[our's]]          $shit[^taint[our's]]
 #       $paf[^table:sql{insert into paf (name, age) values ('$shit', ^random:generate(10000))}]  #       $paf[^table:sql{insert into paf (name, age) values ('$shit', ^random:generate(10000))}]
Line 116  $d[^table:dir[/;html^$]] Line 226  $d[^table:dir[/;html^$]]
         </table>          </table>
         }}          }}
 }  }
   #}
   
 <HR>  <HR>
   
Line 142  $sm[^s.match[(.)][g]] Line 253  $sm[^s.match[(.)][g]]
 ^^"$s".match[(.)][g]:<BR>  ^^"$s".match[(.)][g]:<BR>
 ^sm.menu{  ^sm.menu{
         ^line[]:<BR>          ^line[]:<BR>
         ^$pre-match=$pre-match<BR>          ^$prematch=$prematch<BR>
         ^$match=$match<BR>          ^$match=$match<BR>
         ^$post-match=$post-match<BR>          ^$postmatch=$postmatch<BR>
         ^$1=$1<BR>          ^$1=$1<BR>
 }  }
 <HR>  <HR>
Line 152  $sm[^s.match[(.)][]] Line 263  $sm[^s.match[(.)][]]
 ^^"$s".match[(.)][]:<BR>  ^^"$s".match[(.)][]:<BR>
 ^sm.menu{  ^sm.menu{
         ^line[]:<BR>          ^line[]:<BR>
         ^$pre-match=$pre-match<BR>          ^$prematch=$prematch<BR>
         ^$match=$match<BR>          ^$match=$match<BR>
         ^$post-match=$post-match<BR>          ^$postmatch=$postmatch<BR>
         ^$1=$1<BR>          ^$1=$1<BR>
 }  }
 <HR>  <HR>
Line 188  $src[^table:set{a b c d Line 299  $src[^table:set{a b c d
 s1      s2      s3      s4  s1      s2      s3      s4
 }]  }]
 ^dest.join[$src]  ^dest.join[$src]
 ^dest.menu{$a!$b!$c!<BR>}  dest.menu:<BR>
   ^dest.menu{$a!$b!$c!<BR>
   ^rem{lock violation^table:set[nameless]{1
   2
   3}]
   }
   }
   
 <HR>  <HR>
 ^^random:generate(10)=^random:generate(10)<BR>  ^^random:generate(10)=^random:generate(10)<BR>
Line 293  $response:location[http://parser3/123] Line 410  $response:location[http://parser3/123]
 </ol>  </ol>
 <HR>  <HR>
   
 ^${cookie:âîò}=${cookie:âîò}?<BR>  #$cookie:âîò[ïðèñëàë "browser"]
 ^${cookie:âîò}=${cookie:âîò}?<BR>  ^${cookie:âîò}=${cookie:âîò}?<BR>
 ^$request:query=$request:query<BR>  ^$request:query=$request:query<BR>
 ^$request:uri=$request:uri<BR>  ^$request:uri=$request:uri<BR>
   
 <form method=post>  <form method=post>
   <input type=hidden name=a value=123>
 <table border=1 width=250><tr><td>$form:name</td></tr></table>  <table border=1 width=250><tr><td>$form:name</td></tr></table>
 <textarea name=name rows=5 cols=40>^untaint[html]{^default[$form:name;Ïðîáíûé òåêñò: À.Ô._Ïåòðîñÿí <<Æèçíü â Àäó>>  <textarea name=name rows=5 cols=40>^untaint[html]{^default[$form:name;Ïðîáíûé òåêñò: À.Ô._Ïåòðîñÿí <<Æèçíü â Àäó>>
 íàæìè Submit]}</textarea><BR>  íàæìè Submit]}</textarea><BR>

Removed from v.1.124  
changed lines
  Added in v.1.157.2.2


E-mail: