-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest_netscrap_detail.cfm
224 lines (199 loc) · 8.33 KB
/
test_netscrap_detail.cfm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
<CFIF #CGI.HTTP_REFERER# IS NOT "" AND mid("#CGI.HTTP_REFERER#", 8, 8) IS NOT "netscrap" AND mid("#CGI.HTTP_REFERER#", 12, 8) IS NOT "netscrap">
<CFIF PARAMETEREXISTS(cookie.cookie_id_email)>
<CFSET email_id = cookie.cookie_id_email>
<CFELSE>
<CFSET email_id = "0">
</CFIF>
<cffile action="APPEND" file="D:\FTP\chrisg\Htdocs\admin\netscrap_referer.log" output="%%#DateFormat(Now(), 'mm-dd-yy')#%%,%%/netscrap_detail.cfm?#CGI.QUERY_STRING#%%,%%#CGI.HTTP_REFERER#%%,%%#email_id#%%">
<cferror type="REQUEST" template="./netscrap.cfm" mailto="[email protected]">
</CFIF>
<CFIF ParameterExists(scrap_id) IS 0>
<CFLOCATION URL="/netscrap.cfm">
</CFIF>
<CFIF Isnumeric(scrap_id) IS "NO">
<CFLOCATION URL="/netscrap.cfm">
</CFIF>
<CFQUERY NAME="get_scrap_detail" DATASOURCE="netscrap">
SELECT *
FROM netscrap_articles
WHERE scrap_id = #url.scrap_id#
</CFQUERY>
<CFIF get_scrap_detail.recordcount IS 0>
<CFLOCATION URL="/netscrap.cfm">
</CFIF>
<HTML>
<CFOUTPUT QUERY=get_scrap_detail>
<HEAD>
<META NAME="KEYWORDS" CONTENT="#scrap_keywords#">
<META NAME="Author" CONTENT="Netscrap Section">
<meta name="robots" content="index,nofollow">
<TITLE>NetScrap(TM): #scrap_title#</TITLE>
</HEAD>
</CFOUTPUT>
<BODY BGCOLOR="#DDDDDD" text="#000000" link="#5678AF" VLINK="#888888" alink="#FF0000">
<CENTER>
<table border=0 cellpadding=1 cellspacing=0 bgcolor="#000000" width=600><TR><TD>
<CENTER>
<CFOUTPUT QUERY="get_scrap_detail">
<TABLE CELLPADDING=3 CELLSPACING=0>
<TR><td>
<FONT FACE="ARIAL,GENEVA" SIZE=1 COLOR=##FFFFFF>
: <A HREF="./netscrap.cfm">Netscrap(TM)</A> : <A HREF="./netscrap.cfm?cat_show=#URLEncodedFormat(scrap_category)#">#scrap_category#</A> : Netscrap ###scrap_id# :
</FONT>
</TD></TR>
</TABLE>
</CFOUTPUT>
</CENTER>
<table border=0 cellpadding=0 cellspacing=0 bgcolor="#FFFFFF" width=598><TR><TD>
<MAP NAME="scrapnav">
<AREA SHAPE="RECT" COORDS="450,0,520,14" HREF="/netscrap_feedback.cfm">
<AREA SHAPE="RECT" COORDS="529,0,591,14" HREF="/netscrap_sitemap.cfm">
</MAP>
<IMG SRC="/images/netscrap_plain.jpg" WIDTH=600 USEMAP="#scrapnav" BORDER=0>
<TABLE BORDER=0 CELLPADDING=5 WIDTH=600><TR><TD>
<CFOUTPUT QUERY="get_scrap_detail">
<P ALIGN=RIGHT>
<FONT FACE="ARIAL BLACK" SIZE=5>
#scrap_title#
</FONT>
</P>
<PRE>----- Begin NetScrap(TM) -----
#scrap_title#<BR>
#scrap_article#<BR>
<CFIF #scrap_url# IS NOT "">
<A HREF="/exit_url.cfm?url=#URLEncodedFormat(scrap_url)#" TARGET=NEW>#scrap_url_description#</A>
</CFIF>
----- End NetScrap(TM) -----</PRE>
<FONT FACE="ARIAL,GENEVA" SIZE=1>
Entered on: #DateFormat(scrap_date, 'mm/dd/yyyy')#
</FONT>
IFRAME
<table border=0 cellpadding=7 cellspacing=0>
<tr>
<td width=100% bgcolor=##FFFFFF>
<font face="ARIAL,GENEVA" size="-1">
<!---
<iframe src="" title="Netscrap.com" frameborder="0" width="650" height="225"><!-- Alternate content for non-supporting browsers --><h2><a href="">Netscrap.com ROOLZ!!!!</a></h2></iframe>
<iframe src="" title="Netscrap.com" frameborder="0" width="650" height="225"><!-- Alternate content for non-supporting browsers --><h2><a href="">Netscrap.com ROOLZ!!!!</a></h2></iframe>
--->
<center>
Add this scrap to your myspace page!
<form name="scrapForm" id="scrapForm">
<input name="scrap_embed" type="text" value="<iframe src="http://www.netscrap.com/test_netscrap_detail.cfm?scrap_id=#scrap_id#" title="Netscrap.com" frameborder="0" width="650" height="225"><!-- Alternate content for non-supporting browsers --><h2><a href="http://www.netscrap.com/test_netscrap_detail.cfm?scrap_id=#scrap_id#">Netscrap.com ROOLZ!!!!</a></h2></iframe>" onclick="javascript:document.scrapForm.scrap_embed.focus();document.scrapForm.scrap_embed.select();" readonly="true">
</form>
</center>
</font>
</td>
</tr>
</table>
OBJECT
<table border=0 cellpadding=7 cellspacing=0>
<tr>
<td width=100% bgcolor=##FFFFFF>
<font face="ARIAL,GENEVA" size="-1">
<!---
<object data="http://www.netscrap.com/netscrap_detail.cfm?scrap_id=856" type="text/html" width=650 height=225 border=1 hspace=0 vspace=0></object>
<object data="http://www.netscrap.com/netscrap_detail.cfm?scrap_id=856" type="text/html" width="650" height="225" border="1" hspace="0" vspace="0"></object>
--->
<center>
Add this scrap to your myspace page!
<form name="scrapForm" id="scrapForm">
<input name="scrap_embed" type="text" value="<object data="http://www.netscrap.com/netscrap_detail.cfm?scrap_id=856" type="text/html" width="650" height="225" border="1" hspace="0" vspace="0"></object>" onclick="javascript:document.scrapForm.scrap_embed.focus();document.scrapForm.scrap_embed.select();" readonly="true">
</form>
</center>
</font>
</td>
</tr>
</table>
<TABLE BORDER=0 CELLPADDING=7 CELLSPACING=0>
<TR>
<TD WIDTH=50% BGCOLOR=##EEEEEE><FONT FACE="ARIAL,GENEVA" SIZE=-1><b>Send it:</b></FONT></TD>
<TD WIDTH=50% BGCOLOR=##EEEEEE>
<FONT FACE="ARIAL,GENEVA" SIZE=-1>
<CFIF get_scrap_detail.scrap_owner IS "">
<FONT FACE="ARIAL,GENEVA" SIZE=-1><b>Claim it:</b></FONT>
<CFELSE>
<FONT FACE="ARIAL,GENEVA" SIZE=-1><b>Allegedly perpetrated by:</b></FONT>
</CFIF>
</FONT>
</TD>
</TR>
<TR VALIGN=TOP>
<TD WIDTH=50%>
<FONT FACE="ARIAL,GENEVA" SIZE=-1>
Copy and paste this into an email to a friend. We can make it easy for you. Mail
it off with the <A HREF="./netscrap_mailtool.cfm?scrap_id=#url.scrap_id#">Netscrap(TM) MailTool</A>.
</FONT>
</TD>
<TD WIDTH=50%>
<CFIF get_scrap_detail.scrap_owner IS "">
<FONT FACE="ARIAL,GENEVA" SIZE=-1>
Did you do this? Do you own it? Can you prove it?
Netscrap.com's mission is to reunite jokes like this with their
creators. <A HREF="netscrap_credit.cfm?scrap_id=#url.scrap_id#">Take credit for your fine work</A>.
</FONT>
<CFELSE>
<FONT FACE="ARIAL,GENEVA" SIZE=-1>
#get_scrap_detail.scrap_owner#
<P>
</FONT>
<FONT FACE="ARIAL,GENEVA" SIZE=1>
Got any more information about this? <A HREF="netscrap_credit.cfm?scrap_id=#url.scrap_id#">Add to the story</A>.
</FONT>
</CFIF>
</TD>
</TR>
</TABLE>
</CFOUTPUT>
<P>
<cfinclude template="./include_score.cfm">
</FONT>
</TD></TR></TABLE>
<PRE><FONT COLOR=#FFFFFF>
---------------------------------------------------------------------------
75 Chars Wide</FONT></PRE>
<cfinclude template="./netscrap_footer.cfm">
</TD></TR></TABLE>
</TD></TR></TABLE>
<FONT FACE="ARIAL,GENEVA" SIZE=-1>We're testing ads. <a href="netscrap_feedback.cfm">Send feedback</a> if you have opinions about this. </FONT>
<CFIF ParameterExists(cookie.admin) IS "1">
<CFIF cookie.admin IS "true">
<CFOUTPUT><FONT FACE="ARIAL,GENEVA" SIZE=1><A HREF="/admin/netscrap_edit_detail.cfm?scrap_id=#scrap_id#">Edit This</A> <A HREF="/admin/netscrap_delete_detail.cfm?scrap_id=#scrap_id#">Delete This</A></FONT></CFOUTPUT>
</CFIF>
</CFIF>
<br clear=all />
<script type="text/javascript"><!--
google_ad_client = "pub-8550799684094358";
google_ad_width = 300;
google_ad_height = 250;
google_ad_format = "300x250_as";
google_ad_type = "text_image";
google_ad_channel ="5484571443";
google_color_border = "000000";
google_color_bg = "FFFFFF";
google_color_link = "003366";
google_color_text = "000000";
google_color_url = "6C82B5";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<script type="text/javascript"><!--
google_ad_client = "pub-8550799684094358";
google_ad_width = 300;
google_ad_height = 250;
google_ad_format = "300x250_as";
google_ad_type = "image";
google_ad_channel ="5484571443";
google_color_border = "000000";
google_color_bg = "FFFFFF";
google_color_link = "003366";
google_color_text = "000000";
google_color_url = "6C82B5";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</CENTER>
</BODY>
</HTML>