I'm advancing well.PHP Code:<?php
echo "Hello World!";
?>

I'm advancing well.PHP Code:<?php
echo "Hello World!";
?>
Lol, indeed.
How could this hapen to meeeeeeeeeeeeeee?lol.
wierd fight above with lolcopters and invent i always figured they were the same person or friends espeically due to lolcopters refrence in one of invent's freebie layouts on habboring >.> although that layout doesn't work properly
Post Meter
______________________________________________
400 450 500 550 600 650 700 750 800 850 900-1k
Green=Done | Orange=Almost | Red=Not Done
______________________________________________
Habbo fury Coming Soon!
My Img tag has ran away
Thanks soooo much+REP
Tis' I.
LOL I HATE U! LOOOL. I was so looking forward to it.
:eusa_wall
Work in progress
soz m8 pwnedPHP Code:<?php
class loginCore
{
/**
* Maintaining PHP 4 compatibility
* until the general consensus is that
* PHP 5 is used on enough server to warrant
* change to PHP 5 OOP code
*/
var $loginState;
var $loginSession;
var $loginVariables = array();
var $localVariables;
var $validLoginVars;
/**
* PHP Constructor
*/
function loginCore()
{
/**
* Setup login state, check variables etc
*/
global $systemVariables;
$this->localVariables = $systemVariables;
$loginState = ( $this->checkState() ) ? $this->checkState() : $this->errorCode( "no_Session" );
return "";
}
function checkState( )
{
$loginState = ( $_COOKIE["loginState"] ) ? $_COOKIE["loginState"] : "";
if( $loginState !== null )
{
$loginVariable = array( "loginUsername" => $_COOKIE["loginUsername"],
"loginPassword" => $_COOKIE["loginPassword"],
"loginSession" => $_COOKIE["loginSession"],
"loginLastTime" => $_COOKIE["loginLastTime"] );
foreach( $loginVariable as $key => $value )
{
if( $value == "" )
{
continue;
}
switch( $key )
{
case "loginUsername":
{
if( $this->checkUsername( $value ) )
{
break;
}
return false;
}
break;
case "loginPassword":
{
# if we've got this far the username is valid!
if( $this->checkPassword( $username, $pass ) )
{
return true;
}
}
break;
}
$this->validLoginVars = true;
}
}
}
function checkUsername( $username )
{
/**
* User shouldn't be allowed to have ''s or "'s in their
* username
*/
$username = makeSafeHtml( $username );
if( $username != "" )
{
# We have a valid username, lets throw a query.
$isUsername = $this->db->run_query( "SELECT COUNT(*) FROM `{usertable}` WHERE lcase( `username` ) = lcase( '" . $username . "' )" );
# Query is delicious, lets see if it shouted at us
if( $isUsername == 1 )
{
# Valid user!
return true;
}
return false;
}
return false;
}
function makeSafeHtml( $string, $trim = 0 )
{
/**
* Remove the NUL-Byte + vertical tab.
*/
$string = str_replace( "\\\0", "", $string );
$string = str_replace( "\\\x00", "", $string );
$string = str_replace( "%00", "", $string );
$string = str_replace( "\\x0B", "", $string );
/**
* Make HTML safe (convert everything)
*/
$string = htmlentities( $string, ENT_QUOTES );
# Do we want to trim?
if( $trim == 1 )
{
# Yes, yes we do.
$string = trim( $string );
}
# Ah, delicious string, how I shall miss you.
return $string;
}
}
?>![]()
visit my internet web site on the internet
http://dong.engineer/
it is just videos by bill wurtz videos you have been warned
soz m8.PHP Code:<?php
//class license extends core {
//
// function check_license() {
// global $root;
// $server = $_SERVER['HTTP_HOST'];
// $license = @file_get_contents($root . "license.txt");
// $secret = md5(time());
// $check_license = @file_get_contents("http://www.dentafrice.com/hk/index.php?mode=check_license&server=" . $server . "&license=" . $license . "&appkey=" . $secret);
// echo $check_license;
// exit();
// if($check_license == "" || $check_license == "0") {
// $this->error("INVALID LICENSE KEY");
// exit();
// } else {
//
// }
// }
//}
class core extends database
{
/**
* Construct
*/
function __construct ()
{
parent::__construct();
// $license = new license();
// $license->check_license();
}
/**
* Get Setting
*/
public function get_setting ($setting_name)
{
$get_setting = $this->query("SELECT value FROM settings WHERE name='$setting_name'");
$get_setting_n = $this->num_rows($get_setting);
if ($get_setting_n == "0") {
$this->error("<phrase>no_setting</phrase>");
} else {
$get_setting_a = $this->fetch_array($get_setting);
return $get_setting_a["value"];
}
}
/**
* Get Template
*/
public function get_template ($template_name)
{
$get_template = $this->query("SELECT value FROM templates WHERE name='$template_name'");
$get_template_a = $this->fetch_array($get_template);
return $get_template_a["value"];
}
public function table ($tbl)
{
$query = $this->query("SHOW TABLES");
while ($row = $this->fetch_array($query)) {
$tables[] = $row[0];
}
@mysql_free_result($query);
if (in_array($tbl, $tables)) {
return "1";
} else {
return "0";
}
}
/**
* Get Phrase
*/
public function get_phrase ($phrase_name)
{
$get_phrase = $this->query("SELECT value FROM phrases WHERE name='$phrase_name'");
$get_phrase_n = $this->num_rows($get_phrase);
if ($get_phrase_n == "0") {
$this->error("<phrase>no_phrase</phrase>");
} else {
$get_phrase_a = $this->fetch_array($get_phrase);
return $get_phrase_a["value"];
}
}
/**
* Clean
*/
public function clean ($var, $level = '1', $extra = '')
{
global $classes;
switch ($level) {
case '1':
if (! get_magic_quotes_gpc()) {
$var = addslashes($var);
} else {}
require_once $classes . "filter.php";
if (! isset($filter)) {
$filter = new InputFilter('', '', 1, 1, 1);
}
$var = $filter->process($var);
return $var;
break;
case '2':
return stripslashes($var);
break;
case '3':
return htmlentities($var);
break;
case '4':
return htmlentities(stripslashes($var));
break;
case '5':
return strip_tags($var, $extra);
break;
case '6':
return htmlspecialchars($var);
break;
case '7':
if (! get_magic_quotes_gpc()) {
$var = addslashes($var);
} else {}
return $var;
break;
default:
die("Invalid clean var set.");
}
}
public function redirect ($page, $time = "0", $exit = "no")
{
echo "<meta http-equiv=\"refresh\" content=\"$time;url=$page\">";
if ($exit != "no") {
exit();
}
}
/**
* Error
*/
public function error ($message)
{
global $template;
$error_template = $template->get_template("error", 1);
$search = array("/\{message\}/");
$replace = array($message);
$error_template = $template->preplace($search, $replace, $error_template);
$error_template = $template->parse($error_template);
echo $error_template;
}
/**
* Success
*/
public function success ($message)
{
global $template;
$error_template = $template->get_template("success", 1);
$search = array("/\{message\}/");
$replace = array($message);
$error_template = $template->preplace($search, $replace, $error_template);
$error_template = $template->parse($error_template);
echo $error_template;
}
/**
* Notice
*/
public function notice ($message)
{
global $template;
$error_template = $template->get_template("notice", 1);
$search = array("/\{message\}/");
$replace = array($message);
$error_template = $template->preplace($search, $replace, $error_template);
$error_template = $template->parse($error_template);
return $error_template;
}
public function tool ($message)
{
global $template;
$error_template = $template->get_template("tool", 1);
$search = array("/\{message\}/");
$replace = array($message);
$error_template = $template->preplace($search, $replace, $error_template);
$error_template = $template->parse($error_template);
return $error_template;
}
/**
* Destruct
*/
function __destruct ()
{}
}
if (! isset($core)) {
$core = new core();
}
?>
Battle of the geeks:rolleyes:
Want to hide these adverts? Register an account for free!