View Full Version : error integrating buysellads

07-31-2008, 01:57 AM
I am getting the following error when i integrate buysellads code in my site.

Fatal error: TPL: [in oslib/sidebar_modules/tags.tpl line 19]: syntax error: /php function does not exist (class.compiler.php, line xxx) in /home/.../class.template.php on line xxx1

tags.tpl file:

global $main_smarty;

$cloud=new TagCloud();
$cloud->smarty_variable = $main_smarty; // pass smarty to the function so we can set some variables
$cloud->word_limit = tags_words_limit_s;
$cloud->min_points = tags_min_pts_s; // the size of the smallest tag
$cloud->max_points = tags_max_pts_s; // the size of the largest tag

$main_smarty = $cloud->smarty_variable; // get the updated smarty back from the function

<div id="navigation">

<a href="{$URL_tagcloud}">{#PLIGG_Visual_Top_5_Tags#}</a>

<div id="s2" style="margin: 5px 0 0 0; line-height: {$tags_max_pts}pt;">
{section name=customer loop=$tag_number}

{* --- to change the way the words are displayed, change this part --- *}
<span style="font-size: {$tag_size[customer]}pt">
<a href="{$tag_url[customer]}">{$tag_name[customer]}</a>
{* --- --- *}

<p class="rmore"><a href="{$URL_tagcloud}">{#PLIGG_Visual_What_Is_Pligg_Read_More#}</a></p>

<br />

<div class="google" ><script type="text/javascript">
Vertical2315 = false;
ShowAdHereBanner2315 = true;
RepeatAll2315 = false;
NoFollowAll2315 = false;
BannerStyles2315 = new Array(
"a{display:block;font-size:11px;color:#888;font-family:verdana,sans-serif;margin:0 4px 10px 0;text-align:center;text-decoration:none;overflow:hidden;}",
"a.adhere{color:#666;font-weight:bold;font-size:12px;border:1px solid #ccc;background:#e7e7e7;text-align:center;}",
"a.adhere:hover{border:1px solid #999;background:#ddd;color:#333;}"

document.write(unescape("%3Cscript src='"+document.location.protocol+"//s3.buysellads.com/2315/2315.js?v="+Date.parse(new Date())+"' type='text/javascript'%3E%3C/script%3E"));
</div><br />