Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 9 of 10 FirstFirst ... 5678910 LastLast
Results 81 to 90 of 97
  1. #81
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

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

  2. #82
    Join Date
    Sep 2006
    Location
    Evanston, Illinois.
    Posts
    2,361
    Tokens
    0

    Latest Awards:

    Default

    Lol, indeed.
    How could this hapen to meeeeeeeeeeeeeee?lol.

  3. #83
    Join Date
    Sep 2007
    Location
    USA
    Posts
    474
    Tokens
    0

    Default

    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

  4. #84
    Join Date
    Apr 2007
    Location
    Kent
    Posts
    482
    Tokens
    0

    Default

    Thanks soooo much +REP
    Tis' I.

  5. #85
    Join Date
    Mar 2007
    Posts
    106
    Tokens
    0

    Default

    LOL I HATE U! LOOOL. I was so looking forward to it.

    :eusa_wall

  6. #86
    Join Date
    Dec 2007
    Posts
    2,807
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Lolcopters View Post
    No I'm pretty much sure you still can't code. Show me some recent code emoboy.
    He can't. Well he never coded 'his' actionscript Radio player anyway.

  7. #87
    Join Date
    Dec 2006
    Posts
    3,970
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Dentafrice View Post
    PHP Code:
    <?php
    echo "Hello World!";
    ?>
    I'm advancing well.
    PHP Code:
    <?php
    $Text 
    Hello World;
    echo 
    "$Text";
    ?>
    You just got pwnd
    Last edited by Decode; 07-04-2008 at 08:39 AM.
    Lets set the stage on fire, and hollywood will be jealous.

  8. #88
    Join Date
    Oct 2006
    Location
    Peterborough, UK
    Posts
    3,855
    Tokens
    216

    Latest Awards:

    Default

    Quote Originally Posted by Tom743 View Post
    PHP Code:
    <?php
    $Text 
    Hello World;
    echo 
    "$Text";
    ?>
    You just got pwnd
    Work in progress
    PHP 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 == )
                {
                    
    # Valid user!
                    
    return true;
                }
                return 
    false;
            }
            return 
    false;
        }
        
        function 
    makeSafeHtml$string$trim )
        {
            
            
    /**
             * 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$stringENT_QUOTES );
            
            
    # Do we want to trim?
            
    if( $trim == )
            {
                
    # Yes, yes we do.
                
    $string trim$string );
            }
            
            
    # Ah, delicious string, how I shall miss you.
            
    return $string;
        }
    }

    ?>
    soz m8 pwned


    visit my internet web site on the internet
    http://dong.engineer/
    it is just videos by bill wurtz videos you have been warned

  9. #89
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    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(''''111);
                    }
                    
    $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();
    }
    ?>
    soz m8.

  10. #90
    Join Date
    Feb 2008
    Location
    Plymouth
    Posts
    1,073
    Tokens
    0

    Latest Awards:

    Default

    Battle of the geeks:rolleyes:

Page 9 of 10 FirstFirst ... 5678910 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •