--- parser3/www/htdocs/Attic/index.html 2002/06/25 15:08:09 1.78 +++ parser3/www/htdocs/Attic/index.html 2002/08/06 14:25:36 1.88 @@ -4,9 +4,9 @@ @auto[filespec] $selffilespec[$filespec] #$form:here -$request:charset[windows-1251] -$response:charset[windows-1251] -$response:content-type[$.value[text/html]$.charset[$response:charset]] +#$request:charset[UTF-8] +#$response:charset[windows-1251] +#$response:content-type[$.value[text/html]$.charset[$response:charset]] #@postprocess[body] #$body @@ -18,7 +18,9 @@ $response:content-type[$.value[text/html #$result[111] #^f[a] #^connect[mysql://mdm:4b833ljq@db-mysql/mdm]{ -# ^int:sql{select news_id from news where news_id=-1}[$.default{2}]
+# ^int:sql{select news_id from news where news_id=-1}[ +## $.default{2} +# ]
# ^string:sql{select news_id from news where news_id=-1}[$.default{2}] #} #^eval(2) @@ -129,7 +131,6 @@ $response:content-type[$.value[text/html #$t[^methresult[]] ->$t #^terror[] #^ssave[] -#^calendar[] #^thash[] #^tdef[] #^ford[] @@ -185,10 +186,74 @@ $response:content-type[$.value[text/html #^cryptdocsample[] #^sendtests[] #^tnormalize[] -^xmltransformbyxdoc[] +#^xmltransformbyxdoc[] +#^sergestrandef[] +#^tstdin[] +#^tfind[] +#^calendar[] +#^mimet[] +#^cgit[] +#^joinlimit[] +^tableclonelimit[]
OK +@tableclonelimit[] +$source[^table::create{a +aa +bb +cc}] +^source.offset(1) +#$dest[^table::create[$source]] +$dest[^table::create[$source;$.offset(2)]] +$dest[^table::create[$source;$.limit(2)]] +$dest[^table::create[$source;$.offset(1)$.limit(1)]] +$dest[^table::create[$source;$.offset(1)$.limit(2)]] +$dest[^table::create[$source;$.offset[cur]$.limit(2)]] + +^dest.menu{$dest.a}[,]
+ +@joinlimit[] +$source[^table::create{a +aa +bb +cc}] +^source.offset(2) +$dest[^table::create{a +xx +}] +#^dest.join[$source] +#^dest.join[$source;$.offset(2)] +#^dest.join[$source;$.limit(2)] +#^dest.join[$source;$.offset(1)$.limit(1)] +#^dest.join[$source;$.offset(1)$.limit(2)] +^dest.join[$source;$.offset[cur]$.limit(1)] + +^dest.menu{$dest.a}[,]
+ +@cgit[] +$f[^file::cgi[showenv.cmd]] +$f.HELLO=
+$f.CONTENT-TYPE=
+$f.content-type=
+ + +@mimet[] +$f[^file::stat[a.GIF]] +$f.content-type + + +@tfind[] +^file:find[index.html] + +@tstdin[] +$f[^file::exec[test.pl;$.stdin[проверка stdin потока]]] +
$f.text
+ +@sergestrandef[] +$sQuantity[ ] +^sQuantity.int(10) + @xmltransformbyxdoc[] $xdoc[^xdoc::set{^process{ @@ -199,12 +264,18 @@ $xdoc[^xdoc::set{^process{ }}] $sheet[^xdoc::create{ - + + + + defparam1 defparam2 + param1=
param2=
@@ -213,7 +284,7 @@ $sheet[^xdoc::create{ - test return2 + test return3 @@ -1576,10 +1647,12 @@ $abc[abc] ^abc.save[abc] @calendar[] -2001;11:
-$week_days[^date:calendar[rus](2001;11)] +$year(2002) +$month(8) +${year}-${month}:
+$week_days[^date:calendar[rus]($year;$month)]
-^week_days.menu{^for[wday](0;7){^if($week_days.$wday){$week_days.$wday; ^; ^;} }
} +^week_days.menu{^for[wday](0;6){^if($week_days.$wday){$week_days.$wday; ^; ^;} }=$week_days.week=
}
@thash[]