Beispiel #1
0
    $content = $row['content'];
    $adminName = $row['adminName'];
    $annouceTime = $row['annouceTime'];
} else {
    exit;
}
?>
<!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>
<link href="c.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="container">
<div id="top"></div>
<div id="left"><?php 
echo showLinklist(12, "l");
?>
</div>
<div id="right">
	<?php 
echo "<h2>{$title}</h2>";
echo "<div id='date'>{$annouceTime}</div>";
echo "<div id='content'>{$content}</div>";
?>
</div>
</div>
</body>
</html>
Beispiel #2
0
echo showLinklist(12, "l");
?>
		</div>
		<div id="news"><h2><span>中心动态</span><span id="more"><a href="more.php">更多</a></span></h2><?php 
showAnnounceList(0, 6);
?>
		</div>
		<div id="right"><?php 
echo showLinklist(13, "l");
?>
		</div>
		<div id="bottom">
			<span id="bleft"><?php 
echo showLinklist(15, "s");
?>
</span>
			<span id="bmiddle"><?php 
echo showLinklist(16, "s");
?>
</span>
			<span id="bright"><?php 
echo showLinklist(17, "s");
?>
</span>
			<div id="copyright">版权所有 南京航空航天大学图书馆</div>
		</div>
	</div>
</div>
</body>
</html>