--- 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 10:47:03 1.245
@@ -1,51 +1,36 @@
-@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)}
+ $пресса[^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[]
+=^n.match[sdf][]{123}=
+
-@heading[]
-^if(def $form_id){Изменение}{Добавление} документа
-
-@help[]
-article_help.html
+=$3=
+
-@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]
+$строка[123]
+^строка.match[(.);g]{($match.1)}
+
+$a{
+ $b[1]
}
-
-
+^$b=$b
+^$a!$a
+^$b=$b
+