Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
[Help] UberCMS Job App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Nehalem" data-source="post: 255099" data-attributes="member: 37120"><p>Test this:</p><p>[PHP]<div class="habblet-container "></p><p><div class="cbb clearfix pixellightblue "></p><p></p><p><h2 class="title">%shortname% Trial Apps</h2></p><p><div class="box-content"></p><p></p><p></p><p><center><b><h2>%shortname% Hotel Moderator</b></h2></p><p></center></p><p><div style="text-align: right;"></p><p></div></p><p><br /></p><p>%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></p><p><br /></p><p><br /></p><p><i>&bull; Able to moderate the hotel for at least 3 hours a day or 10 hours a week!</i><br></p><p><i>&bull; Advertise and host events frequently!</i><br></p><p><i>&bull; Have read the rules and understand them entirely!</i><br></p><p><i>&bull; Will advertise to help gain users!</i><br></p><p><i>&bull; Invite your friends and help people understand what %shortname% is!</i><br></p><p></p><p><hr></p><p><br /></p><p><?php</p><p>$name = USER_NAME;</p><p>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']);</p><p>$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."')");</p><p>if($job_do) {</p><p>echo "<strong>Thank you very much for submitting your staff application, you'll be notified through email if you are considered!</strong>";</p><p>} else {</p><p>die(mysql_error());</p><p>}</p><p>}?></p><p><form method="post" action=""></p><p><b>Your hotel username</b><br /></p><p><input type="text" readonly value="<?php echo $name; ?>" name="username"><br /></p><p><b>An active email address</b><br /></p><p><input type="text" name="useremail"><br /></p><p><b>Position your applying for</b><br /></p><p><input type="text" disabled value="Trial Mod"><br /></p><p><b>Real deate of birth</b><br /></p><p><input type="text" style="width: 40px;" name="date" placeholder="Date" maxlength="2" /></p><p><input type="text" style="width: 40px;" name="month" placeholder="Month" maxlength="2" /></p><p><input type="text" style="width: 80px;" name="year" placeholder="Year" maxlength="4" /><br /></p><p><b>Why would we choose you?</b><br /></p><p><textarea style="width: 250px; margin-left: 15px;" name="why"></textarea><br /></p><p><b>What experience have you had?</b><br /></p><p><textarea style="width: 250px; margin-left: 15px;" name="exp"></textarea><br /></p><p><input type="submit" name="apply" value="Submit"></p><p></form></p><p></center></p><p></div></p><p></div></p><p></div></p><p></div>[/PHP]</p><p></p><p>And please print the error.</p><p></p><p>EDIT: Missed a semi-colon...</p></blockquote><p></p>
[QUOTE="Nehalem, post: 255099, member: 37120"] Test this: [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>• Invite your friends and help people understand what %shortname% is!</i><br> <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()); } }?> <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</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] And please print the error. EDIT: Missed a semi-colon... [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
[Help] UberCMS Job App
Top