Jump to content

faraz

Members
  • Posts

    138
  • Joined

  • Last visited

Everything posted by faraz

  1. faraz

    XML Data

    Hello i working on custome ACARS with VB 2010 . could you help me to send xml data (pilot id , password , ... ) with VB . I created xml file including pilot id and password , and now i don't know how to send xml data to ACARS module .
  2. Hi I run install/dbtest.php : Warning: include(/home/isi/public_html/core/classes/ezdb/ezdb_.class.php) [function.include]: failed to open stream: No such file or directory in /home/isi/public_html/core/classes/ezdb/ezdb.class.php on line 92 Warning: include() [function.include]: Failed opening '/home/isi/public_html/core/classes/ezdb/ezdb_.class.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/isi/public_html/core/classes/ezdb/ezdb.class.php on line 92 Fatal error: Class 'ezdb_' not found in /home/isi/public_html/core/classes/ezdb/ezdb.class.php on line 94 And i change ezdb permission folder and files to 755 and core/cache is 777 , but cache always is empty . Faraz
  3. faraz

    jQuery Dialog

    Hello I want use jQuery dialog box in my VA skin : <button id="dialog" class="jqModal" href="<?php echo SITE_URL?>/action.php/event/sch_log?id=<?php echo $schedule->id;?>">More</button> But dialog dose not work .
  4. Hello I changed my host to another company , but i can not generate signatures and i tried generate signatures from admin panel (Maintenance Options -> Reset Signatures) but hold on first pilot. signatures folder permission is 775 . Also cache folder always empty . cache folder permission is 775 . (core/cache/index.php 755) and (core/classes/CodonCache.class 755)
  5. Hi <script type="text/javascript" src="<?php echo fileurl('lib/js/jquery.tablesorter.js');?>"></script> <script type="text/javascript" src="<?php echo fileurl('lib/js/jquery.tablesorter.pager.js');?>"></script> <script type="text/javascript"> $(function() { $("table") .tablesorter({widthFixed: true}) .tablesorterPager({container: $("#pager")}); }); </script> and <div id="pager" class="pager" > <form> <img src="<?php echo fileurl('lib/images/first.png');?>" class="first"/> <img src="<?php echo fileurl('lib/images/prev.png');?>" class="prev"/> <input type="text" class="pagedisplay"/> <img src="<?php echo fileurl('lib/images/next.png');?>" class="next"/> <img src="<?php echo fileurl('lib/images/last.png');?>" class="last"/> <select class="pagesize"> <option value="10">10 per page</option> <option value="15">15 per page</option> <option value="25">25 per page</option> <option value="30">30 per page</option> </select> </form> </div>
  6. Sorry Nabeel Delete Expired Bid function doesn't delete bid after Expire ,so bid still exist in bids table .
  7. Hi Delete Expired Bids is not working . Config::Set('CLOSE_BIDS_AFTER_EXPIRE', true); Config::Set('BID_EXPIRE_TIME', '5');
  8. Hi How can i change recaptcha theme ? <script type="text/javascript"> var RecaptchaOptions = { theme : 'theme_name' }; </script>
  9. Hi I try to lock aircraft in use or aircraft in bid . $lastbids = SchedulesData::getAllBids(); $aircraftroute = OperationsData::getAircraftByReg($route->registration); foreach($lastbids as $lastbid) { $aircraftbid = OperationsData::getAircraftByReg($lastbid->registration); if($route->registration != $lastbid->registration) { continue; } } (schedule_results) I want skip all flight with aircraft in use or already in bid . I need code for lock aircraft in use . Tnx
  10. I want to show only flights with aircraft in my location . My location at LOWW , If any aircraft at LOWW , show flight from LOWW with that aircraft registration .
  11. Hi In get next flight only shown first flight and in get_airport show only first flight for each registration , I want show all flight for registration like get_aircraft page (Flight Routing) .
  12. Hi How can i add filter to Schedule for aircraft location ? My location at EGLL , show only route with aircraft at EGLL . Now show all routes from EGLL with all aircrafts .
  13. HI I try to use below code in php , but no data shown, but in SQL shown 41:48:22 $sql="SELECT SEC_TO_TIME(SUM( TIME_TO_SEC( flighttime_stamp ) ) )AS total_time FROM phpvms_pireps"; $result = mysql_query($sql) or die(mysql_error()); while($row = mysql_fetch_array($result)){ echo $row['SEC_TO_TIME(SUM( TIME_TO_SEC( flighttime_stamp ) ) )AS total_time'];
  14. Hello I want change time format for Total Flight Hours in my website , 25.49 -> 25:49:00 (HH:MM:SS) I try to sum flighttime_stamp in pireps table : $params = array( 'table' => TABLE_PREFIX.'pireps', 'fields' => 'SUM(`flighttime_stamp`) AS `total`', 'where' => array('accepted' => PIREP_ACCEPTED), ); $sql = DB::build_select($params); $results = DB::get_results($sql); echo $total = $results[0]->total; That code shown Total Flight Hours 20:30:12 (HH:MM:SS) but my VA Total Flight Hours is 25.49 . I don't understand why !! Tnx
  15. Thanks simpilot for this module
  16. #topBanner { background: url(images/KLM2.jpg) ; width: 970px; height: 109px; } #topBanner .UPS{ background: url(images/UPS.jpg) ; width: 970px; height: 109px; } #topBanner .KLM{ background: url(images/KLM.jpg) ; width: 970px; height: 109px; } This code only shown first image (KLM2.jpg)
  17. #topBanner { background: url(images/topbanner.jpg) ;} #topBanner .KLM { background: url(images/KLM.jpg) ;} #topBanner .UPS { background: url(images/UPS.jpg) ;} Template <?php $class = strtolower(Auth::$userinfo->code); ?> <div id="topBanner" class="<?php echo $class;?>"> Need 2 more classes for template ? Those code are correct ?
  18. Hi <?php header("Content-type: text/css"); ?> body { background: url(images/mainbg.jpg) repeat-x 0 0 #fff; color: #171717; font-family: "segoe ui", tahoma, arial,helvetica,clean,sans-serif; font-size: 12px; margin: 0; padding: 0; } a { text-decoration: none; color: #0040FF; } #body { width: 970px; margin: 0 auto; padding: 0 0 0 0; background: #ffffff; font-size: 12px; border-top: none; border-bottom: none; padding-bottom: 10px; } h1 { color: #FF6633; } h3 { background: url(images/h3.jpg) no-repeat left; height: 25px; font-size: 18px; padding-left: 28px; padding-bottom: 0px; margin-top: 10px; color: #FF6633; } hr{ margin-top: 15px; height: 1px; border: none; border-bottom: solid 1px #999; } #innerwrapper { width: 970px; background: #fff; float: right; } #topBanner { background: <?php if(Auth::$userinfo->code == KLM) { echo "http://***********/dev/lib/skins/crystal/images/KLM.jpg"; } else if(Auth::LoggedIn() == false) { echo "http://********/dev/lib/skins/crystal/images/UPS.jpg"; } ?>; width: 970px; height: 109px; } this is correct ? and file name is ab.php
  19. Hello I want use php in style (CSS). #topBanner { background: <?php if(Auth::$userinfo->code == KLM) echo '<img src="http://******/dev/lib/skins/crystal/images/KLM.jpg"/>'; else if(Auth::LoggedIn() == false); echo '<img src="http://*******/dev/lib/skins/crystal/images/UPS.jpg"/>' ; ?>; width: 970px; height: 109px; } please correct this code
  20. Hello I have same error : Notice: The template file "/home/****/public_html/beta//core/templates/realschedulelite/realschedulelite_jumpseatconfirm.tpl" doesn't exist in /home/****/public_html/beta/core/classes/TemplateSet.class.php on line 248 Thank simpilot
  21. Hello Fatal error: Uncaught <blockquote><font face=arial size=2 color=000099><b>Last Error --</b> [<font color=000000><b>Too many connections (1040)</b></font>]<br />[<font color=000000><b></b></font>]</font><p> </blockquote><hr noshade color=dddddd size=1> thrown in /home/****/public_html/****/core/classes/ezdb/ezdb_mysql.class.php on line 99
  22. Change MD-11 to disable and try to add an aircraft with MD-11's registration but : The aircraft registration must be unique
  23. Hello I want assign current aircraft registration to another aircraft . MD11 = U6-RYP and B744 = U6-USO , I want assign MD-11's registration to B744 . Have a nice day
  24. I need a limit to the number of jumpseat tickets a pilot can change location a time period. I think 2-4 per month is good
  25. Hello Add an Expense : An Error Was Encountered The module "FINANCES" doesn't exist! I tried to reupload for 2times , but error still there .
×
×
  • Create New...