<?php
/********************************************************/
/* NSN Groupes Sections                                 */
/* By: NukeScripts Network (webmaster@nukescripts.fr)   */
/* http://www.nukescripts.fr                            */
/* Copyright ¿ 2000-2005 by NukeScripts Network         */
/* ==================================================== */
/* Based from:                                          */
/* PHP-NUKE: Web Portal System                          */
/********************************************************/
defined('MAXIMUS') or Header("Location: index.php");

    global $site_logo, $nukeurl, $sitename, $datetime, $prefix, $db, $module_name;
    $artid = $db->XMFnum($artid);
    $row = $db->sql_fetchrow($db->sql_query("SELECT title, content from ".TABLE_NSNSECTIONS_ARTICLES." where artid='$artid' and actif='1'"));
	$title   = stripslashes($row['title']);
	$content = stripslashes($row['content']);
    echo "
    <html>
    <head><title>$sitename</title></head>
    <body bgcolor=\"#FFFFFF\" text=\"#000000\">
    <table border=\"0\"><tr><td>
    <table border=\"0\" width=\"640\" cellpadding=\"0\" cellspacing=\"1\" bgcolor=\"#000000\"><tr><td>
    <table border=\"0\" width=\"640\" cellpadding=\"20\" cellspacing=\"1\" bgcolor=\"#FFFFFF\"><tr><td>
    <center>
    <img src=\"images/$site_logo\" border=\"0\" alt=\"\"><br /><br />
    <font class=\"content\">
    <b>$title</b></font><br />
    </center><font class=\"content\">
    $content<br /><br />";
    echo "</td></tr></table></td></tr></table>
    <br /><br /><center>
    <font class=\"content\">
    "._COMESFROM." $sitename<br />
    <a href=\"$nukeurl\">$nukeurl</a><br /><br />
    "._THEURL."<br />
    <a href=\"".$nukeurl."/modules.php?name=$module_name&amp;op=viewarticle&amp;artid=$artid\">".$nukeurl."/modules.php?name=$module_name&amp;op=viewarticle&amp;artid=$artid</a></font></center>
    </td></tr></table>
    </body>
    </html>
    ";
?>