Ematerion
Advanced User
- Joined
- Feb 18, 2013
- Messages
- 176
- Reaction score
- 5
Witam, ot?? od pewnego czasu robi? OTS i znalaz?em u siebie pewien Acc Maker pod Nicawa, bodaj?e by Azuu edited by Sedron. Ot?? mam problem ze statusem. Po od?wie?eniu strony:
, po ok. 30-40sec:
. Pr?bowa?em to naprawi?, szuka?em w internecie, jednak?e bez skutku. Kr?tko m?wi?c znika wszystko pod statusem.
Dodaj? header.inc:
Z g?ry dzi?kuj? za pomoc.
Dodaj? header.inc:
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 name="Author" content="by Ematerion" />
<meta http-equiv="content-type" content="text/html;charset=windows-1250" />
<title>Dragon Ball Rebelion</title>
<link rel="stylesheet" href="default.css" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php echo $cfg['skin_url'].$cfg['skin']?>.css" type="text/css" media="screen" />
<link rel="stylesheet" href="print.css" type="text/css" media="print" />
<link rel="alternate" type="application/rss+xml" title="News" href="news.php?RSS2" />
<script type="text/javascript" src="javascript/prototype.js"></script>
<script type="text/javascript" src="javascript/main.js"></script>
<script type="text/javascript" src="js.js"></script>
<link rel="shortcut icon" href="resource/favicon.png" />
<?php if (!empty($_SESSION['account']) && empty($_COOKIE['remember'])){?>
<script type="text/javascript">
//<![CDATA[
function tick()
{
ticker++;
if (ticker > <?php echo $cfg['timeout_session'];?>){
self.window.location.href = 'login.php?logout&redirect=account.php';
}else{
setTimeout ("tick()",1000);
}
}
ticker = 0;
tick();
//]]>
</script>
<?php }?>
</head>
<body>
<div id="form"></div>
<div id="header"></div>
<div id="openlinks">
<ul class="container">
<li class="home.php"><a href="notes.php">Home</a></li>
<li><a href="register.php">Create Account</a></li>
<li><a target="notes.php" href="">Forum</a></li>
<li><a href="notes.php"><strong><span style="color: red; font-weight: 900; text-shadow: 1px 0px 7px red;" >COMING SOON</blink></span></strong></font></a></li>
</ul>
</div>
<div id="openpanel"><div class="full"><form method="get" action="characters.php">
<input type="text" name="player_name" value="Player name"/>
<input type="submit" value="Search"/>
</form></div></div>
<div id="container">
<div id="panel2"><div class="top">Status</div><div class="mid">
<img src="skins/essense/online.png">
<div id="server_state">
<div class="mid">
<?php include('status.php');?>
<center><div id="panel14"><div class="top">YouTube</div><div class="mid">
<iframe width="200" height="200" src="https://www.youtube.com/embed/_HxN_8OHBf8?rel=0&autoplay=1"
frameborder="0"
allowfullscreen></iframe></center></div>
</script>
</div>
</div>
<?php
if(!empty($_SESSION['account'])) {
$account = new Account();
$account->load($_SESSION['account']);
echo '<div class="top">Account</div><center>';
echo '<b><center>You are logged in.</center></b>';
echo '<button onclick="window.location.href=\'account.php\'">Manage Account</button><br>';
echo '<button onclick="window.location.href=\'login.php?logout&redirect=account.php\'">Logout</button>';
}
?></center>
</div>
<div id="panel">
<div id="navigation">
<?php
if (file_exists('navigation.xml')){
$XML = simplexml_load_file('navigation.xml');
if ($XML === false) throw new aacException('Malformed XML');
}else{die('Unable to load navigation.xml');}
foreach ($XML->category as $cat){
echo '<div class="top">'.$cat['name'].'</div><ul>'."\n";
foreach ($cat->item as $item)
echo '<li><a href="'.$item['href'].'">'.$item.'</a></li>'."\n";
echo '</ul><div class="bot"></div>'."\n";
}
?>
</div>
<div class="bot"></div>
</div>
Z g?ry dzi?kuj? za pomoc.