Hier kann eine Notiz zum Merk-Eintrag hinzugefügt werden (optional)
<script type="text/javascript" src='https://www.google.com/recaptcha/api.js'></script>
<div class="g-recaptcha" data-sitekey="your_site_key"></div>
<?php $captcha = $_POST['g-recaptcha-response']; if (empty($name) OR empty($email) OR $name != $xname OR $ch_name == false OR !$captcha) { $title = $allgAr['title'] . ' :: Users :: Registrieren :: Step 2 von 3'; $hmenu = $extented_forum_menu . '<a class="smalfont" href="user.html">User</a><b> » </b><a class="smalfont" href="user-regist.html">Registrieren</a><b> » </b>Step 2 von 3' . $extented_forum_menu_sufix; $design = new design($title, $hmenu, 1); $design->header(); if (isset($_POST['register'])) { $response = file_get_contents("https://www.google.com/recaptcha/api/siteverify?secret="your-security-key"&response=".$captcha."&remoteip=".$_SERVER['REMOTE_ADDR']); if ($response.success == false) { $fehler = '<h2>You are spammer ! Get the @$%K out</h2>'; } if (empty($name) OR empty($email)) { $fehler = $lang['entereddataincomplete']; } elseif ($name != $xname) { $fehler = $lang['wrongnickname']; } elseif ($ch_name == false) { $fehler = $lang['namealreadyinuse']; } } else { $fehler = ''; } $tpl = new tpl('user/regist'); $tpl->set('name', $name); $tpl->set('email', $email); $tpl->set_out('FEHLER', $fehler, 1); if ($allgAr['forum_regist_user_pass'] == 1) { $tpl->out(2); } } else { # User registrieren }