--- parser3/src/www/htdocs/Attic/index.html 2001/06/29 08:35:26 1.211
+++ parser3/src/www/htdocs/Attic/index.html 2001/07/26 16:16:57 1.247
@@ -1,51 +1,39 @@
-@auto[]
-$form_id[19]
-$branch_id[]
-
@main[]
-$SQL.connect-string[mysql://intranet:pwd@moko/intranet/cp1251_koi8]
-^connect[$SQL.connect-string]{
-^content[]
-}
+^connect[odbc://dsn=voz7^;uid=voz^;pwd=pwd]{
+# ^void::sql{insert into хрен (a) values (1)}
+ $id(^int:sql{select 5})
+ $id
-@heading[]
-^if(def $form_id){Изменение}{Добавление} документа
+ $пресса[^table::sql{select * from press where header='$form:h'}]
+ ^пресса.menu{
+ $пресса.id, $пресса.date_row, $пресса.header, $пресса.short_text^rem{, $пресса.full_text}, $пресса.mode
+ }[
]
+}
+