Esempio n. 1
0
 function release($type)
 {
     $_config = $this->thisConfig;
     $f2eEg = new f2e_engine($_config[$type]["Resource"]);
     //$f2eEg.
     $f2eEg->Release();
     $rule = $f2eEg->result_plan();
     $rule = new map($rule);
     ToJson($rule, $_config[$type]["Result"]);
     $this->Resource[$type] = $rule;
 }
Esempio n. 2
0
<?php

require '../packer/f2e_engine.php';
require '../packer/lib/map.php';
require 'f2e_config/config.php';
//f2e::siteRelease();
//当前的页面的Tag标志,与配置文件JSON中填写的一样
$MyPageTag = "f2e_page_tag";
$CssEg = new f2e_engine($f2e_config["CSS"]["Resource"]);
$MyPage_CSS = $CssEg->fillPage($MyPageTag);
$MyPage_CSS = new map($MyPage_CSS);
//= JS
$JsEg = new f2e_engine($f2e_config["JS"]["Resource"]);
$MyPage_JS = $JsEg->fillPage($MyPageTag);
$MyPage_JS = new map($MyPage_JS);
?>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>新版搜索页面</title>

<?php 
//输出 CSS 资源
echo htmlspecialchars_decode($MyPage_CSS->common);
echo htmlspecialchars_decode($MyPage_CSS->module);
echo htmlspecialchars_decode($MyPage_CSS->page);
?>