nach langer Zeit muss ich mich notgedrungen mal wieder mit einer kleinen Frage an euch wenden. Diesmal geht es um die profiledit.htm, die ich ein wenig umstrukturiert habe.
Ansich klappt die auch ganz gut, nur mit der kleinen Einschränkung, dass wenn man sein Profil geändert hat und auf "Speichern" klickt die Meldung "Bitte die eMail bestätigen" anstatt "erfolgreich geändert" kommt. Daraus resultiert ebenfalls, dass man jedesmal eine E-Mail erhält, in der die angebliche E-Mail-Änderung bestätigt werden soll.
Nun frag ich mich, wo in der profil_edit.htm der kleine feine Fehler steckt. Vielleicht kann mir einer von euch da weiterhelfen.
Die htm sieht folgendermaßen aus:
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 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 | <script type="text/javascript"> <!-- function showhide(name) { var menge = 3; var i = 1; while(menge >= i){ var e = document.getElementById('aF00'+i); e.style.display = 'none'; i++; } var e = document.getElementById(name); e.style.display = 'block'; } --> </script> <form action="index.php?user-profil" method="POST" enctype="multipart/form-data"> <table width="100%"t border="0" cellspacing="0"> <tr> <td width="33%"> <span style="padding-bottom:10px;display:block;"> <a title="Anzeigen/Verstecken" href="javascript:showhide('aF001')"><span class="normalheadline_strong">» {_lang_Profildaten}</span></a> </td> <td width="33%"> <a title="Anzeigen/Verstecken" href="javascript:showhide('aF002')"><span class="normalheadline_strong">» {_lang_Forumdaten}</span></a> </td> <td width="33%"> <a title="Anzeigen/Verstecken" href="javascript:showhide('aF003')"><span class="normalheadline_strong">» {_lang_Accountdaten}</span></a> </tr> </table> <div style="display:block;" id="aF001"> <fieldset> <legend class ="bigfont_strongunderline">{_lang_Profildaten}</legend> <br /> <fieldset> <legend class ="bigfont_strong">{_lang_Profilbild}</legend> <table width="100%"t border="0" cellspacing="0"> <tr> <td width="40%"> {userbild} </td> <td width="60%"> <span class="normalfont_strongunderline">{_lang_Es} {_lang_gilt} {_lang_zu} {_lang_beachten}:</span> <p> <span class="normalfont_strong">• {_lang_die} {_lang_maximale} {_lang_Breite} {_lang_beträgt} {Fabreite}px</span> <span class="normalfont_strong">• {_lang_die} {_lang_maximale} {_lang_Höhe} {_lang_beträgt} {Fahohe}px</span> <span class="normalfont_strong">• {_lang_die} {_lang_maximale} {_lang_Größe} {_lang_beträgt} {Fasize} bytes</span> </p> <span class="normalfont_strong">⇒ {_lang_sonst} {_lang_keine} {_lang_Aktion} !!!</span> </td> <tr> <td width="40%"> {_lang_Profilbild} {_lang_löschen}? </td> <td width="60%"> <input type="checkbox" value="yes" name="userpictloeschen" /> </td> </tr> <tr> <td width="40%"> {_lang_Profilbild} {_lang_hochladen}? </td> <td width="60%"> <input style="margin-bottom:2px;" type="file" name="userpictfile" /> </td> </tr> </table> </fieldset> <fieldset> <legend class ="bigfont_strong">{_lang_Grunddaten}</legend> <table width="100%"t border="0" cellspacing="0"> <tr> <td width="40%"> {_lang_Clantag} </td> <td width="60%"> <input style="margin-bottom:2px;" name="clantag" value="{clantag}" /> <br style="clear:both;" /> </td> <tr> <td width="40%"> {_lang_Clanname} </td> <td width="60%"> <input style="margin-bottom:2px;" name="clanname" value="{clanname}" /> <br style="clear:both;" /> </td> </tr> <tr> <td width="40%"> {_lang_Clan-Page} </td> <td width="60%"> <input style="margin-bottom:2px;" name="clanpage" value="{clanpage}" /> <br style="clear:both;" /> </td> </tr> <tr> <td width="40%"> {_lang_Status} </td> <td width="60%"> <input id="status_aktiv" type="radio" value="1" name="status" {status1} /><label for="status_aktiv"> {_lang_aktiv}</label> <input id="status_inaktiv" type="radio" value="0" name="status" {status0} /><label for="status_inaktiv"> {_lang_inaktiv}</label> <br style="clear:both;" /> </td> </tr> </table> </fieldset> <fieldset> <legend class ="bigfont_strong">{_lang_Persönliche} {_lang_Daten}</legend> <table width="100%"t border="0" cellspacing="0"> <tr> <td width="40%"> {_lang_Vorname} </td> <td width="60%"> <input style="margin-bottom:2px;" name="realname" value="{realname}" /> <br style="clear:both;" /> </td> <tr> <td width="40%"> {_lang_Geschlecht} </td> <td width="60%"> <input style="margin-bottom:2px;" type="radio" value="1" id="geschlecht1" name="geschlecht" {geschlecht1} /><label for="geschlecht1"> {_lang_männlich}</label> <input id="geschlecht2" type="radio" value="2" name="geschlecht" {geschlecht2} /><label for="geschlecht2"> {_lang_weiblich}</label> <br style="clear:both;" /> </td> </tr> <tr> <td width="40%"> {_lang_Geburtsdatum} </td> <td width="60%"> <input style="margin-bottom:2px;" name="gebdatum" value="{gebdatum}" /> <span class="smallfont_strong"> (Format: JJJJ-MM-TT)</span> </td> </tr> <tr> <td width="40%"> {_lang_Wohnort} </td> <td width="60%"> <input style="margin-bottom:2px;" name="wohnort" value="{wohnort}" /> <br style="clear:both;" /> </td> </tr> <tr> <td width="40%"> {_lang_Bundesland} </td> <td width="60%"> <select style="margin-bottom:2px;" name="province">{_list_province@<option%1 value="%2">%3</option>}</select> <br style="clear:both;" /> </td> </tr> <tr> <td width="40%"> {_lang_Land} </td> <td width="60%"> <select style="margin-bottom:2px;" name="land">{_list_land@<option%1 value="%2">%3</option>}</select> <br style="clear:both;" /> </td> </tr> <tr> <td width="40%"> {_lang_Nationalität} </td> <td width="60%"> <select style="margin-bottom:2px;" name="staat">{_list_staat@<option%1 value="%2">%3</option>}</select> <br style="clear:both;" /> </td> </tr> <tr> <td width="40%"> {_lang_Beruf} </td> <td width="60%"> <input style="margin-bottom:2px;" name="beruf" value="{beruf}" /> <br style="clear:both;" /> </td> </tr> {_if_{forum_usergallery}=='1'} <tr> <td width="40%"> {_lang_Benutzergallerie} </td> <td width="60%"> <a href="index.php?user-usergallery-{uid}">bearbeiten</a> <a href="index.php?user-remove"/></a> <br style="clear:both;" /> </td> </tr> {/_endif} </table> </fieldset> <fieldset> <legend class ="bigfont_strong">{_lang_Kontaktdaten}</legend> <table width="100%"t border="0" cellspacing="0"> <tr> <td width="40%"> {_lang_E-Mail} </td> <td width="60%"> <input style="margin-bottom:2px;" name="email" value="{email}" /><input type="hidden" name="email" value="{email}" /> <span class="smallfont_strong">({_lang_muss} {_lang_per} {_lang_E-Mail} {_lang_bestätigt} {_lang_werden})</span> </td> <tr> <td width="40%"> {_lang_E-Mail-Erhalt}? </td> <td width="60%"> <input id="opt_mail1" type="radio" value="1" name="opt_mail" {opt_mail1} /><label for="opt_mail1"> {_lang_aktiviert}</label> <input id="opt_mail0" type="radio" value="0" name="opt_mail" {opt_mail0} /><label for="opt_mail0"> {_lang_deaktiviert}</label> <br style="clear:both;" /> </td> </tr> <tr> <td width="40%"> {_lang_Private Messages-Erhalt}? </td> <td width="60%"> <input id="opt_pm1" type="radio" value="1" name="opt_pm" {opt_pm1} /><label for="opt_pm1"> {_lang_aktiviert}</label> <input id="opt_pm0" type="radio" value="0" name="opt_pm" {opt_pm0} /><label for="opt_pm0"> {_lang_deaktiviert}</label> <br style="clear:both;" /> </td> </tr> <tr> <td width="40%"> {_lang_Pop Up} {_lang_bei} {_lang_Private Messages-Erhalt}? </td> <td width="60%"> <input id="opt_pm_popup1" type="radio" value="1" name="opt_pm_popup" {opt_pm_popup1} /><label for="opt_pm_popup1"> {_lang_aktiviert}</label> <input id="opt_pm_popup0" type="radio" value="0" name="opt_pm_popup" {opt_pm_popup0} /><label for="opt_pm_popup0"> {_lang_deaktiviert}</label> <br style="clear:both;" /> </td> </tr> <tr> <td width="40%"> {_lang_ICQ} </td> <td width="60%"> <input style="margin-bottom:2px;" name="icq" value="{icq}" /> <span class="smallfont_strong">({_lang_nur} {_lang_eintragen} {_lang_falls} {_lang_vorhanden})</span> </td> </tr> <tr> <td width="40%"> {_lang_MSN} </td> <td width="60%"> <input style="margin-bottom:2px;" name="msn" value="{msn}" /> <span class="smallfont_strong">({_lang_nur} {_lang_eintragen} {_lang_falls} {_lang_vorhanden})</span> </td> </tr> <tr> <td width="40%"> {_lang_Skype} </td> <td width="60%"> <input style="margin-bottom:2px;" name="skype" value="{skype}" /> <span class="smallfont_strong">({_lang_nur} {_lang_eintragen} {_lang_falls} {_lang_vorhanden})</span> </td> </tr> <tr> <td width="40%"> {_lang_Xfire} </td> <td width="60%"> <input style="margin-bottom:2px;" name="xfire" value="{xfire}" /> <span class="smallfont_strong">({_lang_Bitte} {_lang_kompletten} {_lang_Link} {_lang_angeben})</span> </td> </tr> <tr> <td width="40%"> {_lang_private} {_lang_Homepage} </td> <td width="60%"> <input style="margin-bottom:2px;" name="homepage" value="{homepage}" /> <br style="clear:both;" /> </td> </tr> <tr> <td width="40%"> {_lang_Steam} {_lang_Community} </td> <td width="60%"> <input style="margin-bottom:2px;" name="steam2" value="{steam2}" /> <span class="smallfont_strong">({_lang_Bitte} {_lang_kompletten} {_lang_Link} {_lang_angeben})</span> </td> </tr> <tr> <td width="40%"> {_lang_ESL} </td> <td width="60%"> <input style="margin-bottom:2px;" name="esl" value="{esl}" /> <span class="smallfont_strong">({_lang_Bitte} {_lang_kompletten} {_lang_Link} {_lang_angeben})</span> </td> </tr> </table> </fieldset> <fieldset> <legend class ="bigfont_strong">{_lang_Game}-{_lang_Equipment}</legend> <table width="100%"t border="0" cellspacing="0"> <tr> <td width="40%"> {_lang_Prozessor} </td> <td width="60%"> <input style="margin-bottom:2px;" name="cpu" value="{cpu}" /> <br style="clear:both;" /> </td> </tr> <tr> <td width="40%"> {_lang_Arbeitsspeicher} </td> <td width="60%"> <input style="margin-bottom:2px;" name="ram" value="{ram}" /> <br style="clear:both;" /> </td> </tr> <tr> <td width="40%"> {_lang_Grafikkarte} </td> <td width="60%"> <input style="margin-bottom:2px;" name="graka" value="{graka}" /> <br style="clear:both;" /> </td> </tr> <tr> <td width="40%"> {_lang_Monitor} </td> <td width="60%"> <input style="margin-bottom:2px;" name="monitor" value="{monitor}" /> <br style="clear:both;" /> </td> </tr> <tr> <td width="40%"> {_lang_Tastatur} </td> <td width="60%"> <input style="margin-bottom:2px;" name="keyboard" value="{keyboard}" /> <br style="clear:both;" /> </td> </tr> <tr> <td width="40%"> {_lang_Maus} </td> <td width="60%"> <input style="margin-bottom:2px;" name="mouse" value="{mouse}" /> <br style="clear:both;" /> </td> </tr> <tr> <td width="40%"> {_lang_Unterlage} </td> <td width="60%"> <input style="margin-bottom:2px;" name="pad" value="{pad}" /> <br style="clear:both;" /> </td> </tr> <tr> <td width="40%"> {_lang_Headset} </td> <td width="60%"> <input style="margin-bottom:2px;" name="headset" value="{headset}" /> <br style="clear:both;" /> </td> </tr> <tr> <td width="40%"> {_lang_Internetverbindung} </td> <td width="60%"> <input style="margin-bottom:2px;" name="internet" value="{internet}" /> <br style="clear:both;" /> </td> </tr> </table> </fieldset> <fieldset> <legend class ="bigfont_strong">{_lang_Playercards}</legend> <fieldset> <legend class ="normalfont_strong">{_lang_CSS}</legend> <table width="100%"t border="0" cellspacing="0"> <tr> <td width="40%"> {_lang_Ingame}-{_lang_Name} </td> <td width="60%"> <input style="margin-bottom:2px;" name="ingame" value="{ingame}" /> </td> </tr> <tr> <td width="40%"> {_lang_Steam}-{_lang_ID} </td> <td width="60%"> <input style="margin-bottom:2px;" name="steam1" value="{steam1}" /> </td> </tr> </table> </fieldset> </fieldset> </div> <div style="display:none;" id="aF002"> <fieldset> <legend class ="bigfont_strongunderline">{_lang_Forumdaten}</legend> <br /> <fieldset> <legend class ="bigfont_strong">{_lang_Avatar} {_lang_ändern}</legend> <table width="100%"t border="0" cellspacing="0"> <tr> <td width="40%"> {avatarbild} </td> <td width="60%"> <span class="normalfont_strongunderline">{_lang_Es} {_lang_gilt} {_lang_zu} {_lang_beachten}:</span> <p> <span class="normalfont_strong">• {_lang_die} {_lang_maximale} {_lang_Breite} {_lang_beträgt} {Fabreite}px</span> <span class="normalfont_strong">• {_lang_die} {_lang_maximale} {_lang_Höhe} {_lang_beträgt} {Fahohe}px</span> <span class="normalfont_strong">• {_lang_die} {_lang_maximale} {_lang_Größe} {_lang_beträgt} {Fasize} bytes</span> </p> <span class="normalfont_strong">⇒ {_lang_sonst} {_lang_keine} {_lang_Aktion} !!!</span> </td> </tr> <tr> <td width="40%"> {_lang_Avatar} {_lang_löschen}? </td> <td width="60%"> <input type="checkbox" value="yes" name="avatarloeschen" /> </td> </tr> <tr> <td width="40%"> {_lang_Avatar} {_lang_hochladen}? </td> <td width="60%"> <input style="margin-bottom:2px;" type="file" name="avatarfile" /> </td> </tr> </table> </fieldset> <fieldset> <legend class ="bigfont_strong">{_lang_Signatur} {_lang_ändern}</legend> <table width="100%"t border="0" cellspacing="0"> <tr> <td width="100%"> <p> <span class="normalfont_strong">• {_lang_maximal} {_lang_sind} {forum_max_sig} {_lang_Zeichen} {_lang_erlaubt}</span> <span class="normalfont_strong">• {_lang_die} {_lang_Verwendung} {_lang_von} {_lang_BB}{_lang_Code} {_lang_ist} {_lang_möglich}</font> </p> </td> </tr> <tr> <td width="100%"> <textarea style="margin-bottom:2px;" cols="95" rows="6" name="sig">{sig}</textarea><br /> </td> </tr> </table> </fieldset> </fieldset> </div> <div style="display:none;" id="aF003"> <fieldset> <legend class ="bigfont_strongunderline">{_lang_Accountdaten}</legend> <br /> <fieldset> <legend class ="bigfont_strong">{_lang_Design} {_lang_ändern}</legend> <table width="100%" border="0" cellspacing="0"> <tr> <td width="40%"> {_lang_Design} {_lang_auswählen} </td> <td width="60%"> <select style="margin-bottom:2px;" name="template">{_list_template@<option%1 value="%2">%3</option>}</select><br style="clear:both;" /> </td> </tr> </table> </fieldset> <fieldset> <legend class ="bigfont_strong">{_lang_Passwort} {_lang_ändern}</legend> <table width="100%"t border="0" cellspacing="0"> <tr> <td width="40%"> {_lang_aktuelles} {_lang_Passwort} </td> <td width="60%"> <input style="margin-bottom:2px;" type="password" name="op" maxlength="20"><br /> </td> </tr> <tr> <td width="40%"> {_lang_neues} {_lang_Passwort} </td> <td width="60%"> <input style="margin-bottom:2px;" type="password" name="np1" maxlength="20"><br /> </td> </tr> <tr> <td width="40%"> {_lang_neues} {_lang_Passwort} {_lang_wiederholen} </td> <td width="60%"> <input style="margin-bottom:2px;" type="password" name="np2" maxlength="20"><br /> </td> </tr> </table> </fieldset> <fieldset> <legend class ="bigfont_strong">{_lang_Account} {_lang_löschen}</legend> <table width="100%"t border="0" cellspacing="0"> <tr> <td width="40%"> {_lang_Account} {_lang_löschen}? </td> <td width="60%"> <input type="checkbox" value="yes" name="removeaccount" /> <span class="smallfont_strong">({_lang_muss} {_lang_per} {_lang_E-Mail} {_lang_bestätigt} {_lang_werden})</span> </td> </tr> </table> </fieldset> </fieldset> </div> <table width="100%"t border="0" cellspacing="0"> <tr> <td colspan="3" align="center"> <input style="margin-bottom:2px;" type="submit" value="{_lang_Speichern}" name="submit"> </td> </tr> </table> </form> |
betroffene Homepage: externer Link