M-Queiroz
-
Posts
127 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by M-Queiroz
-
-
Ola is very good yes when he is ready for tests
-
Ola is very good yes the more it is better either welcome
-
Estou criando um modelo, e estou precisando de alguém para testá-lo em outro sistema. Se você estiver interessado por favor responda ...
Tudo que você precisa fazer é instalar o modelo, e ver se tudo está funcionando corretamente
Obrigado!
[/ Quote]
if you are still in need, I would like to test your template.
-
Muito bom Queiroz, qual programa você utilizou para realizar a tradução?
esta é a mais resente pt 18/jul/2010 Portuguese1.xml
(bloco de notas)
-
<?php $conexao = mysql_connect('localhost', 'LOG', 'PSS'); mysql_select_db('BD', $conexao); ?> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Controle de Estoque - Empresas Figueiredo</title> <style media="all"> body { font-family: Arial, Helvetica, sans-serif; font-size: 12px; } .titulo_row { background: #575757; color: #FFFFFF; } .style2 {color: #FFFFFF} .style3 {color: #000000; } </style> </head> <center> <body> <h2><span style="color: rgb(0, 0, 255);">Os 10 melhores pousos do mes</span></h2> <?php $busca_produtos="SELECT p.code, p.pilotid, firstname, lastname, a.fullname, r.pilotid, landingrate, depicao, arricao FROM phpvms_pilots p left join phpvms_pireps r on p.pilotid = r.pilotid right join phpvms_aircraft a on a.id = r.aircraft WHERE year(r.submitdate) = year(now()) and month(r.submitdate) = month(now()) and landingrate < '0' ORDER BY landingrate desc LIMIT 0,10"; $exec_produtos = mysql_query($busca_produtos); // Executo a busca $nume_produtos = mysql_num_rows($exec_produtos); // Verifico o n�mero de linhas retornadas $cor = "#D5D5D5"; // Defino a segunda cor ?> <table width="630" border="0" cellspacing="0" cellpadding="2"> <tr class="titulo_row"> <td width="">Piloto</td> <td width="">Nome</td> <td width="43">Saida</td> <td width="43">Destino</td> <td width="">Equipamento</td> <td width="">Totidal Rate</td> </tr> <?php // Verifico se alguma linha foi retornada if($nume_produtos > 0) { // Monto o loop de informa��es com a matriz associativa $pinfo while($pinfo = mysql_fetch_assoc($exec_produtos)) { // Crio o IF que me retornar� a cor da vez if($cor == "#D5D5D5") { $cor = "#FFFFFF"; // Aqui � a primeira cor } else { $cor = "#D5D5D5"; } ?> <tr bgcolor="<?php echo $cor; ?>"> <td width=""><?php echo $pinfo['code']. "0". $pinfo['pilotid']; ?></td> <td width=""><?php echo $pinfo['firstname']. " ". $pinfo['lastname']; ?></td> <td width="8"><?php echo $pinfo['depicao']; ?></td> <td width="8"><?php echo $pinfo['arricao']; ?></td> <td width=""><?php echo $pinfo['fullname']; ?></td> <td width=""><?php echo $pinfo['landingrate']; ?></td> </tr> <?php } } ?> </table> <h2><span style="color: rgb(0, 0, 255);">Utimos voos</span></h2> <?php $busca_produtos1="SELECT * FROM phpvms_pilots p left join phpvms_pireps r on p.pilotid = r.pilotid right join phpvms_aircraft a on a.id = r.aircraft ORDER BY pirepid desc LIMIT 0,10"; $exec_produtos1 = mysql_query($busca_produtos1); // Executo a busca $nume_produtos1 = mysql_num_rows($exec_produtos1); // Verifico o n�mero de linhas retornadas $cor1 = "#D5D5D5"; // Defino a segunda cor ?> <table width="630" border="0" cellspacing="0" cellpadding="2"> <tr class="titulo_row"> <td width="70">Voo N°</td> <td width="43">Saida</td> <td width="43">Destino</td> <td width="">Piloto</td> <td width="">Aircraft</td> <td width="">Touch Down Rate</td> <td width="">Flight Time</td> <td width="">fuel</td> </tr> <?php // Verifico se alguma linha foi retornada if($nume_produtos1 > 0) { // Monto o loop de informa��es com a matriz associativa $pinfo while($pinfo1 = mysql_fetch_assoc($exec_produtos1)) { // Crio o IF que me retornar� a cor da vez if($cor1 == "#D5D5D5") { $cor1 = "#FFFFFF"; // Aqui � a primeira cor } else { $cor1 = "#D5D5D5"; } ?> <td> <tr bgcolor="<?php echo $cor1; ?>"> <td width="70"><a href="http://grupobrazilair.com/index.php/pireps/view/<?php echo $pinfo1['pirepid'];?>" target="_top"><?php echo $pinfo1['code']. " ". $pinfo1['flightnum']; ?></a></td> <td width="8"><?php echo $pinfo1['depicao']; ?></td> <td width="8"><?php echo $pinfo1['arricao']; ?></td> <td width=""><a href="http://grupobrazilair.com/index.php/profile/view/<?php echo $pinfo1['pilotid'];?>" target="_top"><?php echo $pinfo1['firstname']. " ". $pinfo1['lastname']; ?></a></td> <td width=""><?php echo $pinfo1['fullname']; ?></td> <td width=""><?php echo $pinfo1['landingrate']; ?></td> <td width=""><?php echo $pinfo1['flighttime']; ?></td> <td width=""><?php echo $pinfo1['fuelused']; ?></td> </tr> <?php } } ?> </table> <h2><span style="color: rgb(0, 0, 255);">Utimas Reservas</span></h2> <center> <?php $busca_bids="SELECT p.*, s.*, b.bidid as bidid, a.name as aircraft, a.registration, b.dateadded as dateadded FROM phpvms_schedules s, phpvms_bids b, phpvms_aircraft a, phpvms_pilots p WHERE b.routeid = s.id AND s.aircraft=a.id AND p.pilotid = b.pilotid ORDER BY b.bidid DESC LIMIT 0,05"; $exec_bids = mysql_query($busca_bids); // Executo a busca $nume_bids = mysql_num_rows($exec_bids); // Verifico o n�mero de linhas retornadas $cor = "#D5D5D5"; // Defino a segunda cor ?> <table width="630" border="0" cellspacing="0" cellpadding="2"> <tr class="titulo_row"> <td width="">Voo N°</td> <td width="43">Saida</td> <td width="43">Destino</td> <td width="">Aircraft</td> <td width="">Piloto</td> <td width="">Data</td> </tr> <?php // Verifico se alguma linha foi retornada if($nume_bids > 0) { // Monto o loop de informa��es com a matriz associativa $pinfo while($bidsin = mysql_fetch_assoc($exec_bids)) { // Crio o IF que me retornar� a cor da vez if($cor1 == "#D5D5D5") { $cor1 = "#FFFFFF"; // Aqui � a primeira cor } else { $cor1 = "#D5D5D5"; } ?> <td> <tr bgcolor="<?php echo $cor1; ?>"> <td width=""><?php echo $bidsin['code']. $bidsin['flightnum'] ?> </td> <td width="8"><?php echo $bidsin['depicao']; ?></td> <td width="8"><?php echo $bidsin['arricao']; ?></td> <td width=""><?php echo $bidsin['aircraft']. " " . $bidsin['registration']; ?></a></td> <td width=""><?php echo $bidsin['firstname']. " ". $bidsin['lastname']; ?></td> <td width=""><?php echo $bidsin['dateadded']; ?></td> </tr> <?php } } ?> </table> </body> </html> </center>
-
That's how it's supposed to be, it uses Javascript to open/close the log below it
It is open to direct would fix?
-
hello Nabeel / index.php / PIREPs / view / i saw her was that the link is broken log is open and direct link is wrong View Log
07/03/2010 v beta but already so this one time would fix this as I do.
Thank you for your time his work is very good that you have long been health intelligence to work on it as it does.
-
Please try this version
Now yes it was a mark of 100%, but no doubt would be all uppercase fields fill ICAO flight route number.
I would like to thank her speed in which we attended problem solved thanks
-
So the pilot receives this when your server is down? Is this correct?
Yes when the server drops off is
-
-
hello simpilot
with a quick question would show only the airports that have an aircraft if it has not stopped it shows nothing on the list would be nicer
-
sometimes spins all white and nothing closes kacaras flight and the pilot loses the server goes off the air because this maintenance would only open a window when the fs open several locks have to restart the pc like if you turn off the cable network several times you will see what I say
erro impossivel conectar-se ao servidor remoto impossible to connect to remote server
-
You will have to translate the errors for me.
falls when the server is toast several window without stopping
-
-
-
Hello thank you for helping! the form of routes and Timetable
I disturb you once again you guys all know how to add the admin in the id list of pilots for pilots already turned this table but appears and then disappears because it is easier to identify each pilot
-
If I am understanding you correctly.
You want the option of charter cargo and charter pax? Is this correct? I do not know how well that will work with the financing for the charter. All of that is handled in phpVMS.
here is what happens AIRCRAFT F is a cargo plane.
when we export is only the normal load pax charters of that error.
-
Hello kacars was stirring in the fall and noticed a problem when the charter flight is put everything runs normally until the aircraft for the flight is that we do not have a choice if the flight is pax ok but if not the position to place the burden for is the only option pax would fit it my congratulations I wanted to have their intelligence
-
simpilot
myth thanks for your help was perfect need we are here to help, too.
-
ok it would be almost wanted to divide the hours of minutes
I saw your changes and noticed that is not showing the hours that are already en route when we edtar
-
I add the altitude but the hours it very difficult I have done everything I put what I have done
<div id="wrapper"> <h3><?php echo $title?></h3> <form name="form" action="<?php echo adminurl('/operations/schedules');?>" method="post"> <table width="100%" class="tablesorter"> <tr> <td valign="top"><strong>Code: </strong></td> <td> <select name="code"> <?php foreach($allairlines as $airline) { if($airline->code == $schedule->code) $sel = 'selected'; else $sel = ''; echo '<option value="'.$airline->code.'" '.$sel.'>'.$airline->code.' - '.$airline->name.'</option>'; } ?> </select> </td> </tr> <tr> <td><strong>Flight Number:</strong></td> <td> <input name="flightnum" type="text" value="<?php echo $schedule->flightnum;?>" size="3" maxlength="4" /></td> </tr> <tr> <td width="3%" nowrap><strong>Departure Airport:</strong></td> <td><input name="depicao" class="airport_select" id="depicao" onclick="" value="<?php echo $schedule->depicao;?>" size="3" maxlength="4" /> </td> </tr> <tr> <td><strong>Arrival Airport:</strong></td> <td><input name="arricao" class="airport_select" id="arricao" onclick="" value="<?php echo $schedule->arricao;?>" size="3" /> </td> </tr> <tr> <td valign="top"><strong>Departure Time:</strong> </td> <td><input name="deptime" type="text" value="<?php echo $schedule->deptime?>" size="4" maxlength="5" /> <p>Please enter time as: HH:MM Timezone (eg: 17:30 EST, or 5:30 PM EST)</p> </td> </tr> <tr> <td valign="top"><strong>Arrival Time:</strong> </td> <td><input name="arrtime" type="text" value="<?php echo $schedule->arrtime?>" size="4" maxlength="5" /> <p>Please enter time as: HH:MM Timezone (eg: 17:30 EST, or 5:30 PM EST)</p> </td> </tr> <tr> <td valign="top"><strong>Days of Week: </strong></td> <td> <input type="checkbox" name="Check_ctr" value="yes" onclick="Check(document.form.daysofweek)" /> <b>Check All</b> <?php /*$days = array('Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'); */ $days = Config::Get('DAYS_LONG'); for($i=0; $i<=6; $i++) { # Add blank string to typecast from int to string, otherwise it won't search if(strpos($schedule->daysofweek, $i.'') === false) $checked = ''; else $checked = 'checked'; echo '<input type="checkbox" id="daysofweek" name="daysofweek[]" value="'.$i.'" '.$checked.'>'.$days[$i].' '; } ?><br /> <script language="JavaScript"> function Check(chk) { if(document.form.Check_ctr.checked==true){ for (i = 0; i < chk.length; i++) chk[i].checked = true ; }else{ for (i = 0; i < chk.length; i++) chk[i].checked = false ; } } </script></td> </tr> <tr> <td valign="top"><strong>Distance:</strong> </td> <td><input name="distance" type="text" id="distance" value="<?php echo $schedule->distance?>" /> <p><a href="#" onclick="calcDistance(); return false;">Calculate Distance</a>. Leaving blank or 0 (zero) will automatically calculate the distance.</p></td> </tr> <tr> <td valign="top"><strong>Flight Time:</strong> </td> <td><input name="flighttime" type="text" value="<?php echo $schedule->flighttime?>" size="3" /> <p>Please enter as HH:MM</p> </td> </tr> <tr> <td><strong>Equipment: </strong></td> <td><select name="aircraft"> <?php foreach($allaircraft as $aircraft) { if($aircraft->registration == $schedule->registration) $sel = 'selected'; else $sel = ''; echo '<option value="'.$aircraft->id.'" '.$sel.'>'.$aircraft->name.' ('.$aircraft->registration.')</option>'; } ?> </select> </td> </tr> <tr> <td valign="top"><strong>Flight Level:</strong></td> <td>FL <select id="adults" name="flightlevel"> <option value="<?php echo $schedule->flightlevel?>"><?php echo $schedule->flightlevel?></option> <option value="5000">5000</option> <option value="6000">6000</option> <option value="7000">7000</option> <option value="7500">7500</option> <option value="8000">8000</option> <option value="8500">8500</option> <option value="9000">9000</option> <option value="10000">10000</option> <option value="10500">10500</option> <option value="11000">11000</option> <option value="11500">11500</option> <option value="12000">12000</option> <option value="13000">13000</option> <option value="14000">14000</option> <option value="15000">15000</option> <option value="16000">16000</option> <option value="17000">17000</option> <option value="18000">18000</option> <option value="19000">19000</option> <option value="20000">20000</option> <option value="21000">21000</option> <option value="22000">22000</option> <option value="23000">23000</option> <option value="24000">24000</option> <option value="25000">25000</option> <option value="26000">26000</option> <option value="27000">27000</option> <option value="28000">28000</option> <option value="29000">29000</option> <option value="30000">30000</option> <option value="31000">31000</option> <option value="32000">32000</option> <option value="33000">33000</option> <option value="34000">34000</option> <option value="35000">35000</option> <option value="36000">36000</option> <option value="37000">37000</option> <option value="38000">38000</option> <option value="39000">39000</option> <option value="40000">40000</option> <option value="41000">41000</option> <option value="42000">42000</option> </select> <p>Please enter as a full-numeric altitude. Should be in feet, to remain accurate with any ACARS.</p> </td> </tr> <tr> <td valign="top"><strong>Flight Type</strong></td> <td><select name="flighttype"> <?php foreach($flighttypes as $flightkey=>$flighttype) { if($schedule->flighttype == $flightkey) $sel = 'selected'; else $sel = ''; ?> <option value="<?php echo $flightkey?>" <?php echo $sel; ?>><?php echo $flighttype?> Flight</option> <?php } ?> </select> </td> </tr> <tr> <td valign="top"><strong>Route (optional)</strong></td> <td><textarea name="route" style="width: 60%; height: 75px" id="route"><?php echo $schedule->route?></textarea> <p><a id="dialog" class="preview" href="<?php echo SITE_URL?>/admin/action.php/operations/viewmap?type=preview">View Route</a></p> </td> </tr> <tr> <td valign="top"><strong>Price</strong> </td> <td><strong>$</strong> <input type="text" name="price" value="<?php echo $schedule->price?>" /> <p>This is the ticket price, or price per <?php echo Config::Get('CARGO_UNITS'); ?> for a cargo flight.</p> </td> </tr> <tr> <td valign="top"><strong>Notes</strong></td> <td valign="top" style="padding-top: 0px"> Any notes about the flight, including frequency, dates flown, etc.<br /><br /> <textarea name="notes" style="width: 60%; height: 150px"><?php echo $schedule->notes?></textarea> </td> </tr> <tr> <td valign="top"><strong>Enabled?</strong></td> <?php $checked = ($schedule->enabled==1 || !$schedule)?'CHECKED':''; ?> <td><input type="checkbox" id="enabled" name="enabled" <?php echo $checked ?> /></td> </td> </tr> <tr> <td></td> <td><input type="hidden" name="action" value="<?php echo $action?>" /> <input type="hidden" name="id" value="<?php echo $schedule->id?>" /> <input type="submit" name="submit" value="<?php echo $title?>" /> </td> </tr> </table> </form> </div> <script type="text/javascript"> $(".preview").click(function() { depicao=$("#depicao").val(); arricao=$("#arricao").val(); route=escape($("#route").val()); url = this.href +"&depicao="+depicao +"&arricao="+arricao +"&route="+route; $('#jqmdialog').jqm({ajax: url}).jqmShow(); return false; }); <?php $airport_list = array(); foreach($allairports as $airport) { $airport->name = addslashes($airport->name); $airport_list[] = "{label:\"{$airport->icao} ({$airport->name})\", value: \"{$airport->icao}\"}"; } $airport_list = implode(',', $airport_list); ?> var airport_list = [<?php echo $airport_list; ?>]; $(".airport_select").autocomplete({ source: airport_list, minLength: 2, delay: 0 }); </script>
-
I still have to figure out the pdf and/or page to print setup but I have gotten some of this working.
perfect is getting really good as it was done?
you know the paging to racking my brains here
see if you can understand how that is done already tried several foras
-
Hello Nebeel
'll fly to win this desperate cry mo heheheh I'm off the vacenter this is a farce hehehehe
-
Can anyone create one of these for phpVMS
erro
in Support Forum
Posted
classes erro >v nshahzad-phpVMS-v2.1.934-15-gc292c9d.zip
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 256 bytes) in /home/grupobra/public_html/ad/core/classes/ezdb/ezdb_mysql.class.php on line 273