$row['name'] = $memberdata[$row['name']]; } else { $row['name'] = ''; } } ($code = $plugins->load('addreply_form_quotes')) ? eval($code) : null; $row['comment'] = preg_replace('/\\[hide\\](.+?)\\[\\/hide\\]/is', '', $row['comment']); $row['comment'] = $bbcode->censor(trim($row['comment'])); $data['comment'] .= "\r\n[quote" . iif(!empty($row['name']), "=" . $row['name']) . "]"; $data['comment'] .= $row['comment']; $data['comment'] .= "[/quote]\r\n"; } } } if ($config['botgfxtest_posts'] > 0 && $data['human'] == false) { $captcha = newCAPTCHA('posts'); } else { $captcha = null; } if ($my->vlogin && !in_array($data['digest'], $validDigest)) { $result = $db->query("SELECT type FROM {$db->pre}abos WHERE mid = '{$my->id}' AND tid = '{$id}'"); if ($db->num_rows($result) > 0) { $temp = $db->fetch_assoc($result); switch ($temp['type']) { case '': $data['digest'] = 1; break; case 'd': $data['digest'] = 2; break; case 'w':
if (is_hash($fid)) { $data = $gpc->unescape(import_error_data($fid)); $customfields = addprofile_customfields($data); } else { $data = array( 'name' => '', 'email' => '', 'temp' => '', 'human' => false ); $customfields = addprofile_customfields(); } if ($config['botgfxtest'] > 0 && $data['human'] == false) { $captcha = newCAPTCHA(); } else { $captcha = null; } $breadcrumb->Add($lang->phrase('register_title')); echo $tpl->parse("header"); echo $tpl->parse("menu"); $rules = $lang->get_words('rules'); $_GET['email'] = $gpc->prepare($_GET['email']); ($code = $plugins->load('register_form_prepared')) ? eval($code) : null; echo $tpl->parse("register/register");
$votes += $row['votes']; $PG->x[$i] = $gpc->plain_str($row['answer']); $PG->y[$i] = $row['votes']; $i++; } $PG->credits = $gpc->plain_str($lang->phrase('vote_counter').$votes); $PG->start(); } elseif ($_GET['action'] == 'captcha') { send_nocache_header(); $place = $gpc->get('place', none, 'posts'); $captcha = newCAPTCHA($place); $captcha->makeImage($lang->phrase('img_captcha_session_expired_error')); } elseif ($_GET['action'] == 'textimage') { require('classes/graphic/class.text2image.php'); $img = new text2image(); $text = $gpc->get('text', none); $angle = $gpc->get('angle', int); $size = $gpc->get('size', int); $bg = $gpc->get('bg'); $fg = $gpc->get('fg'); $file = $gpc->get('file'); $enc = $gpc->get('enc'); if (empty($text)) {