HI ok i have moved the css to just before the </head> and i get this message
Warning: Cannot modify header information - headers already sent by (output started at /home/wwwjust/public_html/users_Delete.php:13) in /home/wwwjust/public_html/users_Delete.php on line 86
<?php require_once( "WA_SecurityAssist/Helper_PHP.php" ); ?>
<?php
if (!WA_Auth_RulePasses("admin")){
WA_Auth_RestrictAccess("access-denied.php");
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Authorised Access Delete User Just Vibe Family Only</title>
<meta name="Keywords" content="online radio, internet radio, online internet radio station, funky house, garage radio, urban radio, uk garage music, UK internet radio webcam, electro radio, funky house radio, webradio" />
<meta name="Description" content="Just Vibe Online Radio features Live djs playing 24/7.djs playing uk garage, drum n bass, electro house, funky house, urban, trance, old skool" />
<?php require_once('Connections/myconnection.php'); ?>
<?php require_once("WA_DataAssist/WA_AppBuilder_PHP.php"); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
{
if (PHP_VERSION < 6) {
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
}
$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
}
return $theValue;
}
}
?>
<?php
$ParamUserID_WADAusers = "-1";
if (isset($_GET['UserID'])) {
$ParamUserID_WADAusers = (get_magic_quotes_gpc()) ? $_GET['UserID'] : addslashes($_GET['UserID']);
}
mysql_select_db($database_myconnection, $myconnection);
$query_WADAusers = sprintf("SELECT UserID, UserEmail FROM users WHERE UserID = %s", GetSQLValueString($ParamUserID_WADAusers, "int"));
$WADAusers = mysql_query($query_WADAusers, $myconnection) or die(mysql_error());
$row_WADAusers = mysql_fetch_assoc($WADAusers);
$totalRows_WADAusers = mysql_num_rows($WADAusers);?>
<?php
// WA Application Builder Delete
if (isset($_POST["Delete_x"])) // Trigger
{
$WA_connection = $myconnection;
$WA_table = "users";
$WA_redirectURL = "users_Results.php";
if (function_exists("rel2abs")) $WA_redirectURL = $WA_redirectURL?rel2abs($WA_redirectURL,dirname(__FILE__)):"";
$WA_keepQueryString = false;
$WA_fieldNamesStr = "UserID";
$WA_columnTypesStr = "none,none,NULL";
$WA_fieldValuesStr = "".((isset($_POST["WADADeleteRecordID"]))?$_POST["WADADeleteRecordID"]:"") ."";
$WA_comparisonStr = "=";
$WA_fieldNames = explode("|", $WA_fieldNamesStr);
$WA_fieldValues = explode("|", $WA_fieldValuesStr);
$WA_columns = explode("|", $WA_columnTypesStr);
$WA_comparisions = explode("|", $WA_comparisonStr);
$WA_connectionDB = $database_myconnection;
mysql_select_db($WA_connectionDB, $WA_connection);
if (!session_id()) session_start();
$deleteParamsObj = WA_AB_generateWhereClause($WA_fieldNames, $WA_columns, $WA_fieldValues, $WA_comparisions);
$WA_Sql = "DELETE FROM `" . $WA_table . "` WHERE " . $deleteParamsObj->sqlWhereClause;
$MM_editCmd = mysql_query($WA_Sql, $WA_connection) or die(mysql_error());
if ($WA_redirectURL != "") {
if ($WA_keepQueryString && $WA_redirectURL != "" && isset($_SERVER["QUERY_STRING"]) && $_SERVER["QUERY_STRING"] !== "" && sizeof($_POST) > 0) {
$WA_redirectURL .= ((strpos($WA_redirectURL, '?') === false)?"?":"&").$_SERVER["QUERY_STRING"];
}
header("Location:".$WA_redirectURL);
}
}
?>
<link href="css/navigation-style.css" rel="stylesheet" type="text/css" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
</head>
<head>
<meta http-equiv="Content-Type" content="
</head>
<body>
<div id="shadow="shadow">
</head>
<body>