fejl visser ikke username
jeg kan ikke få den til at skive welcome username den gir mig bare en blank side er det mulig nogen her inden kan rette koden så den virker det skal side jeg er meget dårlig til phpkode
<?php
/**
* The standared.php is the standared user page
*
* PHP version 5
*
* @category Application
* @package UserProfile
* @author Sakthivel Ganesan <sg@capjo.com>
* @author Sasikumar Periyasamy <sasi@capjo.com>
* @copyright 2011 Team Capjo
* @license http://codecanyon.net/ (...) code canyon license
* @version SVN: <1.0>
* @link http://www.capjo.com
*/
// Images are from Crystal clear icons
// Website: http://www.everaldo.com
$accessrights=array ('s');
include 'defender.php';
$notifymsg='';
$addedStyle='';
if (isset($_COOKIE['cannotsignupnow'])) {
$addedStyle="background-color: #FFCCCC; border: 1px solid #FF0000;";
$notifymsg="You are logged in now. Please log out to sign up";
setcookie('cannotsignupnow', '', time()-3600);
}
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"
\"http://www.w3.org/ (...)
<html><head><meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">
<META HTTP-EQUIV=\"Pragma\" CONTENT=\"no-cache\">
<META HTTP-EQUIV=\"Expires\" CONTENT=\"-1\">
<title>Welcome to ".CONFIG_CONSTANTS::$STANDARDROLENAME." user page</title>
<script type=\"text/javascript\">
function clearNotification()
{
var notify=document.getElementById('headermiddlenotify');
notify.style.backgroundColor=\"#a3a084\";
notify.style.border=\"0px\";
notify.innerHTML='';
}
function initialize()
{
setTimeout('clearNotification()',5000);
}
window.onload=initialize;
Welcome <?php echo $username;?>! </label>
</style>
</head>
<body>
<div id=\"header\">
<div id=\"headercontent\">
<div id=\"headermiddle\">
<div id=\"headermiddlenotify\">
$notifymsg
</div>
<div id=\"headermiddlelinks\">
<div id=\"headermiddlelinksleft\">
<a href=\"home.php\" style=\"color:#454545;\">
Home
</a>
</div>
<div id=\"headermiddlelinksright\">
<a href=\"signout.php\" style=\"color:#454545;\">
Sign out
</a>
</div>
</div>
</div>
</div>
</div>
<div id=\"main\">
<div id=\"maincontent\">
<div id=\"standard\">
</div>
<span style=\"position: relative;float: right;
left: -10px; top: 10px;\">
<label style=\"font-size: 15px\"></label>
<label style=\"font-weight: normal;font-size: 14px;color:#3d3d3d;\">
</label><br>
<label style=\"font-weight: normal; font-size: 9px;
position: none; top: 1px; left: 20px;color:#6d6d6d;text-shadow:0px 1px #000;\">
</span></div>
</div>
</div>
</div>
</div>
<div id=\"footer\">
<div id=\"footercontent\">
<span>You are viewing ".CONFIG_CONSTANTS::$STANDARDROLENAME." users page<br>
This page can be viewed only by ".CONFIG_CONSTANTS::$STANDARDROLENAME." users</span>
</div>
</div>
</body>
</html>";
?>