Jump to content

freshJet

Members
  • Posts

    1470
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by freshJet

  1. I want to make an RSS Feed for latest news. This is my code: lib/rss/latestnews.rss <?xml version="1.0" encoding="utf-8"?><rss version="2.0"> <channel> <title>Latest News</title> <link>http://www.freshjetvirtual.com</link> <description>All the latest news from freshJet</description> <lastBuildDate>Thu, 10 Nov 2011 06:36:50 CST</lastBuildDate> <language>en-us</language> <item> <title><?php echo PopUpNews::GetFieldValue($popupnews->subject);?></title> <description><?php echo PopUpNews::GetFieldValue($popupnews->body);?></description> <link>http://www.freshjetvirtual.com/index.php/PopUpNews/popupnewsitem/?itemid=<?php echo PopUpNews::GetFieldValue($popupnews->id);?></link> <pubDate><?php echo PopUpNews::GetFieldValue($popupnews->postdate);?></pubDate> <description></description> </item> </channel> </rss> It won't work. I've got a channel but no content. Does the PHP not work because it's external?
  2. Different VAs have different numbers of hours before promotion. Airlines in the real world will obviously have a much higher number required. Many VAs claim to have a realistic system similar to real-world airlines, where they fly for about 50 hours just as a Trainee! I think that's a little much. I just wanted to know everyone's opinions on the topic, and what you have yours set to at the moment. Here's mine: freshJet Ranks
  3. Oh yeah I fixed it my problem. Process starts here
  4. freshJet

    Bording Pass

    Find a Southwest boarding pass on Google Images or something and use Paint.NET or Gimp if you don't have Photoshop to get the image a reasonable size and remove any parts you don't want/need. Open the schedule_boardinpass.tpl file and add this at the top: <style type="text/css"> [div name] { background-image: url(http://www.yoursite.com/boardingpass.png) } </style> Then to position the text, use this before every PHP declaration: <p style="margin-left:0px; margin-top:0px;">... Remember to change [div name] to the name of the div in the file (<div id="______">), and the URL to your boarding pass image URL. Also, you'll need to change the margin values to suit your needs. Hope that's not too confusing
  5. freshJet

    Bording Pass

    1. Open core/templates/boardingpass.tpl 2. Use an image editor to create the background 3. Add the background to the page using CSS View it at yoursite.com/index.php/schedules/boardingpass/XXX (where X is the schedule ID)
  6. Just wanted a few more opinions now that it's a few months later...
  7. Try this: <script type="text/javascript"> function Ajax(){ var xmlHttp; try{ xmlHttp=new XMLHttpRequest();// Firefox, Opera 8.0+, Safari } catch (e){ try{ xmlHttp=new ActiveXObject("Msxml2.XMLHTTP"); // Internet Explorer } catch (e){ try{ xmlHttp=new ActiveXObject("Microsoft.XMLHTTP"); } catch (e){ alert("No AJAX!?"); return false; } } } xmlHttp.onreadystatechange=function(){ if(xmlHttp.readyState==4){ document.getElementById('ReloadThis').innerHTML=xmlHttp.responseText; setTimeout('Ajax()',10000); } } xmlHttp.open("GET","ab.php",true); xmlHttp.send(null); } window.onload=function(){ setTimeout('Ajax()',10000); } </script> <div id="ReloadThis"> <!--Flightboard PHP code goes here--> </div>
  8. A link to something...
  9. freshJet

    Caught!

    I was looking at my emails today I saw a name I thought was familiar. I opened it and, right enough, I remember removing this guy. Seems he has other targets too:
  10. Use the feed from the briefings (depnotam.tpl/arrnotam.tpl) or see where vroute gets theirs from...
  11. Now I've been told not to keep backups on the server under my account. What on earth does that mean? What do I do? Oh, by the way, they're blocking my account if I don't fix it in 24 hours (about 20 hours now)
  12. Well that was popular...
  13. This has happened several times and it's got to stop. Basically, if I'm editing a file, say in the lib folder, then occasionally I go to refresh my site and I get errors and no site. So, when I go back to cPanel to see what's wrong, it says the directory is empty, then when I go back to public_html I realise it isn't empty - it's gone. Thankfully, JustHost has managed to retrieve and restore the folder each time (in this case today it was my core folder). Any ideas?
  14. Hey all, Just made a vaCentral icon (32x32) for you all to use. Hope you don't mind Nabeel Download: Right-click the icon and select 'Save As'. Enjoy.
  15. Thanks! Works great!
  16. Didn't work. I take it it's <?php number_format($number); echo StatsData::TotalPaxCarried(); ?>
  17. I want to separate numbers in stats like 30000 -> 30,000. How do I do it?
  18. No, I can't access the files. When I try to open the zip it says it's corrupt. Can you just paste the codes on here?
  19. Yeah I realise that but you said tomorrow three days ago.
  20. That's been 3 days!!!
  21. Very nice indeed. I don't like the orange background - it just doesn't contrast with the logo. Saying you leased an A320 from Jetblue isn't a great idea - they might bring something up on the matter. Anyway, love the logo too!
  22. Can you change the footer to: Original Design by Iain Robb rather than the one you have now, because it's been edited so much it doesn't even look like the one I made any more.
  23. Thanks Tell me what you think from here (Click on a flight)
  24. Yes master
×
×
  • Create New...