]*>(.*)#siU', $phpinfo, $output); switch ($layout) { case 'old': $output = preg_replace('#(.*?)(.*?)#s', '
\2\1
', $output); $output = preg_replace('#(.*?)#', '\1', $output); $output = preg_replace('##', '', $output); $output = preg_replace('##', '', $output); $output = preg_replace('#valign="middle"#', '', $output); $output = preg_replace('##', '', $output); $output = preg_replace('##', '', $output); $output = preg_replace('#

#i', '

', $output); $output = preg_replace('#

#i', '

', $output); break; case 'new': $output = preg_replace('#(.*?)(.*?)#s', '
\2\1
', $output); $output = preg_replace('##', '', $output); $output = preg_replace('##', '', $output); $output = preg_replace('#class="e"#', 'class="row1" nowrap="nowrap"', $output); $output = preg_replace('#class="v"#', 'class="row2"', $output); $output = preg_replace('# class="h"#', '', $output); $output = preg_replace('#
#', '', $output); preg_match_all('#
(.*)
#siU', $output, $output); $output = $output[1][0]; break; } $template->assign_var('ADMIN_CONTENT',$output); ?>