--- parser3/www/htdocs/Attic/index.html 2002/08/08 09:35:23 1.96 +++ parser3/www/htdocs/Attic/index.html 2002/08/09 14:18:40 1.104 @@ -1,5 +1,5 @@ -#@USE -#t.p +@USE +/t.p @auto[filespec] $selffilespec[$filespec] @@ -17,7 +17,7 @@ $selffilespec[$filespec] #^a.format[%.10u] #$result[111] #^f[a] -^connect[mysql://mdm:4b833ljq@db-mysql/mdm]{ +#^connect[mysql://mdm:4b833ljq@db-mysql/mdm]{ # ^int:sql{select news_id from news where news_id=-1}[ ## $.default{2} # ]
@@ -25,12 +25,9 @@ $selffilespec[$filespec] # ^file::load[text;^string:sql{select '^^hello[]' }] # ^string:sql{select '^^hello[]' }] $ORIGINS(1) # ^process{ ^^h[]} - ^process{^string:sql{select '1 - ^^hello[]' }] } -# $f[^file::load[text;piece.p]] ^process{$f.text} - $ORIGINS(1) - -} +# ^process{^string:sql{select '1 +# ^^hello[]' }] } +#} #^eval(2) #^tcrashlocaljunctionsv2[] #^tcrashlocaljunctions[] @@ -80,7 +77,6 @@ $selffilespec[$filespec] #^precisionProblem[] #^xpath[] #^ttablesetlang[] -#^mail3[] #^ttime[] #^tupper[] #^treplace[] @@ -196,7 +192,6 @@ $selffilespec[$filespec] #^sergestrandef[] #^tstdin[] #^tfind[] -#^calendar[] #^mimet[] #^cgit[] #^joinlimit[] @@ -205,9 +200,55 @@ $selffilespec[$filespec] #^sendtests[] #^wwrapperpass[] #^badpos[] +#^processtest[] +#^mail3[] +#^mail4[] +#^datesaving[] +#^badconstructor[] +#^calendar[] +#^monthdays(8) +^xtabletest[] +#^xdoctypetest[]
OK +@xdoctypetest[] +$xdoc[^xdoc::create[x]] +^if($xdoc is xdoc){y}{n} + +@xtabletest[] +$xtableo[^xtable::create[]] +^if($xtableo is table){y}{n} + +@monthdays[month] +$from[^date::create(2000;$month;1)] +$to[^date::create($from)] ^to.roll[month](+1) +$result($to-$from) + +@badconstructor[] +^date::now[] + +@datesaving[] +$now[^date::now[]] +$now.daylightsaving
+$now.yearday
+# +$date[^date::create(2002;1;3)] +$date.daylightsaving
+$date.yearday + +@mail4[] +^mail:send[ + $.from[paf@mail.design.ru] + $.to[paf@mail.design.ru] + $.subject[^taint[uri][москва]=2] + $.text[^taint[uri][москва]=] + $.html{link} +] +@processtest[] + $f[^file::load[text;piece.p]] ^process{$f.text} + $ORIGINS(1) + @badpos[] $s[123] @@ -1208,13 +1249,13 @@ $t[^table::set{^untaint{^taint[$a-tab-b] @mail3[] ^mail:send[ - $.from[Александр Петросян ] - $.to[Александр Петросян ] - $.subject[проверка4] + $.from[Александр Петросян ] + $.to[Александр Петросян ] + $.subject[проверка2] $.body[ $.text[ $.content-type[$.value[text/plain] $.charset[windows-1251]] - $.body[проверка] + $.body[проверка^taint[uri][москва]=] ] $.attachment[ $.value[^file::load[text;index.html]] @@ -1674,11 +1715,11 @@ $abc[abc] @calendar[] $year(2002) -$month(8) +$month(12) ${year}-${month}:
$week_days[^date:calendar[rus]($year;$month)]
-^week_days.menu{^for[wday](0;6){^if($week_days.$wday){$week_days.$wday; ^; ^;} }=$week_days.week=
} +^week_days.menu{^for[wday](0;6){^if($week_days.$wday){$week_days.$wday; ^; ^;} }=$week_days.week,$week_days.year=
}
@thash[]