--- parser3/www/htdocs/Attic/index.html 2002/08/15 12:05:37 1.115 +++ parser3/www/htdocs/Attic/index.html 2002/09/04 14:59:55 1.130 @@ -4,10 +4,11 @@ @auto[filespec] $selffilespec[$filespec] #$form:here -#$request:charset[UTF-8] +$request:charset[UTF-8] #$response:charset[windows-1251] #$request:charset[windows-1251] #$response:charset[UTF-8] +$response:charset[empty] #$response:content-type[$.value[text/html]$.charset[$response:charset]] #@postprocess[body] @@ -19,7 +20,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} # ]
@@ -30,7 +31,8 @@ $selffilespec[$filespec] # ^process{ ^^h[]} # ^process{^string:sql{select '1 # ^^hello[]' }] } -#} + ^double:sql{select '2*' ^; } +} #^eval(2) #^tcrashlocaljunctionsv2[] #^tcrashlocaljunctions[] @@ -195,7 +197,6 @@ $selffilespec[$filespec] #^tstdin[] #^tfind[] #^mimet[] -#^cgit[] #^joinlimit[] #^tableclonelimit[] #^transparams[] @@ -215,10 +216,88 @@ $selffilespec[$filespec] #^staticstest2[] #^rbodytest[] #^cookie[] -^cookieexpirestest[] +#^cookieexpirestest[] +#^postest[] +#^voidpostest[] +#^virtualtest[] +#^badcolumntest[] +#^delimiters[] +#^новый-split[] +#^грязные-cookie[] +#^html-почта[] +#^badswitchtest[] +#^okswitchtest[] +^cgit[]
OK +@okswitchtest[] +$local[local value] +^switch[1]{ + ^case[1]{1code $local} +} + +@badswitchtest[] +^switch[1]{ + ^badswitchtestcase[] +} +@badswitchtestcase[][local] +$local[local value] + ^case[1]{1code $local} + +@badjunction[] +^badj1[] +^badj2[] + +@html-почта[] +$переменная[значение] +^mail:send[ + $.from[paf@mail] + $.to[paf@mail] + $.subject[htmltest1] + $.html{тест$переменная= !} +] + + +@грязные-cookie[] +$cookie:a[&] +$cookie:a + +@новый-split[] +$abc[a.b.c] +#$table[^abc.split[.]] +#$table[^abc.split[.;l]] +#$table[^abc.split[.;v]] +$table[^abc.split[.;lv]] +^table.menu{$table.piece}[,] +
+#$table[^abc.split[.;h]] +$table[^abc.split[.;hr]] +$table.0,$table.1,$table.2
+ +@delimiters[] +$a#1[1]
+$a#1=
+ + +@badcolumntest[] +$table[^table::load[ext.cfg]] +$table.b + + +@virtualtest[] +$derived[^derived::create[derived create actual param]] +^derived.test[] + + +@voidpostest[] +$s[] +^s.pos[$nothing] + +@postest[] +$s[$nothing] +^s.pos[$nothing] + @cookieexpirestest[] #$cookie:exptest[1] #$cookie:exptest[$.value[2] $.expires(+1)]