initCK(); if ($_insUidCk->CKinSession()) { $sesUserID = $_insUidCk->getUserID(); $sesUserName = $_insUidCk->getValueCK('UserName'); //there is no name in the query string, but the user is in session. if(empty($_AccountShowName)|| strlen($_AccountShowName)==0) $_AccountShowName=$sesUserName; if($_AccountShowName==$sesUserName){ $_AccountShowID = $sesUserID; $login_and_visit_home = true; } $alreadyLogin=true; } }catch (V9Exception $e){ $e->handleError(); }catch (Exception $e){ print $e->getMessage(); print "\n
\n"; exit; } list($avatarUrl,) = tools::getStorage('avatars'); $defaultAvatar_2 = $avatarUrl . 'default_2.jpg'; $defaultAvatar_3 = $avatarUrl . 'default_3.jpg'; $_AccavatarShow = 'http://files.airporters.net/resources/site/siteavatar.jpg'; $formhash = tools::formhash(); $characters = explode(',','merger,SkyTeam,NASA,MIDT,BIDT,FAA,Feedback,first_class,first_officer,flight_attendant,flight_engineer,fokker,forum,frequent_flyer_program,fuel,funny,Galileo,Health,helicopter,hotel,IATA,ICAO,image,images,in_flight,Japan_Airlines,job,jobs,landing,locator,Lockheed,lounge,Lufthansa ,luggage,maintenance,Mcdonnell_Douglas,MD11,MD80,MD90,meal,media,Microsoft,military,organization,passenger,patheo,photos,pilot,places-to-go,purser,red-eye,regional,Reuters,Rolls-Royce ,rumours,runway,Sabre,safety,seat_map,seating,second_officer,segmentation,SITA,SU-27,subscribe,suggestions,Sukhois,terminal,things-to-see,third_officer,ticket,timetable,top-ten,tourism,traffic_control,training,travel,travel_agency,travel_class,travelport,trip_reports,Twitter,video,VISA,weather,websites,world,Worldspan,A380,Abacus,accident,accidents,agency,air_force,Airbus,aircraft,aircrew,airline,airliner,Amadeus,Amazing,Apple,arrivals,association,aviation,aviation-news,B717,B737,B747,B757,B767,B777,B787,blog,blogs,Bloomberg,boarding,body_scanner,Boeing,business,business_class,cancellation,captain,carrier,Cathay,check-in,class,code-share,commercial,concorde,country,crash,DC10,deadheading,defence,depatures,development,domestic,Douglas,economy_class,electronic_ticket,embraer,engines,environment,etravel,events'); shuffle($characters ); array_slice($characters,0,50); $_ONLINE_ = true; $_MODE_ = '1'; $OS_Path_Seperator = tools::getSeprator(); include_once 'SpaceFunction.inc'; $rqtCurrentPage = tools::getParameter('page',1); $tpl = 'msglist'; //include 'pageparts.inc'; $limit = 10; $q = " SELECT BD_SPACEITEMCMT.TITLE 'name' , BD_SPACEITEMCMT.DESCRIPTION 'desc' ,BD_SPACEITEMCMT.LOCATION ,BD_SPACEITEMCMT.SPICMTID ,BD_SPACEITEMCMT.SPACEITEMID ,'' 'REPRESENTIMAGE' ,BD_SPACEITEMCMT.SERIECHOOSETYPE ,BD_SPACEITEMCMT.CMTSERIEID ,'1' 'FLAGIMAGE' ,BD_SPACEITEMCMT.FLAGDETAIL 'FlagDetail' ,BD_SPACEITEMCMT.COMPONENTID ,BD_SPACEITEMCMT.FLAGCOMMENT ,BD_SPACEITEMCMT.DATECREATE ,BD_SPACEITEMCMT.LASTMODIFY ,BD_SPACEITEMCMT.FLAGACTIVE ,BD_SPACEITEMCMT.SCROLLHEIGHT ,BD_SPACEITEMCMT.RPIMAGELAYOUT ,T.SPACECMTPUBLISHER -- New field ,USERNAME PUBLISHERNAME -- New field FROM BD_SPACEITEMCMT JOIN (SELECT SPACECMTPUBLISHER,USERNAME,MAX(SORTSTAMP) ST FROM BD_SPACEITEMCMT JOIN BD_USER SPICMTUSER ON (SPICMTUSER.USERID=BD_SPACEITEMCMT.SPACECMTPUBLISHER) WHERE -- BD_SPACEITEMCMT.DATESTART <= 1271699341 AND BD_SPACEITEMCMT.DATEEND >= 1271699341 AND BD_SPACEITEMCMT.SPACECMTPUBLISHER = '4b39ff59c98d0' and BD_SPACEITEMCMT.SPACEITEMID='4b39ff59c98d0' BD_SPACEITEMCMT.FLAGACTIVE='1' AND BD_SPACEITEMCMT.LOCATION = '32' GROUP BY SPACECMTPUBLISHER,USERNAME ORDER BY ST DESC limit $limit ) T ON (ST=SORTSTAMP AND T.SPACECMTPUBLISHER=BD_SPACEITEMCMT.SPACECMTPUBLISHER) ORDER BY BD_SPACEITEMCMT.SORTSTAMP DESC"; try{ $con = tools::getDBConnection_bd() ; $resPageItem = $con->getData($q); $con->disconnect() ; }catch (V9Exception $e){$e->handleError();} $part1 = (array_slice($resPageItem,-4,4)); $part2 = array_slice($resPageItem,0,$limit-4); $resPageItem = array_merge($part1,$part2); $Loc2Cmt = transPageItem($resPageItem); ?> Airporters!
 

$v  " ?>