public static function eval_php($code)
    {
        if (self::is_publishing()) {
            return self::$context=='html'
                ? '<?php echo eval(\'' . addcslashes($code, "'") . '\'); ?>'
                : 'eval(\'' . addcslashes($code, "'") . '\')';
        } else {
            return eval($code);
        }
    }