Same.. Does your client work ? I really need help, with making a hotel with a working client..
Printable View
As I give the belcredits?And change the name?
I help to the client, but I'm spanish and I use the traductor. ( granadinosc@hotmail.com )
My emu is online and my hotel not werking not loading it is 0% help my):
I need someone who can help me with translating the cms better in english ;)
Posted via Mobile Device
VERY nice job with this, downloading it now.
To test it ofcourse :):
Thanks!
This is how you fix the Poll
Paste this into system/show_poll.php
and this into system/sideads.phpQuote:
<style type="text/css">
.poll_index_button{font-size:12px;font-family:Verdana;width:auto;padding:6px;border-width:1px;border-style:solid;border-color:#e2e2e2;height:30px;margin-bottom:6px;-webkit-border-radius:3px;-moz-border-radius:3px;border-bottom-width:2px;border-radius:3px;color:#383838;outline:none;background-color:white;resize:none}
.poll_index_button:hover{font-size:12px;font-family:Verdana;width:auto;padding:6px;border-width:1px;border-style:solid;border-color:#D3D3D3;height:30px;margin-bottom:6px;-webkit-border-radius:3px;-moz-border-radius:3px;border-bottom-width:2px;border-radius:3px;color:#383838;outline:none;background-color:#F2F2F2;resize:none}
.poll_index_button:active{font-size:12px;font-family:Verdana;width:auto;padding:6px;border-width:1px;border-style:solid;border-color:#C6C6C6;height:30px;margin-bottom:6px;-webkit-border-radius:3px;-moz-border-radius:3px;border-bottom-width:2px;border-radius:3px;color:#383838;outline:none;background-color:#E5E5E5;resize:none}
#poll_border_index {
background-color: #D8D8D8;
border: 1px solid #D8D8D8;
border-radius: 3px;
margin-top: 4px;
}
#poll_border_index_inside {
padding: 5px 5px 5px 5px;
}
</style>
<?php
error_reporting(0);
$systeminfo = mysql_query("SELECT * from `systeminfo`");
$systeminfo = mysql_fetch_array($systeminfo);
if($poll){
$get_poll = mysql_query("SELECT * FROM `polls` WHERE `id`='".$poll."' LIMIT 1");
$poll = mysql_fetch_array($get_poll);
}else{
$get_poll = mysql_query("SELECT * FROM `polls` ORDER BY `id` DESC LIMIT 1");
$poll = mysql_fetch_array($get_poll);
}
$ip = $_SERVER['REMOTE_ADDR'];
$checkIP = mysql_query("SELECT * FROM `ips` WHERE `ip`='".$ip."' AND `for`='".$poll[id]."'");
$checkIP = mysql_num_rows($checkIP);
$current = $_SERVER['SCRIPT_NAME'];
if($checkIP >= '1') {
$hasVoted = true;
}else{
$hasVoted = false;
}
$totalvotes = $poll[votes1] + $poll[votes2] + $poll[votes3] + $poll[votes4];
$percent1 = $poll[votes1] * 100 / $totalvotes;
$percent1 = floor($percent1);
$percent2 = $poll[votes2] * 100 / $totalvotes;
$percent2 = floor($percent2);
$percent3 = $poll[votes3] * 100 / $totalvotes;
$percent3 = floor($percent3);
$percent4 = $poll[votes4] * 100 / $totalvotes;
$percent4 = floor($percent4);
if(!$hasVoted){
// Hasn't Voted. Let's display the form
if(!$_POST[submitvote]){
?>
<form method="post">
<b><?php echo stripslashes($poll[question]); ?></b><br><br>
<div id="poll_border_index">
<div id="poll_border_index_inside">
<input type="radio" name="vote" value="votes1" style="float: left;margin-top: 0px;margin-right: 3px;"> <?php echo stripslashes($poll[answer1]); ?>
</div>
</div>
<div id="poll_border_index">
<div id="poll_border_index_inside">
<input type="radio" name="vote" value="votes2" style="float: left;margin-top: 0px;margin-right: 3px;"> <?php echo stripslashes($poll[answer2]); ?>
</div>
</div>
<div id="poll_border_index">
<div id="poll_border_index_inside">
<input type="radio" name="vote" value="votes3" style="float: left;margin-top: 0px;margin-right: 3px;"> <?php echo stripslashes($poll[answer3]); ?>
</div>
</div>
<div id="poll_border_index">
<div id="poll_border_index_inside">
<input type="radio" name="vote" value="votes4" style="float: left;margin-top: 0px;margin-right: 3px;"> <?php echo stripslashes($poll[answer4]); ?>
</div>
</div>
<br><input type="submit" class="poll_index_button" name="submitvote" value="Stem nu!">
</form>
<?
}else{
$theirvote = htmlspecialchars($_POST[vote]);
$addVote = "UPDATE `polls` SET `$theirvote` = `$theirvote` + 1 WHERE `id`='".$poll[id]."'";
mysql_query($addVote) or die("MySql Error");
$insertIP = "INSERT INTO `ips` ( `ip` , `for` ) VALUES ('".$ip."', '".$poll[id]."')";
mysql_query($insertIP) or die("MySql Error");
?>
<center>Bedankt voor het stemmen!<br>
<br><br>
<img src="Public/Styles/Default/Images/poll_load.gif"></center><br><br>
<meta http-equiv="Refresh" content="2; URL=<?php echo $current; ?>">
<?
}
}else{
echo("<strong>".stripslashes($poll[question])."</strong><br><br>
");
?>
<div id="poll_border_index">
<div id="poll_border_index_inside">
<b><?php echo stripslashes($poll[answer1]); ?></b><br>(<?php echo $poll[votes1]; ?>x gestemd) - (<?php echo $percent1; ?>%)<br><br>
<table style="width:278px;">
<div style="background-color:#EFEFEF;background-image:url(<?php echo $systeminfo[path]; ?>images/shiny.png);background-position:center;"><div style="font-family:verdana;font-size:10px;height: 10px;background-color:#5EC1EC;background-position:center;width:<?php echo $percent1; ?>%;padding:1px;color:<?php echo $systeminfo[textcolor]; ?>;border: 1px solid #27B0EA;border-radius: 2px;box-shadow: inset 0 6px 0 rgba( 255, 255, 255, 0.4 );-webkit-box-shadow: inset 0 6px 0 rgba( 255, 255, 255, 0.4 );"></div></div>
</table>
</div>
</div>
<div id="poll_border_index">
<div id="poll_border_index_inside">
<b><?php echo stripslashes($poll[answer2]); ?></b><br>(<?php echo $poll[votes2]; ?>x gestemd) - (<?php echo $percent2; ?>%)<br><br>
<table style="width:282px;">
<div style="background-color:#EFEFEF;background-image:url(<?php echo $systeminfo[path]; ?>images/shiny.png);background-position:center;"><div style="font-family:verdana;font-size:10px;height: 10px;background-color:#5EC1EC;background-position:center;width:<?php echo $percent2; ?>%;padding:1px;color:<?php echo $systeminfo[textcolor]; ?>;border: 1px solid #27B0EA;border-radius: 2px;box-shadow: inset 0 6px 0 rgba( 255, 255, 255, 0.4 );-webkit-box-shadow: inset 0 6px 0 rgba( 255, 255, 255, 0.4 );"></div></div>
</table><?php
if($poll[answer3] != NULL){
?>
</div>
</div>
<div id="poll_border_index">
<div id="poll_border_index_inside">
<b><?php echo stripslashes($poll[answer3]); ?></b><br>(<?php echo $poll[votes3]; ?>x gestemd) - (<?php echo $percent3; ?>%)<br><br>
<table style="width:282px;">
<div style="background-color:#EFEFEF;background-image:url(<?php echo $systeminfo[path]; ?>images/shiny.png);background-position:center;"><div style="font-family:verdana;font-size:10px;height: 10px;background-color:#5EC1EC;background-position:center;width:<?php echo $percent3; ?>%;padding:1px;color:<?php echo $systeminfo[textcolor]; ?>;box-shadow: inset 0 6px 0 rgba( 255, 255, 255, 0.4 );-webkit-box-shadow: inset 0 6px 0 rgba( 255, 255, 255, 0.4 );border: 1px solid #27B0EA;border-radius: 2px;"></div></div>
</table><?php
}
if($poll[answer4] != NULL){
?>
</div>
</div>
<div id="poll_border_index">
<div id="poll_border_index_inside">
<b><?php echo stripslashes($poll[answer4]); ?></b><br>(<?php echo $poll[votes4]; ?>x gestemd) - (<?php echo $percent4; ?>%)<br><br>
<table style="width:282px;">
<div style="background-color:#EFEFEF;background-image:url(<?php echo $systeminfo[path]; ?>images/shiny.png);background-position:center;"><div style="font-family:verdana;font-size:10px;height: 10px;background-color:#5EC1EC;background-position:center;width:<?php echo $percent4; ?>%;padding:1px;color:<?php echo $systeminfo[textcolor]; ?>;border: 1px solid #27B0EA;border-radius: 2px;box-shadow: inset 0 6px 0 rgba( 255, 255, 255, 0.4 );-webkit-box-shadow: inset 0 6px 0 rgba( 255, 255, 255, 0.4 );"></div></div>
</table><?php
}
?>
</div>
</div>
<?php
}
?>
Quote:
<div class="xxs_boxHeader_grey" style="margin-top: 10px;"><div class="titel">Poll</div></div>
<div class="contentBox">
<div class="boxContent">
<style type="text/css">
.poll_index_button{font-size:12px;font-family:Verdana;width:auto;padding:6px;border-width:1px;border-style:solid;border-color:#e2e2e2;height:30px;margin-bottom:6px;-webkit-border-radius:3px;-moz-border-radius:3px;border-bottom-width:2px;border-radius:3px;color:#383838;outline:none;background-color:white;resize:none}
.poll_index_button:hover{font-size:12px;font-family:Verdana;width:auto;padding:6px;border-width:1px;border-style:solid;border-color:#D3D3D3;height:30px;margin-bottom:6px;-webkit-border-radius:3px;-moz-border-radius:3px;border-bottom-width:2px;border-radius:3px;color:#383838;outline:none;background-color:#F2F2F2;resize:none}
.poll_index_button:active{font-size:12px;font-family:Verdana;width:auto;padding:6px;border-width:1px;border-style:solid;border-color:#C6C6C6;height:30px;margin-bottom:6px;-webkit-border-radius:3px;-moz-border-radius:3px;border-bottom-width:2px;border-radius:3px;color:#383838;outline:none;background-color:#E5E5E5;resize:none}
#poll_border_index {
background-color: #D8D8D8;
border: 1px solid #D8D8D8;
border-radius: 3px;
margin-top: 4px;
}
#poll_border_index_inside {
padding: 5px 5px 5px 5px;
}
</style>
<?php
error_reporting(0);
$systeminfo = mysql_query("SELECT * from `systeminfo`");
$systeminfo = mysql_fetch_array($systeminfo);
if($poll){
$get_poll = mysql_query("SELECT * FROM `polls` WHERE `id`='".$poll."' LIMIT 1");
$poll = mysql_fetch_array($get_poll);
}else{
$get_poll = mysql_query("SELECT * FROM `polls` ORDER BY `id` DESC LIMIT 1");
$poll = mysql_fetch_array($get_poll);
}
$ip = $_SERVER['REMOTE_ADDR'];
$checkIP = mysql_query("SELECT * FROM `ips` WHERE `ip`='".$ip."' AND `for`='".$poll[id]."'");
$checkIP = mysql_num_rows($checkIP);
$current = $_SERVER['SCRIPT_NAME'];
if($checkIP >= '1') {
$hasVoted = true;
}else{
$hasVoted = false;
}
$totalvotes = $poll['votes1'] + $poll['votes2'] + $poll['votes3'] + $poll['votes4'];
$percent1 = $poll['votes1'] * 100 / $totalvotes;
$percent1 = floor($percent1);
$percent2 = $poll['votes2'] * 100 / $totalvotes;
$percent2 = floor($percent2);
$percent3 = $poll['votes3'] * 100 / $totalvotes;
$percent3 = floor($percent3);
$percent4 = $poll['votes4'] * 100 / $totalvotes;
$percent4 = floor($percent4);
if(!$hasVoted){
// Hasn't Voted. Let's display the form
if(!$_POST['submitvote']){
?>
<form method="post">
<b><?php echo stripslashes($poll['question']); ?></b><br><br>
<div id="poll_border_index">
<div id="poll_border_index_inside">
<input type="radio" name="vote" value="votes1" style="float: left;margin-top: 0px;margin-right: 3px;"> <?php echo stripslashes($poll['answer1']); ?>
</div>
</div>
<div id="poll_border_index">
<div id="poll_border_index_inside">
<input type="radio" name="vote" value="votes2" style="float: left;margin-top: 0px;margin-right: 3px;"> <?php echo stripslashes($poll['answer2']); ?>
</div>
</div>
<div id="poll_border_index">
<div id="poll_border_index_inside">
<input type="radio" name="vote" value="votes3" style="float: left;margin-top: 0px;margin-right: 3px;"> <?php echo stripslashes($poll['answer3']); ?>
</div>
</div>
<div id="poll_border_index">
<div id="poll_border_index_inside">
<input type="radio" name="vote" value="votes4" style="float: left;margin-top: 0px;margin-right: 3px;"> <?php echo stripslashes($poll['answer4']); ?>
</div>
</div>
<br><input type="submit" class="poll_index_button" name="submitvote" value="Rösta nu!">
</form>
<div style="margin-top: -30px;"></div>
<?php
}else{
$theirvote = htmlspecialchars($_POST['vote']);
$addVote = "UPDATE `polls` SET `$theirvote` = `$theirvote` + 1 WHERE `id`='".$poll['id']."'";
mysql_query($addVote) or die("MySql Error");
$insertIP = "INSERT INTO `ips` ( `ip` , `for` ) VALUES ('".$ip."', '".$poll['id']."')";
mysql_query($insertIP) or die("MySql Error");
?>
<center>Bedankt voor het stemmen!<br>
<br><br>
<img src="Public/Styles/Default/Images/poll_load.gif"></center><br><br>
<meta http-equiv="Refresh" content="2; URL=<?php echo $current; ?>">
<?php
}
}else{
echo("<strong>".stripslashes($poll['question'])."</strong><br><br>
");
?>
<div id="poll_border_index">
<div id="poll_border_index_inside">
<b><?php echo stripslashes($poll['answer1']); ?></b><br>(<?php echo $poll['votes1']; ?>x röster) - (<?php echo $percent1; ?>%)<br><br>
<table style="width:278px;">
<div style="background-color:#EFEFEF;background-image:url(<?php echo $systeminfo[path]; ?>images/shiny.png);background-position:center;"><div style="font-family:verdana;font-size:10px;height: 10px;background-color:#5EC1EC;background-position:center;width:<?php echo $percent1; ?>%;padding:1px;border: 1px solid #27B0EA;border-radius: 2px;box-shadow: inset 0 6px 0 rgba( 255, 255, 255, 0.4 );-webkit-box-shadow: inset 0 6px 0 rgba( 255, 255, 255, 0.4 );"></div></div>
</table>
</div>
</div>
<div id="poll_border_index">
<div id="poll_border_index_inside">
<b><?php echo stripslashes($poll['answer2']); ?></b><br>(<?php echo $poll['votes2']; ?>x röster) - (<?php echo $percent2; ?>%)<br><br>
<table style="width:282px;">
<div style="background-color:#EFEFEF;background-image:url(<?php echo $systeminfo[path]; ?>images/shiny.png);background-position:center;"><div style="font-family:verdana;font-size:10px;height: 10px;background-color:#5EC1EC;background-position:center;width:<?php echo $percent2; ?>%;padding:1px;border: 1px solid #27B0EA;border-radius: 2px;box-shadow: inset 0 6px 0 rgba( 255, 255, 255, 0.4 );-webkit-box-shadow: inset 0 6px 0 rgba( 255, 255, 255, 0.4 );"></div></div>
</table><?php
if($poll['answer3'] != NULL){
?>
</div>
</div>
<div id="poll_border_index">
<div id="poll_border_index_inside">
<b><?php echo stripslashes($poll['answer3']); ?></b><br>(<?php echo $poll['votes3']; ?>x röster) - (<?php echo $percent3; ?>%)<br><br>
<table style="width:282px;">
<div style="background-color:#EFEFEF;background-image:url(<?php echo $systeminfo[path]; ?>images/shiny.png);background-position:center;"><div style="font-family:verdana;font-size:10px;height: 10px;background-color:#5EC1EC;background-position:center;width:<?php echo $percent3; ?>%;padding:1px;box-shadow: inset 0 6px 0 rgba( 255, 255, 255, 0.4 );-webkit-box-shadow: inset 0 6px 0 rgba( 255, 255, 255, 0.4 );border: 1px solid #27B0EA;border-radius: 2px;"></div></div>
</table><?php
}
if($poll['answer4'] != NULL){
?>
</div>
</div>
<div id="poll_border_index">
<div id="poll_border_index_inside">
<b><?php echo stripslashes($poll['answer4']); ?></b><br>(<?php echo $poll['votes4']; ?>x röster) - (<?php echo $percent4; ?>%)<br><br>
<table style="width:282px;">
<div style="background-color:#EFEFEF;background-image:url(<?php echo $systeminfo[path]; ?>images/shiny.png);background-position:center;"><div style="font-family:verdana;font-size:10px;height: 10px;background-color:#5EC1EC;background-position:center;width:<?php echo $percent4; ?>%;padding:1px;border: 1px solid #27B0EA;border-radius: 2px;box-shadow: inset 0 6px 0 rgba( 255, 255, 255, 0.4 );-webkit-box-shadow: inset 0 6px 0 rgba( 255, 255, 255, 0.4 );"></div></div>
</table><?php
}
?>
</div>
</div>
<?php
}
?>
</div></div>
<div class="xxs_boxBottom"></div>
Hasn't been released yet though, I am sharing it now
Hee Sorry maar de Client laat niet bij mij?
Kan iemand helpen?
____________________________________________
Hey sorry but the client does not let me in?
Can anyone help?
Can I only use Phoenix Emu? Aaron from Otaku stole money from me.. He took my licence and I have paid 20£ !! So I am not going to use Phoenix emulator.
Version 2 is released :D.
Why I can't edit the title anymore :$?
Hello, where cant i find all enable codes the new habbo enable snowbeard...
Please help me.:P:
Can you help me with the client please? Add me on msn: omaralali12@hotmail.com :D:
Lol ^^ Its not me who made it so ..
Hee Sorry maar de Client laat niet bij mij?
Kan iemand helpen?
____________________________________________
Hey sorry but the client does not let me in?
Can anyone help?
Change the IP'S in your external_varibles.txt to your (hamachi ip) or (your VPS ip if you have one) or (your normal ip What Is My IP Address - Shows Your IP Address if you have portforwarded habbo)