Vraagje over php-code
Quote:
Code (php)
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
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
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
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
<? // error afhandeling goed instellen...
error_reporting(E_ALL);
// controle op configuratiebestand
if(file_exists("config.php") == FALSE)
{
die("Bestanden verwijderen ??? Ja dan werkt 't script natuurlijk niet he ...");
}
if(file_exists("install.php") == TRUE)
{
die("Verwijder 'install.php' als je de berichtenbalk hebt geïnstalleerd of klik <a href=\"install.php\">hier</a> om hem te installeren");
}
// invoegen
include("config.php");
// controleren op variabelen
if((isset($sql_host) == FALSE) OR (isset($sql_user) == FALSE) OR (isset($sql_pass) == FALSE) OR (isset($db) == FALSE) OR (isset($admin_pass) == FALSE) OR (isset($email) == FALSE) OR (isset($html) == FALSE) OR (isset($aantal_berichten) == FALSE) OR (isset($marquee_width) == FALSE) OR (isset($marquee_snelheid) == FALSE) OR (isset($volgorde) == FALSE) OR (isset($leegmaken) == FALSE) OR (isset($marquee_richting) == FALSE) OR (isset($max_naam) == FALSE) OR (isset($max_bericht) == FALSE) OR (isset($scheidingsteken) == FALSE) OR (isset($tekst_naam) == FALSE) OR (isset($tekst_bericht) == FALSE) OR (isset($opmaak_naam) == FALSE) OR (isset($opmaak_bericht) == FALSE) OR (isset($opmaak_datum) == FALSE) OR (isset($datum_weergeven) == FALSE) OR (isset($volgorde_weergeven) == FALSE) OR (isset($kleur) == FALSE) OR (isset($lettertyp) == FALSE) OR (isset($grootte) == FALSE) OR (isset($class_naam) == FALSE) OR (isset($class_bericht) == FALSE) OR (isset($class_knop) == FALSE))
{
die("Er missen variabelen ... Hoe moet het script zo werken ?");
}
// verbinding maken...
$connect = mysql_connect($sql_host,$sql_user,$sql_pass) or die("Kon geen verbinding maken met host: " . mysql_error());
mysql_select_db($db,$connect) or die("Kon geen verbinding maken met database: " . mysql_error());
// functies definieren
function opmaak_berichten($naam,$bericht)
{
global $opmaak_naam;
global $opmaak_bericht;
$naam_en_bericht = "";
$array = explode("[naam]",$opmaak_naam);
$naam_en_bericht .= ($array[0] . $naam . ": " . $array[1]);
unset($array);
$array = explode("[bericht]",$opmaak_bericht);
$naam_en_bericht .= ($array[0] . $bericht . $array[1]);
unset($array);
return $naam_en_bericht;
}
function smilies($bericht)
{
$smilies = array(
":thumb:" => "<img src=\"images/thumb.gif\" alt=\"\">",
":evil:" => "<img src=\"images/evil.gif\" alt=\"\">",
":mad:" => "<img src=\"images/mad.gif\" alt=\"\">",
":love:" => "<img src=\"images/love.gif\" alt=\"\">",
":cool:" => "<img src=\"images/cool.gif\" alt=\"\">",
":surprised:" => "<img src=\"images/surprised.gif\" alt=\"\">",
":shocked:" => "<img src=\"images/shocked.gif\" alt=\"\">",
":shame:" => "<img src=\"images/shame.gif\" alt=\"\">",
":rolleyes:" => "<img src=\"images/rolleyes.gif\" alt=\"\">",
":confused:" => "<img src=\"images/confused.gif\" alt=\"\">",
">:)" => "<img src=\"images/evil.gif\" alt=\"\">",
":)" => "<img src=\"images/smile.gif\" alt=\"\">",
";)" => "<img src=\"images/wink.gif\" alt=\"\">",
":/" => "<img src=\"images/confused.gif\" alt=\"\">",
":s" => "<img src=\"images/confused.gif\" alt=\"\">",
":S" => "<img src=\"images/confused.gif\" alt=\"\">",
":o" => "<img src=\"images/shame.gif\" alt=\"\">",
":O" => "<img src=\"images/shame.gif\" alt=\"\">",
":D" => "<img src=\"images/grin.gif\" alt=\"\">",
":d" => "<img src=\"images/grin.gif\" alt=\"\">",
":P" => "<img src=\"images/tongue.gif\" alt=\"\">",
":p" => "<img src=\"images/tongue.gif\" alt=\"\">",
":(" => "<img src=\"images/frown.gif\" alt=\"\">",
":applause:" => "<img src=\"images/applause.gif\" alt=\"\">",
"(8)" => "<img src=\"images/noot.gif\" alt=\"\">",
""<img src=\"images/wink.gif\" alt=\"\">;" => "");",
"http<img src=\"images/confused.gif\" alt=\"\">/" => "http://");
foreach($smilies AS $key => $value)
{
$bericht = str_replace($key,$value,$bericht);
}
return $bericht;
}
if(count($_POST) > 0)
{
$ip = $_SERVER["REMOTE_ADDR"];
$query = "SELECT * FROM bans WHERE ip = '" . $ip . "'";
$result = mysql_query($query) or die(mysql_error());
if(mysql_num_rows($result) > 0)
{
echo "<font color=\"" . $kleur . "\" face=\"" . $lettertyp . "\" size=\"" . $grootte . "\">Je bent gebanned en mag niet posten</font>";
echo "<meta http-equiv=refresh content=2;URL=\"index4.php\">";
die();
}
if((isset($_POST["naam"]) == FALSE) OR (isset($_POST["bericht"]) == FALSE))
{
die("<font color=\"" . $kleur . "\" face=\"" . $lettertyp . "\" size=\"" . $grootte . "\">Incomplete invoer <meta http-equiv=refresh content=2;URL=\"index4.php\"></font>");
}
$naam = stripslashes($_POST["naam"]);
$bericht = stripslashes($_POST["bericht"]);
if($html != "ja")
{
$naam = htmlspecialchars($naam,ENT_QUOTES);
$bericht = htmlspecialchars($bericht,ENT_QUOTES);
}
if($naam == $tekst_naam OR $bericht == $tekst_bericht OR $_POST["naam"] == "" OR $_POST["bericht"] == "" OR strlen(stripslashes($_POST["naam"])) > $max_naam OR strlen(stripslashes($_POST["bericht"])) > $max_bericht)
{
die("<font color=\"" . $kleur . "\" face=\"" . $lettertyp . "\" size=\"" . $grootte . "\">Wel alle waarden invullen aub <meta http-equiv=refresh content=2;URL=\"index4.php\"></font>");
}
$query = "SELECT * FROM scheldwoorden ORDER BY id ASC";
$result = mysql_query($query) or die(mysql_error());
while($rij = mysql_fetch_object($result))
{
$bericht = str_replace($rij->scheldwoord,$rij->vervanging,$bericht);
$naam = str_replace($rij->scheldwoord,$rij->vervanging,$naam);
}
$datum = time();
$ip = $_SERVER["REMOTE_ADDR"];
$query = "INSERT INTO berichtenbalk (id,naam,bericht,datum,ip) VALUES ('','" . $naam . "','" . $bericht . "','" . $datum . "','" . $ip . "')";
mysql_query($query) or die("Kon query niet uitvoeren: " . mysql_error());
if(strlen($email) > 0)
{
mail($email,"Nieuw bericht in je berichtenbalk","Er is een nieuw bericht geplaatst in je gastenboek op " . date("d-m-Y",$datum) . " om " . date("H:i",$datum) . " vanaf het ip " . $ip . "\n\nNaam: " . $naam . "\nBericht: " . $bericht) or die($email . "<br>Kon email niet verzenden");
}
echo "<font color=\"" . $kleur . "\" face=\"" . $lettertyp . "\" size=\"" . $grootte . "\">Bedankt voor je post !</font>";
echo "<meta http-equiv=refresh content=2;URL=\"index4.php\">";
die();
}
$tekst = "<marquee";
if($marquee_width > 0)
{
$tekst .= " width=\"" . $marquee_width . "\"";
}
if($marquee_snelheid > 0)
{
$tekst .= " scrollamount=\"" . $marquee_snelheid . "\"";
}
if($marquee_richting == "rechts")
{
$tekst .= " direction=\"right\"";
}
$tekst .= "><font color=\"" . $kleur . "\" face=\"" . $lettertyp . "\" size=\"" . $grootte . "\">";
$order = "DESC";
if($volgorde == "oud")
{
$order = "ASC";
}
if($order == "DESC")
{
$start = 0;
}
else
{
$query = ("SELECT id FROM berichtenbalk");
$result = mysql_query($query) or die("Kon query niet uitvoeren: " . mysql_error());
if(mysql_num_rows($result) == 0)
{
$start = 0;
}
else
{
$getal = (mysql_num_rows($result) - $aantal_berichten);
if($getal <= 0)
{
$start = 0;
}
else
{
$start = $getal;
}
}
}
$query = ("SELECT * FROM berichtenbalk ORDER BY id " . $order . " LIMIT " . $start . "," . $aantal_berichten);
$result = mysql_query($query) or die("Kon query niet uitvoeren: " . mysql_error());
if(mysql_num_rows($result) == 0)
{
$tekst .= "Er zijn nog geen berichten";
}
else
{
$i = 0;
while($rij = mysql_fetch_object($result))
{
$array1 = explode("[naam]",$opmaak_naam);
$array2 = explode("[bericht]",$opmaak_bericht);
$array3 = explode("[datum]",$opmaak_datum);
$array4 = explode(",",$volgorde_weergeven);
if($i != 0)
{
$tekst .= $scheidingsteken;
}
$opmaak = array("1" => ($array1[0] . $rij->naam . $array1[1]),"2" => ($array3[0] . date($datum_weergeven,$rij->datum) . $array3[1]),"3" => ($array2[0] . smilies($rij->bericht) . $array2[1]));
$txt = "";
foreach($array4 AS $key => $value)
{
$txt .= ($opmaak[$value]);
}
$tekst .= $txt;
$i++;
}
}
$tekst .= "</font></marquee>
<form action=\"" . $_SERVER["PHP_SELF"] . "\" method=\"post\" style=\"margin-top: " . $pixels . "px\"><input type=\"text\" name=\"naam\" maxlength=\"" . $max_naam . "\" size=\"10\" value=\"" . $tekst_naam . "\"";
if($class_naam != "")
{
$tekst .= " class=\"" . $class_naam . "\"";
}
if($leegmaken == "ja")
{
$tekst .= " onfocus=\"this.value=''\"";
}
$tekst .= "> <input type=\"text\" name=\"bericht\" maxlength=\"" . $max_bericht . "\" size=\"30\" value=\"" . $tekst_bericht . "\"";
if($class_bericht != "")
{
$tekst .= " class=\"" . $class_bericht . "\"";
}
if($leegmaken == "ja")
{
$tekst .= " onfocus=\"this.value=''\"";
}
$tekst .= "> <input type=\"submit\" value=\"Post !\"";
if($class_knop != "")
{
$tekst .= " class=\"" . $class_knop . "\"";
}
$tekst .= "> <font color=\"" . $kleur . "\" face=\"" . $lettertyp . "\" size=\"" . $grootte . "\">";
if($link_help == "ja")
{
$tekst .= "<a href=\"help.php\" target=\"_blank\">Smilies</a>";
}
if(($link_help == "ja") AND ($link_admin == "ja"))
{
$tekst .= " || ";
}
if($link_admin == "ja")
{
$tekst .= "<a href=\"admin.php\" target=\"_blank\">Admin</a>";
}
$tekst .= "</font></form>";
echo $tekst;
?>
error_reporting(E_ALL);
// controle op configuratiebestand
if(file_exists("config.php") == FALSE)
{
die("Bestanden verwijderen ??? Ja dan werkt 't script natuurlijk niet he ...");
}
if(file_exists("install.php") == TRUE)
{
die("Verwijder 'install.php' als je de berichtenbalk hebt geïnstalleerd of klik <a href=\"install.php\">hier</a> om hem te installeren");
}
// invoegen
include("config.php");
// controleren op variabelen
if((isset($sql_host) == FALSE) OR (isset($sql_user) == FALSE) OR (isset($sql_pass) == FALSE) OR (isset($db) == FALSE) OR (isset($admin_pass) == FALSE) OR (isset($email) == FALSE) OR (isset($html) == FALSE) OR (isset($aantal_berichten) == FALSE) OR (isset($marquee_width) == FALSE) OR (isset($marquee_snelheid) == FALSE) OR (isset($volgorde) == FALSE) OR (isset($leegmaken) == FALSE) OR (isset($marquee_richting) == FALSE) OR (isset($max_naam) == FALSE) OR (isset($max_bericht) == FALSE) OR (isset($scheidingsteken) == FALSE) OR (isset($tekst_naam) == FALSE) OR (isset($tekst_bericht) == FALSE) OR (isset($opmaak_naam) == FALSE) OR (isset($opmaak_bericht) == FALSE) OR (isset($opmaak_datum) == FALSE) OR (isset($datum_weergeven) == FALSE) OR (isset($volgorde_weergeven) == FALSE) OR (isset($kleur) == FALSE) OR (isset($lettertyp) == FALSE) OR (isset($grootte) == FALSE) OR (isset($class_naam) == FALSE) OR (isset($class_bericht) == FALSE) OR (isset($class_knop) == FALSE))
{
die("Er missen variabelen ... Hoe moet het script zo werken ?");
}
// verbinding maken...
$connect = mysql_connect($sql_host,$sql_user,$sql_pass) or die("Kon geen verbinding maken met host: " . mysql_error());
mysql_select_db($db,$connect) or die("Kon geen verbinding maken met database: " . mysql_error());
// functies definieren
function opmaak_berichten($naam,$bericht)
{
global $opmaak_naam;
global $opmaak_bericht;
$naam_en_bericht = "";
$array = explode("[naam]",$opmaak_naam);
$naam_en_bericht .= ($array[0] . $naam . ": " . $array[1]);
unset($array);
$array = explode("[bericht]",$opmaak_bericht);
$naam_en_bericht .= ($array[0] . $bericht . $array[1]);
unset($array);
return $naam_en_bericht;
}
function smilies($bericht)
{
$smilies = array(
":thumb:" => "<img src=\"images/thumb.gif\" alt=\"\">",
":evil:" => "<img src=\"images/evil.gif\" alt=\"\">",
":mad:" => "<img src=\"images/mad.gif\" alt=\"\">",
":love:" => "<img src=\"images/love.gif\" alt=\"\">",
":cool:" => "<img src=\"images/cool.gif\" alt=\"\">",
":surprised:" => "<img src=\"images/surprised.gif\" alt=\"\">",
":shocked:" => "<img src=\"images/shocked.gif\" alt=\"\">",
":shame:" => "<img src=\"images/shame.gif\" alt=\"\">",
":rolleyes:" => "<img src=\"images/rolleyes.gif\" alt=\"\">",
":confused:" => "<img src=\"images/confused.gif\" alt=\"\">",
">:)" => "<img src=\"images/evil.gif\" alt=\"\">",
":)" => "<img src=\"images/smile.gif\" alt=\"\">",
";)" => "<img src=\"images/wink.gif\" alt=\"\">",
":/" => "<img src=\"images/confused.gif\" alt=\"\">",
":s" => "<img src=\"images/confused.gif\" alt=\"\">",
":S" => "<img src=\"images/confused.gif\" alt=\"\">",
":o" => "<img src=\"images/shame.gif\" alt=\"\">",
":O" => "<img src=\"images/shame.gif\" alt=\"\">",
":D" => "<img src=\"images/grin.gif\" alt=\"\">",
":d" => "<img src=\"images/grin.gif\" alt=\"\">",
":P" => "<img src=\"images/tongue.gif\" alt=\"\">",
":p" => "<img src=\"images/tongue.gif\" alt=\"\">",
":(" => "<img src=\"images/frown.gif\" alt=\"\">",
":applause:" => "<img src=\"images/applause.gif\" alt=\"\">",
"(8)" => "<img src=\"images/noot.gif\" alt=\"\">",
""<img src=\"images/wink.gif\" alt=\"\">;" => "");",
"http<img src=\"images/confused.gif\" alt=\"\">/" => "http://");
foreach($smilies AS $key => $value)
{
$bericht = str_replace($key,$value,$bericht);
}
return $bericht;
}
if(count($_POST) > 0)
{
$ip = $_SERVER["REMOTE_ADDR"];
$query = "SELECT * FROM bans WHERE ip = '" . $ip . "'";
$result = mysql_query($query) or die(mysql_error());
if(mysql_num_rows($result) > 0)
{
echo "<font color=\"" . $kleur . "\" face=\"" . $lettertyp . "\" size=\"" . $grootte . "\">Je bent gebanned en mag niet posten</font>";
echo "<meta http-equiv=refresh content=2;URL=\"index4.php\">";
die();
}
if((isset($_POST["naam"]) == FALSE) OR (isset($_POST["bericht"]) == FALSE))
{
die("<font color=\"" . $kleur . "\" face=\"" . $lettertyp . "\" size=\"" . $grootte . "\">Incomplete invoer <meta http-equiv=refresh content=2;URL=\"index4.php\"></font>");
}
$naam = stripslashes($_POST["naam"]);
$bericht = stripslashes($_POST["bericht"]);
if($html != "ja")
{
$naam = htmlspecialchars($naam,ENT_QUOTES);
$bericht = htmlspecialchars($bericht,ENT_QUOTES);
}
if($naam == $tekst_naam OR $bericht == $tekst_bericht OR $_POST["naam"] == "" OR $_POST["bericht"] == "" OR strlen(stripslashes($_POST["naam"])) > $max_naam OR strlen(stripslashes($_POST["bericht"])) > $max_bericht)
{
die("<font color=\"" . $kleur . "\" face=\"" . $lettertyp . "\" size=\"" . $grootte . "\">Wel alle waarden invullen aub <meta http-equiv=refresh content=2;URL=\"index4.php\"></font>");
}
$query = "SELECT * FROM scheldwoorden ORDER BY id ASC";
$result = mysql_query($query) or die(mysql_error());
while($rij = mysql_fetch_object($result))
{
$bericht = str_replace($rij->scheldwoord,$rij->vervanging,$bericht);
$naam = str_replace($rij->scheldwoord,$rij->vervanging,$naam);
}
$datum = time();
$ip = $_SERVER["REMOTE_ADDR"];
$query = "INSERT INTO berichtenbalk (id,naam,bericht,datum,ip) VALUES ('','" . $naam . "','" . $bericht . "','" . $datum . "','" . $ip . "')";
mysql_query($query) or die("Kon query niet uitvoeren: " . mysql_error());
if(strlen($email) > 0)
{
mail($email,"Nieuw bericht in je berichtenbalk","Er is een nieuw bericht geplaatst in je gastenboek op " . date("d-m-Y",$datum) . " om " . date("H:i",$datum) . " vanaf het ip " . $ip . "\n\nNaam: " . $naam . "\nBericht: " . $bericht) or die($email . "<br>Kon email niet verzenden");
}
echo "<font color=\"" . $kleur . "\" face=\"" . $lettertyp . "\" size=\"" . $grootte . "\">Bedankt voor je post !</font>";
echo "<meta http-equiv=refresh content=2;URL=\"index4.php\">";
die();
}
$tekst = "<marquee";
if($marquee_width > 0)
{
$tekst .= " width=\"" . $marquee_width . "\"";
}
if($marquee_snelheid > 0)
{
$tekst .= " scrollamount=\"" . $marquee_snelheid . "\"";
}
if($marquee_richting == "rechts")
{
$tekst .= " direction=\"right\"";
}
$tekst .= "><font color=\"" . $kleur . "\" face=\"" . $lettertyp . "\" size=\"" . $grootte . "\">";
$order = "DESC";
if($volgorde == "oud")
{
$order = "ASC";
}
if($order == "DESC")
{
$start = 0;
}
else
{
$query = ("SELECT id FROM berichtenbalk");
$result = mysql_query($query) or die("Kon query niet uitvoeren: " . mysql_error());
if(mysql_num_rows($result) == 0)
{
$start = 0;
}
else
{
$getal = (mysql_num_rows($result) - $aantal_berichten);
if($getal <= 0)
{
$start = 0;
}
else
{
$start = $getal;
}
}
}
$query = ("SELECT * FROM berichtenbalk ORDER BY id " . $order . " LIMIT " . $start . "," . $aantal_berichten);
$result = mysql_query($query) or die("Kon query niet uitvoeren: " . mysql_error());
if(mysql_num_rows($result) == 0)
{
$tekst .= "Er zijn nog geen berichten";
}
else
{
$i = 0;
while($rij = mysql_fetch_object($result))
{
$array1 = explode("[naam]",$opmaak_naam);
$array2 = explode("[bericht]",$opmaak_bericht);
$array3 = explode("[datum]",$opmaak_datum);
$array4 = explode(",",$volgorde_weergeven);
if($i != 0)
{
$tekst .= $scheidingsteken;
}
$opmaak = array("1" => ($array1[0] . $rij->naam . $array1[1]),"2" => ($array3[0] . date($datum_weergeven,$rij->datum) . $array3[1]),"3" => ($array2[0] . smilies($rij->bericht) . $array2[1]));
$txt = "";
foreach($array4 AS $key => $value)
{
$txt .= ($opmaak[$value]);
}
$tekst .= $txt;
$i++;
}
}
$tekst .= "</font></marquee>
<form action=\"" . $_SERVER["PHP_SELF"] . "\" method=\"post\" style=\"margin-top: " . $pixels . "px\"><input type=\"text\" name=\"naam\" maxlength=\"" . $max_naam . "\" size=\"10\" value=\"" . $tekst_naam . "\"";
if($class_naam != "")
{
$tekst .= " class=\"" . $class_naam . "\"";
}
if($leegmaken == "ja")
{
$tekst .= " onfocus=\"this.value=''\"";
}
$tekst .= "> <input type=\"text\" name=\"bericht\" maxlength=\"" . $max_bericht . "\" size=\"30\" value=\"" . $tekst_bericht . "\"";
if($class_bericht != "")
{
$tekst .= " class=\"" . $class_bericht . "\"";
}
if($leegmaken == "ja")
{
$tekst .= " onfocus=\"this.value=''\"";
}
$tekst .= "> <input type=\"submit\" value=\"Post !\"";
if($class_knop != "")
{
$tekst .= " class=\"" . $class_knop . "\"";
}
$tekst .= "> <font color=\"" . $kleur . "\" face=\"" . $lettertyp . "\" size=\"" . $grootte . "\">";
if($link_help == "ja")
{
$tekst .= "<a href=\"help.php\" target=\"_blank\">Smilies</a>";
}
if(($link_help == "ja") AND ($link_admin == "ja"))
{
$tekst .= " || ";
}
if($link_admin == "ja")
{
$tekst .= "<a href=\"admin.php\" target=\"_blank\">Admin</a>";
}
$tekst .= "</font></form>";
echo $tekst;
?>
Er zijn nog geen reacties op dit bericht.