HTML code inside PHP File

GK User
Sat Dec 24, 2011 5:11 pm
Hello. I'm trying to install a netstats code inside the template in order to track mi visits. Usually I do it going to template manager, edit the html file and pasting the code inside.

When I go to edit the html file of this template, I can see its a PHP file. When I paste the code inside the website does not run anymore.

Any idea how to solve this?

Thi sis the code I need to paste:

<!-- Begin Web-Stat code 2.0 http -->
<script type="text/javascript" src="http://server4.web-stat.com/wtslog.pl?al246890,3"></script>
<noscript><p><a href="http://www.web-stat.net">
<img src="http://server4.web-stat.com/3/al246890.gif"
style="border:0px;" alt="web tracker"/></a></p></noscript>
<!-- End Web-Stat code v 2.0 -->
User avatar
Junior Boarder

GK User
Mon Dec 26, 2011 4:33 pm
Hi,

Try adding it to bottom of this file: \layouts\blocks\footer.php
User avatar
Platinum Boarder

GK User
Tue Dec 27, 2011 2:55 pm
Thanks! It worked
User avatar
Junior Boarder


cron