Podam cały kod najlepiej, może ktoś znajdzie błą owy
Cytat
<?php
session_start();
ob_start();
//echo '<pre>';
//print_r($_SESSION);
//sleep(1);
//echo '</pre>';
function getTime()
{
$a = explode (' ',microtime());
return(double) $a[0] + $a[1];
}
$Start = getTime();
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>BOT :: LipA</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Bot reklamujący www.sh.st/wAPyn">
<meta name="author" content="Nieznany - www.sh.st/wAPyn">
<link href="css/bootstrap.css" rel="stylesheet">
<style type="text/css">
body {
padding-top: 20px;
padding-bottom: 40px;
}
/* Custom container */
.container-narrow {
margin: 0 auto;
max-width: 800px;
}
.container-narrow > hr {
margin: 30px 0;
}
/* Main marketing message and sign up button */
.jumbotron {
margin: 60px 0;
text-align: center;
}
.jumbotron h1 {
font-size: 72px;
line-height: 1;
}
.jumbotron .btn {
font-size: 21px;
padding: 14px 24px;
}
/* Supporting marketing content */
.marketing {
margin: 60px 0;
}
.marketing p + h4 {
margin-top: 28px;
}
</style>
<script type="text/javascript" src="bbeditor/ed.js"></script>
</head>
<body>
<div class="container-narrow">
<div class="masthead">
<ul class="nav nav-pills pull-right">
<li <?if(!$_GET['s']) echo 'class="active"';?>><a href="./">Reklamuj</a></li>
<li <?if($_GET['s'] == 'lista') echo 'class="active"';?>><a href="./?s=lista">Konta</a></li>
<li <?if($_GET['s'] == 'dodaj') echo 'class="active"';?>><a href="./?s=dodaj">Dodaj konto</a></li>
<li <?if($_GET['s'] == 'historia') echo 'class="active"';?>><a href="./?s=historia">Historia</a></li>
<li><a href="http://www.sh.st/wAPyn" target="_blank">MASTER BOOST</a></li>
</ul>
<li><a href="http://www.sh.st/wAPyn" target="_blank">MASTER BOOST</a></li>
</div>
<hr>
<?php
if(!function_exists('curl_init')){
echo '<div class="alert alert-error">Twój hosting nie obsługuje biblioteki cURL. Bot nie będzie działał.</div>';
}
define('BOT', true);
include ('config.php');
if(!$install){
include ('install.php');
}else{
include ('include/funkcje.php');
if(file_exists('install.php')){
unlink('install.php');
}
?>
<div class="jumbotron">
<?php
$site = $_GET['s'];
if($site){
if(file_exists(dirname(__FILE__) . '/include/'.$site.'.php')){
include(dirname(__FILE__) . '/include/'.$site.'.php');
}else{
include ('include/glowna.php');
}
}else{
include ('include/glowna.php');
}
?>
</div>
<?php }?>
<hr>
<div class="footer">
<p>© 2014 by <a href="gg:11665253">Aragog</a><br>Kodowanie:<a href="gg:34814170">LipA</a><br>Grafika:<a href="gg:43544927">Kir0</a>
<br><?php
$End = getTime();
echo "Czas wykonywania: ".number_format(($End - $Start),4)."s";
?><br>
Odwiedź forum <a href="http://http://www.sh.st/wAPyn" target="_blank">MASTER BOOST</a>
</p>
</div>
</div>
</body>
</html>