[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/require_once"]require_once[/URL] [COLOR= #DD0000]includes/config.inc.php[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$errors[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/array"]array[/URL][COLOR= #007700]();[/COLOR]
[COLOR= #0000BB]$go[/COLOR] [COLOR= #007700]=[/COLOR] TRUE[COLOR= #007700];[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]US[/COLOR][COLOR= #007700]])) {[/COLOR]
[URL="http://www.php.net/header"]header[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]Location: loggedin.php[/COLOR][COLOR= #007700]);
}
function[/COLOR] curl[COLOR= #007700]([/COLOR][COLOR= #0000BB]$url[/COLOR][COLOR= #007700]) {[/COLOR]
[URL="http://www.php.net/if"]if[/URL] [COLOR= #007700](![/COLOR][URL="http://www.php.net/function_exists"]function_exists[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]curl_init[/COLOR][COLOR= #007700])){[/COLOR]
[URL="http://www.php.net/die"]die[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]CURL is not installed![/COLOR][COLOR= #007700]);
}[/COLOR]
[COLOR= #0000BB]$ch[/COLOR] [COLOR= #007700]=[/COLOR] curl_init[COLOR= #007700]();[/COLOR]
curl_setopt[COLOR= #007700]([/COLOR][COLOR= #0000BB]$ch[/COLOR][COLOR= #007700],[/COLOR] CURLOPT_URL[COLOR= #007700],[/COLOR] [COLOR= #0000BB]$url[/COLOR][COLOR= #007700]);[/COLOR]
curl_setopt[COLOR= #007700]([/COLOR][COLOR= #0000BB]$ch[/COLOR][COLOR= #007700],[/COLOR] CURLOPT_RETURNTRANSFER[COLOR= #007700],[/COLOR] true[COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$output[/COLOR] [COLOR= #007700]=[/COLOR] curl_exec[COLOR= #007700]([/COLOR][COLOR= #0000BB]$ch[/COLOR][COLOR= #007700]);[/COLOR]
curl_close[COLOR= #007700]([/COLOR][COLOR= #0000BB]$ch[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/return"]return[/URL] [COLOR= #0000BB]$output[/COLOR][COLOR= #007700];
}[/COLOR]
[URL="http://www.php.net/session_start"]session_start[/URL][COLOR= #007700]();
function[/COLOR] encryptPassword[COLOR= #007700]([/COLOR][COLOR= #0000BB]$password[/COLOR][COLOR= #007700]) {[/COLOR]
[COLOR= #0000BB]$salt[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/substr"]substr[/URL][COLOR= #007700]([/COLOR]hash[COLOR= #007700]([/COLOR][COLOR= #DD0000]whirlpool[/COLOR][COLOR= #007700],[/COLOR] [URL="http://www.php.net/uniqid"]uniqid[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/rand"]rand[/URL][COLOR= #007700](),[/COLOR] true[COLOR= #007700])),[/COLOR] [COLOR= #0000BB]0[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]12[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$hash[/COLOR] [COLOR= #007700]=[/COLOR] hash[COLOR= #007700]([/COLOR][COLOR= #DD0000]whirlpool[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$salt[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$password[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$saltPos[/COLOR] [COLOR= #007700]= ([/COLOR][URL="http://www.php.net/strlen"]strlen[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$password[/COLOR][COLOR= #007700]) >=[/COLOR] [URL="http://www.php.net/strlen"]strlen[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$hash[/COLOR][COLOR= #007700]) ?[/COLOR] [URL="http://www.php.net/strlen"]strlen[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$hash[/COLOR][COLOR= #007700]) :[/COLOR] [URL="http://www.php.net/strlen"]strlen[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$password[/COLOR][COLOR= #007700]));[/COLOR]
[URL="http://www.php.net/return"]return[/URL] [URL="http://www.php.net/substr"]substr[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$hash[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]0[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$saltPos[/COLOR][COLOR= #007700]) .[/COLOR] [COLOR= #0000BB]$salt[/COLOR] [COLOR= #007700].[/COLOR] [URL="http://www.php.net/substr"]substr[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$hash[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$saltPos[/COLOR][COLOR= #007700]);
}
function[/COLOR] checkPassword[COLOR= #007700]([/COLOR][COLOR= #0000BB]$checkPass[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$realPass[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$algorithm[/COLOR][COLOR= #007700]) {[/COLOR]
[URL="http://www.php.net/switch"]switch[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$algorithm[/COLOR][COLOR= #007700]) {
case[/COLOR] [COLOR= #0000BB]1[/COLOR][COLOR= #007700]:[/COLOR]
[URL="http://www.php.net/return"]return[/URL] [COLOR= #0000BB]$realPass[/COLOR] [COLOR= #007700]==[/COLOR] hash[COLOR= #007700]([/COLOR][COLOR= #DD0000]whirlpool[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$checkPass[/COLOR][COLOR= #007700]);
case[/COLOR] [COLOR= #0000BB]2[/COLOR][COLOR= #007700]:[/COLOR]
[URL="http://www.php.net/return"]return[/URL] [COLOR= #0000BB]$realPass[/COLOR] [COLOR= #007700]==[/COLOR] hash[COLOR= #007700]([/COLOR][COLOR= #DD0000]md5[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$checkPass[/COLOR][COLOR= #007700]);
case[/COLOR] [COLOR= #0000BB]3[/COLOR][COLOR= #007700]:[/COLOR]
[URL="http://www.php.net/return"]return[/URL] [COLOR= #0000BB]$realPass[/COLOR] [COLOR= #007700]==[/COLOR] hash[COLOR= #007700]([/COLOR][COLOR= #DD0000]sha1[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$checkPass[/COLOR][COLOR= #007700]);
case[/COLOR] [COLOR= #0000BB]4[/COLOR][COLOR= #007700]:[/COLOR]
[URL="http://www.php.net/return"]return[/URL] [COLOR= #0000BB]$realPass[/COLOR] [COLOR= #007700]==[/COLOR] hash[COLOR= #007700]([/COLOR][COLOR= #DD0000]sha256[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$checkPass[/COLOR][COLOR= #007700]);
default:[/COLOR]
[COLOR= #FF8000]// xAuth hashing[/COLOR]
[COLOR= #0000BB]$saltPos[/COLOR] [COLOR= #007700]= ([/COLOR][URL="http://www.php.net/strlen"]strlen[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$checkPass[/COLOR][COLOR= #007700]) >=[/COLOR] [URL="http://www.php.net/strlen"]strlen[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$realPass[/COLOR][COLOR= #007700]) ?[/COLOR] [URL="http://www.php.net/strlen"]strlen[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$realPass[/COLOR][COLOR= #007700]) :[/COLOR] [URL="http://www.php.net/strlen"]strlen[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$checkPass[/COLOR][COLOR= #007700]));[/COLOR]
[COLOR= #0000BB]$salt[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/substr"]substr[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$realPass[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$saltPos[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]12[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$hash[/COLOR] [COLOR= #007700]=[/COLOR] hash[COLOR= #007700]([/COLOR][COLOR= #DD0000]whirlpool[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$salt[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$checkPass[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/return"]return[/URL] [COLOR= #0000BB]$realPass[/COLOR] [COLOR= #007700]==[/COLOR] [URL="http://www.php.net/substr"]substr[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$hash[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]0[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$saltPos[/COLOR][COLOR= #007700]) .[/COLOR] [COLOR= #0000BB]$salt[/COLOR] [COLOR= #007700].[/COLOR] [URL="http://www.php.net/substr"]substr[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$hash[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$saltPos[/COLOR][COLOR= #007700]);
}
}[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700](![/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]US[/COLOR][COLOR= #007700]])) {[/COLOR]
[URL="http://www.php.net/header"]header[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]loggedin.php[/COLOR][COLOR= #007700]);
}[/COLOR]
[COLOR= #0000BB]$text[/COLOR] [COLOR= #007700]=[/COLOR] curl[COLOR= #007700]([/COLOR][COLOR= #DD0000]http://sticky-craft.com/online/content/text.php?server=mc.sticky-craft.com&port=25566[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$heads[/COLOR] [COLOR= #007700]=[/COLOR] curl[COLOR= #007700]([/COLOR][COLOR= #DD0000]http://sticky-craft.com/online/content/heads.php?server=mc.sticky-craft.com&port=25566&avatar=http://sticky-craft.com/online/avatar.php[/COLOR][COLOR= #007700]);[/COLOR]
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Sticky-craft.com</title>
<meta name="description" content="Sticky-craft is de nummer #1 Minecraft server." />
<meta name="keywords" content="Sticky-craft.com, Minecraft, Minecraft Server, Fun, PvP, Towny," />
<meta name="author" content="Charles Follet, Melvin Idema" />
<meta charset="utf-8">
<link href=images/CGSlogo.ico rel=icon type=image/x-icon/>
<link rel="stylesheet" href="css/reset.css" type="text/css" media="all">
<link rel="stylesheet" href="css/style.css" type="text/css" media="all">
<link rel="stylesheet" href="css/slider.css" type="text/css" media="all">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<div id="fb-root"></div>
</head>
<body>
<!-- header -->
<header>
<div class="container">
<h1><a href="index.php">Sticky-Craft.com</a></h1>
<nav>
<ul>
<li><a href="empty" class="current">Empty</a></li>
<li><a href="empty">Empty</a></li>
<li><a href="emtpy" target="_blank">Empty</a></li>
<li><a href="empty">Empty</a></li>
</ul>
</nav>
</div>
</header>
<!-- #gallery -->
<section id="gallery">
<div class=img id=img-1>
<a href="https://www.youtube.com/subscription_center?add_user=XxCoolGamesxX" target="_blank"><img src=images/yt-logo.png alt="Youtube of Cool Games Server"/></a>
</div>
<div class=img id=img-2>
<a href="https://twitter.com/XxCoolGamesxX" target="_blank"><img src=images/t-logo.png alt="Twitter"/></a>
</div>
<div class=img id=img-3>
<a href="https://www.facebook.com/pages/CoolGamesServer/115563421867273" target="_blank"><img src=images/fb-logo.png alt="Facebook Like Cool Games Server"/></a>
</div>
<div class=img id=img-4>
<a href="http://coolgamesserver.net/webstats/index.php"><img src=images/sgslogo.png alt="Survival Games - Stats"/></a>
</div>
<div class=img id=img-5>
<a href="vote.html"><img src=images/vote-logo.png alt="Vote for Money"/></a>
</div>
<div class=img id=img-6>
<a href="http://mc.coolgamesserver.net:25568/" target="_blank"><img src=images/livemap-logo.png alt="Live Map"/></a>
</div>
<div class="slider-wrapper theme-default">
<div id="slider" class="nivoSlider">
<img src="images/welcome.gif" data-thumb="images/welcome.gif" alt="Welcome" />
<img src="images/welcome.gif" data-thumb="images/welcome.gif" alt="Welcome" data-transition="slideInLeft" title="Hier kan je titel"/>
<img src="images/welcome.gif" data-thumb="images/welcome.gif" alt="welcome" title="Hier kan je titel" />
<img src="images/welcome.gif" data-thumb="images/welcome.gif" alt="welcome" data-transition="slideInLeft" title="Hier kan je titel"/>
<img src="images/welcome.gif" data-thumb="images/welcome.gif" alt="" title="Hier kan je titel" />
</div>
<div id="htmlcaption" class="nivo-html-caption">
</div>
</div>
<script type="text/javascript" src="js/slider.js"></script>
<script type="text/javascript">
$(window).load(function() {
$(#slider).nivoSlider();
});
</script>
</section>
<!-- /#gallery -->
<div class="main-box">
<div class="container">
<div class="inside">
<div class="wrapper">
<aside>
<br>
<h2> Log nu meteen in! </h2>
<p>
[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]login[/COLOR][COLOR= #007700]]))
{[/COLOR]
[COLOR= #0000BB]$mysql_host[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]#[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$mysql_usr[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]#[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$mysql_pw[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]#[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$mysql_db[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]#[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$con[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_connect"]mysql_connect[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$mysql_host[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$mysql_usr[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$mysql_pw[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/mysql_select_db"]mysql_select_db[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$mysql_db[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$con[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$username[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_real_escape_string"]mysql_real_escape_string[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]username[/COLOR][COLOR= #007700]]);[/COLOR]
[COLOR= #0000BB]$pass[/COLOR] [COLOR= #007700]=[/COLOR] hash[COLOR= #007700]([/COLOR][COLOR= #DD0000]whirlpool[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]password[/COLOR][COLOR= #007700]]);[/COLOR]
[URL="http://www.php.net/return"]return[/URL] [URL="http://www.php.net/substr"]substr[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$hash[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]0[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$saltPos[/COLOR][COLOR= #007700]) .[/COLOR] [COLOR= #0000BB]$salt[/COLOR] [COLOR= #007700].[/COLOR] [URL="http://www.php.net/substr"]substr[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$hash[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$saltPos[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$password[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_real_escape_string"]mysql_real_escape_string[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$pass[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$login[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * FROM accounts WHERE playername= $username AND password = $password"[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$con[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_num_rows"]mysql_num_rows[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$login[/COLOR][COLOR= #007700]) ==[/COLOR] [COLOR= #0000BB]1[/COLOR][COLOR= #007700])
{[/COLOR]
[COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]US[/COLOR][COLOR= #007700]] =[/COLOR] [COLOR= #0000BB]$username[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/header"]header[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"Location: index.php"[/COLOR][COLOR= #007700]);
}[/COLOR]
[URL="http://www.php.net/else"]else[/URL] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"Wrong username and/or password!"[/COLOR][COLOR= #007700];
}[/COLOR]
[URL="http://www.php.net/else"]else[/URL]
[COLOR= #007700]{[/COLOR]
?>
<form action="" method="POST" >
Username: <input type="text" name="username" /><br />
Password: <input type="password" name="password" /><br />
<input type="submit" name="login" value=" Login! " />
</form>
[COLOR= #0000BB]<?php[/COLOR]
[COLOR= #007700]}[/COLOR]
?></p>
</aside>
<!-- content -->
<section id="content">
<article>
<h2>Welkom bij <span>Sticky-craft</span></h2>
<p>Lorem ipsum doler sipsum</b></p>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur vel enim in nisi auctor rutrum. Nullam non rhoncus massa. Nulla eget libero magna. Cras orci turpis, bibendum ac pharetra id, egestas consequat eros. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Maecenas luctus scelerisque venenatis. Vivamus interdum iaculis sem, ac consequat nunc dictum sed. Integer lacus ipsum, aliquam eu ullamcorper sit amet, condimentum et augue. Duis orci neque, accumsan id sollicitudin nec, egestas in quam. Integer a quam sit amet mi tristique lobortis. Proin vel consequat augue. Nunc lectus est, elementum ac aliquet vel, rhoncus et metus. Duis facilisis tristique elit, nec mattis nisi tempus in. Duis at mi nibh.</p>
<p>Lorem ipsum:</p>
<ul>
<li>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</li>
<li>Curabitur vel enim in nisi auctor rutrum.</li>
<li>Maecenas luctus scelerisque venenatis.</li>
<li>condimentum et augue.</li>
</ul>
</article>
</section>
</div>
</div>
</div>
</div>
<div id="main-box1">
<div class="container">
<div class="inside">
<div class="wrapper">
<aside>
</aside>
<section id="content">
<article>
<h2>YouTube Video of Minecraft!</h2>
<iframe width="620" height="360" src="https://www.youtube-nocookie.com/embed/u9emjalsOsE" frameborder="0" allowfullscreen></iframe>
</article>
</section>
</div>
</div>
</div>
</div>
<!-- footer -->
<footer>
<div class="container">
<div class="wrapper">
<div class="fleft">Copyright 2011-2012 - Sticky-Craft.com</div>
<div class="fright">Redesign / Redevelopped by Melvin Idema</a></div><br />
<div class="fright">Original by Charles Follet</a></div>
<div class="fleft"><a href="index.php">Homepage</a> - <a href="#">emtpy</a> - <a href="#">empty</a> - <a href="#">empty</a> - <a href="#">empty</a></div><br />
<div class="flefth"><div id="text">
[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$text[/COLOR][COLOR= #007700];[/COLOR] ?>
</div>
<div id="heads">
[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$heads[/COLOR][COLOR= #007700];[/COLOR] ?>
</div>
<div>
</div>
</div>
</footer>
</body>
</html> Hij word dus niet redicted naar loggedin.php
[COLOR= #0000BB]<?php[/COLOR]
[COLOR= #FF8000]/*
@author: Jeffrey Ponsen [jponsen.nl]
@copyright 2012 - 2013
*/[/COLOR]
[URL="http://www.php.net/require_once"]require_once[/URL] [COLOR= #DD0000]includes/config.inc.php[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700](![/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]US[/COLOR][COLOR= #007700]])) {[/COLOR]
[URL="http://www.php.net/die"]die[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]U heeft geen toegang tot deze pagina.[/COLOR][COLOR= #007700]);
}
function[/COLOR] curl[COLOR= #007700]([/COLOR][COLOR= #0000BB]$url[/COLOR][COLOR= #007700]) {[/COLOR]
[URL="http://www.php.net/if"]if[/URL] [COLOR= #007700](![/COLOR][URL="http://www.php.net/function_exists"]function_exists[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]curl_init[/COLOR][COLOR= #007700])){[/COLOR]
[URL="http://www.php.net/die"]die[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]CURL is not installed![/COLOR][COLOR= #007700]);
}[/COLOR]
[COLOR= #0000BB]$ch[/COLOR] [COLOR= #007700]=[/COLOR] curl_init[COLOR= #007700]();[/COLOR]
curl_setopt[COLOR= #007700]([/COLOR][COLOR= #0000BB]$ch[/COLOR][COLOR= #007700],[/COLOR] CURLOPT_URL[COLOR= #007700],[/COLOR] [COLOR= #0000BB]$url[/COLOR][COLOR= #007700]);[/COLOR]
curl_setopt[COLOR= #007700]([/COLOR][COLOR= #0000BB]$ch[/COLOR][COLOR= #007700],[/COLOR] CURLOPT_RETURNTRANSFER[COLOR= #007700],[/COLOR] true[COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$output[/COLOR] [COLOR= #007700]=[/COLOR] curl_exec[COLOR= #007700]([/COLOR][COLOR= #0000BB]$ch[/COLOR][COLOR= #007700]);[/COLOR]
curl_close[COLOR= #007700]([/COLOR][COLOR= #0000BB]$ch[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/return"]return[/URL] [COLOR= #0000BB]$output[/COLOR][COLOR= #007700];
}[/COLOR]
[COLOR= #0000BB]$text[/COLOR] [COLOR= #007700]=[/COLOR] curl[COLOR= #007700]([/COLOR][COLOR= #DD0000]http://sticky-craft.com/online/content/text.php?server=mc.sticky-craft.com&port=25566[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$heads[/COLOR] [COLOR= #007700]=[/COLOR] curl[COLOR= #007700]([/COLOR][COLOR= #DD0000]http://sticky-craft.com/online/content/heads.php?server=mc.sticky-craft.com&port=25566&avatar=http://sticky-craft.com/online/avatar.php[/COLOR][COLOR= #007700]);[/COLOR]
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Sticky-craft.com</title>
<meta name="description" content="Sticky-craft is de nummer #1 Minecraft server." />
<meta name="keywords" content="Sticky-craft.com, Minecraft, Minecraft Server, Fun, PvP, Towny," />
<meta name="author" content="Charles Follet, Melvin Idema" />
<meta charset="utf-8">
<link href=images/CGSlogo.ico rel=icon type=image/x-icon/>
<link rel="stylesheet" href="css/reset.css" type="text/css" media="all">
<link rel="stylesheet" href="css/style.css" type="text/css" media="all">
<link rel="stylesheet" href="css/slider.css" type="text/css" media="all">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<div id="fb-root"></div>
</head>
<body>
<!-- header -->
<header>
<div class="container">
<h1><a href="index.php">Sticky-Craft.com</a></h1>
[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"upper.php"[/COLOR][COLOR= #007700]);[/COLOR] ?>
</div>
</header>
<!-- #gallery -->
<section id="gallery">
<div class=img id=img-1>
<a href="https://www.youtube.com/subscription_center?add_user=Stickycraftmc" target="_blank"><img src=images/yt-logo.png alt="Youtube of sticky-craft"/></a>
</div>
<div class=img id=img-2>
<a href="https://twitter.com/sticky_craft_" target="_blank"><img src=images/t-logo.png alt="Twitter"/></a>
</div>
<div class=img id=img-3>
<a href="http://www.facebook.com/StickyCraft" target="_blank"><img src=images/fb-logo.png alt="Facebook Like sticky-craft"/></a>
</div>
<div class=img id=img-4>
<a href="http://www.sticky-craft.com/statics.php"><img src=images/sgslogo.png alt="Survival Games - Stats"/></a>
</div>
<div class=img id=img-5>
<a href="vote.html"><img src=images/vote-logo.png alt="Vote for Money"/></a>
</div>
<div class=img id=img-6>
<a href="livemap.php" target="_blank"><img src=images/livemap-logo.png alt="Live Map"/></a>
</div>
<div class="slider-wrapper theme-default">
<div id="slider" class="nivoSlider">
<img src="images/crea.png" data-thumb="images/crea.png" alt="Welcome" title="New in sticky-V2! creative world "/>
<img src="images/sg.png" data-thumb="images/sg.png" alt="Welcome" data-transition="slideInLeft" title="Nu! Met Survival games!"/>
<img src="images/map.png" data-thumb="images/map.png" alt="welcome" title="Hier kan je titel" />
</div>
<div id="htmlcaption" class="nivo-html-caption">
</div>
</div>
<script type="text/javascript" src="js/slider.js"></script>
<script type="text/javascript">
$(window).load(function() {
$(#slider).nivoSlider();
});
</script>
</section>
<!-- /#gallery -->
<div class="main-box">
<div class="container">
<div class="inside">
<div class="wrapper">
<div id="menu">
[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"personmenu.php"[/COLOR][COLOR= #007700]);[/COLOR] ?>
</div>
<!-- content -->
<section id="content">
<article>
<h2>[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Welkom terug bij <span> Sticky-craft </span>[/COLOR][COLOR= #007700].[/COLOR][URL="http://www.php.net/ucfirst"]ucfirst[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]US[/COLOR][COLOR= #007700]]);[/COLOR] ?>
[COLOR= #0000BB]<?php
$balanceQuery[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT username, balance FROM iConomy WHERE username = "[/COLOR][COLOR= #007700].[/COLOR][URL="http://www.php.net/mysql_real_escape_string"]mysql_real_escape_string[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]US[/COLOR][COLOR= #007700]]).[/COLOR][COLOR= #DD0000]""[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700](![/COLOR][COLOR= #0000BB]$balanceQuery[/COLOR][COLOR= #007700]) {[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Er is een fout opgetreden: [/COLOR][COLOR= #007700].[/COLOR][URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700](); }[/COLOR]
[URL="http://www.php.net/while"]while[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$balanceFetch[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_assoc"]mysql_fetch_assoc[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$balanceQuery[/COLOR][COLOR= #007700])) {[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<<br />Uw saldo is [/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$balanceFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]balance[/COLOR][COLOR= #007700]];
}[/COLOR]
?></h2>
<p>Wat is sticky-craft</b></p>
<p>Sticky-craft is een 24/7 community met gezellige staff en geweldige leden, De server is bijna 4 maanden oud en telt al veele leden. De server telt al over 30 plugins die je helpen tijdens je avontuur in sticky-craft Sticky-craft is een 50 player server met leuke events, wedstrijden en geld verdien mogelijkheden. Je kan via je Minecraft ingame account (/login) inlogen op onze main site (niet het forum) en van alles inzien, Je kan bijvoorbeeld inloggen op de livemap, je geld zien, Je verkochte/gekochte items zien en nog veel meer! ~kev30</p>
</article>
</section>
</div>
</div>
</div>
</div>
<div id="main-box1">
<div class="container">
<div class="inside">
<div class="wrapper">
<aside>
</aside>
<section id="content">
</section>
</div>
</div>
</div>
</div>
<!-- footer -->
[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"footer.php"[/COLOR][COLOR= #007700]);[/COLOR] ?>
</body>
</html> mijn vraag dus waarom word hij niet redicted ;s
?
