--- parser3/src/www/htdocs/Attic/index.html 2001/04/12 16:26:25 1.142
+++ parser3/src/www/htdocs/Attic/index.html 2001/04/23 10:19:06 1.151
@@ -1,20 +1,3 @@
-@auto[]
-$html-typo[^table:set{user html comment
-<< «^; длинные user вперёд
->> »^;
-\n\n
!эти есть в таблице по умолчанию
-\n
!но т.к. заменяем, надо повторить.
-< <^; !можно этим воспользоваться,
-> >^; !и что-то сделать ДО обычных замен
-" "^; !например из << и >>
-& &^; !сделать ёлочки-кавычки.
-_  ^;
-^#AB «^; windows коды ёлочек
-^#BB »^; windows коды ёлочек
-(c) ©^;
-^#A9 ©^; windows (c)
-}]
-
@dump[t]
^t.menu{$n
}
@@ -23,7 +6,7 @@ $n
@twop[a;b]
($a,$b)
-@Zpost-process[data]
+@Я postprocess[data]
#(
$data)
^data.match[1][g]{X}
@@ -31,6 +14,8 @@ $n
$m ^if(^s.match[$:m;i]){matches}{does not match} $s
@main[]
+
+
image:create
$itext[^image:create(300;100)]
$itext{
@@ -42,8 +27,10 @@ $itext{
^text(10;30)[ПАФ сделал это fixed]
}
$ff[^itext.gif[]]
-^ff.save[itext.gif]
-^itext.html[$src[itext.gif]]
+^ff.save[i/itext.gif]
+^ff.save[i2/itext.gif]
+^file:delete[i2/itext.gif]
+^itext.html[$src[i/itext.gif]]
@@ -59,7 +46,7 @@ $drawing{
^$drawing.width=$width
^$drawing.height=$height
^for[i](0;$width/4){
-^line(0;0)($:i*4)($height-1;0)
+^line(0;0)($:i*4;$height-1)(0x00FF00)
}
^rectangle(100;10)(180;40)(0xFF0000)
@@ -116,13 +103,18 @@ $face[^image:measure[001004paf(c)lena_ka
^rem{
^mail:send[
$to[paf@design.ru]
- $subject[test]
+ $subject[test проверка]
$body[test]
+ $content-type[$charset[windows-1251]]
]
}
+env.pl
$e[^file:cgi[env.pl;$t[1]]]
+^$e.exit-code=$e.exit-code
+^$e.stderr="$e.stderr"
+^$e.header="$e.header"
$e.text
@@ -199,6 +191,7 @@ $d[^table:dir[/;html^$]]
^d.menu{$name;
}
+#^rem{
^connect[$SQL.connect-string]{
$shit[^taint[our's]]
# $paf[^table:sql{insert into paf (name, age) values ('$shit', ^random:generate(10000))}]
@@ -211,6 +204,7 @@ $d[^table:dir[/;html^$]]
}}
}
+#}
@@ -237,9 +231,9 @@ $sm[^s.match[(.)][g]]
^^"$s".match[(.)][g]:
^sm.menu{
^line[]:
- ^$pre-match=$pre-match
+ ^$prematch=$prematch
^$match=$match
- ^$post-match=$post-match
+ ^$postmatch=$postmatch
^$1=$1
}
@@ -247,9 +241,9 @@ $sm[^s.match[(.)][]]
^^"$s".match[(.)][]:
^sm.menu{
^line[]:
- ^$pre-match=$pre-match
+ ^$prematch=$prematch
^$match=$match
- ^$post-match=$post-match
+ ^$postmatch=$postmatch
^$1=$1
}
@@ -388,7 +382,7 @@ $response:location[http://parser3/123]
-^${cookie:вот}=${cookie:вот}?
+#$cookie:вот[прислал "browser"]
^${cookie:вот}=${cookie:вот}?
^$request:query=$request:query
^$request:uri=$request:uri