This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace controllers; | |
class DashboardController extends AppController | |
{ | |
public function __construct() | |
{ | |
parent::__construct(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace models; | |
class DashboardModel extends AppModel | |
{ | |
/** | |
* @var string | |
*/ | |
public $primaryKey = 'id'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=utf-8"> | |
<title>{hotelName} - Client</title> | |
<link rel="stylesheet" href="{url}/static/client/reset.css" type="text/css"> | |
<script type="text/javascript" src="{url}/static/js/swfobject.js"></script> | |
<script type="text/javascript"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
internal void roomkek() | |
{ | |
if (Session.GetHabbo().Rank > 6) | |
{ | |
Room currentRoom = this.Session.GetHabbo().CurrentRoom; | |
currentRoom = ButterflyEnvironment.GetGame().GetRoomManager().GetRoom(this.Session.GetHabbo().CurrentRoomId); | |
if (currentRoom != null) | |
{ | |
List<RoomUser> roomUsers = currentRoom.GetRoomUserManager().GetRoomUsers(); |