--- parser3/src/www/htdocs/Attic/index.html 2001/12/15 22:26:22 1.504 +++ parser3/src/www/htdocs/Attic/index.html 2002/01/11 16:53:05 1.515.2.1 @@ -1,9 +1,17 @@ -@main[] +@auto[] $request:charset[windows-1251] $response:charset[windows-1251] -^tupper[] +$response:content-type[$.value[text/html]$.charset[$response:charset]] + +@main[] +^if(1 || ^error[here]){y}{n} +^if(0 && ^error[here]){y}{n} +#^ttablesetlang[] +#^mail3[] +#^ttime[] +#^tupper[] #^treplace[] -#^xslt2[] +^xslt2[] #^tcache2[] #$ORIGINS(1) #$t[^table::set{a b} ^table::set{c d}] @@ -80,6 +88,45 @@ $response:charset[windows-1251]
OK +@ttablesetlang[] +$a-tab-b[a b +1 2] + +$t[^table::set{$a-tab-b}] +=$t.a= +
+ +$t[^table::set[nameless]{^taint[$a-tab-b]}] +=$t.0= +
+ +$t[^table::set{^untaint{^taint[$a-tab-b]}}] +=$t.a= + +#^t.append{1 2} + +@mail3[] +^mail:send[ + $.from[Александр Петросян ] + $.to[Александр Петросян ] + $.subject[проверка4] + $.body[ + $.text[ + $.content-type[$.value[text/plain] $.charset[windows-1251]] + $.body[проверка] + ] + $.attachment[ + $.value[^file::load[text;index.html]] + $.file-name[привет всем.html] + ] + ] +] + + +@ttime[] +$now[^date::now[]] +$now.hour:$now.minute + @tupper[] $t[abcABCабвАБВ] $t
@@ -173,6 +220,7 @@ $bred[^int::int[]] @xloadwrongtable[] $constr[^xdoc::load[wrongtable.xml]] +^show-xdoc2[$constr] @xsetwrongtable[] $constr[^xdoc::set{ @@ -307,14 +355,12 @@ $dom_created_in_air[^xdoc::create[doc]] @tcache[] -^rem{ #^hashfile:clear[cache] $code[^hashfile::open[$DB_HOME;cache]] ^code.cache[key](2){ ^math:random(100) # ^code.delete[] } -} @thashfileexp[] $hf[^hashfile::open[$DB_HOME;hashfile]] @@ -745,7 +791,7 @@ $file[^xdoc.file[ ^file.save[text;out/save_file.html] #$response:body[^xdoc.file[ $.media-type[text/paf] ]]
^taint[html][^xdoc.string[
-#	$.method[html]
+	$.method[html]
 #	$.version[1.0]
 #	$.encoding[utf-8]
 #  	$.omit-xml-declaration[yes]
@@ -756,4 +802,3 @@ $file[^xdoc.file[
 	$.media-type[text/paf]
 ]]
 
-