Jump to content

bass

Members
  • Posts

    240
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by bass

  1. No. I'm trying to get the script to work https://www.flightairmap.fr/ Set, but displays only the Airports from the database, but the flights are not showing((( I do not understand what is wrong. http://tanki.va-flyinghigh.ru/
  2. I'm trying to make a map for VATSIM but for some reason is not working... what is wrong( I don't know. http://tanki.va-flyinghigh.ru/
  3. There is another simple script which shows the map VATSIM, at first glance simple, but at me it why that does not work((( Tell me what's wrong I did. https://github.com/pefman/vatsim_traffic
  4. bass

    Tourcenter

    Yes. I already have this module.
  5. Board the airport. <style>[/size][/font][/color] [color=#333333][font=Arial, Helvetica, sans-serif][size=4].text { color: #B4BD26; letter-spacing: 6.2px; } td,th{ border: 1px solid #ddd; padding: 5px; border-radius: 3px; } table.taba{ text-align: left; border-collapse: separate; border: 1px solid #ddd; border-spacing: 3px; border-radius: 5px; background-image: url('https://vatrus.info/img/timetable_33/background.png'); font-size: 19.5px; width: 100%; } .fbr-clock-bottom .city1 { width: 54px; } .fbr-city-item { font: 10px/12px "Arial"; color: #cccccc; float: left; display: block; text-align: center; } .fbr-header { border-top: 1px solid #666666; background: url(http://www.airport.md/img/images/fbr_header.jpg) repeat left top; width: 100%; height: 64px; } .cfx { display: block; } .fbr-header-inner { height: 62px; margin: 0 auto; width: 100%; background: url(http://www.airport.md/img/images/by_border.jpg) repeat-x left bottom; } .dep-arr { width: 106px; height: 44px; margin: 0 10px 0 0; padding: 9px 0 0 10px; float: left; } .dep-thumb-active { background-position: -1px -56px; cursor: default; } .departure-thumb, .arrival-thumb { display: inline-block; width: 48px; height: 45px; background: url(http://www.airport.md/img/images/dep_arr.png) no-repeat; cursor: pointer; float: left; } .arrival-thumb { display: inline-block; width: 48px; height: 45px; background: url(http://www.airport.md/img/images/dep_arr.png) no-repeat; cursor: pointer; float: left; } .fbr-clock { width: 347px; height: 50px; float: left; margin-top: 4px; } #fbr_city_clocks { float: left; margin-right: 10px; } .fbr-clock-bottom .city1 { width: 54px; } .fbr-clock-bottom .city2 { width: 54px; } .fbr-clock-bottom .city3 { width: 53px; } .fbr-clock-bottom .city4 { width: 60px; } </style>[/size][/font][/color] [color=#333333][font=Arial, Helvetica, sans-serif][size=4]<link href = '/lib/skins/ural/fonts/Gateway-A1.otf' rel = 'stylesheet' type = 'text/css'>[/size][/font][/color] [color=#333333][font=Arial, Helvetica, sans-serif][size=4]<script type="text/javascrip"> $.fn.ticker = function( options ) { options = $.extend({ uppercase: true, extra: ',.:+=/()', speed: 50 }, options); var alph = 'ABCDEFGHIJKLMNOPQRSTUVXYZ'; if ( !options.uppercase ) { alph = alph + alph.toLowerCase(); } alph = '01234567890'+alph + options.extra + ' '; return this.each(function() { var k = 1, elems = $(this).children(), arr = alph.split(''), len = 0, fill = function( a ) { while( a.length < len ) { a.push(' '); } return a; }, texts = $.map( elems, function( elem ) { var text = $(elem).text(); len = Math.max(len, text.length); return options.uppercase ? text.toUpperCase() : text; }), target = $('<div>'), render = function(print) { target.data('prev', print.join('')); fill(print); print = $.map(print, function(p) { return p == ' ' ? ' ' : p; }); return target.html('<span>' + print.join('</span><span>') + '</span>'); }, attr = {} $.each(this.attributes, function(i, item) { target.attr( item.name, item.value ); });[/size][/font][/color] [color=#333333][font=Arial, Helvetica, sans-serif][size=4] $(this).replaceWith( render( texts[0].split('') ) ); target.click(function(e) {[/size][/font][/color] [color=#333333][font=Arial, Helvetica, sans-serif][size=4] var next = fill(texts[k].split('')), prev = fill(target.data('prev').split('')), print = prev; $.each(next, function(i) { if (next[i] == prev[i]) { return; } var index = alph.indexOf( prev[i] ), j = 0, tid = window.setInterval(function() { if ( next[i] != arr[index] ) { index = index == alph.length-1 ? 0 : index + 1; } else { window.clearInterval(tid); } print[i] = alph[index]; render(print); }, options.speed) }); k = k == texts.length-1 ? 0 : k + 1; }); }); };[/size][/font][/color] [color=#333333][font=Arial, Helvetica, sans-serif][size=4]$('#text').ticker(); </script> <div> <div class="fbr-header"> <div class="fbr-header-inner cfx"> <div class="dep-arr"> <span id="departure_thumb" class="departure-thumb dep-thumb-active" title="Decolare" lang="Destinatia"></span> </div> <div class="fbr-clock cfx"> <div class="fbr-clock-top cfx"><span class="text2"> <object type="application/x-shockwave-flash" data="http://www.airport.md/img/media/online_table_clocks_updated.swf" width="206" height="41" id="fbr_city_clocks" style="visibility: visible;"> <param name="wmode" value="transparent" /> <param name="flashvars" value="time_shift_0=2&time_shift_1=1&time_shift_2=2&time_shift_3=4&time_shift_4=3&timestamp=1468163531000&wmode=transparent" /> </object> </span>[/size][/font][/color] [color=#333333][font=Arial, Helvetica, sans-serif][size=4]<script type="text/javascript"> var flashvars ={"time_shift_0" : "2","time_shift_1" : "1","time_shift_2" : "2","time_shift_3" : "3","time_shift_4" : "3","timestamp" : "1471015261000"}; var params = {"time_shift_0" : "2","time_shift_1" : "1","time_shift_2" : "2","time_shift_3" : "3","time_shift_4" : "3","timestamp" : "1471015261000"}; params.wmode = "transparent"; </script>[/size][/font][/color] [color=#333333][font=Arial, Helvetica, sans-serif][size=4]<script type="text/javascript">[/size][/font][/color] [color=#333333][font=Arial, Helvetica, sans-serif][size=4]swfobject.embedSWF("/img/media/online_table_clocks_updated.swf", "fbr_city_clocks", "206", "41", "9.0.0", flashvars, params);[/size][/font][/color] [color=#333333][font=Arial, Helvetica, sans-serif][size=4]setTimeout(function(){ $('#fbr_city_clocks').prepend('<param name="wmode" value="transparent" />'); }, 1000); </script>[/size][/font][/color] [color=#333333][font=Arial, Helvetica, sans-serif][size=4] <!-- object type="application/x-shockwave-flash" data="/img/media/online_table_clocks.swf" width="214" height="41" id="fbr_city_clocks"> <param name="movie" value="/img/media/online_table_clocks.swf" /> <param name="wmode" value="transparent" /> </object -->[/size][/font][/color] [color=#333333][font=Arial, Helvetica, sans-serif][size=4] <p id="fbr_time" class="fbr-value"> </p> </div> <div class="fbr-clock-bottom cfx"> <span class="fbr-city-item city1">Madrid</span> <span class="fbr-city-item city2">London</span> <span class="fbr-city-item city3"> Paris</span> <span class="fbr-city-item city4"> Moscow</span></div> </div> <div align="right"><a href="/on-line-panel-ro/#main_menu" title="Orarul deplin" class="full-table-link"></a> <img src="http://va-flyinghigh.ru/lib/skins/fly/images/logo_new.png" width="225" height="41" /></div> </div> </div>[/size][/font][/color] [color=#333333][font=Arial, Helvetica, sans-serif][size=4]<table width="100%" border="1" cellpadding="5" cellspacing="5" bordercolor="#000000" class="taba" > <?php $acrs = ACARSData::GetACARSData(); if (count($acrs) > 0) { foreach($acrs as $acr) { ?> <tr> <td width="20%" height="15" background="https://vatrus.info/img/timetable_33/empty.png"><span class="text"><font class="Gateway-A1"><?php echo $acr->flightnum;?></font></span></td> <td width="35%" height="15" background="https://vatrus.info/img/timetable_33/empty.png"><span class="text"><?php echo $acr->depicao;?> - <?php echo $acr->arricao;?></span></td> <td width="25%" height="15" background="https://vatrus.info/img/timetable_33/empty.png"><span class="text"><?php echo $acr->aircraftname;?></span></td> <td width="20%" height="15" background="https://vatrus.info/img/timetable_33/empty.png"><span class="text"><?php echo $acr->phasedetail; ?></span></td> <?php $a = "SELECT * FROM phpvms_airports WHERE icao = '$acr->depicao'"; $b = "SELECT * FROM phpvms_airports WHERE icao = '$acr->arricao'"; $ab = DB::get_row($a); $bc = DB::get_row($; $dis = SchedulesData::distanceBetweenPoints($ab->lat, $ab->lng, $bc->lat, $bc->lng); $dist = ROUND($dis,1); $perc = $acr->distremain; $distance = $dist - $perc; if($bar <= "0") { ?> <?php } else { ?> <?php } $val = strtoupper($acr->phasedetail); if($val == "CRUISE" OR $val == "ARRIVED" ) { ?> <?php } elseif($val == "PAUSED" OR $val == "GATE CLOSED" OR $val == "LANDING" OR $val == "FINAL APPROACH" OR $val == "PUSH BACK" OR $val == "TAKING OFF" OR $val == "TAXIING TO RUNWAY" OR $val == "DESCENDING" OR $val == "TAXI TO GATE" OR $val == "TAXIING TO GATE" OR $val == "BOARDING" OR $val == "CLIMBING" OR $val == "ON APPROACH" OR $val == "LEVEL FLIGHT") { ?> <?php } ?> </tr> <?php } } else { ?> <tr> <td colspan="11" align="center">Нет активного рейса !</td> </tr> <?php } ?> </table> </div>[/size][/font][/color] [color=#333333][font=Arial, Helvetica, sans-serif][size=4]
  6. This code is working, wanted to add in widget photo EVENTS. How to show the screenshot?
  7. https://ptd.vatsim.net/help
  8. Can it be inferred as a widget on the website? I tried to come up with <?php include('vatstas.tpl'); ?> but comes with no information.
  9. Hey all, found an interesting script which can be combined with phpvms website and display the flight map, airport information and more. I propose to make a module based on this script. https://www.flightairmap.fr/
  10. Hi, Yes I also tried to make SIMACARS for PHPVMS, but not enough knowledge of php(((
  11. In the Russian segment of the Internet most popular airline on the engine, something like PHPVMS is the best company in my opinion. Suggest to register and view the website. I collected the same site which is very similar to the sites SOUZ Group. Fleet, Charter, map of VATSIM and whatnot. afl-group.soyuz.aero vau.aero clo.soyuz.aero
  12. I think what you're talking about VAM? Am I right? Their system did not like me( The only thing they have is the AKARS is super!) Also they have a good module for Airports, but I had it altered under the phpvms from VAM systems is nothing to take interesting.
  13. No, did not help( Error - Warning: Invalid argument supplied for foreach() in /home/vaflying/public_html/cargo/lib/skins/travelo/airport_info.tpl on line 228 Error shows in this line: if($Result != null) {
  14. Is the module "Airport", I just decided to fill it as different information.
  15. As seen in the photo, if there are no schedules, the system displays an error message. How to make wrote message! THERE ARE NO SCHEDULES ???
  16. I have code in which I list the flights. Help write the code, so if flight is not found, displays a message that NO schedules! <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 $query = "SELECT * FROM phpvms_schedules WHERE depicao='$name->icao'"; $Result = DB::get_results($query); foreach($Result 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>
  17. Yes, I have made a module which checks the plane. The module based on (Fleet & vFleetTracker).
  18. I added two tables 1.Runway 2. This is a table which stores data about the frequencies of the airports.
  19. Here is the finished result on my website) Thank you very much for the help, everything works as I wanted.
  20. Hi all. Help create a module. I added the database table RUNWAYS and try to infer information at the page airport_info.tpl But displays information only from one line. For example: Airport UUDD Moscow has 3 runways, but the screen displays only one((( <?php $db = mysql_connect("localhost","xxxx","xxxxx"); mysql_select_db("xxxxx",$db); ?> <?php $resultat = mysql_query("SELECT * FROM runways WHERE airport_ident='$name->icao'",$db); //Выберем вÑе Ð¿Ð¾Ð»Ñ Ð¸Ð· таблицы Runways, где Икао аÑропорта равно к примеру UUDD $array = mysql_fetch_array($resultat); echo "Длина полоÑÑ‹: ".$array['length_ft']."FT<br> Покрытие: ".$array['surface']."<br> ПолоÑа: ".$array['he_ident']."<br> ÐÐºÑ‚Ð¸Ð²Ð½Ð°Ñ Ð¿Ð¾Ð»Ð¾Ñа: ".$array['le_ident']; ?> https://cloud.mail.r...Kur/99ht97yLs Is the database itself
×
×
  • Create New...