400 * 1048576) { $count++; } } if($count) { $return = array('status' => '1','type' => 'header', 'lang' => lang('optimizer', 'optimizer_post_need_split', array('count' => $count))); } else { $return = array('status' => '0', 'type' => 'header', 'lang' => lang('optimizer', 'optimizer_post_not_need')); } return $return; } public function optimizer() { $adminfile = defined(ADMINSCRIPT) ? ADMINSCRIPT : 'admin.php'; dheader('Location: '.$_G['siteurl'].$adminfile.'?action=postsplit'); } } ?>