DBSelect($req_det); if ($result == 0 || count($result) != 1) exit; $display_title = formatText($result[0]['newsletter_title'], '2HTML'); $display_body = linkin_content(formatText($result[0]['newsletter_body'], '2HTML')); $display_user = formatText($result[0]['user_login'], '2HTML'); $display_date_crea = $result[0]['newsletter_date_crea_display']; $display_last_modify = $result[0]['newsletter_last_modify_display']; $display_statut = display_statut($result[0]['newsletter_statut']); $newsletter_status = $result[0]['newsletter_statut']; $newsletter_owner= $result[0]['newsletter_posted_by']; if ($result[0]['newsletter_published_date_display'] == '00-00-0000') $display_published_date = $GLOBALS['lang']['statut']['draft']; else $display_published_date = $result[0]['newsletter_published_date_display']; $link_sup = $rub_link . "&todo=sup&id="; $link_mod = $rub_link . "&todo=mod&id="; ?>
"; echo formatTitleh2($display_title); echo "\n"; if($newsletter_status!='P') { echo "\t\n"; echo "\t\n"; } echo "
\n"; echo "
" . $GLOBALS['lang']['newsletter']['title'] . "
\n"; echo "
" . $display_title . "
\n"; echo "
" . $GLOBALS['lang']['newsletter']['body'] . " :
\n"; echo "
" . $display_body . "
\n"; echo "
" . $GLOBALS['lang']['newsletter']['author'] . " :
\n"; echo '
' . $display_user . '
'.END_LINE; echo "
" . $GLOBALS['lang']['statut']['published_on'] . "
\n"; echo "
" . $display_published_date . "
\n"; echo "
" . $GLOBALS['lang']['divers']['date_crea'] . "
\n"; echo "
" . $display_date_crea . "
\n"; echo "
" . $GLOBALS['lang']['divers']['last_modify'] . "
\n"; echo "
" . $display_last_modify . "
\n"; echo "
" . $GLOBALS['lang']['divers']['statut'] . "
\n"; echo "
" . $display_statut . "
\n"; echo "
\n"; ?>