9999) $content["before"] = ''; if(!$content["after"] || $content["after"] > 9999) $content["after"] = ''; if(isset($_POST["target_ctype"])) { $content["target_type"] = explode(':', $_POST["target_ctype"]); $content["module"] = empty($content["target_type"][1]) ? '' : trim($content["target_type"][1]); $content["target_type"] = intval($content["target_type"][0]); } else { $content["target_type"] = 0; $content["module"] = ''; } $content["sorting"] = intval($_POST["csorting"]); $content["block"] = clean_slweg($_POST["cblock"]); // reset paginate page number to 0 > pagination support for CONTENT block only if($content["paginate_page"] && $content["block"] != 'CONTENT') { $content["paginate_page"] = 0; } $content["module"] = empty($_POST["ctype_module"]) ? '' : clean_slweg($_POST["ctype_module"]); // check if content type possibly changed $content["update_type"] = ($content["target_type"] != $content["type"]) ? 1 : 0; // read form vars for special content parts if($content["type"] != 30 && file_exists(PHPWCMS_ROOT."/include/inc_lib/content/cnt".$content["type"].".readform.inc.php")) { $content["module"] = ''; include_once(PHPWCMS_ROOT."/include/inc_lib/content/cnt".$content["type"].".readform.inc.php"); } elseif($content["type"] == 30 && file_exists($phpwcms['modules'][$content['module']]['path'].'inc/cnt.post.php')) { include_once($phpwcms['modules'][$content['module']]['path'].'inc/cnt.post.php'); } else { $content["module"] = ''; include_once(PHPWCMS_ROOT."/include/inc_lib/content/cnt0.readform.inc.php"); } ?>