Subversion Repositories svnkaklik

Rev

Details | Last modification | View Log

Rev Author Line No. Line
6 kaklik 1
<?php
2
 
3
/***************************************************************************
4
 *                            sboard.php
5
 *                         ----------------
6
 *   version              : version 1.5.6
7
 *   begin                : June 20, 2005
8
 *   copyright            : Jive Networks Resources
9
 *   email                : software@jivenetworks.com
10
 *   Script URL           : http://www.jivenetworks.info/software/php/simpleshout/
11
 *   License              : Standard Public License
12
 *   http://www.jivenetworks.info/software/license/freeware/
13
 ***************************************************************************/
14
 
15
// Configuration
16
$config = "config.php";
17
 
18
// Require files
19
require $config;
20
 
21
// Start Add
22
if ($sact==add) {
23
 
24
echo "<link rel='stylesheet' href='style.css' type='text/css'>";
25
echo "<body bgcolor='$bgcolor' text=\"$text\" link=\"$link\" alink=\"$alink\" vlink=\"$vlink\" style='margin: 0pt;'>";
26
 
27
$name = strip_tags($name,"");
28
$site = strip_tags($site,"");
29
 
30
if ($site == "you@domain.com") {
31
$name_link = "$name";
32
} elseif ($site == "") {
33
$name_link = "$name";
34
} else {
35
$name_link = "<a href=\"mailto:$site\" target=\"_blank\" title=\"$name - $site\">$name</a>";
36
 
37
}
38
 
39
if ($name == "name") {
40
	print "<meta http-equiv=\"refresh\" content=\"0; URL=sboard.php?message=Enter+Name&info2=$info&site2=$site\">";
41
} elseif ($name == "") {
42
	print "<meta http-equiv=\"refresh\" content=\"0; URL=sboard.php?message=Enter+Name&info2=$info&site2=$site\">";
43
} elseif ($info == "") {
44
	print "<meta http-equiv=\"refresh\" content=\"0; URL=sboard.php?message=Enter+Message&name2=$name&site2=$site\">";
45
} elseif ($info == "message") {
46
	print "<meta http-equiv=\"refresh\" content=\"0; URL=sboard.php?message=Enter+Message&name2=$name&site2=$site\">";
47
} elseif (strlen($info)>$max_char) {
48
	print "<meta http-equiv=\"refresh\" content=\"0; URL=sboard.php?message=Max+Characters+($max_char)&name2=$name&site2=$site\">";
49
} else {
50
 
51
$file = "data.dat";
52
 
53
	$info = strip_tags($info,"");
54
	// Start smilie codes
55
	$info = str_replace(":)","<img src='smilies/smile.gif'>",$info);
56
	$info = str_replace(":(","<img src='smilies/sad.gif'>",$info);
57
	$info = str_replace(":P","<img src='smilies/bigrazz.gif'>",$info);
58
	$info = str_replace(":D","<img src='smilies/biggrin.gif'>",$info);
59
	$info = str_replace("8)","<img src='smilies/cool.gif'>",$info);
60
	$info = str_replace(":@","<img src='smilies/mad.gif'>",$info);
61
	$info = str_replace(";)","<img src='smilies/wink.gif'>",$info);
62
	$info = str_replace("???","<img src='smilies/confused.gif'>",$info);
63
	// Start bbcodes
64
	$info = str_replace("[hr]","<hr>",$info);
65
	$info = str_replace("[url]","[<a href=\"",$info);
66
	$info = str_replace("[/url]","\" target=\"_blank\">www</a>]",$info);
67
	$info = str_replace("[mail]","[<a href=\"mailto:",$info);
68
	$info = str_replace("[/mail]","\">email</a>]",$info);
69
	$info = str_replace("[b]","<b>",$info);
70
	$info = str_replace("[/b]","</b>",$info);
71
	$info = str_replace("[u]","<u>",$info);
72
	$info = str_replace("[/u]","</u>",$info);
73
	$info = str_replace("[i]","<i>",$info);
74
	$info = str_replace("[/i]","</i>",$info);
75
	$info = str_replace("[s]","<s>",$info);
76
	$info = str_replace("[/s]","</s>",$info);
77
	$info = str_replace("[tt]","<tt>",$info);
78
	$info = str_replace("[/tt]","</tt>",$info);
79
	$info = str_replace("[sup]","<sup>",$info);
80
	$info = str_replace("[/sup]","</sup>",$info);
81
	$info = str_replace("[sub]","<sub>",$info);
82
	$info = str_replace("[/sub]","</sub>",$info);
83
	$info = str_replace("[nl]","<br>",$info);
84
	$info = str_replace("[move left]","<MARQUEE DIRECTION=\"LEFT\">",$info);
85
	$info = str_replace("[move right]","<MARQUEE DIRECTION=\"RIGHT\">",$info);
86
	$info = str_replace("[move slide]","<MARQUEE BEHAVIOR=\"SLIDE\">",$info);	
87
	$info = str_replace("[move alternate]","<MARQUEE BEHAVIOR=\"ALTERNATE\">",$info);	
88
	$info = str_replace("[move up]","<MARQUEE scrollAmount=\"1\" direction=\"up\" scrolldelay=\"25\" height=\"8\">",$info);
89
	$info = str_replace("[move down]","<MARQUEE scrollAmount=\"1\" direction=\"down\" scrolldelay=\"25\" height=\"8\">",$info);
90
	$info = str_replace("[mark]","<span style=\"background-color:yellow;color:black\">",$info);	
91
	$info = str_replace("[/mark]","</span>",$info);		
92
	$info = str_replace("[glow]","<SPAN style=\"filter:glow(color=#FF3F0F); height:2\">",$info);	
93
	$info = str_replace("[/glow]","</span>",$info);	
94
	$info = str_replace("[fly left]","<MARQUEE DIRECTION=\"LEFT\"><MARQUEE scrollAmount=\"1\" direction=\"up\" scrolldelay=\"25\" height=\"8\">",$info);	
95
	$info = str_replace("[fly right]","<MARQUEE DIRECTION=\"RIGHT\"><MARQUEE scrollAmount=\"1\" direction=\"up\" scrolldelay=\"25\" height=\"8\">",$info);	
96
	$info = str_replace("[fly up]","<MARQUEE scrollAmount=\"1\" direction=\"up\" scrolldelay=\"25\" height=\"8\"><MARQUEE BEHAVIOR=\"ALTERNATE\">",$info);	
97
	$info = str_replace("[fly down]","<MARQUEE scrollAmount=\"1\" direction=\"down\" scrolldelay=\"25\" height=\"8\"><MARQUEE BEHAVIOR=\"ALTERNATE\">",$info);		
98
	$info = str_replace("[/fly]","</MARQUEE></MARQUEE>",$info);
99
	$info = str_replace("[blink]","<BLINK>",$info);
100
	$info = str_replace("[/blink]","</BLINK>",$info);
101
    $info = str_replace("[/move]","</MARQUEE>",$info);
102
	// Start swear word filter
103
	$info = str_replace("fuck","<b>MESSAGE BLOCKED</b>",$info);
104
	$info = str_replace("shit","<b>MESSAGE BLOCKED</b>",$info);
105
	$info = str_replace("bitch","<b>MESSAGE BLOCKED</b>",$info);
106
	$info = str_replace("slut","<b>MESSAGE BLOCKED</b>",$info);
107
	$info = str_replace("asshole","<b>MESSAGE BLOCKED</b>",$info);
108
	$info = str_replace("faggot","<b>MESSAGE BLOCKED</b>",$info);
109
	$info = str_replace("fagget","<b>MESSAGE BLOCKED</b>",$info);
110
	// Start miscellaneous stripslashes
111
	$info = stripslashes($info);
112
	$name = stripslashes($name);
113
	$name_link = stripslashes($name_link);
114
 
115
// Start add content
116
$date = date("G:i", time());
117
 
118
$date_array = explode("-", $date);
119
 
120
$new = $date_array[0] + $time_a;
121
 
122
$daten = date(":: m/d @ $new:i ::", time());
123
 
124
print "<meta http-equiv=\"refresh\" content=\"$refresh; URL=$location/sboard.php\">";
125
 
126
$fp = fopen ($file, "r+") or die ("error when opening $file");
127
flock($fp,2);
128
$old=fread($fp, filesize($file));
129
rewind($fp);
130
fwrite ($fp, " <b>$name_link</b> : $info<br>\n".$old);
131
flock($fp,3);
132
fclose ($fp);
133
 
134
}
135
 
136
// Start view all
137
} elseif ($sact==all) {
138
 
139
print "<html><head>
140
 
141
<title>$title</title>
142
<link rel='stylesheet' href='style.css' type='text/css'></head>
143
 
144
<body bgcolor=\"$bgcolor\" text=\"$text\" link=\"$link\" alink=\"$alink\" vlink=\"$vlink\" style=\"margin: 0pt;\">";
145
 
146
$file = "data.dat";
147
$fp = fopen ($file, "r") or die ("error when reading $file");
148
while ( !feof ($fp) ) {
149
$line = fgets ($fp, 9216);
150
print "<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"2\">
151
        <tr> 
152
          <td bgcolor=\"$table1\"><font face=\"Verdana\" color=\"$text\" size=\"1\">$line</font></td>
153
        </tr></table>";
154
 
155
}
156
 
157
print "<br><div align=\"center\"><font face=\"Verdana\" color=\"$text\" size=\"1\">[ <a href=\"javascript:self.close()\">close</a> ]</div></font></body></html>";
158
 
159
// Start editor view
160
} elseif ($sact=="editor") {
161
 
162
print "<html><head>
163
<title>$title</title>
164
<link rel='stylesheet' href='style.css' type='text/css'>
165
<script type=\"text/javascript\" src=\"editor.js\"></script>
166
</head>
167
 
168
<body bgcolor=\"$bgcolor\" text=\"$text\" link=\"$link\" alink=\"$alink\" vlink=\"$vlink\" style=\"margin: 0pt;\">";
169
 
170
print "<form action=\"$location/sboard.php?sact=add\" method=\"post\" name=\"editor\">
171
<table bgcolor=\"#FFFFFF\" width=\"500\"><tr><td align=\"center\" style=\"padding: 10px;\">
172
<b>Name:</b> <input type=\"text\" name=\"name\" value=\"$name2\" onfocus=\"this.value=''\" size=\"30\"><br>
173
<b>E-mail:</b> <input type=\"text\" name=\"site\" value=\"$site2\" size=\"30\"><br>
174
<textarea name=\"info\" rows=\"8\" cols=\"50\" wrap=\"physical\"></textarea>
175
</td></tr></table>
176
<table bgcolor=\"#F7F3EF\" width=\"500\"><tr><td align=\"center\" style=\"padding: 10px;\">
177
<a href=\"#\" onClick=\"bold()\"><img src=\"$location/images/bold.gif\" alt=\"Bold\" border=\"0\"></a>
178
<a href=\"#\" onClick=\"italic()\"><img src=\"$location/images/italic.gif\" alt=\"Italicize\" border=\"0\"></a>
179
<a href=\"#\" onClick=\"underline()\"><img src=\"$location/images/underline.gif\" alt=\"Underline\" border=\"0\"></a>
180
<a href=\"#\" onClick=\"strike()\"><img src=\"$location/images/strikethrough.gif\" alt=\"Strike Through\" border=\"0\"></a>
181
<a href=\"#\" onClick=\"sub()\"><img src=\"$location/images/sub.gif\" alt=\"Subscript\" border=\"0\"></a>
182
<a href=\"#\" onClick=\"sup()\"><img src=\"$location/images/sup.gif\" alt=\"Superscript\" border=\"0\"></a>
183
<a href=\"#\" onClick=\"hbar()\"><img src=\"$location/images/hr.gif\" alt=\"Horizontal Ruler\" border=\"0\"></a>
184
<a href=\"#\" onClick=\"linkopen()\"><img src=\"$location/images/link.gif\" alt=\"Insert Link\" border=\"0\"></a>
185
<a href=\"#\" onClick=\"maillink()\"><img src=\"$location/images/mail.gif\" alt=\"Insert E-mail\" border=\"0\"></a>
186
</td><td align=\"right\"><input type=\"submit\" name=\"Submit\" value=\"shout\" class=\"SB_button\">
187
</td></tr></table>
188
</form>
189
";
190
print "</body></html>";
191
 
192
// Start printable view
193
} elseif ($sact=="printable") {
194
 
195
print "<html><head>
196
<style type=\"text/css\">
197
<!--
198
body{background-color:#ffffff;}
199
h2 {font-size: 20px; color: #333; padding: 10px; }
200
-->
201
</style>
202
 
203
<script type=\"text/javascript\">
204
function printIt()
205
	{
206
	if (window.print) 
207
		{
208
		setTimeout('window.print();',200);
209
		}
210
	else if (user_agent.indexOf(\"mac\") != -1) 
211
		{
212
		alert(\"Press 'Cmd+p' on your keyboard to print.\");
213
		}
214
	else 
215
		{
216
		alert(\"Press 'Ctrl+p' on your keyboard to print.\")
217
		}
218
	}
219
</script>
220
 
221
<title>$title</title>
222
</head>
223
 
224
<body bgcolor=\"$bgcolor\" text=\"$text\" link=\"$link\" alink=\"$alink\" vlink=\"$vlink\" style=\"margin: 0pt;\">";
225
print "<h2>Printable Shoutbox Page</h2><br><div align=\"center\"><font face=\"Verdana\" color=\"$text\" size=\"1\">[ <a href=\"javascript:void(printIt());\">Print Page</a> ]</div></font><br>";
226
print "<noscript><h2>Printable Shoutbox Page</h2><br><div align=\"center\"><font face=\"Verdana\" color=\"$text\" size=\"1\">[ PC: Ctrl + P / MAC: Cmd + P ]</div></font><br></noscript>";
227
$file = "data.dat";
228
$fp = fopen ($file, "r") or die ("error when reading $file");
229
while ( !feof ($fp) ) {
230
$line = fgets ($fp, 9216);
231
print "<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"2\">
232
        <tr> 
233
          <td bgcolor=\"$table1\"><font face=\"Verdana\" color=\"$text\" size=\"1\">$line</font></td>
234
        </tr></table>";
235
 
236
}
237
 
238
print "<br><div align=\"center\"><font face=\"Verdana\" color=\"$text\" size=\"1\">[ <a href=\"javascript:void(printIt());\">Print Page</a> ]</div></font></body></html>";
239
print "<noscript><br><div align=\"center\"><font face=\"Verdana\" color=\"$text\" size=\"1\">[ PC: Ctrl + P / MAC: Cmd + P ]</div></font></noscript></body></html>";
240
 
241
// Start end user shoutbox help file
242
} elseif ($sact == "help") {
243
 
244
print "<html>
245
<head>
246
<title>$title</title>
247
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\">
248
<link rel='stylesheet' href='style.css' type='text/css'></head>
249
<body bgcolor=\"$bgcolor\"  text=\"$text\" link=\"$link\" alink=\"$alink\" vlink=\"$vlink\" style=\"margin: 0pt;\">
250
<table style=\"margin-left: 10px;margin-right: 10px;\"><tr><td>
251
<B>What is a Shoutbox?</B><BR>
252
A shoutbox is a mini message board system, that website owners can put on their website and recieve comments.
253
<P><B>Available Emoticons & BBCode</B><BR>
254
The following is a list of available smilies and bbcodes. This will allow you to add special effects to each shout.
255
<BR>
256
<TABLE cellspacing=\"0\" cellpadding=\"2\" border=\"0\" class=\"SB_shoutbox\">
257
 <TR>
258
  <TD><B>BBCodes</B></TD>
259
  <TD><B>Result</B></TD>
260
 </TR>
261
 <TR valign=\"bottom\">
262
  <TD align=\"left\">:)</TD>
263
  <TD align=\"left\"><img src='smilies/smile.gif'></TD>
264
 </TR>
265
 <TR valign=\"bottom\">
266
  <TD align=\"left\">:(</TD>
267
  <TD align=\"left\"><img src='smilies/sad.gif'></TD>
268
 </TR>
269
 <TR valign=\"bottom\">
270
  <TD align=\"left\">:P</TD>
271
  <TD align=\"left\"><img src='smilies/bigrazz.gif'></TD>
272
 </TR>
273
 <TR valign=\"bottom\">
274
  <TD align=\"left\">:D</TD>
275
  <TD align=\"left\"><img src='smilies/biggrin.gif'></TD>
276
 </TR>
277
 <TR valign=\"bottom\">
278
  <TD align=\"left\">8)</TD>
279
  <TD align=\"left\"><img src='smilies/cool.gif'></TD>
280
 </TR>
281
 <TR valign=\"bottom\">
282
  <TD align=\"left\">:@</TD>
283
  <TD align=\"left\"><img src='smilies/mad.gif'></TD>
284
 </TR>
285
 <TR valign=\"bottom\">
286
  <TD align=\"left\">;)</TD>
287
  <TD align=\"left\"><img src='smilies/wink.gif'></TD>
288
 </TR>
289
 <TR valign=\"bottom\">
290
  <TD align=\"left\">???</TD>
291
  <TD align=\"left\"><img src='smilies/confused.gif'></TD>
292
 </TR>
293
 <TR valign=\"bottom\">
294
  <TD align=\"left\">[url]http://www.domain.com[/url]</TD>
295
  <TD align=\"left\"><A target=\"_blank\" href=\"http://www.domain.com\">www</A></TD>
296
 </TR>
297
 <TR valign=\"bottom\">
298
  <TD align=\"left\">[mail]you@domain.com[/mail]</TD>
299
  <TD align=\"left\"><A href=\"mailto:you@domain.com\">email</A></TD>
300
 </TR>
301
 <TR valign=\"bottom\">
302
  <TD align=\"left\">[b]Text[/b]</TD>
303
  <TD align=\"left\"><B>Text</B></TD>
304
 </TR>
305
 <TR valign=\"bottom\">
306
  <TD align=\"left\">[i]Text[/i]</TD>
307
  <TD align=\"left\"><I>Text</I></TD>
308
 </TR>
309
 <TR valign=\"bottom\">
310
  <TD align=\"left\">[u]Text[/u]</TD>
311
  <TD align=\"left\"><U>Text</U></TD>
312
 </TR>
313
 <TR valign=\"bottom\">
314
  <TD align=\"left\">[s]Text[/s]</TD>
315
  <TD align=\"left\"><s>Text</s></TD>
316
 </TR>
317
 <TR valign=\"bottom\">
318
  <TD align=\"left\">[tt]Text[/tt]</TD>
319
  <TD align=\"left\"><tt>Text</tt></TD>
320
 </TR>
321
 <TR valign=\"bottom\">
322
  <TD align=\"left\">Te[sup]xt[/sup]</TD>
323
  <TD align=\"left\">Te<sup>xt</sup></TD>
324
 </TR>
325
 <TR valign=\"bottom\">
326
  <TD align=\"left\">Te[sub]xt[/sub]</TD>
327
  <TD align=\"left\">Te<sub>xt</sub></TD>
328
 </TR>
329
 <TR valign=\"bottom\">
330
  <TD align=\"left\">[nl]</TD>
331
  <TD align=\"left\">Page break</TD>
332
 </TR>
333
 <TR valign=\"bottom\">
334
  <TD align=\"left\">[move left]Text[/move]</TD>
335
  <TD align=\"left\"><MARQUEE DIRECTION=\"LEFT\">Text</MARQUEE></TD>
336
 </TR>
337
 <TR valign=\"bottom\">
338
  <TD align=\"left\">[move right]Text[/move]</TD>
339
  <TD align=\"left\"><MARQUEE DIRECTION=\"RIGHT\">Text</MARQUEE></TD>
340
 </TR>
341
 <TR valign=\"bottom\">
342
  <TD align=\"left\">[move slide]Text[/move]</TD>
343
  <TD align=\"left\"><MARQUEE BEHAVIOR=\"SLIDE\">Text</MARQUEE></TD>
344
 </TR>
345
 <TR valign=\"bottom\">
346
  <TD align=\"left\">[move alternate]Text[/move]</TD>
347
  <TD align=\"left\"><MARQUEE BEHAVIOR=\"ALTERNATE\">Text</MARQUEE></TD>
348
 </TR>
349
 <TR valign=\"bottom\">
350
  <TD align=\"left\">[move up]Text[/move]</TD>
351
  <TD align=\"left\"><MARQUEE scrollAmount=\"1\" direction=\"up\" scrolldelay=\"25\" height=\"8\">Text</MARQUEE></TD>
352
 </TR>
353
 <TR valign=\"bottom\">
354
  <TD align=\"left\">[move down]Text[/move]</TD>
355
  <TD align=\"left\"><MARQUEE scrollAmount=\"1\" direction=\"down\" scrolldelay=\"25\" height=\"8\">Text</MARQUEE></TD>
356
 </TR>
357
 <TR valign=\"bottom\">
358
  <TD align=\"left\">[mark]Text[/mark]</TD>
359
  <TD align=\"left\"><span style=\"background-color:yellow;color:black\">Text</span></TD>
360
 </TR>
361
 <TR valign=\"bottom\">
362
  <TD align=\"left\">[glow]Text[/glow]</TD>
363
  <TD align=\"left\"><SPAN style=\"filter:glow(color=#FF3F0F); height:2\">Text</SPAN></TD>
364
 </TR>
365
 <TR valign=\"bottom\">
366
  <TD align=\"left\">[fly left]Text[/fly]</TD>
367
  <TD align=\"left\"><MARQUEE DIRECTION=\"LEFT\"><MARQUEE scrollAmount=\"1\" direction=\"up\" scrolldelay=\"25\" height=\"8\">Text</MARQUEE></MARQUEE></TD>
368
 </TR>
369
 <TR valign=\"bottom\">
370
  <TD align=\"left\">[fly right]Text[/fly]</TD>
371
  <TD align=\"left\"><MARQUEE DIRECTION=\"RIGHT\"><MARQUEE scrollAmount=\"1\" direction=\"up\" scrolldelay=\"25\" height=\"8\">Text</MARQUEE></MARQUEE></TD>
372
 </TR>
373
 <TR valign=\"bottom\">
374
  <TD align=\"left\">[fly up]Text[/fly]</TD>
375
  <TD align=\"left\"><MARQUEE scrollAmount=\"1\" direction=\"up\" scrolldelay=\"25\" height=\"8\"><MARQUEE BEHAVIOR=\"ALTERNATE\">Text</MARQUEE></MARQUEE></TD>
376
 </TR>
377
 <TR valign=\"bottom\">
378
  <TD align=\"left\">[fly down]Text[/fly]</TD>
379
  <TD align=\"left\"><MARQUEE scrollAmount=\"1\" direction=\"down\" scrolldelay=\"25\" height=\"8\"><MARQUEE BEHAVIOR=\"ALTERNATE\">Text</MARQUEE></MARQUEE></TD>
380
 </TR>
381
 <TR valign=\"bottom\">
382
  <TD align=\"left\">[blink]Text[/blink]</TD>
383
  <TD align=\"left\"><BLINK>Text</BLINK></TD>
384
 </TR>
385
</TABLE>
386
<BR>
387
<!-- Jive Networks Company: You may not change, alter or change this link --><B>Where can I get my own Shoutbox?</B><BR>
388
You can get your own Shoutbox from <A href=\"http://www.jivenetworks.com\" target=\"_blank\">Jive Networks Resources</A>!<!-- Jive Networks Company: You may not change, alter or change this link -->
389
<BR><BR>
390
</td></tr></table>
391
</body>
392
</html>";
393
 
394
// Start board view
395
} else {
396
 
397
$file = "data.dat";
398
$fp = fopen ($file, "r+") or die ("error when reading $file");
399
$mess = file($file);
400
 
401
if ($name2 == "$name" ) { $name2 = "name"; } 
402
 
403
if ($info2 == "$info" ) { $info2 = "message"; } 
404
 
405
if ($site2 == "$site" ) { $site2 = "you@domain.com"; } 
406
 
407
print "<html>
408
<head>
409
<title>$title</title>
410
<script type=\"text/javascript\">
411
 
412
function openScript(url, width, height) {
413
        var Win = window.open(url,\"openScript\",'width=' + width + ',height=' + height + ',resizable=no,scrollbars=yes,menubar=no,status=no' );
414
}
415
 
416
</script>
417
 
418
<link rel='stylesheet' href='style.css' type='text/css'>
419
 
420
</head>
421
<body bgcolor=\"$bgcolor\" link=\"$link\" alink=\"$alink\" vlink=\"$vlink\" style=\"margin: 0pt;\" scroll=\"$scroll\" text=\"$text\">
422
<font face=\"Verdana\" color=\"#000000\" size=\"1\">";
423
print "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
424
  <tr>
425
    <td bgcolor=\"$table_bdr\"> 
426
      <table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"2\">
427
        <tr> 
428
          <td bgcolor=\"$table1\"><font face=\"Verdana\" color=\"$text\" size=\"1\">$mess[0]</font></td>
429
        </tr>
430
        <tr>
431
          <td bgcolor=\"$table2\"><font face=\"Verdana\" color=\"$text\" size=\"1\">$mess[1]</font></td>
432
        </tr>
433
        <tr>
434
          <td bgcolor=\"$table1\"><font face=\"Verdana\" color=\"$text\" size=\"1\">$mess[2]</font></td>
435
        </tr>
436
        <tr>
437
          <td bgcolor=\"$table2\"><font face=\"Verdana\" color=\"$text\" size=\"1\">$mess[3]</font></td>
438
        </tr>
439
        <tr>
440
          <td bgcolor=\"$table1\"><font face=\"Verdana\" color=\"$text\" size=\"1\">$mess[4]</font></td>
441
        </tr>
442
        <tr>
443
          <td bgcolor=\"$table2\"><font face=\"Verdana\" color=\"$text\" size=\"1\">$mess[5]</font></td>
444
        </tr>
445
      </table>
446
    </td>
447
  </tr>
448
</table>";
449
print "</font>";
450
print "<div align=\"center\"><form name=\"input\" method=\"post\" action=\"$location/sboard.php?sact=add\">
451
  <font face=\"Verdana, Arial, Helvetica, sans-serif\"> <font size=\"1\" color=\"$text\"> 
452
  <input type=\"text\" name=\"name\" value=\"$name2\" onfocus=\"this.value=''\" class=\"SB_input\" size=\"17\"><br>
453
<input type=\"text\" name=\"site\" value=\"$site2\" class=\"SB_input\" size=\"17\">
454
  <br>
455
  <input type=\"text\" name=\"info\" value=\"$info2\" onfocus=\"this.value=''\" class=\"SB_input\" size=\"17\"><br>
456
  <input type=\"submit\" name=\"Submit\" value=\"shout\" class=\"SB_button\"> <SPAN class=\"SB_shoutbox\">[ <a href=\"javascript:openScript('$location/sboard.php?sact=all','517','265')\">All</a> - <a href=\"javascript:openScript('$location/sboard.php?sact=editor','517','265')\">Editor</A> -  <a href=\"javascript:openScript('$location/sboard.php?sact=help','517','265')\">Help</a> - <a href=\"$location/sboard.php?sact=printable\">Print</A> ]</SPAN> 
457
  <noscript><input type=\"submit\" name=\"Submit\" value=\"shout\" class=\"SB_button\"> <SPAN class=\"SB_shoutbox\">[ <a href=\"$location/sboard.php?sact=all\">All</a> - <a href=\"$location/sboard.php?sact=editor\">Editor</A> -  <a href=\"$location/sboard.php?sact=help\">Help</a> - <a href=\"$location/sboard.php?sact=printable\">Print</A> ]</SPAN></noscript>
458
<br><!-- Jive Networks Company: You may not change, alter or change this link --><a href=\"http://www.jivenetworks.com\" target=\"_blank\">&copy; Jive Networks Resources</a><!-- Jive Networks Company: You may not change, alter or change this link -->
459
<br><font color=\"#FF0000\"><br><b> $message </b></font>
460
  </font> </font> 
461
</form></html></div>";
462
 
463
}
464
 
465
?>