Jump to content

Industrialshadow

Members
  • Posts

    182
  • Joined

  • Last visited

Everything posted by Industrialshadow

  1. anybody a idea to become the Screenhot in rthe left side? see my post above the link
  2. Thank you it works. Previously I had only ever shown from javascript and I got lost my page. Again something learned. Thanks
  3. doesnt anybody have an idea?
  4. Hello Friends I have installed the Obsess Blue Template. Now i beginning the styling to my Airline. Whre can i delete the Both Ticker boxes in the middle of the Content? I dont need this in my Va. Many thanks for tips or codes Here is my actually layout.tpl attached <?php ?> <!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> <title><?php echo $page_title; ?></title> <meta http-equiv="content-type" content="text/html; charset=ISO 8859-15"/> <link href="<?php echo SITE_URL?>/lib/skins/ObsessBlue/StyleSheet.css" rel="stylesheet" type="text/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 */ ?> </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 class="size"> <div class="header"> <div class="header01"> <div class="logo"> <img src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_15.jpg" alt="" /> </div> <div class="hright"> <div class="hr01"> <div class="hr0101"> <a href="<?php echo SITE_URL?>/index.php/Exams">ExamCenter</a></div> <div class="hr0102"> <a href="<?php echo url('/schedules/view');?>">Schedules</a></div> <div class="hr0102"> <a href="<?php echo url('/Forum'); ?>">Forum</a></div> <div class="hr0102"> <a href="<?php echo SITE_URL?>/index.php/contact">Contact Us</a></div> </div> <div class="hr02"> <?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"> Pilot id or Email<br /> <input type="text" name="email" value="" onClick="this.value='TVA'" /> <input type="password" name="password" value="" /> <input type="hidden" name="remember" value="on" /> <input type="hidden" name="redir" value="index.php/profile" /> <input type="hidden" name="action" value="login" /> <input type="submit" name="submit" value="Log In" /> </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, this gets their full pilot id, formatted properly */ $pilotid = PilotData::GetPilotCode(Auth::$userinfo->code, Auth::$userinfo->pilotid); ?> <h3>Welcome Back <?php echo Auth::$userinfo->firstname;?> </h3> <?php } /* End the else */ ?> </div> </div> </div> <div class="mnav"> <img class="mnimgl" src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_37.jpg" alt="" /> <img class="mnimgr" src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_50.jpg" alt="" /> <div class="mnm"> <ul> <li><?php Template::Show('core_navigation.tpl'); ?></li> </ul> </div> </div> </div> <div class="content"> <div class="cmainimg"> <img alt="" src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_73.jpg" /> </div> <div class="mcontent"> <div class="mcleft"> <div class="mcbox01"> <div class="mc01t"> MAIN MENU </div> <div class="mc01c"> <ul> <li><?php Template::Show('core_navigation.tpl'); ?></li> </ul> </div> <div class="mc01b"> <img src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_272.jpg" alt="" /> </div> </div> <div class="mcbox01"> <div class="mc01t2"> New Pilots </div> <div class="mc01cc"> <ul> <?php MainController::Run('Pilots', 'RecentFrontPage', 5); ?> </ul> </div> <div class="mc01b"> <img src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_272.jpg" alt="" /> </div> </div> <div class="mcbox01"> <div class="mc01t2"> Latest News </div> <div class="mc01cc"> <ul> <?php PopUpNews::PopUpNewsList(5); ?> </ul> </div> <div class="mc01b"> <img src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_272.jpg" alt="" /> </div> </div> <div class="mcbox01"> <div class="mc01t2"> Latest Flights </div> <div class="mc01cc"> <ul> <?php MainController::Run('PIREPS', 'RecentFrontPage', 5); ?> </ul> </div> <div class="mc01b"> <img src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_272.jpg" alt="" /> </div> </div> <div class="mcbox01"> <div class="mc01t2"> VA Stats </div> <div class="mc01cc"> <ul> <br /> <strong>Total Flights: </strong><?php echo StatsData::TotalFlights(); ?><br /> <strong>Total Hours Flown: </strong><?php echo StatsData::TotalHours(); ?><br /> <strong>Total Flights Today: </strong><?php echo StatsData::totalflightstoday(); ?><br /> <strong>Total Cargoschedules: </strong><?php echo StatsData::totalschedules(); ?><br /> <strong>Total Aircraft In Fleet: </strong><?php echo StatsData::TotalAircraftInFleet(); ?><br /> <strong>Total Fuel Burned: </strong><?php echo StatsData::TotalFuelBurned(); ?><br /> <strong>Miles Flown: </strong><?php echo StatsData::TotalMilesFlown(); ?><br /> <strong>Cargo Carried: </strong><?php echo StatsData::TotalCargoCarried(); ?><br /> <?php $usersonline = StatsData::UsersOnline(); $guestsonline = StatsData::GuestsOnline(); ?> <h4>Pilots Online</h4> <?php foreach($usersonline as $pilot) { echo "<p>"; echo '<img src="'.Countries::getCountryImage($pilot->location).'" alt="'.Countries::getCountryName($pilot->location).'" />'; echo "{$pilot->firstname} {$pilot->lastname}<br />"; echo "</p>"; } ?> <h4>Guests Online</h4> <p class="txt-red10">Currently <?php echo count($guestsonline);?> guest(s) visiting. </p> </ul> </div> <div class="mc01b"> <img src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_272.jpg" alt="" /> </div> </div> <div class="mcbox01"> <div class="mc01t2"> LINKS </div> <div class="mc01cc"> <ul> <li><a href="http://www.ivao.de">IVAO</a></li> <li><a href="http://www.vatsim.net">Vatsim</a></li> <li><a href="http://www.silent-front.de/">Silent Front</a></li> <li><a href="http://www.navigraph.com">Navigraph</a></li> <p></p> <align="center"><img src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/FSPax.png" alt="" /> <p></p> <align="center"><img src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/VAcentral.png" alt="" /> </ul> </div> <div class="mc01b"> <img src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_272.jpg" alt="" /> </div> </div> </div> <div class="mcright"> <div class="mc01"> <div class="mc0101" style="left: 0px; top: 0px"> <img class="r0101" src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_150.jpg" alt="" /> <img class="r0102" src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_153.jpg" alt="" /> <img class="r0103" src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_202.jpg" alt="" /> <img class="r0104" src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_205.jpg" alt="" /> <div class="mcr"> <div class="mcr01"> Board informations </div> <div class="mcr02"> <script type="text/javascript"> // Highlighter Scroller II script- By JavaScript Kit (http://www.javascriptkit.com) // For this and over 400+ free scripts, visit http://www.javascriptkit.com/ // This notice must stay intact //CONFIGURE MESSAGES AND VARIABLES var tickercontents=new Array() tickercontents[0]='New Design' tickercontents[1]='Realistic Aircraftdata' tickercontents[2]='Pilot Payment System' tickercontents[3]='and many more in our Community' var tickerwidth="300px" var tickerheight="25px" var fontcss="font: bold 10px Verdana; color:black" var tickdelay=4000 //delay btw messages var highlightspeed=2 //2 pixels at a time. var highlightcolor="white" var backdroptextcolor="#E1E1E1" ////Do not edit pass this line//////////////// document.write('<style>#highlighterbg a{color:'+backdroptextcolor+'}</style>') document.write('<div style="position:relative;left:0px;top:0px; width:'+tickerwidth+'; height:'+tickerheight+';'+fontcss+'">') document.write('<span id="highlighterbg" style="position:absolute;left:0;top:0;color:'+backdroptextcolor+'; width:'+tickerwidth+'; height:'+tickerheight+';padding: 4px"></span><span id="highlighter" style="position:absolute;left:0;top:0;clip:rect(auto auto auto 0px); background-color:'+highlightcolor+'; width:'+tickerwidth+';height:'+tickerheight+';padding: 4px"></span>') document.write('</div>') var currentmessage=0 var clipbottom=1 function changetickercontent(){ msgheight=clipbottom=crosstick.offsetHeight crosstick.style.clip="rect("+msgheight+"px auto auto 0px)" crosstickbg.innerHTML=tickercontents[currentmessage] crosstick.innerHTML=tickercontents[currentmessage] highlightmsg() } function highlightmsg(){ //var msgheight=crosstick.offsetHeight if (clipbottom>0){ clipbottom-=highlightspeed crosstick.style.clip="rect("+clipbottom+"px auto auto 0px)" beginclip=setTimeout("highlightmsg()",20) } else{ clipbottom=msgheight clearTimeout(beginclip) if (currentmessage==tickercontents.length-1) currentmessage=0 else currentmessage++ setTimeout("changetickercontent()",tickdelay) } } function start_ticking(){ crosstickbg=document.getElementById? document.getElementById("highlighterbg") : document.all.highlighterbg crosstick=document.getElementById? document.getElementById("highlighter") : document.all.highlighter crosstickParent=crosstick.parentNode? crosstick.parentNode : crosstick.parentElement if (parseInt(crosstick.offsetHeight)>0) crosstickParent.style.height=crosstick.offsetHeight+'px' else setTimeout("crosstickParent.style.height=crosstick.offsetHeight+'px'",100) //delay for Mozilla's sake changetickercontent() } if (document.all || document.getElementById) window.onload=start_ticking </script> </div> </div> </div> <div class="mc0102"> <img class="r0101" src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_155.jpg" alt="" /> <img class="r0102" src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_157.jpg" alt="" /> <img class="r0103" src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_207.jpg" alt="" /> <img class="r0104" src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_209.jpg" alt="" /> <div class="mcl"> <div class="mcl01"> SF Logisitk </div> <div class="mcl02"> Under Construction </div> </div> </div> </div> <div class="mc02"> <div class="mc0202" style="width: 18px; height: 15px"> </div> <div class="mc0203"> <div class="mc020301"> <?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 class="mc020302"> </div> </div> </div> </div> </div> <div class="footer"> <img class="mnimgl" src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_275.jpg" alt="" /> <img class="mnimgr" src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/img_291.jpg" alt="" /> <font color="#ffffff">Copyright 2011 SF Logistik | <!-- By using this template you agree not to remove or edit the copyright & author links below --> <a style="color: #ffffff" href="http://www.phpvms.net/" target="_blank">CMS </a> by <a style="color: #ffffff" href="http://www.phpvms.net/" target="_blank">PHPVMS</a></font> </div> </body> </html>
  5. Wow many thanks for help. Its working.......I will give you a virtual beer cheers I have another Question Now. Were can i add the random image in my sidebar like See her
  6. Yes that is correct but the machine can still be booked at another airport, but I want to as long as the machine is not available until it has landed. For example, the machine D-CeHa is booked by EDDB to EDDC Then they should not be completely booked up this recognition is free again at the airport
  7. hm and we can i solve the Problem? i dont know
  8. Hi I have made this so. When i will use your code <?php Screenshots::show_random_screenshot(); ?> i become a failure whos called Parse error: syntax error, unexpected '<' in /www/htdocs/w00dac26/SF/lib/skins/ObsessBlue/frontpage_main.tpl on line 15 and here is my frontpage_main.tpl <div class="mc0201"> Welcome to SF Logistik </div> <br /> <br /> <div class="mc020303"> <?php // Show the News module, call the function ShowNewsFront // This is in the modules/Frontpage folder MainController::Run('FrontBids', 'RecentFrontPage', 15); Template::Show('acarsmap.tpl'); <?php Screenshots::show_random_screenshot(); ?>]<----i will use this and then come the error ?> </div> <div class="mc020303"> </div>
  9. I dont know what the Problem. I have make a Update of my System and now its working. I cannot reproduce the Failure Sorry
  10. For German Users Hallo Ich habe eine Frage Wie ist es möglich, das man einen Fluplan erstellt mit der eigenen Flotte Es sollte wie folgt funktionieren. Eine Cessna 208 ist in der Datenbank eingepflegt Diese wird nun gebucht und soll dann nicht mehr verfügbar sein. Das heißt zum Beispiel ein Flug von Berlin nach dresden wurde gebucht, und nun soll die Maschine verschwinden, so das es nicht möglich ist von dresden aus die Maschine zu buchen, bis sie gelandet ist. Ich hoffe es weiß jemand einen rat oder kann mich dabei unterstützen. For English Users Hello I have a question how is it possible that you created a Flightplan with its own fleet, it should work as follows. A Cessna 208 is entered in the database This is now booked and will no longer be available. That means, for example a flight from Berlin was booked to Dresden, and now the machine will disappear, so it is not possible to book from Dresden, the machine until it landed. I hope it does anybody any advice or can help me.
  11. Hi thanks now working fine.Thanks for help Best Regards
  12. Hello folks I have installed this Addon. All working fine but i have a Problem with the Random Pics on my Mainsite I have added in the frontpagemain.tpl my code to show a randompic Template::Show('screenshots_random.tpl'); This doesnt work. When i using the php codes in the first post. I become a failuremessage from my server. Any idea? You can look here the Problem on the Ground of the Website Click me to see the Failure
  13. its solved Now is working perfect for us. We have found the Failure Thanks for all
  14. Hello I have a little Problem with teh Fuel.tpl I have added my Aircraft Beech 1900 C called with ICAO Code B190 <?php /** *Fuelflow Table */ $fuelflowB190 = 411; $fuelflowC208 = 180; /** *Reserves Table */ $reservesB190 = 112; $reservesC208 = 100; if($schedule->aircraft == 'B190') { $fuelflow = $fuelflowB190; $reserves = $reservesB190; } if($schedule->aircraft == 'C208') { $fuelflow = $fuelflowC208; $reserves = $reservesC208; } But doenst work. The Cessna 208 is working fine but the B190 not Can anybody help me Thanks
  15. Good Morning I get this Error when i will login with my ID and my Password. And Idea? Informationen über das Aufrufen von JIT-Debuggen anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung. ************** Ausnahmetext ************** System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt. bei . (Object , EventArgs ) bei System.Windows.Forms.Control.OnClick(EventArgs e) bei System.Windows.Forms.Button.OnClick(EventArgs e) bei System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) bei System.Windows.Forms.Control.WndProc(Message& m) bei System.Windows.Forms.ButtonBase.WndProc(Message& m) bei System.Windows.Forms.Button.WndProc(Message& m) bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Geladene Assemblys ************** mscorlib Assembly-Version: 2.0.0.0. Win32-Version: 2.0.50727.5420 (Win7SP1.050727-5400). CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll. ---------------------------------------- kACARS - Free Assembly-Version: 1.0.0.9. Win32-Version: 1.0.0.9. CodeBase: file:///C:/Program%20Files/FS-Products/kACARS_Free/kACARS%20-%20Free.exe. ---------------------------------------- System.Windows.Forms Assembly-Version: 2.0.0.0. Win32-Version: 2.0.50727.5420 (Win7SP1.050727-5400). CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll. ---------------------------------------- System Assembly-Version: 2.0.0.0. Win32-Version: 2.0.50727.5420 (Win7SP1.050727-5400). CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll. ---------------------------------------- System.Drawing Assembly-Version: 2.0.0.0. Win32-Version: 2.0.50727.5420 (Win7SP1.050727-5400). CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll. ---------------------------------------- System.Xml Assembly-Version: 2.0.0.0. Win32-Version: 2.0.50727.5420 (Win7SP1.050727-5400). CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll. ---------------------------------------- FSUIPCClient Assembly-Version: 1.3.2758.28. Win32-Version: 1.3.2758.28. CodeBase: file:///C:/Program%20Files/FS-Products/kACARS_Free/FSUIPCClient.DLL. ---------------------------------------- System.Configuration Assembly-Version: 2.0.0.0. Win32-Version: 2.0.50727.5420 (Win7SP1.050727-5400). CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll. ---------------------------------------- mscorlib.resources Assembly-Version: 2.0.0.0. Win32-Version: 2.0.50727.5420 (Win7SP1.050727-5400). CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll. ---------------------------------------- System.Windows.Forms.resources Assembly-Version: 2.0.0.0. Win32-Version: 2.0.50727.4927 (NetFXspW7.050727-4900). CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll. ---------------------------------------- ************** JIT-Debuggen ************** Um das JIT-Debuggen (Just-In-Time) zu aktivieren, muss in der Konfigurationsdatei der Anwendung oder des Computers (machine.config) der jitDebugging-Wert im Abschnitt system.windows.forms festgelegt werden. Die Anwendung muss mit aktiviertem Debuggen kompiliert werden. Zum Beispiel: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> Wenn das JIT-Debuggen aktiviert ist, werden alle nicht behandelten Ausnahmen an den JIT-Debugger gesendet, der auf dem Computer registriert ist, und nicht in diesem Dialogfeld behandelt.
  16. Hi Nabeel Ok i will take a flight today and send you the Files. Many Thanks
  17. Hi Nabeel Yes thats video have i looked. But the Problem is not solved. I hope a Member help who have registred on my Site. Cheers
  18. Im confused. At the moment its working fine.Im very Confused. :blink: :blink:
  19. ok can you help me to make this? im not a profi .. Thanks
  20. is the addon in production or not? On this Site i cannot test it.Database connection btf. Acess denied. Who can i test it.
  21. Thanks great addon. But look here. This is a Problem http://sflogistik.dhl-aircargo.de/index.php/timetable And whre can i change the Name of the Table to our Airline Name? Thanks
  22. I have puttet all neccesary Files in the Aircraft. All our Aircrafts can use by the Rank...Also i have put all Realdata´s in the Aircraft...But nothing is working.Also i have change the aircraft to non restricted Rank.Also not working. Hope anybody can help me.. For more Infos can i make a Admin account for helping peoples. Thanks
  23. Hello i have downloaded the xAcars.ini from the PilotCenter. And also i have puttet it in the Acars Forlder. But dont working... Im not a Scripter or else.....Im a Beginner with PHPVMS.... Need more Help please. Thanks
  24. Hello Friends I hav some Problme with XAcars See the Pic. A Schedule is booked but i dont see it in the XAcars And in the Settings is a Acars Server Password.i dont find it in any config.Whre can i set this?. I need a litlle bit more help to bring it online please. Thanks all
  25. no one can help me?
×
×
  • Create New...