Jump to content

hootersairceo

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by hootersairceo

  1. Itrob, Jeff Thank you for your replies... ok so i uploaded the files it does kinda work but i have this long thing row_info 0 callsign-> = HVA007 row_info 1 cid-> = 1079348 row_info 2 realname-> = Pedro Tenaud-KLAX row_info 3 clienttype-> = PILOT row_info 4 frequency-> = row_info 5 latitude-> = 34.09472 row_info 6 longitude-> = -117.78680 row_info 7 altitude-> = 1014 row_info 8 groundspeed-> = 0 row_info 9 planned_aircraft-> = row_info 10 planned_tascruise-> = 0 row_info 11 planned_depairport:-> = row_info 12 planned_altitude:-> = row_info 13 planned_destairport:-> = row_info 14 server:-> = USA-W2 row_info 15 protrevision:-> = 100 row_info 16 rating:-> = 1 row_info 17 transponder:-> = 1200 row_info 18 facilitytype:-> = row_info 19 visualrange:-> = row_info 20 planned_revision:-> = row_info 21 planned_flighttype:-> = row_info 22 planned_deptime:-> = row_info 23 planned_actdeptime:-> = row_info 24 planned_hrsenroute:-> = row_info 25 planned_minenroute:-> = row_info 26 planned_hrsfuel:-> = row_info 27 planned_minfuel:-> = row_info 28 planned_altairport:-> = row_info 29 planned_remarks:-> = row_info 30 planned_route:-> = row_info 31 planned_depairport_lat:-> = row_info 32 planned_depairport_lon:-> = row_info 33 planned_destairport_lat:-> = row_info 34 planned_destairport_lon:-> = row_info 35 atis_message:-> = row_info 36 time_last_atis_received:-> = row_info 37 time_logon:-> = 20120220034008 row_info 38 heading:-> = 94 row_info 39 QNH_iHg:-> = 30.038 row_info 40 QNH_Mb:-> = 1017 ------- What am i doing wrong? here is my Layout <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title><?php echo $page_title; ?></title> <link href="<?php echo SITE_URL?>/lib/skins/vairline/style.css" rel="stylesheet" type="text/css" /> <link href="<?php echo SITE_URL?>/lib/skins/vairline/form.css" rel="stylesheet" type="text/css" /> <link rel="stylesheet" type="text/css" href="<?php echo SITE_URL?>/lib/skins/vairline/vairline.css" /> <?php /* This is required, so phpVMS can output the necessary libraries it needs */ echo $page_htmlhead; ?> <?php /*Any custom Javascript should be placed below this line, after the above call */ ?> <script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/vairline/chrome.js"> /*********************************************** * Chrome CSS Drop Down Menu- © Dynamic Drive DHTML code library (www.dynamicdrive.com) * This notice MUST stay intact for legal use * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code ***********************************************/ </script> </head> <body> <?php /* This should be the first thing you place after a <body> tag This is also required by phpVMS */ echo $page_htmlreq; ?> <div id="wrapper"> <div id="top"> <div id="logo"></div> <div id="loginbox"> <?php /* Quick example of how to see if they're logged in or not Only show this login form if they're logged in */ if(Auth::LoggedIn() == false) { ?> <form name="loginform" action="<?php echo url('/login'); ?>" method="post"> <input type="text" onclick="this.value='';" onblur="this.value=!this.value?'Email':this.value;" name="email" value="HVA" id="email" size="20" /> <input type="password" onclick="this.value='';" onblur="this.value=!this.value?'Password':this.value;" name="password" id="password" value="Password" size="15" /> <input type="hidden" name="redir" value="index.php/profile" /> <input type="hidden" name="action" value="login" /> <button type="submit" id="">Login</button> </form> <?php } /* End the Auth::LoggedIn() if */ else /* else - they're logged in, so show some info about the pilot, and a few links */ { /* Auth::$userinfo has the information about the user currently logged in We will use this next line - this gets their full pilot id, formatted properly */ $pilotid = PilotData::GetPilotCode(Auth::$userinfo->code, Auth::$userinfo->pilotid); ?> <img align="left" height="50px" width="50px" style="margin-right: 10px;" src="<?php echo PilotData::getPilotAvatar($pilotid);?>" /> <strong>Pilot ID: </strong> <?php echo $pilotid ; ?> <strong>Rank: </strong><?php echo Auth::$userinfo->rank;?><br /> <strong>Total Flights: </strong><?php echo Auth::$userinfo->totalflights?>, <strong>Total Hours: </strong><?php echo Auth::$userinfo->totalhours;?> <br /> <a href="<?php echo url('/pireps/new');?>">File a New PIREP</a> | <a href="<?php echo url('/schedules/bids');?>">View My Bids</a> | <a href="<?php echo url('/profile/');?>">View Pilot Center</a> <?php } /* End the else */ ?> </div> </div> <div id="banner"> <div id="bannercontent"> <h1> </h1> </div> </div> <div id="nav-menu"> <?php /* You can modify this template into a table or something, by default it's list elements inside of a UL. Here's a link with some info: http://articles.sitepoint.com/article/css-anthology-tips-tricks-4/2 */ Template::Show('core_navigation.tpl'); ?> </div> <div id="left"> <div id="box"> <h3>Recent Reports</h3> <?php MainController::Run('PIREPS', 'RecentFrontPage', 5); ?> </div> <div id="box"> <h3>Newest Pilots</h3> <?php MainController::Run('Pilots', 'RecentFrontPage', 5); ?> </div> <div id="box"> <h3>Pilots Online</h3> <?php MainController::Run('Vatsim', 'create_vatsim_data', '!CLIENTS:', 'PILOT', 'HVA'); ?> </div> </div> <div id="right"> <div id = "box"> <?php /* This will insert all of the "meat" of the page in there - the template which is generated, depending on which page you're on. To change these templates, check out the docs on the site. They're under the /core/templates folder, and to change them, copy them into the folder of your skin (the folder this file is in right now. */ echo $page_content; ?> </div> </div> <div id="footer"><p>copyright © 2007 - <?php echo date('Y') ?> - <?php echo SITE_NAME; ?><br /> <!-- Please retain this!! It's part of the phpVMS license. You must display a "powered by phpVMS" somewhere on your page. Thanks! --> <a href="http://www.phpvms.net" target="_blank">powered by phpVMS</a> - <a href="http://vairline.org" target="_blank">Design by vAirline</a>/<a href="http://nicktyson.com" target="_blank">Nick Tyson</a></p></div> </div> </body> </html> Also How would i get it to show No Pilots Online when there are non? Thanx
  2. Hello Im trying to add on a Feature on my website for a "who is online" feature. The link to my site is www.hootersairva.org I want to put it under the newest pilot section. Any help will be helpful -Pedro CEO HootersAirVa
  3. Ive seen many VAs do this when a new pilot applies he/she must go thru a questionnaire and pass it before the actual application can be submitted. How is it done? any tips or pointers would be appreciated.
  4. We are under BETA Stages still. Looking for Pilots and staff. Visit us and tell us what you think so far www.hootersairva.org
  5. Hello im new to the phpvms world and im tgrying to figure out where i can set up a welcome email that gets sent out to pilots. the stock one is well not good for my needs...any help is welcomed thanx
×
×
  • Create New...