<?php

if (!isset($cAdminLevel))
{
    print "ADMIN LEVEL ADMIN LEVEL ADMIN LEVEL ADMIN LEVEL ADMIN LEVEL ADMIN LEVEL ADMIN LEVEL ADMIN LEVEL ADMIN LEVEL ADMIN LEVEL ADMIN LEVEL ADMIN LEVEL ADMIN LEVEL ADMIN LEVEL ADMIN LEVEL ADMIN LEVEL ADMIN LEVEL ADMIN LEVEL ADMIN LEVEL ADMIN LEVEL";
    EXIT;
}
 //first the text formatting

    //Get rid of ALL html Code...

    $postthis = str_replace ( "<", "&lt;", $postthis);
    $postthis = str_replace ( ">", "&gt;", $postthis);

    //Add Line Breaks...

    $postthis = nl2br("$postthis");

    //Add a little snippet to display the name of the user reading it in the forums...

    $postthis = str_replace ( "[USER]", "$gfcookie[1]", $postthis);
    $postthis = str_replace ( "[NAME]", "$gfcookie[1]", $postthis);

    $postthis = stripslashes($postthis);
    $postthis = htmlspecialchars($postthis);


    if ($cAdminLevel > 1)
    {
        $postthis = str_replace ( "[swear]", "<font color=\"$swearcolor\">", $postthis);
        $postthis = str_replace ( "[/swear]", "<font color=\"$fontcolor\">", $postthis);
    }
    else
    {
        $postthis = str_replace ( "[swear]", "", $postthis);
        $postthis = str_replace ( "[/swear]", "", $postthis);
    }
?>