$item) { if(!is_valid_email($item)) { unset($content["guestbook"]["notify_email"][$key]); } } $content["guestbook"]["notify_email"] = implode(';', $content["guestbook"]["notify_email"]); if($content["guestbook"]["notify_email"] == '') { $content["guestbook"]["notify"] = 0; } } $content["guestbook"]["captcha_maxchar"] = intval($_POST['cguestbook_captchamaxchar']); if(!$content["guestbook"]["captcha_maxchar"]) { $content["guestbook"]["captcha_maxchar"] = 5; } elseif($content["guestbook"]["captcha_maxchar"] > 15) { $content["guestbook"]["captcha_maxchar"] = 15; } $content["guestbook"]["max_image_filesize"] = return_bytes_shorten(clean_slweg($_POST["cguestbook_maximgsize"])); if(!(return_bytes($content["guestbook"]["max_image_filesize"]))) { $content["guestbook"]["max_image_filesize"] = return_bytes_shorten($phpwcms['file_maxsize']); } ?>