[REL] HobbaPHP [PHX]

Status
Not open for further replies.

brsy

nah mang
May 12, 2011
1,530
272
* I am NOT taking credit for this project. These SIMPLE EDITS were done by cooldude159 from RZ *

Here are some thing's that I just edit for the fun of it to make PhoenixPHP look more habboon.





I will always update HobbaPHP and Update it

Download Link





* I am NOT taking credit for this project. These SIMPLE EDITS were done by cooldude159 from RZ *



 

unknown

New Member
Feb 6, 2011
19
0
Thank's for Releasing my work and also thx for the Credit's if you have any problem or Request to add on the CMS just feel free to add my msn at [email protected] or Just PM me
 

brsy

nah mang
May 12, 2011
1,530
272
Thank's for Releasing my work and also thx for the Credit's if you have any problem or Request to add on the CMS just feel free to add my msn at [email protected] or Just PM me

You're welcome, but I am actually having some problems with the v4. I don't see a 'users' table in my db.
 

Julio Milian

Member
Jun 10, 2011
65
1
got this erroR ma boi
Code:
Parse error: syntax error, unexpected $end in C:\xampp\htdocs\Phoenix\header.php on line 105
 

Julio Milian

Member
Jun 10, 2011
65
1
Code:
<script language="javascript">

function UsersRegistered()
{
var html = $.ajax({
url: "registered.php",
async: false
}).responseText;
$('.RegisterCount').fadeOut(200, function () {
$('.RegisterCount').css("display", "none")
$('.RegisterCount').html(html + ' <?php echo $lang['registered']; ?>')
$('.RegisterCount').fadeIn(200)
});
setTimeout("UsersRegistered()",120000);
}

function RefreshUserCount()
{
var html = $.ajax({
url: "online.php",
async: false
}).responseText;
$('.OnlineCount').fadeOut(200, function () {
$('.OnlineCount').css("display", "none")
$('.OnlineCount').html(html + ' <?php echo $lang['users_online']; ?>')
$('.OnlineCount').fadeIn(200)
});
setTimeout("RefreshUserCount()",120000);
}

function NewPM()
{
var html = $.ajax({
url: "newpm.php",
async: false
})
.responseText;
if(html>"0"){
$('.NewPM').fadeOut(200, function () {
$('.NewPM').css("display", "none")
$('.NewPM').html(html + ' Unread Message(s)')
$('.NewPM').fadeIn(200)

})};
setTimeout("NewPM()",60000);
}

<? if($users->UserPermission('pm_reports', $username)){ ?>
function ReportedPM()
{
var html = $.ajax({
url: "functions/pm_checkfor_reported.php",
async: false
})
.responseText;
if(html>"0"){
$('.ReportedPM').fadeOut(200, function () {
$('.ReportedPM').css("display", "none")
$('.ReportedPM').html(html + ' Unsloved message(s)')
$('.ReportedPM').fadeIn(200)

})};
setTimeout("ReportedPM()",60000);
}
ReportedPM();
<? } ?>
RefreshUserCount();
NewPM();

</script>
<style>
.NewPM{
color: #F00;
font-weight: bold;
}
.ReportedPM{
color: #F00;
font-weight: bold;
}
</style>

<div class="top"> 
	<a href="./"><img src="./Public/Styles/<?php echo $currentstyle ?>/Images/logo.png" /></a>
	<div style="float:right">
		<div class="usersBox" style="width:140px;">
			<div class="OnlineCount"><?php echo $core->UsersOnline(); ?> <?php echo $lang['users_online']; ?></div>
                        <div class="RegisterCount"><?php echo $core->UsersRegistered(); ?> <?php echo $lang['registered']; ?></div>
<div class="NewPM" <?php if($pms->NewPM($users->UserID($_SESSION['username']))=="0") echo 'style="display:none;"' ?> onClick="location.href='private_messages.php?page=inbox'" style="cursor:pointer;"><?php echo $pms->NewPM($users->UserID($_SESSION['username'])) ?> Unread Message(s)</div>
<?php if($users->UserPermission('pm_reports', $username)){ ?>
<div class="ReportedPM" <?php if($pms->ReportedPM()=="0") echo 'style="display:none;"' ?> onClick="location.href='private_messages.php?page=reported'" style="cursor:pointer;"><?php echo $pms->ReportedPM() ?> Unsolved Message(s)</div><? }?>
			<br/><a href="logout.php"><?php echo $lang['sign_out']; ?></a>
		</div>
		<div id="enter-hotel">
			<div class="open">
				<a href="client/" target="ClientWndw" onclick="window.open('client/','ClientWndw','width=980,height=597');return false;"><?php echo $lang['enter_hotel']; ?><i></i></a>
				<b></b>
			</div>
		</div>
	</div>
	
		<div class="navBar">
				<div class="navButton" ref="Home" onClick="location.href='me.php'"><a href="me.php"><?php echo $lang['nav_home']; ?></a></div>
                <div class="navButton" ref="Community" onClick="location.href='community.php'"><a href="community.php"><?php echo $lang['nav_community']; ?></a></div>
                <?php if($users->UserPermission('hk_login', $core->EscapeString($_SESSION['username']))) {?><div class="navButton" ref="Housekeeping" onClick="location.href='housekeeping'"><a href="housekeeping"><?php echo $lang['nav_housekeeping']; ?></a></div><?php } ?>
		</div>
</div>
ty
 

unknown

New Member
Feb 6, 2011
19
0
Try this one
PHP:
<script language="javascript">

function UsersRegistered()
{
var html = $.ajax({
url: "registered.php",
async: false
}).responseText;
$('.RegisterCount').fadeOut(200, function () {
$('.RegisterCount').css("display", "none")
$('.RegisterCount').html(html + ' <?php echo $lang['registered']; ?>')
$('.RegisterCount').fadeIn(200)
});
setTimeout("UsersRegistered()",120000);
}

function RefreshUserCount()
{
var html = $.ajax({
url: "online.php",
async: false
}).responseText;
$('.OnlineCount').fadeOut(200, function () {
$('.OnlineCount').css("display", "none")
$('.OnlineCount').html(html + ' <?php echo $lang['users_online']; ?>')
$('.OnlineCount').fadeIn(200)
});
setTimeout("RefreshUserCount()",120000);
}

function NewPM()
{
var html = $.ajax({
url: "newpm.php",
async: false
})
.responseText;
if(html>"0"){
$('.NewPM').fadeOut(200, function () {
$('.NewPM').css("display", "none")
$('.NewPM').html(html + ' Unread Message(s)')
$('.NewPM').fadeIn(200)

})};
setTimeout("NewPM()",60000);
}

<? if($users->UserPermission('pm_reports', $username)){ ?>
function ReportedPM()
{
var html = $.ajax({
url: "functions/pm_checkfor_reported.php",
async: false
})
.responseText;
if(html>"0"){
$('.ReportedPM').fadeOut(200, function () {
$('.ReportedPM').css("display", "none")
$('.ReportedPM').html(html + ' Unsloved message(s)')
$('.ReportedPM').fadeIn(200)

})};
setTimeout("ReportedPM()",60000);
}
ReportedPM();
<? } ?>
RefreshUserCount();
NewPM();

</script>
<style>
.NewPM{
color: #F00;
font-weight: bold;
}
.ReportedPM{
color: #F00;
font-weight: bold;
}
</style>

<div class="top"> 
	<a href="./"><img src="./Public/Styles/<?php echo $currentstyle ?>/Images/logo.png" /></a>
	<div style="float:right">
		<div class="usersBox" style="width:140px;">
			<div class="OnlineCount"><?php echo $core->UsersOnline(); ?> <?php echo $lang['users_online']; ?></div>
                        <div class="RegisterCount"><?php echo $core->UsersRegistered(); ?> <?php echo $lang['registered']; ?></div>
<div class="NewPM" <?php if($pms->NewPM($users->UserID($_SESSION['username']))=="0") echo 'style="display:none;"' ?> onClick="location.href='private_messages.php?page=inbox'" style="cursor:pointer;"><?php echo $pms->NewPM($users->UserID($_SESSION['username'])) ?> Unread Message(s)</div>
<?php if($users->UserPermission('pm_reports', $username)){ ?>
<div class="ReportedPM" <?php if($pms->ReportedPM()=="0") echo 'style="display:none;"' ?> onClick="location.href='private_messages.php?page=reported'" style="cursor:pointer;"><?php echo $pms->ReportedPM() ?> Unsolved Message(s)</div><? }?>
			<br/><a href="logout.php"><?php echo $lang['sign_out']; ?></a>
		</div>
		<div id="enter-hotel">
			<div class="open">
				<a href="client/" target="ClientWndw" onclick="window.open('client/','ClientWndw','width=980,height=597');return false;"><?php echo $lang['enter_hotel']; ?><i></i></a>
				<b></b>
			</div>
		</div>
	</div>
	
		<div class="navBar">
				<div class="navButton" ref="Home" onClick="location.href='me.php'"><a href="me.php"><?php echo $lang['nav_home']; ?></a></div>
                <div class="navButton" ref="Community" onClick="location.href='community.php'"><a href="community.php"><?php echo $lang['nav_community']; ?></a></div>
                <?php if($users->UserPermission('hk_login', $core->EscapeString($_SESSION['username']))) {?><div class="navButton" ref="Housekeeping" onClick="location.href='housekeeping'"><a href="housekeeping"><?php echo $lang['nav_housekeeping']; ?></a></div><?php } ?>
</div>
</div>

If still dont work just add other
PHP:
<?php } ?>
on line 105
 
Status
Not open for further replies.

Users who are viewing this thread

Top