Jump to content

Vangelis

Members
  • Posts

    1076
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by Vangelis

  1. Please follow instructions 3.Edit simbrief.apiv1.js in lib/js and add your full website addres in the apropiate location 4.Edit your schedule_briefing.tpl in /core/templates and in line 195 edit the link to corespond to your site Example http://www.yoursitelink/index.php/SimBrief
  2. I would remove all the airports and keep only the ones i use
  3. In my opinion PHPvms is not so dead yet It has a big comunity and it is easy to alter The problem is that there is no dev team to update it and extend it with the new versions of php and etc If you know what you are doing i think you will be fine with phpvms
  4. <table class="table table-bordered" width="40%" border="0" cellspacing="0" cellpadding="0"> <tr class="active"> <th colspan="7"><center> СпиÑок рейÑов из ÐÑропорта </center></th> </tr> <tr class="active"> <th>Ðомер рейÑа <i class="soap-icon-status"></i></th> <th>ÐÑропорт вылета <i class="soap-icon-securevault"></i></th> <th>ÐÑропорт Ð¿Ñ€Ð¸Ð±Ñ‹Ñ‚Ð¸Ñ <i class="soap-icon-securevault"></i></th> <th>Вылет<i class="soap-icon-wifi"></i></th> <th>Ð’Ñ€ÐµÐ¼Ñ Ð² пути<i class="soap-icon-wifi"></i></th> <th>ДальноÑÑ‚ÑŒ<i class="soap-icon-wifi"></i></th> <th>Ðазначен борт<i class="soap-icon-wifi"></i></th> </tr> <?php $params['s.depicao']= $name->icao ; $query = SchedulesData::findSchedules($params); if($query != null) { foreach($query as $ { ?> <tr> <td><?php echo $b->code; ?><?php echo $b->flightnum; ?></td> <td><?php echo $b->depicao; ?> <?php $country = OperationsData::getAirportInfo($b->depicao); $imgicao = array_search($country->country, Countries::$countries); ?> <img src="<?php echo SITE_URL; ?>/lib/images/countries/<?php echo strtolower($imgicao); ?>.png" alt="<?php echo strtolower($imgicao); ?>"/> </td> <td><?php echo $b->arricao; ?> <?php $country = OperationsData::getAirportInfo($b->arricao); $imgicao = array_search($country->country, Countries::$countries); ?> <img src="<?php echo SITE_URL; ?>/lib/images/countries/<?php echo strtolower($imgicao); ?>.png" alt="<?php echo strtolower($imgicao); ?>"/></td> <td><?php echo $b->deptime; ?></td> <td><?php echo $b->arrtime; ?></td> <td><?php echo $b->distance; ?> Ml</td> <td><?php echo $b->airbr; ?></td> </tr> <?php } ?> </table> <?php } else { echo 'No Schedules'; } ?>
  5. if you echo $pilot->pilotid do you get any result ?
  6. Invalid logon can you please confirm the passwords are working ?
  7. You need to change it from local.config.php in your phpvms setup
  8. how do you know who is staff ? By rank ? by id ?
  9. You can find them here http://ourairports.com/data/
  10. Same applies for me to if you need any help with your curent modules do not hesitate to contact me for FREE as i fully agree with servetas
  11. $query = "SELECT * FROM runways WHERE airport_ident='$name->icao'"; $Result = DB::get_results($query); foreach($Result as $a) { echo "Длина полоÑÑ‹: ".$a->length_ft."FT<br> Покрытие: ".$a->surface."<br> ПолоÑа: ".$a->he_ident."<br> ÐÐºÑ‚Ð¸Ð²Ð½Ð°Ñ Ð¿Ð¾Ð»Ð¾Ñа: ".$a->le_ident ; } Try this code and replace all other code this code conects to the db via the codon framework
  12. Can you tell us what senario you want to do ? as i dint quite understand with what you want
  13. what hosting company you use ? paid or free ?
  14. # Add multiple SMTP servers by separating them with ; Config::Set('EMAIL_SMTP_SERVERS', 'cp-in-13.webxxxxxx.net'); Config::Set('EMAIL_SMTP_PORT', '465'); Config::Set('EMAIL_SMTP_USE_AUTH', true); Config::Set('EMAIL_SMTP_SECURE', 'ssl'); # must be "ssl" for Google Apps Config::Set('EMAIL_SMTP_USER', 'noreply@xxxxxx.com'); Config::Set('EMAIL_SMTP_PASS', 'xxxxxxx'); Try changing it to ssl
  15. I dont thing the api.vacentral is working well if you check the link http://api.vacentral.net/index.php/airport/get/LGRP it returns errors with the airport info output
  16. That is quite strange to be honest do you want to tell us what is your problem we might be able to help you
  17. Vangelis

    help

    Phpvms is not working good in free hosting consider getting a cheap hosting somewhere
  18. Vangelis

    help

    upload again the installation files it seems something to be corupted
  19. if i understand well you want to change index.php/profile/stats with a morris chart ?
  20. You need also to ad a cron job to your server or riun the mentenance script your self
×
×
  • Create New...