Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Current Version (Old)
 inc_footer.asp adding a counter
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

eforum
Starting Member

Belgium
40 Posts

Posted - 08 December 2001 :  06:15:47  Show Profile  Visit eforum's Homepage
As you've seen i'm new to ASP.
But i'm trying to learn it

i want to add a counter to the forum. i've searched in this forum but didn't find a thing.
I know that i'll need to put counter code in the inc_footer.asp
But where?

here comes the inc_footer code:

--------------------
<table width=100% border=0 bgcolor="<% =strPageBGColor %>" cellpadding="0" cellspacing = "4">
<tr bgcolor="<% =strPageBGColor %>">
<td bgcolor="<% =strPageBGColor %>">
<table border=0 width="100%" align="center" cellpadding="4" cellspacing="0">
<tr>
<td bgcolor="<% =strForumCellColor %>" align=left valign=top nowrap><font face="<% =strDefaultFontFace %>" size="<% =strFooterFontSize %>">
<p align=left><% =strForumTitle %></p>
</font></td>
<td bgcolor="<% =strForumCellColor %>" align=right valign=top nowrap><font face="<% =strDefaultFontFace %>" size="<% =strFooterFontSize %>">
<p align=right><% =strCopyright %></p>
</font></td>
<td bgcolor="<% =strForumCellColor %>" width=10 nowrap><a href="#top"><img src="icon_go_up.gif" height=15 width=15 border="0" align="right" alt="Go To Top Of Page"></a></font></td>
</tr>
</table>
</td>
</tr>
</table>

<table border=0 width="100%" align="center" cellpadding="4" cellspacing="0">
<tr>
<td align="right"><font face="<% =strDefaultFontFace %>" size="<% =strFooterFontSize %>">
<%
'## START - REMOVAL OR MODIFICATION OF THIS CODE WILL VIOLATE THE Snitz FORUMS 2000 LICENSE AGREEMENT
Response.Write " <a href=""http://forum.snitz.com""><acronym title=""Powered By: " & strVersion & """>"
if strShowImagePoweredBy = "1" then
Response.Write "<img src=""logo_powered_by.gif"" border=0>"
else
Response.Write "Snitz Forums 2000"
end if
Response.Write "</acronym></a>" & vbNewline
'## END - REMOVAL OR MODIFICATION OF THIS CODE WILL VIOLATE THE Snitz FORUMS 2000 LICENSE AGREEMENT
%>
</font></td>
</tr>
</table>
</td>
</tr>
</table>

</font>
</body>
<!-- timer
<center>
<font face="<% =strDefaultFontFace %>" size="<% =strFooterFontSize %>"><% = StopTimer(1) %></font>
</center>
end timer -->
</html>



<%
my_Conn.Close
set my_Conn = nothing
%>
-------------


and this is the counter code:

----------

<!-- Start of BelStat.be Counter -->
<script type="text/javascript" language="JavaScript">
<!--
d=document;
d.write("<a href=http://www.belstat.be/viewstat.asp?UserID=e-forum target=_blank><img border=0 src=\"http://www.belstat.be/regstat.asp?");
d.write("UserID=e-forum&BColor=blue&refer=");
d.write(escape(top.document.referrer));
d.write("\" align=center width=16 height=16 alt=Monitored by Belgium Statistics></a>");
// -->
</script>
<!-- End of BelStat.be Counter -->

-----------------

Where should i past this code in the footer page?



I hope my english is good






Edited by - eforum on 08 December 2001 06:17:03

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 08 December 2001 :  06:53:14  Show Profile
Try this:

<table width=100% border=0 bgcolor="<% =strPageBGColor %>" cellpadding="0" cellspacing = "4">
<tr bgcolor="<% =strPageBGColor %>">
<td bgcolor="<% =strPageBGColor %>">
<table border=0 width="100%" align="center" cellpadding="4" cellspacing="0">
<tr>
<td bgcolor="<% =strForumCellColor %>" align=left valign=top nowrap><font face="<% =strDefaultFontFace %>" size="<% =strFooterFontSize %>">
<p align=left><% =strForumTitle %></p>
</font></td>
<td bgcolor="<% =strForumCellColor %>" align=right valign=top nowrap><font face="<% =strDefaultFontFace %>" size="<% =strFooterFontSize %>">
<p align=right><% =strCopyright %></p>
</font></td>
<td bgcolor="<% =strForumCellColor %>" width=10 nowrap><a href="#top"><img src="icon_go_up.gif" height=15 width=15 border="0" align="right" alt="Go To Top Of Page"></a></font></td>
</tr>
</table>
</td>
</tr>
</table>

<table border=0 width="100%" align="center" cellpadding="4" cellspacing="0">
<tr>
<td>
<!-- Start of BelStat.be Counter -->
<script type="text/javascript" language="JavaScript">
<!--
d=document;
d.write("<a href=http://www.belstat.be/viewstat.asp?UserID=e-forum target=_blank><img border=0 src=\"http://www.belstat.be/regstat.asp?");
d.write("UserID=e-forum&BColor=blue&refer=");
d.write(escape(top.document.referrer));
d.write("\" align=center width=16 height=16 alt=Monitored by Belgium Statistics></a>");
// -->
</script>
<!-- End of BelStat.be Counter -->
</td>

<td align="right"><font face="<% =strDefaultFontFace %>" size="<% =strFooterFontSize %>">
<%
'## START - REMOVAL OR MODIFICATION OF THIS CODE WILL VIOLATE THE Snitz FORUMS 2000 LICENSE AGREEMENT
Response.Write " <a href=""http://forum.snitz.com""><acronym title=""Powered By: " & strVersion & """>"
if strShowImagePoweredBy = "1" then
Response.Write "<img src=""logo_powered_by.gif"" border=0>"
else
Response.Write "Snitz Forums 2000"
end if
Response.Write "</acronym></a>" & vbNewline
'## END - REMOVAL OR MODIFICATION OF THIS CODE WILL VIOLATE THE Snitz FORUMS 2000 LICENSE AGREEMENT
%>
</font></td>
</tr>
</table>
</td>
</tr>
</table>

</font>
</body>
<!-- timer
<center>
<font face="<% =strDefaultFontFace %>" size="<% =strFooterFontSize %>"><% = StopTimer(1) %></font>
</center>
end timer -->
</html>



<%
my_Conn.Close
set my_Conn = nothing
%>


This way your counter will show all the way at the bottom on the left side of the screen at the same height as the snitz link.

Hope this helps.

ROland

- here to help when possible -

http://www.frutzle.com
Go to Top of Page

eforum
Starting Member

Belgium
40 Posts

Posted - 08 December 2001 :  10:53:48  Show Profile  Visit eforum's Homepage
Thanks it works!

Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 08 December 2001 :  13:03:59  Show Profile
You're welcome
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.28 seconds. Powered By: Snitz Forums 2000 Version 3.4.07