antiny2010
Member
- Nov 27, 2014
- 171
- 6
Hi Guys
Trying to fix up a staffapp page I have its in uber but cant seem to do it for revcms anyone able to help me?
Trying to fix up a staffapp page I have its in uber but cant seem to do it for revcms anyone able to help me?
PHP:
<div class="habblet-container" style="position: relative; left: 0px; top: 0px; width: 83%;"
<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>