--- parser3/src/www/htdocs/Attic/index.html 2001/04/28 08:44:23 1.158 +++ parser3/src/www/htdocs/Attic/index.html 2001/06/29 08:35:26 1.211 @@ -1,28 +1,51 @@ +@auto[] +$form_id[19] +$branch_id[] + @main[] -^^table:dir[/]:
-$d[^table:dir[/]] -$d{^menu{$name  ^; ^; ^; ^;^if(-f $name){-f} ^if(-d $name){-d};
}} -
+$SQL.connect-string[mysql://intranet:pwd@moko/intranet/cp1251_koi8] +^connect[$SQL.connect-string]{ +^content[] +} +@heading[] +^if(def $form_id){Изменение}{Добавление} документа -$files[^table:set{name}] -^d.menu{ - ^if(-d "$d.name"){ - ^files.append{$d.name} - } -} -$files{^menu{$name}[,]} -
+@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] +} -@auto_test[] -^BASE.auto_test[] -
  • ${request:uri}! \ No newline at end of file +
    +

    Рубрика:
    + + +

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

    Текст:
    + + +

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

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