thinkphp3.1.3关于frameset的显示问题

浏览:595 发布日期:2013/10/24 分类:求助交流 关键字: php frameset 基础
我刚下载的thinkphp3.1.3但是在Index/index.html中使用frameset不能显示这是什么原因呢?
<?php
//系统显示页
class IndexAction extends SessionAction {
//系统首页
public function index(){
$this->display();
}
//系统头部显示
public function top(){
$username = $_SESSION['username'];
$power = $_SESSION['power'];
$this->assign('username',$username);//向页面传递username值
$this->assign('power',$power);//向页面传递power值
$this->display();
}
//退出登陆
public function out(){
session_unset();
session_destroy();
$this->redirect('Login/index','','0');
}

}
?>
这是php源码
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>电话录入系统</title>
</head>
<frameset>
<frame src = "{:U(Index/top)}" />
</frameset>
<body>
</body>
</html>
这是前台源码
求高手赐教
最佳答案
评论( 相关
后面还有条评论,点击查看>>