Jump to content

faraz

Members
  • Content Count

    138
  • Joined

  • Last visited

Community Reputation

0 Neutral

2 Followers

About faraz

  • Rank
    Advanced Member

Profile Information

  • Gender
    Not Telling
  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. faraz

    Permission denied

    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. faraz

    Issue with signatures

    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. faraz

    Wondering: Pagination for Pireps List

    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. faraz

    Delete Expired Bid

    Sorry Nabeel Delete Expired Bid function doesn't delete bid after Expire ,so bid still exist in bids table .
  7. faraz

    Delete Expired Bid

    Hi Delete Expired Bids is not working . Config::Set('CLOSE_BIDS_AFTER_EXPIRE', true); Config::Set('BID_EXPIRE_TIME', '5');
  8. faraz

    recaptcha theme

    Hi How can i change recaptcha theme ? <script type="text/javascript"> var RecaptchaOptions = { theme : 'theme_name' }; </script>
  9. faraz

    Lock Aircraft in use

    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. faraz

    Aircraft Location in Schedule

    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. faraz

    Total Flight Hours

    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. faraz

    Total Flight Hours

    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. faraz

    SMFRegister 1.0

    Thanks simpilot for this module
×