|
@@ -109,8 +109,6 @@ class BTemplateLogic extends BaseLogic |
|
@@ -109,8 +109,6 @@ class BTemplateLogic extends BaseLogic |
|
109
|
//字符串截取
|
109
|
//字符串截取
|
|
110
|
$this->StringProcessing();
|
110
|
$this->StringProcessing();
|
|
111
|
$this->param['project_id'] = $this->user['project_id'];
|
111
|
$this->param['project_id'] = $this->user['project_id'];
|
|
112
|
- var_dump($this->param);
|
|
|
|
113
|
- die();
|
|
|
|
114
|
$rs = $this->model->add($this->param);
|
112
|
$rs = $this->model->add($this->param);
|
|
115
|
}else{
|
113
|
}else{
|
|
116
|
$this->StringProcessing();
|
114
|
$this->StringProcessing();
|
|
@@ -135,7 +133,7 @@ class BTemplateLogic extends BaseLogic |
|
@@ -135,7 +133,7 @@ class BTemplateLogic extends BaseLogic |
|
135
|
$this->param['main_html'] = characterTruncation($this->param['html'],'/<main\b[^>]*>(.*?)<\/main>/s');
|
133
|
$this->param['main_html'] = characterTruncation($this->param['html'],'/<main\b[^>]*>(.*?)<\/main>/s');
|
|
136
|
$this->param['footer_html'] = characterTruncation($this->param['html'],'/<footer\b[^>]*>(.*?)<\/footer>/s');
|
134
|
$this->param['footer_html'] = characterTruncation($this->param['html'],'/<footer\b[^>]*>(.*?)<\/footer>/s');
|
|
137
|
$this->param['head_css'] = characterTruncation($this->param['html'],'/<style id="vvvebjs-header">(.*?)<\/style>/s');
|
135
|
$this->param['head_css'] = characterTruncation($this->param['html'],'/<style id="vvvebjs-header">(.*?)<\/style>/s');
|
|
138
|
- $this->param['main_css'] = characterTruncation($this->param['html'],'/<style id="vvvebjs-style">(.*?)<\/style>/s');
|
136
|
+ $this->param['main_css'] = characterTruncation($this->param['html'],'/<style id="vvvebjs-styles">(.*?)<\/style>/s');
|
|
139
|
$this->param['footer_css'] = characterTruncation($this->param['html'],'/<style id="vvvebjs-footer">(.*?)<\/style>/s');
|
137
|
$this->param['footer_css'] = characterTruncation($this->param['html'],'/<style id="vvvebjs-footer">(.*?)<\/style>/s');
|
|
140
|
}
|
138
|
}
|
|
141
|
} |
139
|
} |