Jump to content

jamyboy

Members
  • Posts

    94
  • Joined

  • Last visited

Everything posted by jamyboy

  1. hey guys i was hoping if someone can help me to show my recent downloads uploaded on the main page or on pilot profile would be great because sometimes when we update the download section or upload a new Acars version or Aircrafts people still be asking so i think it would be great idea to show recent uploaded download would be easier for pilots to know? Help would be really appreciated. Thanks James
  2. this is what you r looking for http://forum.phpvms.net/topic/3252-user-selectable-skins/ http://forum.phpvms.net/topic/5097-different-template-for-one-page/ good day james
  3. oh thank you very much flightguy i sorted out its working fine (SOLVED)
  4. i have checked it but getting Error this is how i placed the code if i am doing it wrong way please paste the full code for me as help <?php foreach($pilot as $pilot) { ?> <tbody> <tr> <td><?php echo PilotData::GetPilotCode($pilot->code, $pilot->pilotid). ' ' .$pilot->firstname . ' ' . $pilot->lastname?></td> <td><?php echo $userinfo->airlines;?></td> <td><img src="<?php echo Countries::getCountryImage($userinfo->location);?>" alt="<?php echo Countries::getCountryName($userinfo->location);?>" /> <?php echo Countries::getCountryName($userinfo->location);?></td> <td><?php echo $userinfo->hub;?></td> <td><?php echo $userinfo->rank;?></td> <td><?php echo date(DATE_FORMAT, strtotime($userinfo->joindate));?></td> <?php } ?>
  5. Dear Members i need help in diplaying my new pilot information on front page of my website such as <th scope="col" class="rounded-company">Pilot Name</th> <th scope="col" class="rounded-q1">Airline</th> <th scope="col" class="rounded-q2">Location</th> <th scope="col" class="rounded-q3">Hub</th> <th scope="col" class="rounded-q3">Current Rank</th> <th scope="col" class="rounded-q4">Date joined</th> so please guide me what php code should i put in <td>***HERE***</td> to fetch the data from database i dont know why this is not working <?php echo $userinfo->firstname . ' ' . $userinfo->lastname; ?> Regards James
  6. Thanks Jeff you rocks man +1 for you
  7. good day jeff i have been searching through the forum for the same code to show the airline logo image in recent completed flight table can you please post your working complete code so i can also take advantage of it i have tried the above code but its giving syntax unexpected error so please guide me through the process will be very thankful to you. Regards Jamy
  8. Hi guys this time i have been stuck with jgrid table sorter i have only question about using it on main pages if we want to display our schedules and different details in jgrid tablesorter which Nabeel used in admin panel side how we can do that if anyone guide me please. For example to see pilot list this code was used <h3>Pilots List</h3> <table id="grid"></table> <div id="pager"></div> <br /> <link rel="stylesheet" type="text/css" media="screen" href="<?php echo fileurl('/lib/js/jqgrid/css/ui.jqgrid.css');?>" /> <script src="<?php echo fileurl('/lib/js/jqgrid/js/i18n/grid.locale-en.js');?>" type="text/javascript"></script> <script src="<?php echo fileurl('/lib/js/jqgrid/js/jquery.jqGrid.min.js');?>" type="text/javascript"></script> <script type="text/javascript"> $("#grid").jqGrid({ url: '<?php echo adminaction('/pilotadmin/getpilotsjson');?>', datatype: 'json', mtype: 'GET', colNames: ['','First', 'Last', 'Email', 'Location', 'Status', 'Rank', 'Flights', 'Hours', 'IP', 'Edit'], colModel : [ {index: 'id', name: 'id', hidden: true, search: false }, {index: 'firstname', name : 'firstname',sortable : true, align: 'left', search: 'true', searchoptions:{sopt:['in']}}, {index: 'lastname', name : 'lastname', sortable : true, align: 'left', searchoptions:{sopt:['in']}}, {index: 'email', name : 'email', sortable : true, align: 'left',searchoptions:{sopt:['li']}}, {index: 'location', name : 'location', sortable : true, align: 'center',searchoptions:{sopt:['eq','ne']}}, {index: 'status', name : 'status', sortable : true, align: 'center',searchoptions:{sopt:['in']}}, {index: 'rank', name : 'rank', sortable : true, align: 'center', searchoptions:{sopt:['eq','ne']}}, {index: 'totalflights', name : 'totalflights', sortable : true, align: 'center',searchoptions:{sopt:['lt','gt']}}, {index: 'totalhours', name : 'totalhours', sortable : true, align: 'center',searchoptions:{sopt:['lt','gt']}}, {index: 'lastip', name : 'lastip', sortable : true, align: 'center', searchoptions:{sopt:['in']}}, {index: '', name : '', sortable : true, align: 'center', search: false} ], pager: '#pager', rowNum: 25, sortname: 'lastname', sortorder: 'asc', viewrecords: true, autowidth: true, height: '100%' }); jQuery("#grid").jqGrid('navGrid','#pager', {edit:false,add:false,del:false,search:true,refresh:true}, {}, // edit {}, // add {}, //del {multipleSearch:true} // search options ); </script> my question specifically about this code line url: '<?php echo adminaction('/pilotadmin/getpilotsjson');?>', for example if we have to fetch data for schedules what link we post in above given code. i hope you got my questions. Regards James
  9. jamyboy

    Web Page help

    TOPIC SOLVED Thank you so much TOM i really appreciate your effort of guiding me it worked Regards James
  10. jamyboy

    Web Page help

    Dear Members i have started making my own website and very much succeeded in creating my own template but the problem is with the main page when ever i add some content or add side menu my main page did not expand its area automatically means the footer area is static it is not increasing by him self what should i have to add in css all my website contents are inside the wrapper div tags any help will be appreciated. Regards James
  11. yea i got the idea of converting the html files into .tpl from help documents thanks to jeff and Tom for now i just need some html and css tutorials websites from where i can learn making templates from scratch i have also Google but with no luck didn't got any helpful website. if anyone have suggestions for me please post here i am looking forward to it. Regards Jamy
  12. well thanks edmundk i have tested and checked all the templates available for download in Skinning section all of them are greatly developed for the needs of the VA owners but my main motive is to make my own custom template which is not look alike the templates already in use by many Virtual Airlines on net but thanks for your kind suggestion brother. Anyone else have something for me any suggestion which will work in making css based templates from scratch. looking forward for the replies Have a Good Day James
  13. Dear Forum members now its been few days i have been watching phpvms forums to see how things work here so finally i decided to make my own skin from scratch i have bit knowledge of codes but not full expert i need help in making this skin so first of all you guys should know what is my plan what kind of template i am making so you can assist me here is the rough sketch or idea of my template. now please help in in coding this the main problem which i have is to adjust sidebars and also i want to keep in mind that i only want to show my sidebars on front page not on all of the pages so please suggest me what should i do from where i can start. Thanks James
  14. Thank you jon for updating the link i wanted to suggest all the templates uploader here if they can upload all of there work on http://ww.mediafire.com compare to others its the best one no waiting time no files removal after some time i think its the best site on the net to upload your free work. Thanks James
  15. Download link is not working?
  16. Thanks Jeff for your kind help +1 for you
  17. Dear jeff i really want to thank you from heart by welcoming me on this great forum full of lovely people i have seen many posts i love the way people help every one is on front foot so once again so nice of you to reply first. secondly i have checked all the skins on my wamp test server all the skins are unique and nice but i wanted to create some thing different which no one is using so can you please guide me and post some free css html based templates downloading websites i will be grateful to you and thank for sharing skinning tutorials looking forward for your reply have a good day. James
  18. respected forum members i would like to ask here can i change skins to meet the criteria of my own VA or do i have to install them and use them as it is in other words asking permissions from respected authors. Thanks James Andy
×
×
  • Create New...