--- parser3/src/www/htdocs/Attic/index.html 2001/03/18 17:24:56 1.15
+++ parser3/src/www/htdocs/Attic/index.html 2001/06/29 08:35:26 1.211
@@ -1,6 +1,51 @@
+@auto[]
+$form_id[19]
+$branch_id[]
+
@main[]
-^untaint[as-is]{^process[$request:query]}
-^$request:query=$request:query
-^$request:uri=$request:uri
-aaaaaaaa
-$response:test[$value[value] $attr[attr value]]
\ No newline at end of file
+$SQL.connect-string[mysql://intranet:pwd@moko/intranet/cp1251_koi8]
+^connect[$SQL.connect-string]{
+^content[]
+}
+
+@heading[]
+^if(def $form_id){Изменение}{Добавление} документа
+
+@help[]
+article_help.html
+
+@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]
+}
+
+