Connor1994 Posted August 27, 2010 Report Share Posted August 27, 2010 Hi all, posted previously about how to go around getting something like this: Never really got a strong response, Nabeel suggested something like: <table> <tr> <td>flight num</td> ... <td>deprt city</td> <?php // We are gonna loop each day of the week for($dayofweek = 0; $dayofweek < 7; $dayofweek++) { // echo our column opening echo '<td>'; // Check if $i (the current day of week) exists if(substr_count($schedule->daysofweek, $dayofweek) > 0) { // there is a flight for sunday , so echo that plane icon out echo 'plane icon'; } // Close that column echo '</td>'; } ?> <td>arrival time</td> ... </tr> </table> I am not the best at coding, could someone please give me some sort of instructions ? I would like it to look like the picture although not exact as it looks like I would be asking for too much then Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted August 28, 2010 Administrators Report Share Posted August 28, 2010 I did this for jet2virtual.org when it was in operation. It is a bit cumbersome and could be refined but serves the purpose. You will have to change the image links. http://pastebin.com/Ka5MEtaZ It will produce something like this -> http://www.simpilotgroup.com/skins/index.php/Schedules Be sure to have the skin set to jet2org..... 2 Quote Link to comment Share on other sites More sharing options...
Moderators Kyle Posted August 28, 2010 Moderators Report Share Posted August 28, 2010 Thank you for that simpilot. I'll will try that when i get home. Becasue i been looking something like this for a while. Thanks for sharing simpilot. +1 for your rep Quote Link to comment Share on other sites More sharing options...
Connor1994 Posted August 28, 2010 Author Report Share Posted August 28, 2010 Thanks a million, exactly what i was looking for :L Quote Link to comment Share on other sites More sharing options...
Tylor Eddy Posted January 24, 2011 Report Share Posted January 24, 2011 Just stumbled across this layout, looks amazing, anyone able to share this?, your link is dead simpilot Quote Link to comment Share on other sites More sharing options...
Tylor Eddy Posted January 24, 2011 Report Share Posted January 24, 2011 Just stumbled across this layout, looks amazing, anyone able to share this?, your link is dead simpilot ps. sorry for the double post Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted January 24, 2011 Report Share Posted January 24, 2011 Hi Tylor. That pastebin is long gone. It was from August I believe. That is a nice little ditty though. I never saw it before. Quote Link to comment Share on other sites More sharing options...
Tylor Eddy Posted January 24, 2011 Report Share Posted January 24, 2011 Hi Tylor. That pastebin is long gone. It was from August I believe. That is a nice little ditty though. I never saw it before. Its a shame, it looks stunning, clean layout and easier to use than the default setup, if anyone has this code, or something similar, and is willing to share, don't hesitate ! lol Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 25, 2011 Administrators Report Share Posted January 25, 2011 Look at the code I had posted... that's the basic starting point for that Quote Link to comment Share on other sites More sharing options...
Tylor Eddy Posted January 27, 2011 Report Share Posted January 27, 2011 Look at the code I had posted... that's the basic starting point for that Thanks Nabeel, i was keen to get some developed code as i have a very limited knowledge with developing tables, i can edit, move things around and thats about it, im not sure where to start with your code, if you could help nudge me in the right direction along the way that'd be great, and id learn alot out of it as well. Cheers Quote Link to comment Share on other sites More sharing options...
Cor Posted January 27, 2011 Report Share Posted January 27, 2011 Too bad the code is not availible at this moment anymore. I really like it too. Maybee somebody has something lying around:-) Regards, Cor Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.