Diff for /parser3/src/www/htdocs/Attic/index.html between versions 1.118 and 1.135

version 1.118, 2001/04/07 11:55:35 version 1.135, 2001/04/11 13:03:48
Line 31  $n Line 31  $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[]
 <pre>^mail:send[  image:create<BR>
   $face[^image:create(100;200)]
   ^$face.width=$face.width<BR>
   ^$face.height=$face.height<BR>
   <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[
           $to[paf@design.ru]
           $subject[test]
           $body[test]
   ]
   <HR>
   }
   
   $e[^file:cgi[env.pl;$t[<b>1</b>]]]
   $e.text
   <HR>
   
   ^rem{^mail:send[
       $to[paf@design.ru]
       $from[paf@design.ru]
           $body[
                   $1[
                           $content-type[
                               $value[text/plain]
                           $charset[windows-1251]
                           ]
                           $body[привет, PAF.
   
   sincerily yours,
   PAF
   ]
                   ]
                   $attach[
                           $value[^file:load[test.zip]]
                           $type[uue]
                           $file-name[retest.zip]
                   ]
           ]
   ]
   }
   
   ^rem{^mail:send[
         $content-type[          $content-type[
             $value[text/plain]              $value[text/plain]
         $charset[windows-1251]          $charset[windows-1251]
         ]          ]
     $to[paul]      $to[paf@design.ru]
     $from[paf]      $from[paf@design.ru]
         $body[hi, paul.          $body[привет, PAF.
   
 sincerily yours,  sincerily yours,
 PAF  PAF
 ]  ]
 ]</pre>  ]
 <HR>  }
   
   
 <pre>^mail:send[  ^rem{^mail:send[
     $to[sdsfsdf]      $to[paf@design.ru]
     $from[sdfsdf]      $from[paf@design.ru]
     $body[      $body[
         $2[          $2[
                 $content-type[$value[message/rfc822] $name[letter.eml]]                  $content-type[$value[message/rfc822] $name[letter.eml]]
Line 68  subject: 2 Line 146  subject: 2
                 $body[image]                  $body[image]
         ]          ]
     ]      ]
 ]</pre>  ]}
   
 <HR>  
   
 ^^table:dir[/]:<BR>  ^^table:dir[/]:<BR>
 $d[^table:dir[/]]  $d[^table:dir[/]]
Line 198  $a[vasya,fedya,kolya] Line 275  $a[vasya,fedya,kolya]
 ^$request:browser.type=$request:browser.type<BR>  ^$request:browser.type=$request:browser.type<BR>
 ^$request:browser.version=$request:browser.version<BR>  ^$request:browser.version=$request:browser.version<BR>
   
 $tf[^file:load[test.zip;abc.zip;image/gif]]  $tf[^file:load[test.zip;abc.zip]]
 #$response:body[$tf]  #$response:body[$tf]
   
 ^$tf.name=$tf.name<BR>  ^$tf.name=$tf.name<BR>
Line 277  $response:location[http://parser3/123] Line 354  $response:location[http://parser3/123]
 ^$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.118  
changed lines
  Added in v.1.135


E-mail: