--- parser3/src/www/htdocs/Attic/index.html 2001/03/24 09:57:52 1.45
+++ parser3/src/www/htdocs/Attic/index.html 2001/07/30 15:32:42 1.249
@@ -1,56 +1,57 @@
-@USE
-/news.p
-
@main[]
-
-$t[^table:load[/test.cfg]]
-^process[@b[]
-f
-]
-^b[]
-
-^$t.a=$t.a
-
-^$request:uri=$request:uri
-^$env:PATH_INFO=$env:PATH_INFO
-^$env:REMOTE_ADDR=$env:REMOTE_ADDR
-
-^rem{
-$response:body[]
-$response:location[http://parser3/123]
+^connect[pgsql://paf:paf123@six/paf]{
+# ^void::sql{insert into хрен (a) values (1)}
+ $id(^int:sql{select 2*2})
+ $id
+
+ $пресса[^table::sql{select * from aaa}]
+# $a[^пресса.columns[]]^a.menu{$a.column}
+ ^пресса.menu{
+ $пресса.val
+ }[
]
}
-
-
-
-^^auto_test[]:
-
-^auto_test[]
-
-
-
-^${cookie:вот}=${cookie:вот}?
-^$request:query=$request:query
-^$request:uri=$request:uri
-
-
-
-@default[test;def]
-^if(^test.length[]){$test}{$def}
-
-@exception[origin;source;comment;type;code]
-
-
-ERROR:
-^if(def $source){$origin '$source'}
-${comment}.
-^if(def $type){type=$type}
-^if(def $code){code=$code}
-
-@auto_test[]
-^BASE.auto_test[]
-$request:uri
-
+
+#$cookie:reg0[8reg0]
+#$cookie:reg1[8reg1]
+$cookie:reg0
+$cookie:reg1
+
+
+^connect[odbc://dsn=voz7^;uid=voz^;pwd=pwd]{
+# ^void::sql{insert into хрен (a) values (1)}
+ $id(^int:sql{select 5})
+ $id
+
+ $пресса[^table::sql{select * from press where header='$form:h'}]
+ ^пресса.menu{
+ $пресса.id, $пресса.date_row, $пресса.header, $пресса.short_text^rem{, $пресса.full_text}, $пресса.mode
+ }[
]
+}
+
+#$response:status[404]
+#$response:location[/inh.html]
+#
+$таблица[^table::set{a b
+1 2
+11 22
+}]
+^$таблица.fields.a=$таблица.fields.a
+^$таблица.a=$таблица.a
+
+$n[z]
+=^n.match[sdf][]{123}=
+
+
+=$3=
+
+
+$строка[123]
+^строка.match[(.);g]{($match.1)}
+
+$a{
+ $b[1]
+}
+^$b=$b
+^$a!$a
+^$b=$b
+