r0ck
Megatron
- Jul 18, 2015
- 167
- 56
Basically, contracts will tell the users and other staff how they're preforming around the hotel. (ex. Fatal Hotel uses this method).What would these do?
Basically, contracts will tell the users and other staff how they're preforming around the hotel. (ex. Fatal Hotel uses this method).What would these do?
i would like this to@JayCustom Speaking of what fatal uses here another idea i haven't found something release like that so wonder can you do it.
They haves thisYou must be registered for see links- A change name system with a number of name changes user can get just wonder can you do something like that and release please and thank you.
Database:i like the staff app, may i have it please?
<div class="habblet-container ">
<div class="cbb clearfix pixellightblue ">
<h2 class="title">%shortname% Trial Apps</h2>
<div class="box-content">
<center><b><h2>%shortname% Hotel Moderator</b></h2>
</center>
<div style="text-align: right;">
</div>
<br />
%shortname% Hotel is run by highly trained staff, and we're always hiring staff so that the hotel is always safe and having fun! You may apply for staff below, but you need to fill in the information truthfuly, else your application will be denied! Also, please make sure you're at least <b>13</b> years of age before you apply for staff!<br /><br /><center>You must also meet the following requirements:</center>
<br />
<br />
<i>• Able to moderate the hotel for at least 3 hours a day or 10 hours a week!</i><br>
<i>• Advertise and host events frequently!</i><br>
<i>• Have read the rules and understand them entirely!</i><br>
<i>• Will advertise to help gain users!</i><br>
<i>• Make sure your password is well protected!</i><br>
<i>• Invite your friends and help people understand what %shortname% is!</i><br>
<p><center>Please only send in ONE application otherwise ALL Of your applications will automatically be deleted through the system</center></p>
<hr></hr>
<br />
<?php
$name = USER_NAME;
if(isset($_POST['apply'])) {$job_username = mysql_real_escape_string($_POST['username']);$job_email = mysql_real_escape_string($_POST['useremail']);$job_date = mysql_real_escape_string($_POST['date']);$job_month = mysql_real_escape_string($_POST['month']);$job_year = mysql_real_escape_string($_POST['year']);$job_why = mysql_real_escape_string($_POST['why']);$job_exp = mysql_real_escape_string($_POST['exp']);
$job_do = mysql_query("INSERT INTO jobapps (username, email, dob, why, exp) VALUES ('".$job_username."', '".$job_email."', '".$job_date/$job_month/$job_year."', '".$job_why."', '".$job_exp."')");
if($job_do) {
echo "<strong>Thank you very much for submitting your staff application, you'll be notified through email if you are considered!</strong>";
} else {
die(mysql_error());
}
}?>
<center><form method="post" action="">
<b>Your hotel username</b><br />
<input type="text" readonly value="<?php echo $name; ?>" name="username"><br />
<b>An active email address</b><br />
<input type="text" name="useremail"><br />
<b>Position your applying for</b><br />
<input type="text" disabled value="Trial Mod"><br />
<b>Real deate of birth <i>(Ex: 1/1/2000)</i></b><br />
<input type="text" style="width: 40px;" name="date" placeholder="Date" maxlength="2" />
<input type="text" style="width: 40px;" name="month" placeholder="Month" maxlength="2" />
<input type="text" style="width: 80px;" name="year" placeholder="Year" maxlength="4" /><br />
<b>Why would we choose you?</b><br />
<textarea style="width: 250px; margin-left: 15px;" name="why"></textarea><br />
<b>What experience have you had?</b><br />
<textarea style="width: 250px; margin-left: 15px;" name="exp"></textarea><br />
<input type="submit" name="apply" value="Submit">
</form>
</center>
</div>
</div>
</div>
</div>
<?php
$grabFormers = mysql_query("SELECT * FROM users WHERE FormerRank != 1");
if(mysql_num_rows($grabFormers) > 0){
while($Formers = mysql_fetch_assoc($grabFormers)){
$rankName = mysql_fetch_assoc(mysql_query("SELECT name FROM ranks WHERE id='".$Formers['FormerRank']."'"));
echo '
<div class="habblet-container ">
<div class="cbb clearfix darkred ">
<h2 class="title">'.$Formers['username'].' Former Rank: '.$rankName['name'].'</h2>
<div class="box-content">
<div style="float:left;"><img src="http://habbo.nl/habbo-imaging/avatarimage?figure='.$Formers['look'].'&size=m&direction=2&head_direction=3&gesture=sml&size=s" /></div>
<div style="float:center;"><b>Reason I am no longer staff:</b> '.$Formers['FormerReason'].'</div>
</div></div></div>';
}
}else{
echo "<center>We do not have any former staff!</center>";
}
?>
Can u do a quick revcms one when you have time?Database:
DROP TABLE IF EXISTS `jobapps`;
CREATE TABLE `jobapps` (
`username` text NOT NULL,
`email` text NOT NULL,
`age` int(11) NOT NULL,
`why` text NOT NULL,
`exp` text NOT NULL,
`read` int(11) NOT NULL DEFAULT '0',
`position` text NOT NULL,
`general_id` int(11) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`general_id`)
) ENGINE=InnoDB AUTO_INCREMENT=77 DEFAULT CHARSET=latin1;
PHP (UberCMS):
PHP:<div class="habblet-container "> <div class="cbb clearfix pixellightblue "> <h2 class="title">%shortname% Trial Apps</h2> <div class="box-content"> <center><b><h2>%shortname% Hotel Moderator</b></h2> </center> <div style="text-align: right;"> </div> <br /> %shortname% Hotel is run by highly trained staff, and we're always hiring staff so that the hotel is always safe and having fun! You may apply for staff below, but you need to fill in the information truthfuly, else your application will be denied! Also, please make sure you're at least <b>13</b> years of age before you apply for staff!<br /><br /><center>You must also meet the following requirements:</center> <br /> <br /> <i>• Able to moderate the hotel for at least 3 hours a day or 10 hours a week!</i><br> <i>• Advertise and host events frequently!</i><br> <i>• Have read the rules and understand them entirely!</i><br> <i>• Will advertise to help gain users!</i><br> <i>• Make sure your password is well protected!</i><br> <i>• Invite your friends and help people understand what %shortname% is!</i><br> <p><center>Please only send in ONE application otherwise ALL Of your applications will automatically be deleted through the system</center></p> <hr></hr> <br /> <?php $name = USER_NAME; if(isset($_POST['apply'])) {$job_username = mysql_real_escape_string($_POST['username']);$job_email = mysql_real_escape_string($_POST['useremail']);$job_date = mysql_real_escape_string($_POST['date']);$job_month = mysql_real_escape_string($_POST['month']);$job_year = mysql_real_escape_string($_POST['year']);$job_why = mysql_real_escape_string($_POST['why']);$job_exp = mysql_real_escape_string($_POST['exp']); $job_do = mysql_query("INSERT INTO jobapps (username, email, dob, why, exp) VALUES ('".$job_username."', '".$job_email."', '".$job_date/$job_month/$job_year."', '".$job_why."', '".$job_exp."')"); if($job_do) { echo "<strong>Thank you very much for submitting your staff application, you'll be notified through email if you are considered!</strong>"; } else { die(mysql_error()); } }?> <center><form method="post" action=""> <b>Your hotel username</b><br /> <input type="text" readonly value="<?php echo $name; ?>" name="username"><br /> <b>An active email address</b><br /> <input type="text" name="useremail"><br /> <b>Position your applying for</b><br /> <input type="text" disabled value="Trial Mod"><br /> <b>Real deate of birth <i>(Ex: 1/1/2000)</i></b><br /> <input type="text" style="width: 40px;" name="date" placeholder="Date" maxlength="2" /> <input type="text" style="width: 40px;" name="month" placeholder="Month" maxlength="2" /> <input type="text" style="width: 80px;" name="year" placeholder="Year" maxlength="4" /><br /> <b>Why would we choose you?</b><br /> <textarea style="width: 250px; margin-left: 15px;" name="why"></textarea><br /> <b>What experience have you had?</b><br /> <textarea style="width: 250px; margin-left: 15px;" name="exp"></textarea><br /> <input type="submit" name="apply" value="Submit"> </form> </center> </div> </div> </div> </div>
Former Staff Page:
Database:PHP:<?php $grabFormers = mysql_query("SELECT * FROM users WHERE FormerRank != 1"); if(mysql_num_rows($grabFormers) > 0){ while($Formers = mysql_fetch_assoc($grabFormers)){ $rankName = mysql_fetch_assoc(mysql_query("SELECT name FROM ranks WHERE id='".$Formers['FormerRank']."'")); echo ' <div class="habblet-container "> <div class="cbb clearfix darkred "> <h2 class="title">'.$Formers['username'].' Former Rank: '.$rankName['name'].'</h2> <div class="box-content"> <div style="float:left;"><img src="http://habbo.nl/habbo-imaging/avatarimage?figure='.$Formers['look'].'&size=m&direction=2&head_direction=3&gesture=sml&size=s" /></div> <div style="float:center;"><b>Reason I am no longer staff:</b> '.$Formers['FormerReason'].'</div> </div></div></div>'; } }else{ echo "<center>We do not have any former staff!</center>"; } ?>
ALTER TABLE Users
ADD FormerRank int NOT NULL
DEFAULT 1;
ALTER TABLE Users
ADD FormerReason varchar(150) NOT NULL
DEFAULT 'Classified';
Very Simple PHP code allows for dynamic changes to be made. For example: It grabs the rank name automatically so you don't have to go back and change the username, and also the page (different from other hotels) allows for a reason to be fired. Using this professionally can allow for great feedback to users who are becoming staff to avoid being fired for same reasoning.
More coming soon, don't forget to like , comment more ideas and follow
Very easy if you want to convert to RevCMS here is how:Can u do a quick revcms one when you have time?
<div class="habblet-container ">
<div class="cbb clearfix darkred ">
<h2 class="title">Search</h2>
<div class="box-content">
<?php
if(isset($_POST['searchusers'])){
$UserSearch = $_POST['searchusers'];
$findUser = mysql_query("SELECT id FROM users WHERE username = '".$_POST['searchusers']."'");
if(mysql_num_rows($findUser) < 1){
echo "That user was not found</br>";
}else{
$findUser = mysql_fetch_assoc($findUser);
header("Location: /home/".$findUser['id']."");
}
}
?>
<form name="search" action="" method="post">
<div style="float:left"><span>User: </span><input type="text" value="" name="searchusers" /></div>
<div style="float:right"><input type="submit" value="Search" class="submit"></div>
</form>
</div>
</div>
</div>
<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
Nope sorry, I don't do projects that are already released, I do new projects..well, i dk how to convert uber to revcms if you can help me, it would be good
Thank you very much. I haven't started the homes yet as I have been working on another project outside of retros. I will let you guys know when the homes have been started, thanks! Still leave some ideas so I can get going on more things for the community.ooo looking good @JayCustom