Hello friends, l was just working on a phpld theme, l was tring to make some more columns and l did, but when l try to add google adsense codes into those colums, template giwes errors! can some1 help me ? {* Calculate title from path *} {capture name="title"} {if count($path) > 1} - {/if} {foreach from=$path item=category name=path} {if $smarty.foreach.path.iteration gt 2} > {/if} {if not $smarty.foreach.path.first} {$category.TITLE} {/if} {/foreach} {/capture} {strip} {if $title_prefix} {assign var="in_page_title" value=$title_prefix|cat:$category.TITLE} {else} {assign var="in_page_title" value=$category.TITLE} {/if} {assign var="description" value=$category.DESCRIPTION} {include file="header.tpl"} {include file="top_bar.tpl"} {* Calculate the number of categories per row *} {php} $this->assign('cats_per_col', ceil(count($this->get_template_vars('categs')) / CATS_PER_ROW)); {/php} {if $cats_per_col > 15} {php} $this->assign('cats_per_col', ceil(count($this->get_template_vars('categs')) / (CATS_PER_ROW + 1))); {/php} {/if} {* Show category search results *} {if $search_category} {$search_category} {/if} {if isset($have_search_results) and $have_search_results == 0} <div> <p>{l}Sorry, no records found that match your keyword(s){/l}: "{$search|escape|wordwrap:200:"\n":true}"</p> <p>{l}Suggestions{/l}:</p> <p> <ul> <li>{l}Make sure all words are spelled correctly{/l}.</li> <li>{l}Try different keywords{/l}.</li> <li>{l}Try more general keywords{/l}.</li> </ul> </p> </div> {/if} <!-------ends of categories---> <head> <meta http-equiv="Content-Language" content="tr"> </head> <table border="0" width="100%" id="table1"> <tr> <td rowspan="3"> <script type="text/javascript"><!-- google_ad_client = "pub-9097904659064746"; google_ad_width = 120; google_ad_height = 600; google_ad_format = "120x600_as"; google_ad_type = "text_image"; google_color_border = "78B749"; google_color_bg = "FFFFCC"; google_color_link = "CC0000"; google_color_text = "000000"; google_color_url = "78B749"; //2007-03-31: bigphp.net google_ad_channel = "4879831570"; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </td> <td>2</td> <td rowspan="3"> <script type="text/javascript"><!-- google_ad_client = "pub-9097904659064746"; google_ad_width = 120; google_ad_height = 600; google_ad_format = "120x600_as"; google_ad_type = "text_image"; google_color_border = "78B749"; google_color_bg = "FFFFCC"; google_color_link = "CC0000"; google_color_text = "000000"; google_color_url = "78B749"; //2007-03-31: bigphp.net google_ad_channel = "4879831570"; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </td> </tr> <tr> <td> {* Categories *} {if !empty($categs)} <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> {foreach from=$categs item=cat name=categs} {if ($smarty.foreach.categs.iteration mod $cats_per_col eq 1 and $cats_per_col gt 1) or $smarty.foreach.categs.first}<td valign="top" align="left" style="padding:0px 5px 0px 5px;">{/if} <h4><a class="maincat" href="{if $smarty.const.ENABLE_REWRITE}{$cat.TITLE_URL}/{else}index.php?c={$cat.ID}{/if}">{$cat.TITLE}</a>{if $smarty.const.CATS_COUNT} <span class="count">({$cat.COUNT})</span>{/if}</h4> <!-- {* Display subcategories *}--> {if !empty($cat.SUBCATS)} {if $cat.SUBCATS} <p style="margin:0px; padding-bottom:5px;"> {foreach from=$cat.SUBCATS item=scat name=scategs} <a class="subcat" href="{if $smarty.const.ENABLE_REWRITE}{$cat.TITLE_URL}/{$scat.TITLE_URL}/{else}index.php?c={$scat.ID}{/if}"> {$scat.TITLE}</a><br/>{/foreach} </p> {/if} {/if} {if ($smarty.foreach.categs.iteration mod $cats_per_col eq 0 and $cats_per_col gt 1) or $smarty.foreach.categs.last}</td>{/if} {/foreach} </tr> </table> </td> </tr> <tr> <td>8</td> </tr> </table> <!-------ends of categories---> {/if} {if $smarty.const.FTR_ENABLE == 1 and !empty($feat_links)} {foreach from=$feat_links item=link name=links} {include file="flink.tpl" link=$link} {/foreach} {/if} {* Links heading and sorting*} {if ($uid or $search or !empty($category.ID) or $list) and !empty($links)} <table cellpadding="0" cellspacing="0" style="margin-top:15px; "> <tr> <td><img src="{$smarty.const.FULL_TEMPLATE_PATH}/images/regular-left.gif" alt="" border="0" /></td> <td style="background-image:url({$smarty.const.FULL_TEMPLATE_PATH}/images/regular-bg.gif); height:23px; background-repeat:repeat-x;" width="100%"> <h3>{l}Regular Links{/l} {if not $list}<span class="small" style="margin-left:50px;">{l}Sort by{/l}: {if $smarty.const.ENABLE_PAGERANK and $smarty.const.SHOW_PAGERANK}{if $sort eq 'P'}<span class="sort"> {l}PageRank{/l}</span>{else}<a href="?s=P{if not $smarty.const.ENABLE_REWRITE}&c={$category.ID}{/if}{if $search}&search={$search}{/if}{if $uid}&uid={$uid}{/if}{if !empty($p)}&p={$p}{/if}"> {l}PageRank{/l}</a>{/if} |{/if} {if $sort eq 'H'} <span class="sort">{l}Hits{/l}</span>{else} <a href="?s=H{if not $smarty.const.ENABLE_REWRITE}&c={$category.ID}{/if}{if $search}&search={$search}{/if}{if $uid}&uid={$uid}{/if}{if !empty($p)}&p={$p}{/if}">{l}Hits{/l}</a>{/if} {if $sort eq 'A'} | <span class="sort">{l}Alphabetical{/l}</span>{else} | <a href="?s=A{if not $smarty.const.ENABLE_REWRITE}&c={$category.ID}{/if}{if $search}&search={$search}{/if}{if $uid}&uid={$uid}{/if}{if !empty($p)}&p={$p}{/if}">{l}Alphabetical{/l}</a>{/if} </span>{/if} </h3> </td> <td><img src="{$smarty.const.FULL_TEMPLATE_PATH}/images/regular-right.gif" alt="" border="0" /></td> </tr> <tr> <td colspan="3"> <div class="links"> {foreach from=$links item=link name=links} {include file="link.tpl" link=$link} {/foreach} </div> </td> </tr> </table> {/if} {* Javascript for tracking link clicks *} {if $StopLinkHits eq 0} <script type="text/javascript"> /* <![CDATA[ */ var root = '{$smarty.const.DOC_ROOT}'; {literal} var a = document.getElementsByTagName("a"); for(i = 0; i< a.length; i++) if(a[i].id != '') a[i].onclick = count_link; function count_link() { i = new Image(); i.src= root+'/cl.php?id='+this.id; return true; } {/literal} /* ]]> */ </script> {/if} {include file="footer.tpl"} {/strip} Code (markup): dir.bigphp.net What should l do, just inform me pls