--- parser3/src/www/htdocs/Attic/index.html 2001/04/07 11:55:35 1.118 +++ parser3/src/www/htdocs/Attic/index.html 2001/04/10 14:18:31 1.133 @@ -31,25 +31,76 @@ $n $m ^if(^s.match[$:m;i]){matches}{does not match} $s
@main[] -
^mail:send[
+gif:
+$face[^image:measure[001004paf(c)lena_karin.gif]] +^$face.src=$face.src
+^$face.width=$face.width
+^$face.height=$face.height
+^^face.html[]=^face.html[]
+
+jpeg:
+$face[^image:measure[001004paf(c)lena_karin.jpg]] +^$face.src=$face.src
+^$face.width=$face.width
+^$face.height=$face.height
+^^face.html[^$border(1) ^$ismap(-1)]=^face.html[$border(1) $ismap(-1)] +
+ +^rem{ +^mail:send[ + $to[paf@design.ru] + $subject[test] + $body[test] +] +
+} + +$e[^file:cgi[env.pl;$t[1]]] +$e.text +
+ +^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[ $value[text/plain] $charset[windows-1251] ] - $to[paul] - $from[paf] - $body[hi, paul. + $to[paf@design.ru] + $from[paf@design.ru] + $body[привет, PAF. sincerily yours, PAF ] -]
-
- +] +} -
^mail:send[
-    $to[sdsfsdf]
-    $from[sdfsdf]
+^rem{^mail:send[
+    $to[paf@design.ru]
+    $from[paf@design.ru]
     $body[
     	$2[
     		$content-type[$value[message/rfc822] $name[letter.eml]]
@@ -68,9 +119,8 @@ subject: 2
     		$body[image]
     	]
     ]
-]
+]} -
^^table:dir[/]:
$d[^table:dir[/]] @@ -198,7 +248,7 @@ $a[vasya,fedya,kolya] ^$request:browser.type=$request:browser.type
^$request:browser.version=$request:browser.version
-$tf[^file:load[test.zip;abc.zip;image/gif]] +$tf[^file:load[test.zip;abc.zip]] #$response:body[$tf] ^$tf.name=$tf.name