Adbrite Issue

Discussion in 'General Marketing' started by BlackIceCreations, Dec 5, 2009.

  1. #1
    I have tried to move away from adsense for a proxy site that i run as its getting a high number of clicks but cents per click and i have been told to try out adbrite.

    The issue i have is that when i place their code directly into my page it gives an error:

    Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING

    I am placing the code directly from their site into mine but its causing errors.

    Here is what they told me to place:

    <!-- Begin: AdBrite, Generated: 2009-12-05 5:21:07 -->
    <style type="text/css">
    .adHeadline {font: bold 10pt Arial; text-decoration: underline; color: #0000FF;}
    .adText {font: normal 10pt Arial; text-decoration: none; color: #66B5FF;}
    </style>
    <script type="text/javascript">
    try{var AdBrite_Iframe=window.top!=window.self?2:1;var AdBrite_Referrer=document.referrer==''?document.location:document.referrer;AdBrite_Referrer=encodeURIComponent(AdBrite_Referrer);}catch(e){var AdBrite_Iframe='';var AdBrite_Referrer='';}
    document.write(String.fromCharCode(60,83,67,82,73,80,84));document.write(' src="http://ads.adbrite.com/mb/text_group.php?sid=1441150&br=1&dk=6170706c7920666f7220612063726564697420636172645f355f325f776562&ifr='+AdBrite_Iframe+'&ref='+AdBrite_Referrer+'" type="text/javascript">');document.write(String.fromCharCode(60,47,83,67,82,73,80,84,62));</script>
    <div><a class="adHeadline" target="_top" href="http://www.adbrite.com/mb/commerce/purchase_form.php?opid=1441150&afsid=1">Your Ad Here</a></div>
    <!-- End: AdBrite -->

    Anyone able to work out the issue?

    I have highlighted the line it says the error is on...

    Any help would be greatly accepted as i would like to get the ads on to the site asap.

    Thanks
     
    BlackIceCreations, Dec 5, 2009 IP
  2. hillord

    hillord Well-Known Member

    Messages:
    2,211
    Likes Received:
    59
    Best Answers:
    0
    Trophy Points:
    140
    #2
    look like u're maybe using a smarty template or something.. u need to put those java script tag on a .js files and modified it
     
    hillord, Dec 5, 2009 IP