*

Recent

Author Topic: Local thumbs only display on home page  (Read 13121 times)

soulwebsites

  • Jr. Member
  • **
  • Posts: 71
  • Force: +0/-0
    • Jamsite
Re: Local thumbs only display on home page
« Reply #30 on: November 22, 2011, 03:15:50 PM »
wow looks like i still got a lot of work to do...

once I have finished tidying the initial template I will look at doing more like what you have done for the next version or at least do that for anything else I add for now  ;D


Dillon

  • Developer
  • Sr. Member
  • ******
  • Posts: 340
  • Force: +3/-0
    • Arcade Freak
Re: Local thumbs only display on home page
« Reply #31 on: November 23, 2011, 03:34:04 PM »
Now you're learning something - So it all hasn't been wasted. ;)

Here's an example of what the core of my template.php looks like. It's neat, orderly and uncluttered.

Think about keep on doing the same sort of thing and life will become a whole lot easier. :P

Code: [Select]
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td class="" colspan="3" style="padding-top: 0px;" >

<?php

include 
"templates/$template/blocks/announcements.php";
include "templates/$template/blocks/my_favs.php";
include "templates/$template/blocks/header-space.php";
include "templates/$template/blocks/newest.php";
include "templates/$template/menu-1.php";
?>


</td>
</tr>
<tr>
<td class="l_side_panel" width="200">

<?php
include "templates/$template/blocks/user-menu.php";

if ( $_GET['action'] == 'search' ) {/*Do Nothing*/} else {
include "templates/$template/blocks/search.php"; };

include 
"templates/$template/blocks/submenu1.php";
include 
"templates/$template/blocks/links.php";
include 
"templates/$template/blocks/validator.php";
?>


</td>
<td class="maintable" width="100%" valign="top">
<?php
writebody
();
?>


</td>
<td class="r_side_panel" width="200">

<?php
include "templates/$template/blocks/online.php";
include 
"templates/$template/blocks/ads-right.php";
include 
"templates/$template/blocks/ads-left.php";
include 
"templates/$template/blocks/banners-right.php";
include 
"templates/$template/blocks/banners-left.php";
include 
"templates/$template/blocks/ads-3.php";
?>

</td>
</tr>
</table>

Mine now looks like that as well! I still have a few things to change before its complete though.