Pilot submitted route

I have already proved it, it works correctly,

You can see in the image

tanks

post-9851-0-77145500-1429191537.jpg

i am using simpilot 5.5x not working for me giving below error any help will be appreciated

Fatal error: Call to undefined function recaptcha_get_html() in /home/pakvacc1/public_html/PIA/lib/skins/vp/RouteSubmit/RouteSubmit.php on line 136

on line 136

<?php

echo recaptcha_get_html(Config::Get(‘RECAPTCHA_PUBLIC_KEY’), $captcha_error);

?>

i am using simpilot 5.5x not working for me giving below error any help will be appreciatedFatal error: Call to undefined function recaptcha_get_html() in /home/pakvacc1/public_html/PIA/lib/skins/vp/RouteSubmit/RouteSubmit.php on line 136on line 136

Maybe this code for phpvms_5.5.x

<tr>
 <td width="1%" nowrap><strong>Captcha</strong></td>
 <td>
			    <?php if(isset($captcha_error)){echo '<p class="error">'.$captcha_error.'</p>';} ?>
			    <div class="g-recaptcha" data-sitekey="<?php echo $sitekey;?>"></div>
			    <script type="text/javascript" src="https://www.google.com/recaptcha/api.js?hl=<?php echo $lang;?>">
			    </script>
 </td>
</tr>

Very very kind, thank you for all your hard work so much

Jim

hey there guys im trying to run this with my airline www.apolloairways.co.uk but i think i implemented it wrongly im using the php version of phpvms please help

No error warning but for some reason I can not fill in anything it appear like a static screenshot

any idea?

PS:

found the error!

seems that I have not enough sleep otherwise I would recognized the missing closing div earlier

anyway is there a way to limit to only the enabled fleet aircraft?

 

I have also added a new dropdown option that Pilot can select AIRAC Cycle used for flightplan

Update;

 

Hello everyone, I have placed the module but it throws me “error!” to give him to send and nothing else happens, someone with the same problem?

the module is in my site, in the menu operations / request route

 

https://oneworldv.com/index.php/RouteSubmit

 

Hey,

 

Great work Vangelis. If I wanted to add PHP to have a drop down menu for DEP and ARR retrieving the ICAO present in the DB how would I write that?

I tried to add the code myself but did not succeed.

I also saw a JSON line commented out in the module, is that related to it?

 

Appreciate the help guys!

replace 

\<input type="text" name="arr"\> \<input type="text" name="depp"\>

with

\<select name="arr"\> \<?php foreach($allairports as $airport) { echo '\<option value="'.$airport-\>icao.'" '.$sel.'\>'.$airport-\>name.' ('.$airport-\>icao.')\</option\>'; } ?\> \</select\> \<select name="depp"\> \<?php foreach($allairports as $airport) { echo '\<option value="'.$airport-\>icao.'" '.$sel.'\>'.$airport-\>name.' ('.$airport-\>icao.')\</option\>'; } ?\> \</select\>