<?
/*###############################################################*\
## iBWd News 1.1b ##
## http://bramstart.be/ibwds ##
## ##
*/###############################################################*\
//[database vars]\\
$server = "localhost";
$username = "";
$password = "";
$database = "yourdb";
$table = "ibwdnews";
$table_users= "users";
//[various vars]\\
//how many news entries on one page before adding next-pervious links
$limit=3;
// Set 1 if moderators can only modify their own posts
// Set 0 if moderators can modify all posts
$modall = 1;
// Set 1 if moderators can only delete their own posts
// Set 0 if moderators can delete all posts
$dedall = 1;
//[admin panel styles]\\
$style = "body{ font-family: verdana; font-size: 8pt; scrollbar-base-color: #EEEEEE; }";
$style .= "td{ font-size: 8pt; }";
$style .= ".table_border{ background-color: #CCCCCC; }";
$style .= ".header_cell{ background-color: #EEEEEE; font-weight: bold; font-size: 10pt;}";
$style .= ".cells{ background-color: #FFFFFF; }";
$style .= ".box{ border: solid 1px #CCCCCC; }";
$style .= "input{ font-family: verdana; font-size: 8pt; cursus: hand; }";
$style .= ".input{ font-family: verdana; font-size: 8pt; border: solid 1px #CCCCCC;}";
$style .= "a:link{ color: navy; }";
$style .= "a:visited{ color: navy; }";
$style .= "a:hover{ color: blue; }";
$style .= "li{ list-style-type: square;}";
//[functions]-[don't modify!]\\
function error($msg){
?>
<html>
<head>
<script language="JavaScript">
<!--
alert("<?=$msg?>");
history.back();
//-->
</script>
</head>
<body><body>
</html>
<?
exit;
}
$db = @mysql_connect($server,$username,$password);
mysql_select_db($database);
$denied = "You are not allowed to complete this action!";
$date = date("Y-m-d-H-i-s");
?>