Jump to content

imnemina

Members
  • Posts

    37
  • Joined

  • Last visited

Everything posted by imnemina

  1. Hello Good morning In that place put this string? Im a newbie and need more information. Thanks Best regards
  2. One more question when a pilot enter a PIREP, the mail will reach only the administrator or to all members of staff whit administrator rights? Thanks
  3. Dear people Each time a pilot entering a PIREP, staff members comes a mail in English saying "A PIREP has-been submitted by ...." Where is the TPL file is to translate this to my language? How is the name of the TPL? Best regards
  4. Problem solved. I change "localhost" for the new mysql server. Thank you
  5. Hi guys For the problem of hacking, my server has closed my account became infected also other sites. They allowed me to backup files and databases. Now i got a place on another server, clean the infected files, the went up again and load the database. Modify file parameters local.config.php and it seemed that everything worked fine. But I have some problems. In the admin panel does not show: View all pilots - no show anything Flight Schedules Routes - no show anything Add and edit airpots - no show anything In the databases the info exist. Any idea? Best regards
  6. Today i found a Little problem. In the dropdown menu appears two times "March". January - March (show february information) - March again (show march information) - April.... any idea?
  7. I'm very close. It's something, but I can not find the right code: http://newaps2012.co.../schedules/view # arrapttab KJFK
  8. I do not think I explained myself well. What I need to know is if any way of creating a link to flights and filtered to a destination. So that when a pilot click on the city name on the map, the site take you to the page but it leaked flights to that destination. Example: http://newaps2012.com.ar/action.php/schedules/view=arricao% 20KJFK I try with this but it gives me error. The map itself, as I do in JPG with photoshop. Regards
  9. I'm thinking of making a map of flights for the pilots can see destinations to fly more graphically. Something like this: http://viajaraargentina.files.wordpress.com/2011/04/ruta-aerolineas-argentinas1.jpg It would be a bitmap image mapped with coordinates that when you click on a city to return all available flights to that destination. The problem is that the link schedules/view, destinations are not filter for airoport, shows all. On our site the link is http://newaps2012.com.ar/index.php/schedules/view It should be something like "http://newaps2012.com.ar/index.php/schedules/view = KJFK" or something, but can not find the right way of putting it. I honestly do not know if it's posible. Someone comes up as writing the link correctly? Regards
  10. Can anyone help? There are cash! :D :D
  11. something I'm doing wrong. With the original code on scehdules result tpl file: <tr> <td> <a href="<?php echo url('/schedules/details/'.$route->id);?>"><?php echo $route->code . $route->flightnum?> <?php echo '('.$route->depicao.' - '.$route->arricao.')'?> </a> <br /> my flights are shown: If change the code for this: <tr> <td> <a href="<?php echo url('/schedules/details/'.$route->id);?>"><?php echo $route->code . $route->flightnum?> ( <?php $country = OperationsData::getAirportInfo($route->depicao); $imgicao = array_search($country->country, Countries::$countries); ?> <img src="<?php echo SITE_URL;?>/lib/images/countries/<?php echo strlower($imgicao);?>.png" alt="<?php echo $imgicao;?>" /> <?php echo $route->depicao;?> - <?php $country = OperationsData::getAirportInfo($route->arricao); $imgicao = array_search($country->country, Countries::$countries); ?> <img src="<?php echo SITE_URL;?>/lib/images/countries/<?php echo strlower($imgicao);?>.png" alt="<?php echo $imgicao;?>" /> <?php echo $route->arricao;?>)</a> <br /> <strong>Salida: </strong><?php echo $route->deptime;?> <strong>Destino: </strong><?php echo $route->arrtime;?><br /> <strong>Aeronave: </strong><?php echo $route->aircraft; ?> (<?php echo $route->registration;?>) <strong>Distancia: </strong><?php echo $route->distance . Config::Get('UNITS');?> <br /> <strong>Dias Activo: </strong><?php echo Util::GetDaysCompact($route->daysofweek); ?><br /> <?php echo ($route->route=='') ? '' : '<strong>Ruta: </strong>'.$route->route.'<br />' ?> <?php echo ($route->notes=='') ? '' : '<strong>Notes: </strong>'.html_entity_decode($route->notes).'<br />' ?> <?php # Note: this will only show if the above code to # skip the schedule is commented out if($route->bidid != 0) { echo 'Este vuelo ha sido asignado'; } ?> </td> The schedules screen change and the info show bad It can not be that hard. I must be close. Any ideas. Regards
  12. No case. There is something wrong. Thanks
  13. Almost the flags icon shows broken.
  14. I do not understand where to put code. In schedule_details.tpl? or in schedules_result.tpl? i try, but not work for me. Any help more? Regards
  15. In that file edit this? Location? Regards
  16. Thank you very much Jamie!!! SOLVED
  17. I need find this for edit or eliminate. In a TPL file? Thank of all for you cooperation. Best regards
  18. I have the same problem. Past 120 days, the pilots do not pass to retired status. # After how long to mark a pilot inactive, in days Config::Set('PILOT_AUTO_RETIRE', true); Config::Set('PILOT_INACTIVE_TIME', 120); Is this the problem? # Config VaCentral Config::Set('VACENTRAL_ENABLED', true); Config::Set('VACENTRAL_API_SERVER', 'http://api.phpvms.net'); Config::Set('VACENTRAL_API_KEY', 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxx'); Best regards
  19. Thank you very much for your help. I had already tried that but I get this error: Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in/nfs/c07/h03/mnt/108529/domains/newaps2012.com.ar/html/core/templates/core_navigation.tpl on line 34 My core_navigation.tpl <li><a href="<?php echo url('/'); ?>">Inicio</a></li> <?php if(!Auth::LoggedIn()) { // Show these if they haven't logged in yet ?> <li><a href="<?php echo url('/login'); ?>">Login</a></li> <li><a href="<?php echo url('/registration'); ?>">Registrarse</a></li> <?php } else { // Show these items only if they are logged in ?> <li><a href="<?php echo url('/profile'); ?>">mi cuenta</a></li> <li><a href="<?php echo url('/Exams') ?>">Examenes</a><li> <?php } ?> <li><a href="<?php echo url('/pilots'); ?>">Roster</a></li> <li><a href="<?php echo url('/schedules/view'); ?>">Vuelos</a></li> <li><a href="<?php echo url('/acars') ?>">Mapa</a></li> <li><a href="<?php echo url('/vStatsCenter') ?>">Estadisticas</a></li> <?php echo $MODULE_NAV_INC;?> <?php if(Auth::LoggedIn()) { if(PilotGroups::group_has_perm(Auth::$usergroups, ACCESS_ADMIN)) { echo '<li><a href="'.fileurl('/admin').'">Admin Center</a></li>'; echo '<li><a href="<?php echo url('/registration'); ?>">Registrarse</a></li>'; } ?> <?php $admin = ExamsData::check_admin(Auth::$userinfo->pilotid); if ($admin->admin_level >= '1') {echo '<li><a href="'.url('/Exams_admin').'">EXAM Admin</a></li>';} ?> <li><a href="<?php echo url('/logout'); ?>">Desconectarse</a></li> <?php } ?>
  20. Good night In my virtual airline, the pilots only are accepted after passed an examination. The examination module is in other web site. Pilots must register in this site, take the exam and if they do well, a staff member will add to phpvms site manually. I can do to make the option "Register" are only visible to staff memebers? As the admin center option. In the core_navigation.tpl Best regards
×
×
  • Create New...