Example #1
0
<?php

require_once "lib/web.config.php";
require_once $realLibPath . "model/article.model.php";
require_once $realLibPath . "model/page.model.php";
require_once $realLibPath . "model/navMenu.model.php";
$article = new Article();
//setcookie("test2","ssss");
//公司新闻
$news = $article->getArticleNews();
//行业资讯
$infos = $article->getArticleInfos();
//公司简介
$page = new Page();
$about = $page->getAbout();
//导航对象
$nav = new NavMenu();
?>
<!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" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>奇圣电商</title>
<script src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="admin/res/jquery.cookie.js"></script>
<script type="text/JavaScript">
//$.cookie("test","tssst");
function changeImageOver(imgsrc1,id1,id2,aid) {
	var img1=document.getElementById(id1);
	img1.src=imgsrc1;