Smarty Error: Syntax Error in template "/www/wwwroot/www.lypufan.com/m/Theme/Home/newsInfo.html" on line 22 ""images":["<{getImgs content=$nrow.content}>"]," unknown tag "getImgs"
- /www/wwwroot/www.lypufan.com/m/Comm/MyFrame/Core/spView.php on line 52
47.
$this->addfuncs();
48.
$this->displayed = TRUE;
49.
if($GLOBALS['G_SP']['view']['debugging'] && SP_DEBUG)$this->engine->debugging = TRUE;
50.
$this->engine->display($tplname);
51.
} catch (Exception $e) {
52.
53.
spError( $GLOBALS['G_SP']['view']['engine_name']. ' Error: '.$e->getMessage() );
}
54.
}
55.
56.
/**
57.
* 注册视图函数
- /www/wwwroot/www.lypufan.com/m/Comm/MyFrame/Core/spController.php on line 105
100.
*/
101.
public function display($tplname, $output = TRUE)
102.
{
103.
@ob_start();
104.
if(TRUE == $GLOBALS['G_SP']['view']['enabled']){
105.
106.
$this->v->display($tplname);
}else{
107.
extract($this->__template_vals);
108.
require($tplname);
109.
}
110.
if( TRUE != $output )return ob_get_clean();
- /www/wwwroot/www.lypufan.com/m/Action/home.php on line 209
204.
spClass('m_news')->incrField(array('id'=>$id), 'views');
205.
$conf = spClass('m_conf')->find();
206.
$this->content=str_replace('<img src="/Upload/','<img src="'.$conf['siteurl'].'/Upload/',$this->nrow['content']);
207.
$dqurl='http://'.$_SERVER['HTTP_HOST'].'/article-'.$id.'.html';
208.
$this->dqurl=str_replace('http://www.','http://m.',$dqurl);
209.
210.
$this->display('Home/newsInfo.html');
}else{
211.
header('HTTP/1.1 404 Not Found');
212.
import(APP_PATH.'/404.html');
213.
exit;
214.
}
- /www/wwwroot/www.lypufan.com/m/Comm/MyFrame/spFunctions.php on line 32
27.
}else{
28.
spClass('m_conf')->update(array('id'=>1),array('yuefen'=>date('Y-m')));
29.
}
30.
}
31.
// 路由并执行用户代码
32.
33.
$handle_controller->$__action();
// 控制器程序运行完毕,进行模板的自动输出
34.
if(FALSE != $GLOBALS['G_SP']['view']['auto_display']){
35.
$__tplname = $__controller.$GLOBALS['G_SP']['view']['auto_display_sep'].
36.
$__action.$GLOBALS['G_SP']['view']['auto_display_suffix']; // 拼装模板路径
37.
$handle_controller->auto_display($__tplname);
- /www/wwwroot/www.lypufan.com/m/index.php on line 12
7.
//加载配置文件
8.
require('config.php');
9.
//加载框架核心
10.
require(SP_PATH.'/SpeedPHP.php');
11.
//执行应用
12.
13.
spRun();
?>