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 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE><?php echo $this->messages[7]; ?></TITLE>
<?php echo $this->messages[32]; ?>
<LINK HREF="guestbook.css" REL="stylesheet" TYPE="text/css">
<SCRIPT LANGUAGE="JavaScript">
<!--
function SetSmiley(Which) {
if (document.newentry.newtext.createTextRange) {
document.newentry.newtext.focus();
document.selection.createRange().duplicate().text = Which;
} else {
document.newentry.newtext.value += Which;
}
}
function ClearText() {
<?php
if ($this->messengers != 0) {
echo "\t\tdocument.newentry.newicq.value = \"\";\n";
echo "\t\tdocument.newentry.newaim.value = \"\";\n";
echo "\t\tdocument.newentry.newyim.value = \"\";\n";
echo "\t\tdocument.newentry.newmsn.value = \"\";\n";
}
?>
document.newentry.newname.value = "";
document.newentry.newmail.value = "";
document.newentry.newurl.value = "http://";
document.newentry.newtext.value = "";
}
function CheckLength(max) {
if (document.newentry.newtext.value.length > max) {
alert("Maximal input characters reached!");
document.newentry.newtext.value = document.newentry.newtext.value.substring(0, max);
}
window.setTimeout("CheckLength(<?php echo $this->maxtext; ?>)", 500);
}
function CreateHelp() {
window.open("help.php", "help", "dependent=yes, resizable=yes, scrollbars=yes, width=500, height=400");
}
//-->
</SCRIPT>
</HEAD>
<BODY onLoad="javascript:CheckLength(<?php echo $this->maxtext; ?>);">
<FORM NAME="newentry" ACTION="guestbook.php<?php global $lang; if (isset($lang)) echo "?lang=".$lang; ?>" METHOD="post">
<INPUT NAME="act" TYPE="hidden" VALUE="write">
<TABLE BORDER="0" ALIGN="center" CELLPADDING="3" CELLSPACING="1" WIDTH="70%">
<TR CLASS="tableheader">
<TD ALIGN="left" CLASS="header" COLSPAN="2">
<FONT SIZE="4" CLASS="header"><?php echo $this->messages[8]; ?></FONT>
<?php if ($this->shorthelpformat) { ?>
<FONT SIZE="1" CLASS="header"><DIV ALIGN="right">[ <A CLASS="normlink" HREF="javascript:CreateHelp();" ONFOCUS="filter:blur();"><?php echo $this->messages[31]; ?></A> ]</DIV>
<?php } ?>
</TD>
</TR>
<TR CLASS="tablerow1">
<TD CLASS="normalcol" VALIGN="center" WIDTH="20%">
<FONT SIZE="2"<?php if ($which == 1) echo " CLASS=\"attention\""; else echo " CLASS=\"normalcol\""; ?>><?php echo $this->messages[9]; ?></FONT>
</TD>
<TD CLASS="normalcol" WIDTH="80%">
<FONT SIZE="2"><INPUT NAME="newname" <?php if ($which != 0) echo "VALUE=\"$this->newname\" "; else echo "VALUE=\"$newname\" "; ?>SIZE="<?php echo $this->inputsize; ?>" MAXLENGTH="20"></FONT>
</TD>
</TR>
<TR CLASS="tablerow2">
<TD CLASS="normalcol" VALIGN="center">
<FONT SIZE="2"<?php if ($which == 2) echo " CLASS=\"attention\""; else echo " CLASS=\"normalcol\""; ?>><?php echo $this->messages[10]; ?></FONT>
</TD>
<TD CLASS="normalcol">
<FONT SIZE="2"><INPUT NAME="newmail" <?php if ($which != 0) echo "VALUE=\"$this->newmail\" "; else echo "VALUE=\"$newmail\" "; ?>SIZE="<?php echo $this->inputsize; ?>"></FONT>
</TD>
</TR>
<?php
#include messengers
if ($this->messengers != 0) {
if (!file_exists("messenger.html.inc")) die ("Can't open messenger.html.inc!");
include("messenger.html.inc");
}
?>
<?php if ($this->showlocation != 0) { ?>
<TR CLASS="tablerow1">
<TD CLASS="normalcol" VALIGN="center">
<FONT SIZE="2" CLASS="normalcol"><?php echo $this->messages[30]; ?></FONT>
</TD>
<TD CLASS="normalcol">
<FONT SIZE="2">
<?php
switch ($this->language) {
case "ger":
if (!file_exists("location_ger.php")) die ("Can't open location_ger.php!");
include("location_ger.php");
break;
default:
if (!file_exists("location_eng.php")) die ("Can't open location_eng.php!");
include("location_eng.php");
}
asort($location);
reset($location);
echo "<SELECT name=\"newloc\" size=\"1\">";
foreach($location as $key => $value) {
if ($which != 0) {
if ($key == $this->newloc) echo "<OPTION SELECTED VALUE=\"$key\">$value</OPTION>";
else echo "<OPTION VALUE=\"$key\">$value</OPTION>";
} else {
if ($key == $newloc) echo "<OPTION SELECTED VALUE=\"$key\">$value</OPTION>";
else echo "<OPTION VALUE=\"$key\">$value</OPTION>";
}
}
echo "</SELECT>";
?>
</FONT>
</TD>
</TR>
<?php } ?>
<TR CLASS="tablerow2">
<TD CLASS="normalcol" VALIGN="center">
<FONT SIZE="2" CLASS="normalcol"><?php echo $this->messages[11]; ?></FONT>
</TD>
<TD CLASS="normalcol">
<FONT SIZE="2"><INPUT NAME="newurl" <?php if ($which != 0) echo "VALUE=\"$this->newurl\" "; else echo "VALUE=\"$newurl\" "; ?>SIZE="<?php echo $this->inputsize; ?>" MAXLENGTH="100"></FONT>
</TD>
</TR>
<TR CLASS="tablerow1">
<TD CLASS="normalcol" VALIGN="top">
<FONT SIZE="2"<?php if ($which == 3) echo " CLASS=\"attention\""; else echo " CLASS=\"normalcol\""; ?>><?php echo $this->messages[12]; ?></FONT>
</TD>
<TD CLASS="normalcol">
<FONT SIZE="2"><TEXTAREA COLS="<?php echo $this->textfieldsize; ?>" NAME="newtext" ROWS="10"><?php if ($which != 0) echo str_replace("<BR>", "\n", $this->newtext); else echo str_replace("<BR>", "\n", $newtext); ?></TEXTAREA></FONT>
</TD>
</TR>
<?php if ($this->showsmileys != 0) { ?>
<TR CLASS="tablerow2">
<TD CLASS="normalcol" VALIGN="top">
<FONT SIZE="2" CLASS="normalcol"><?php echo $this->messages[23]; ?>:</FONT>
</TD>
<TD CLASS="normalcol">
<FONT SIZE="2">
<?php
global $limitshownsmileylist;
if (!file_exists("smileys.php")) die ("Can't open smileys.php!");
include("smileys.php");
$smileylist = array_unique($smileylist);
reset($smileylist);
$count = 0;
$lastvalue = 0;
while ((list($key, $value) = each($smileylist)) && ($count < $limitshownsmileylist)) {
if ($count != 0 && ($count % 20) == 0) echo "<BR>";
if ($value != $lastvalue) echo "<A HREF=\"javascript:SetSmiley('".$key."')\" ONFOCUS=\"filter:blur();\">".stripslashes($value)."</A>";
$lastvalue = $value;
$count++;
}
?>
</FONT>
</TD>
</TR>
<?php } if ($this->showoptions != 0) { ?>
<TR CLASS="tablerow1">
<TD CLASS="normalcol" VALIGN="center">
<FONT SIZE="2" CLASS="normalcol"><?php echo $this->messages[13]; ?></FONT>
</TD>
<TD CLASS="normalcol">
<FONT SIZE="2" CLASS="normalcol">
<?php
if ($this->previewchecked != 0)
echo "<INPUT TYPE=\"checkbox\" NAME=\"pre\" CHECKED VALUE=\"yes\" ONFOCUS=\"filter:blur()\">";
else
echo "<INPUT TYPE=\"checkbox\" NAME=\"pre\" VALUE=\"yes\" ONFOCUS=\"filter:blur()\">";
?>
<?php echo $this->messages[14]; ?>
<?php
if ($this->emotionchecked != 0)
echo "<INPUT TYPE=\"checkbox\" NAME=\"emotion\" CHECKED VALUE=\"yes\" ONFOCUS=\"filter:blur()\">";
else
echo "<INPUT TYPE=\"checkbox\" NAME=\"emotion\" VALUE=\"yes\" ONFOCUS=\"filter:blur()\">";
?>
<?php echo $this->messages[15]; ?></FONT>
</TD>
</TR>
<?php } ?>
<TR CLASS="tablerow2">
<TD CLASS="normalcol" VALIGN="center">
<FONT SIZE="2" CLASS="normalcol"> </FONT>
</TD>
<TD CLASS="normalcol">
<FONT SIZE="2" CLASS="normalcol">
<INPUT TYPE="submit" VALUE="<?php echo $this->messages[16]; ?>" ONFOCUS="filter:blur()">
<INPUT TYPE="reset" VALUE="<?php echo $this->messages[17]; ?>" ONFOCUS="filter:blur()">
<INPUT TYPE="button" VALUE="<?php echo $this->messages[24]; ?>" ONCLICK="javascript:ClearText()"></FONT>
</TD>
</TR>
<TR CLASS="tableheader">
<TD ALIGN="middle" CLASS="header" COLSPAN="2" HEIGHT="8">
<FONT SIZE="2" CLASS="header">
[ <A CLASS="tablelink" HREF="guestbook.php<?php global $lang; if (isset($lang)) echo "?lang=".$lang; ?>" ONFOCUS="filter:blur()"><?php echo $this->messages[18]; ?></A> ]</FONT>
</TD>
</TR>
</TABLE>
</FORM>
<?php
if ($this->showhelp != 0) {
#include the helpfile
switch ($this->language) {
case "eng":
if (file_exists("help_eng.html.inc")) include("help_eng.html.inc");
break;
case "ger":
if (file_exists("help_ger.html.inc")) include("help_ger.html.inc");
break;
case "swe":
if (file_exists("help_swe.html.inc")) include("help_swe.html.inc");
break;
case "fre":
if (file_exists("help_fre.html.inc")) include("help_fre.html.inc");
break;
case "ita":
if (file_exists("help_ita.html.inc")) include("help_ita.html.inc");
break;
case "por":
if (file_exists("help_por.html.inc")) include("help_por.html.inc");
break;
case "dut":
if (file_exists("help_dut.html.inc")) include("help_dut.html.inc");
break;
case "spa":
if (file_exists("help_spa.html.inc")) include("help_spa.html.inc");
break;
case "rus":
if (file_exists("help_rus.html.inc")) include("help_rus.html.inc");
break;
case "cze":
if (file_exists("help_cze.html.inc")) include("help_cze.html.inc");
break;
case "fin":
if (file_exists("help_fin.html.inc")) include("help_fin.html.inc");
break;
case "chi":
if (file_exists("help_chi.html.inc")) include("help_chi.html.inc");
break;
case "dan":
if (file_exists("help_dan.html.inc")) include("help_dan.html.inc");
break;
case "pol":
if (file_exists("help_pol.html.inc")) include("help_pol.html.inc");
break;
case "ice":
if (file_exists("help_ice.html.inc")) include("help_ice.html.inc");
break;
case "svk":
if (file_exists("help_svk.html.inc")) include("help_svk.html.inc");
break;
case "hug":
if (file_exists("help_hug.html.inc")) include("help_hug.html.inc");
break;
default:
if (file_exists("help_eng.html.inc")) include("help_eng.html.inc");
break;
}
}
?>
</BODY>
</HTML>
|