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

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Discussions (General)
 ASP help
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

pyrodude
Junior Member

101 Posts

Posted - 21 February 2003 :  09:26:41  Show Profile
I think this would be the right place for this, but if not, you can move it.

I am trying to add a "Credits" box on my serverhacker forum. The code I am using (or trying to, anyways) is the following:

<%
'###Credits###

Response.Write "<table width=""100%"" border=""0"" bordercolor=""" & strTableBorderColor & """ cellspacing=""1"" cellpadding=""0"" bgcolor=""" & strTableBorderColor & """>" & vbNewLine & _
"<tr>" & vbNewLine & _
"<td bgcolor=""" & StrHeadCellColor & """>" & vbNewLine & _
"<font size=""4"" color=""" & StrHeadFontColor & """> Credits</font>" & vbNewLine & _
"</td>" & vbNewLine & _
"</tr>" & vbNewLine & _
"<tr>" & vbNewLine & _
"<td align=""left"">" & vbNewLine & _
"<table width=""100%"" border=""0"" cellspacing=""0"" cellpadding=""0"" bgcolor=""" & strTableBorderColor & """>" & vbNewLine & _
"<td>" & vbNewLine

'start the credits content

<a href="http://forum.snitz.com">"<font size=""7"" color=""" & StrHeadFontColor & """> Base site by Snitz </font>"</a> & vbNewLine & _ "<font size=""7"" color=""" & StrHeadFontColor & """>and</font>" & vbNewLine & _ <a href="http://serverhacker.com">"<font size=""7"" color=""" & StrHeadFontColor & """>Serverhacker</font>"</a> & vbNewLine & _
"<tr>"
"</tr>"
<a href="http://www.tvthemetunes.net/">"<font size=""7"" color=""" & StrHeadFontColor & """> Smileys by MeTV</font>"</a>

'end the credits content

call MemInSpot

Response.Write "</td>" & vbNewLine & _
"</tr>" & vbNewLine & _
"</table>" & vbNewLine & _
"</td>" & vbNewLine & _
"</tr>" & vbNewLine & _
"</table>" & vbNewLine

%>

What have i done wrong? I get this error, and dont know what to do.

Microsoft VBScript compilation error '800a0400'

Expected statement

/forum2/forum/include/credits.asp, line 17

<a href="http://forum.snitz.com">"<font size=""7"" color=""" & StrHeadFontColor & """> Base site by Snitz </font>"</a> & vbNewLine & _ "<font size=""7"" color=""" & StrHeadFontColor & """>and</font>" & vbNewLine & _ <a href="http://serverhacker.com">"<font size=""7"" color=""" & StrHeadFontColor & """>Serverhacker</font>"</a> & vbNewLine & _
^


Thanks!

D3mon
Senior Member

United Kingdom
1685 Posts

Posted - 21 February 2003 :  09:34:54  Show Profile  Visit D3mon's Homepage
Looks like you need to start that line with:
Response.Write "


the comment broke up the concetanated response.write string.


Snitz 'Speedball' : Site Integration Mod : Friendly Registration Mod
"In war, the victorious strategist only seeks battle after the victory has been won"
Go to Top of Page

D3mon
Senior Member

United Kingdom
1685 Posts

Posted - 21 February 2003 :  09:40:01  Show Profile  Visit D3mon's Homepage
In fact, make this part
'start the credits content

<a href="http://forum.snitz.com">"<font size=""7"" color=""" & StrHeadFontColor & """> Base site by Snitz </font>"</a> & vbNewLine & _
"<font size=""7"" color=""" & StrHeadFontColor & """>and</font>" & vbNewLine & _
<a href="http://serverhacker.com">"<font size=""7"" color=""" & StrHeadFontColor & """>Serverhacker</font>"</a> & vbNewLine & _
"<tr>"
"</tr>"
<a href="http://www.tvthemetunes.net/">"<font size=""7"" color=""" & StrHeadFontColor & """> Smileys by MeTV</font>"</a>

'end the credits content


Look like this:
'start the credits content

response.write "<a href=""http://forum.snitz.com""><font size=""7"" color=""" & StrHeadFontColor & """> Base site by Snitz </font></a>" & vbNewLine & _
"<font size=""7"" color=""" & StrHeadFontColor & """>and</font>" & vbNewLine & _
"<a href=""http://serverhacker.com""><font size=""7"" color=""" & StrHeadFontColor & """>Serverhacker</font></a>" & vbNewLine & _
"<tr>" & vbNewLine & _
"</tr>" & vbNewLine & _
"<a href=""http://www.tvthemetunes.net/""><font size=""7"" color=""" & StrHeadFontColor & """> Smileys by MeTV</font></a>"

'end the credits content




Snitz 'Speedball' : Site Integration Mod : Friendly Registration Mod
"In war, the victorious strategist only seeks battle after the victory has been won"

Edited by - D3mon on 21 February 2003 09:42:37
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 21 February 2003 :  10:04:31  Show Profile
Shouldn't that read "Icons by MeTV"?

This credit box would be in addition to the existing powered by link, right?



Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

pyrodude
Junior Member

101 Posts

Posted - 21 February 2003 :  13:23:29  Show Profile
Yep, should be Icons. And thanks again...They are awesome.
Actually, the credits page is going to be an include file for sitenews.asp.
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.21 seconds. Powered By: Snitz Forums 2000 Version 3.4.07