--- parser3/src/www/htdocs/Attic/index.html 2001/03/22 07:05:46 1.33 +++ parser3/src/www/htdocs/Attic/index.html 2001/06/29 08:35:26 1.211 @@ -1,18 +1,51 @@ +@auto[] +$form_id[19] +$branch_id[] + @main[] -${cookie:н}? +$SQL.connect-string[mysql://intranet:pwd@moko/intranet/cp1251_koi8] +^connect[$SQL.connect-string]{ +^content[] +} -
-(^$form:name=$form:name)
- - -
+@heading[] +^if(def $form_id){Изменение}{Добавление} документа -@default[test;def] -^if(^test.length[]){$test}{$def} +@help[] +article_help.html -@exception[origin;source;comment;type;code] -ERROR: -^if(def $source){$origin '$source'} -${comment}. -^if(def $type){type=$type} -^if(def $code){code=$code} +@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] +} + +
+

Рубрика:
+ + +

Название:
+ + +

Текст:
+ + +

Ключевые слова:
+ + + +

+ +# +# ^if(def $form_id){} +
^submit[save]^submit[delete]
+