--- parser3/src/www/htdocs/Attic/index.html 2001/03/21 10:58:09 1.28.2.1 +++ parser3/src/www/htdocs/Attic/index.html 2001/06/29 08:35:26 1.211 @@ -1,17 +1,51 @@ -$response:refresh[$value[2] $content[url=http://design.ru]] +@auto[] +$form_id[19] +$branch_id[] -$t[^table:load[nameless;test.cfg]] -^t.save[test2.cfg] -
-- ^$form:photo.name='$form:photo.name' - ^$form:photo.size='$form:photo.size' - ^$form:photo.text='$form:photo.text' - ^form:photo.save[paf.txt] -+@main[] +$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] +} + +