Jump to content

Tom

Members
  • Posts

    1517
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Tom

  1. It's like that, but nicer
  2. Tom

    xampp

    Unless you've set it up to forward traffic through you should be fine. Test it by going to whatismyip.com and pasting your external IP into your browser.
  3. Tom

    SimpleNews

    SimpleNews SimpleNews is a basic module which builds upon the default functionality of the phpVMS News system, allowing you to show a list of links to latest news items, a paginated view of news items and an individual page per item. No attribution or link back is required (see Licence). Installation To install, simply extract the contents of the zip archive and drag the contents into the root public folder of your phpVMS installation. Usage To display a list of latest news items anywhere on your site, call the following: <?php SimpleNews::NewsList(); ?> By default the list will show the 5 latest items, however you can configure it to show however many you wish, as follows: <?php SimpleNews::NewsList(10); ?> You can link to a paginated list of news items at index.php/SimpleNews or a certain page of the list at index.php/SimpleNews/page/2 etc. (In theory this is compatible with the likes of the jQuery infinite scroll plugin, but I haven't tested it) You can also link to a single news item like so: index.php/SimpleNews/item/1 Licence Released under the ☺ Licence Feel free to edit this code however you want. Please also don't hesitate to fork this repo and raise pull requests in order to extend the module however you feel is appropriate. View on github: https://github.com/t...ritt/SimpleNews Download zip: https://github.com/t.../zipball/master
  4. Tom

    xampp

    If you allow traffic through your firewall etc on port 80 then people can see it, yes.
  5. Too small? Looks fine here, just not centered. However the design, and most likely backend coding too, is very outdated, and you have possible the least search engine friendly URL scheme I have ever seen...
  6. Tom

    SQL,

    https://www.google.co.uk/search?&ie=UTF-8&q=php+mysql+tutorial
  7. Tom

    Web Services

    You use a sparkly wand custom mouse cursor and attempt (I say attempt, it never works anymore) to disable right click... Seriously, internet circa 2002 right there. :/
  8. Didn't POSKY release a fix for this?
  9. Have a feeling he was talking to the OP >.>
  10. I don't think you get much of that without 'powered by phpVMS' somewhere.
  11. There's nothing wrong with how it looks, I have a large monitor - the design is 1200 pixels wide - to accomodate for most monitors you should be designing for 960 or using responsive css for smaller screens
  12. Well... the design is too wide for a large percent of, if not most, monitors. The code looks like it's been done with one of those automatic visual website creator things... very inefficient ways of doing things. Looks nice though.
  13. Tom

    ACARS

    Don't use Visual Basic. C# is better... http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-csharp-express
  14. It's in pages_content.tpl - but that's for ALL pages rather than on a page by page basis.
  15. Surely this can just be integrated into phpVMS as a module? Then no additional login is required.
  16. It's because you're using a table... stupid tables. Just add vertical-align:top; to the css for that td.
  17. You can use Google Docs... just go Share in the top right, at the top it'll say Private blah blah Change... Click change, choose anyone with the link, then save... it'll give you a link.
  18. Write an SQL statement to select pilot.username, pilot.password, pilot.airlineid and airline.airlinecode where airline.airlineid = pilot.airlineid (because I don't think airline code is stored in pilot table, that would be super inefficient). Then you mysql_fetch_array() your query and voila, array.
  19. Can you not just make each of the airlines then?
  20. One airline = one ICAO... it's unique. Virgin Australia is technically made up of a number of other brands.
  21. Well, I assume the phpVMS method could still be used? I just left "// Do the sending part" to let people put anything... I couldn't remember the util function off the top of my head Here is my revised version: $emails = array('email1@gmail.com', 'email2@yahoo.com', 'email3@msn.com'); $message = 'Your Message'; $subject = 'Email Subject'; foreach($emails as $email){ Util::SendEmail($email, $subject, $message); } (Requires no modification of the core function) Though simpilot, you should add that as a pull req if you haven't already... no doubt useful for future versions
×
×
  • Create New...