--- parser3/src/www/htdocs/Attic/index.html 2001/06/29 08:35:26 1.211
+++ parser3/src/www/htdocs/Attic/index.html 2001/07/30 12:29:11 1.248
@@ -1,51 +1,45 @@
-@auto[]
-$form_id[19]
-$branch_id[]
-
@main[]
-$SQL.connect-string[mysql://intranet:pwd@moko/intranet/cp1251_koi8]
-^connect[$SQL.connect-string]{
-^content[]
-}
-
-@heading[]
-^if(def $form_id){Изменение}{Добавление} документа
+#$cookie:reg0[8reg0]
+#$cookie:reg1[8reg1]
+$cookie:reg0
+$cookie:reg1
-@help[]
-article_help.html
+
+^connect[odbc://dsn=voz7^;uid=voz^;pwd=pwd]{
+# ^void::sql{insert into хрен (a) values (1)}
+ $id(^int:sql{select 5})
+ $id
-@content[]
-$branches[^table:sql{select id, name from kb_branches}]
-^if(def $form_id){
- $article[^table:sql{select id, name, txt, keywords, kb_branches_id from kb_documents where id='$form_id'}]
- $branch_id[$:article.kb_branches_id]
-}{
- $branch_id[$branch_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
+