// -- Host, you shouldn't need to edit this
$sqlhost="10.16.9.16";
// -- Database user
$sqluser="p328637_hn4173";
// -- Database password
$sqlpass="Testdn*4ncA3";
// -- Database name
$dbname="p328637_hnwp4173";
//////////////////////////////////////////////////
// CONNECT TO DATABASE (DON'T EDIT!)
//////////////////////////////////////////////////
mysql_pconnect($sqlhost,$sqluser,$sqlpass) or die("
$font
Sorry, the database seems to be down right now, come back later, this should be solved soon.");
mysql_select_db($dbname);
//////////////////////////////////////////////////
// * GENERAL SETTINGS
//////////////////////////////////////////////////
// -- The admin username, necesarily to enter the admin sections
$tnadmin="Hanna";
// -- The admin password, necesarily to enter the admin sections
$tnadminpass="BnNl57";
// -- The url to your website
$tnsiteurl="http://www.bethnahrin.nl/";
// -- the name of your website
$tnsitename="Bethnahrin.nl";
// -- The ammount of news messages you want to display
$tnnewslimit="4";
// -- The color of your text and
$tnfontcolor="000000";
// -- The font tag
$tnfont="";
// -- Line sepparattion color
$tnlinecolor="FF9900";
// -- First background color
$tntablebg1="";
// -- Second background color
$tntablebg2="";
// -- Third background color
$tntablebg3="0099CC";
// -- The date format of your site (Don't edit!)
$tnsitedate="".date("d-m-y h:i A")."";
// -- The spacer image (Don't edit!)
$tnnewsspacer="";
// -- Program name (Don't edit!)
$tnprogname="Bethnahrin.nl";
// -- Program version (Don't edit!)
$tnprogver="";
// -- The CSS code (Don't edit)
/*
print "
"; */
//////////////////////////////////////////////////
// FUNCTIONS (DON'T EDIT!)
//////////////////////////////////////////////////
function tnreplace($content){{
global $content;
$content=str_replace(":)","",$content);
$content=str_replace(":D","",$content);
$content=str_replace(";)","",$content);
$content=str_replace("8)","",$content);
$content=str_replace(":o","",$content);
$content=str_replace(":P","",$content);
$content=str_replace(":(","",$content);
$content=str_replace(">:","",$content);
$content=str_replace("O_O","",$content);
$content=str_replace("*rolleyes*","",$content);
$content=str_replace(":-D","",$content);
$content=str_replace("OoO","",$content);
$content=str_replace("^_^","",$content);
$content=str_replace("o_O","",$content);
$content=str_replace("
","
",$content);
}
return $content;
}
//////////////////////////////////////////////////
// OTHER
//////////////////////////////////////////////////
set_magic_quotes_runtime(0);
?>