the only way i learned oop php is by using static methods for everything:
<?php
class something {
public static function something() {
echo 'function';
}
public static function finish() {
self::something(); //call a function in this class
}
}...
11/24/15
Updates
Widget system reworked from:
class gWidget {
public static function loadFooter() {
return'
<div id="container-footer">
<p id="footer">
'.gConfig::get('site->name').' Hotel is not affiliated with Sulake Co or Habbo Hotel .
<br>
<a href="'.gConfig::get('site->path').'/me"...
I'm interested in trying: this
<?php
class gWidget {
public static function load($file) {
if (isset($file)) {
$docInstance = new DOMDocument();
$docInstance->loadHTMLFile('pub/'.gConfig::get('site->tpl').'/widgets/$file');
} else {...
Yeah I thought about that but idk, i feel like using a database for that is too... "normal".
I wanna try something different, either storing them in a file and loading them in. OR storing it in an array? a big, big array.
So, atm i have a very poor widget handler in ghabbo
class gWidget {
public static function loadFooter() {
return'
<div id="container-footer">
<p id="footer">
'.gConfig::get('site->name').' Hotel is not affiliated with Sulake Co or Habbo Hotel...
Your mysql.data file is missing, i remember i had this issue awhile ago with phoenix
Here, try this.
Mediafire Link move that dll into the root of your emulator
Sup, here's some online references:
w3schools (where i started): here
codeacademy course: here
khanacademy (used this in middleschool): here
once you learn the basics, you can start using a good css framework for development like:
Bootstrap (latest): here
Skeleton: here
Gumby (developers...
This game isn't that bad, I played Shyvana when i tried it, usualy went 6-4 or just evening out at 6-6.
I just can't play the game because i grew up playing MMOs, third person and everything. I find the sky view really, really boring.. It feels like it would be more enjoyable to play on a tablet lel
It's gotta being something with the directories not be writeable, it's the only problem i can suspect.
and if you can't get it working, fuck it, why do you need chached avatars anyways? seems a bit pointless imo besides the fact you're taking up disk space to save avatar images for all your users.
Rev itself isn't cancer at all, it actually shits on any cms you or I would make.
Habbotards just don't know how to use a db engine, so they fill up their tpl files with mysql_querys over and over untill you can fuckin run anymore querys :rasta: