I can not Register a new pilot. Also the Capcha numbers to add are not showing up at all! Acts like a dead link as nothing happens at all! Here is the code:
<div class=“mcright”>
<div class=“mc01”>
<div class=“mc0101” style=“left: 0px; top: 0px”>
<img class=“r0101” src=“<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_150.jpg” alt=“” />
<img class=“r0102” src=“<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_153.jpg” alt=“” />
<img class=“r0103” src=“<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_202.jpg” alt=“” />
<img class=“r0104” src=“<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_205.jpg” alt=“” />
<div class=“mcr”>
<div class=“mcr01”>
New Pilot Registration
</div>
<div class=“mcr02”>
<script type=“text/javascript”>
// Highlighter Scroller II script- By JavaScript Kit (http://www.javascriptkit.com)
// For this and over 400+ free scripts, visit http://www.javascriptkit.com/
// This notice must stay intact
//CONFIGURE MESSAGES AND VARIABLES
var tickercontents=new Array()
tickercontents[0]=‘Feel free to visit FsPaintShop for more skins <a href="http://www.fspaintshop.com" target=“blank”>Visit!</a>’
tickercontents[1]=‘Hop on over to Va Central some time.’
tickercontents[2]=‘Be sure to visit PHPVMS for support with this system’
tickercontents[3]=‘You can change this in the frontpage_main.tpl file’
var tickerwidth=“300px”
var tickerheight=“25px”
var fontcss=“font: bold 10px Verdana; color:black”
var tickdelay=4000 //delay btw messages
var highlightspeed=2 //2 pixels at a time.
var highlightcolor=“white”
var backdroptextcolor=“#E1E1E1”
////Do not edit pass this line////////////////
document.write(‘<style>#highlighterbg a{color:’+backdroptextcolor+‘}</style>’)
document.write(‘<div style="position:relative;left:0px;top:0px; width:’+tickerwidth+‘; height:’+tickerheight+‘;’+fontcss+‘">’)
document.write(‘<span id=“highlighterbg” style="position:absolute;left:0;top:0;color:’+backdroptextcolor+‘; width:’+tickerwidth+‘; height:’+tickerheight+‘;padding: 4px"></span><span id=“highlighter” style="position:absolute;left:0;top:0;clip:rect(auto auto auto 0px); background-color:’+highlightcolor+‘; width:’+tickerwidth+‘;height:’+tickerheight+‘;padding: 4px"></span>’)
document.write(‘</div>’)
var currentmessage=0
var clipbottom=1
function changetickercontent(){
msgheight=clipbottom=crosstick.offsetHeight
crosstick.style.clip=“rect(”+msgheight+“px auto auto 0px)”
crosstickbg.innerHTML=tickercontents[currentmessage]
crosstick.innerHTML=tickercontents[currentmessage]
highlightmsg()
}
function highlightmsg(){
//var msgheight=crosstick.offsetHeight
if (clipbottom>0){
clipbottom-=highlightspeed
crosstick.style.clip=“rect(”+clipbottom+“px auto auto 0px)”
beginclip=setTimeout(“highlightmsg()”,20)
}
else{
clipbottom=msgheight
clearTimeout(beginclip)
if (currentmessage==tickercontents.length-1) currentmessage=0
else currentmessage++
setTimeout(“changetickercontent()”,tickdelay)
}
}
function start_ticking(){
crosstickbg=document.getElementById? document.getElementById(“highlighterbg”) : document.all.highlighterbg
crosstick=document.getElementById? document.getElementById(“highlighter”) : document.all.highlighter
crosstickParent=crosstick.parentNode? crosstick.parentNode : crosstick.parentElement
if (parseInt(crosstick.offsetHeight)>0)
crosstickParent.style.height=crosstick.offsetHeight+‘px’
else
setTimeout(“crosstickParent.style.height=crosstick.offsetHeight+‘px’”,100) //delay for Mozilla’s sake
changetickercontent()
}
if (document.all || document.getElementById)
window.onload=start_ticking
</script>
</div>
</div>
</div>
<div class=“mc0102”>
<img class=“r0101” src=“<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_155.jpg” alt=“” />
<img class=“r0102” src=“<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_157.jpg” alt=“” />
<img class=“r0103” src=“<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_207.jpg” alt=“” />
<img class=“r0104” src=“<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_209.jpg” alt=“” />
<div class=“mcl”>
<div class=“mcl01”>
About Registration
</div>
<div class=“mcl02”>
Please complete all fields for correct registration.
</div>
</div>
</div>
</div>
<div class=“mc02”>
<div class=“mc0201”>
Application
</div>
<div class=“mc0202” style=“width: 18px; height: 15px”>
</div>
<div class=“mc0203”>
<div class=“mc020301”>
<p>Welcome to the registration form for <?php echo SITE_NAME; ?>. After you register, you will be notified by a staff member about your membership.</p>
<form method=“post” action=“<?php echo url(‘/registration’);?>”>
<dl>
<dt>First Name: *</dt>
<dd><input type=“text” name=“firstname” value=“<?php echo Vars::POST(‘firstname’);?>” />
<?php
if($firstname_error == true)
echo ‘<p class=“error”>Please enter your first name</p>’;
?>
</dd>
<dt>Last Name: *</dt>
<dd><input type=“text” name=“lastname” value=“<?php echo Vars::POST(‘lastname’);?>” />
<?php
if($lastname_error == true)
echo ‘<p class=“error”>Please enter your last name</p>’;
?>
</dd>
<dt>Email Address: *</dt>
<dd><input type=“text” name=“email” value=“<?php echo Vars::POST(‘email’);?>” />
<?php
if($email_error == true)
echo ‘<p class=“error”>Please enter your email address</p>’;
?>
</dd>
<dt>Select Airline: *</dt>
<dd>
<select name=“code” id=“code”>
<?php
foreach($allairlines as $airline)
{
echo ‘<option value="’.$airline->code.‘">’.$airline->code.’ - ‘.$airline->name.’</option>';
}
?>
</select>
</dd>
<dt>Hub: *</dt>
<dd>
<select name=“hub” id=“hub”>
<?php
foreach($allhubs as $hub)
{
echo ‘<option value="’.$hub->icao.‘">’.$hub->icao.’ - ’ . $hub->name .‘</option>’;
}
?>
</select>
</dd>
<dt>Location: *</dt>
<dd><select name=“location”>
<?php
foreach($countries as $countryCode=>$countryName)
{
if(Vars::POST(‘location’) == $countryCode)
$sel = ‘selected=“selected”’;
else
$sel = ‘’;
echo ‘<option value="’.$countryCode.‘" ‘.$sel.’>’.$countryName.‘</option>’;
}
?>
</select>
<?php
if($location_error == true)
echo ‘<p class=“error”>Please enter your location</p>’;
?>
</dd>
<dt>Password: *</dt>
<dd><input id=“password” type=“password” name=“password1” value=“” /></dd>
<dt>Enter your password again: *</dt>
<dd><input type=“password” name=“password2” value=“” />
<?php
if($password_error != ‘’)
echo ‘<p class=“error”>’.$password_error.‘</p>’;
?>
</dd>
<?php
//Put this in a seperate template. Shows the Custom Fields for registration
Template::Show(‘registration_customfields.tpl’);
?>
<dt>What does this add up to? <?php echo $rand1 .’ + '.$rand2?></dt>
<dd><input id=“password” type=“captcha” name=“captcha” value=“” />
<?php
if($captcha_error != ‘’)
echo ‘<p class=“error”>’.$captcha_error.‘</p>’;
?>
</dd>
<dt></dt>
<dd><p>By clicking register, you’re agreeing to the terms and conditions</p></dd>
<dt></dt>
<dd><input type=“submit” name=“submit” value=“Register!” /></dd>
</dl>
</form>
</div>
</div>
</div>
</div>
</div>
</div>