Jump to content

mark1million

Moderators
  • Posts

    2288
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by mark1million

  1. Look your problem is simple, in every page you have or tpl you simply have to place the content between the correct class of divs..... in your case its <div class="mcright"> </div> You need to choose your words a bit more carefully no one goes in to your site apart from you and if your security is weak then expect your site not to be up for long.
  2. Its the pilots_list.tpl
  3. At the bottom of your page where the closing divs are just add some more, </div> It may take two or three to do the job just experiment
  4. Try removing that script above the <h3> i think thats in the header.tpl anyway, back up 1st though.
  5. Add that closing div to that i posted earlier in the loop
  6. Also, <?php if(!$allpilots) { echo 'There are no pilots!</div>'; return; } ?> Add a </div>as above in that code
  7. <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"> Other Content </div> <div class="mcl02"> Put what you want here. </div> </div> </div> </div> <div class="mc02"> <div class="mc0201"> The Crew </div> <div class="mc0202" style="width: 18px; height: 15px"> </div> <div class="mc0203"> <div class="mc020301"> <h3><?php echo $title?></h3> Try removing one or two of those closing divs line 12 13 14 15 in the code above
  8. Just had a look at your site are you including that template? the page seems to be replicated, can you post your code for the pilots_list.tpl
  9. Can you post a pic as an example? I posted up th thread about a closing div in the loop, have you tried that?
  10. Ah got you, just edit the navigation.tpl and add it there. Its teh core_navigation.tpl and the format would be <li><a href="<?php echo url('/Downloads') ?>">Download Center</a></li>
  11. 1st problem add the form in the mcright div so, at the top <div class="mcright"> and close the div at the bottom. Second problem add some more closing divs till its right at the bottom of the tpl.
  12. The easiest way would be to add the link as news from the admin section to where you want it.
  13. This idiot has now resulted in using my contact me form on my VA. What a complete ****. Still the delete button is near by
  14. Im liking the look of that.... a lot!
  15. Mod your /core/cache folder to 777 permissions
  16. How strange is that, i have just done it again and its populated, it could be something to do with the time though, last night it was23:45 when i tried today its 11:04, ill let you know when it get to 13:00 if it still works.
  17. Hi, It looks looke you are adding this via the add page in the admin section, just add the code in to the frontpage_main,tpl, when i tried earlier nothing was displayed in the table ill have another look at it again because like the post says its great eye candy
  18. No not the schedules, that can be limited already but its the pilots pireps, pilot_public_profile.tpl and pireps_viewall.tpl that would be excellent if that could be implemented as some of my pilots have loads of reports and the page is getting longer and longer .
  19. Excellent Nabeel, i have some code i can implement where i want it but on an update it will be messed up, it would be much better if it comes from your end like the admin currently is then its fully supported on future releases.
  20. I use gallery 3 but i suppose you could insert the username and password in to that database just the same as the forum account but it would probably be easier. I have not integrated yet as i use gallery 3 for my personal use, theres a thought though as an image gallery
  21. Excellent, I spent hours of head banging to get mine right
  22. Thank you Dave, thats just what im after. Top man, to the rescue again
  23. OK so at the top of the pilots.tpl you have this, <div class="mcright"> <h3><?php echo $title?></h3> <?php if(!$allpilots) { echo 'There are no pilots!</div>'; return; } ?> That will sort our your footer when you dont have a pilot listed at a hub
  24. Hang on ill post the code, give me 5 minutes
  25. Nabeel, i have a pilots list currently displayed in the va stats, listed i have all the countries displaying the flag and location in a table (for anyone else this is the code)Page in action <?php echo '<td align="center" width="250px" valign="top">'; echo '<table cellspacing="1" cellpadding="1" border="1">'; echo '<th width="150px"><div align="left">Country Location</div></th>'; echo '<th width="100px"><div align="center">Pilots</div></th>'; $country_info = DB::get_results('SELECT COUNT(pilotid) as total, location FROM '.TABLE_PREFIX.'pilots GROUP BY LOCATION'); foreach($country_info as $country) { echo '<tr>'; echo '<td align= "left">'; echo '<img src="'.Countries::getCountryImage($country->location).'" /> '; echo Countries::getCountryName($country->location); echo '</td>'; echo '<td align="center">'; echo ' ('.$country->total.')'; echo '</td>'; echo '</tr>'; } echo '</table>'; ?> Now my question is how can i split this display in to four columns as the one long list looks a bit odd, hope you know what i mean Thanks
×
×
  • Create New...