thinkphp3.1.2 模板里面使用frameset frame display后一片空白

浏览:2728 发布日期:2013/08/22 分类:求助交流 关键字: frameset frame
thinkphp3.1.2 模板里面使用frameset frame display后一片空白

Action代码如下:
<?php
class IndexAction extends Action {
private $user;
public function __construct() {
$this->user = D('User');
$url = __APP__."?m=User&a=login";
if($this->user->login_state() == 0)
header("location:".$url);
if($this->user->login_state() == -1)
$this->error("登录超时,请重新登录!",$url);
}
public function __destruct() {
unset($this->user);
}
public function index() {
$this->display();
}
public function top() {
$this->display();
}
public function left() {
$this->display();
}
public function main() {
$this->display();
}
}
?>


模板代码如下:
<!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=utf-8" />
<title> 网站管理页面 </title>
</head>
<frameset rows="10%,90%">
<frame name="top" src="__URL__/top">
<frameset cols="20%,80%">
<frame name="left" src="__URL__/left">
<frame name="main" src="__URL__/main">
</frameset>
</frameset>
</html>

存在,top,left,main模板

请问高手这是什么原因?昨天提过,没有人知道。今天再提一下,希望官方能给出回答。
最佳答案
评论( 相关
后面还有条评论,点击查看>>