📄 department.php
字号:
<!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>
<link rel="stylesheet" type="text/css" href="comp3.css" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="description" content="This page is the homepage for Loughbourgh University Undergraduate courses in Computer Science" />
<meta name="keywords" content="computer, computer science, artificial intelligence, e-business, information, technology, management, foundation, mathematics, maths" />
<title>Computer Science Home</title>
<style type="text/css">
<!--
.style1 {font-size: x-small}
-->
</style>
</head>
<body>
<?php
if(isset($_GET['page'])){
$page=$_GET['page'];
}else{
$page='depthome';
}
?>
<div id="logo"></div>
<div id="logo2"></div>
<div id="logo3"></div>
<div id="button">
<ul>
<li><a href="index3.php?page=home">Home</a></li>
<li><a href="department.php?page=depthome">The Department</a>
<ul>
<li><a href="department.php?page=news">News</a></li>
<li><a href="department.php?page=video">Videos</a></li>
<li><a href="department.php?page=gallery">Gallery</a></li>
<li><a href="department.php?page=find">Find Us</a></li>
</ul>
<li><a href="courses.php?page=undgrad">Courses</a></li>
<li><a href="index3.php?page=money">Financial Help</a></li>
<li><a href="index3.php?page=staff">Staff</a></li>
<li><a href="faq.php">FAQ</a></li>
<li><a href="search.php">Search</a></li>
<li><a href="index3.php?page=contact">Contact Us</a></li>
<li><a href="map.html">Site Map</a></li>
</ul>
</div>
<div id="content">
<?php
if($page=='depthome'){
echo
'<p style="font-size: 70%;"><a href="index3.php?page=home">Home</a> > The Department</p><p style="text-align:justify"><img src="images/lab.jpg" style="padding:15px" height="256" width="256" align="right" alt="picture of students in the computer lab.">In 1969 Loughborough was among the first universities in Great Britain to introduce a single honours degree in Computing.
Founded in 1974, the Department of Computer Science was also one of the earliest university computing departments to be established in the UK.
Our degree programmes are regularly reviewed to maintain teaching quality and relevance geared to meeting the challenges of a rapidly evolving subject -
a factor reflected by our excellent graduate employment record. Teaching programmes are fully modularised at both undergraduate and postgraduate levels,
and a semester-based teaching structure is operated by the Department and throughout the University as a whole.</p>
<p style="text-align:justify">A particular feature of our undergraduate teaching is the professional placement or ‘sandwich’ year - referred to by at least one company as a ‘one-year interview’.
It is a popular option among students since it provides industrial experience and the additional award of Diploma in Professional Studies (DPS).</p>
<p style="text-align:justify">The Department of Computer Science is one of the largest departments in the Faculty of Science. There are over 20 academic staff and a further five part-time
lecturers as well as contract research staff, administrative and technical support staff. The student population comprises approximately 500 undergraduates,
50 postgraduate taught MSc students and a further 50 research students. Visiting lecturers and researchers from abroad are routinely welcomed and contribute to the
intellectual and social life of the Department. Staff and students together represent a lively community, and a stimulating learning and working environment.
Student-Staff Committees for both taught and research students meet regularly to provide a forum for the discussion of both academic and non-academic matters.</p><p> </p><p> </p><p>
<p> </p><p> </p><p> </p><p> </p><p> </p><p> </p>';
}else if($page=='gallery'){
echo '<p style="font-size: 70%;"><a href="index3.php?page=home">Home</a> > <a href="department.php?page=depthome">Department</a> > Gallery</p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="340" height="340" id="gallery" align="top">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="gallery.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="gallery.swf" quality="high" bgcolor="#ffffff" width="340" height="340" name="gallery" align="top" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object><p> </p>';
}else if($page=='news'){
$mysql_hostname="co-project.lboro.ac.uk";
$mysql_username="group04";
$mysql_password="grp55dnv";
$link_id_resource=mysql_connect($mysql_hostname, $mysql_username, $mysql_password);
if($link_id_resource === false){exit("Cannot make connection to the MySQL server");}
$mysql_database="group04";
$database_selected=mysql_select_db($mysql_database,$link_id_resource);
if($database_selected){
} else {echo "Database ".$mysql_database." not found<br><br>";}
// Finding out about the Tables in the selected database
echo '<p style="font-size: 70%;"><a href="index3.php?page=home">Home</a> > <a href="department.php?page=depthome">Department</a> > News</p>
<h2>News</h2>';
$sql_query="select * from news";
$result_id_resource=mysql_query($sql_query);
while($news1=mysql_fetch_array($result_id_resource)){
print '<h3>'.$news1['headline'].'</h3>';
'<br />';
print '<img src='.$news1['picture'].'align=right height=14% width=14% style="padding:7px">';
print $news1['story'];
'<br />';
}
print '<p> </p>';
print '<p> </p>';
print '<p> </p>';
print '<p> </p>';
print '<p> </p>';
print '<p> </p>';
mysql_close($link_id_resource);
}
else if($page=='find'){
echo '<p style="font-size: 70%;"><a href="index3.php?page=home">Home</a> > <a href="department.php?page=depthome">The Department</a> > Find Us</p><h3>Travelling by Car</h3><p>Loughborough’s motorway link is the M1; the campus is just two miles from Junction 23. The university is clearly signed on all the other main approach roads to Loughborough.</p>
<p>For Sat-Nav Users: Sat-Nav Postcode: LE11 3TT</p><h3>Travelling by Rail</h3><p>Regular Intercity services operate between Loughborough and other main line towns - including over 40 trains daily to and from London St Pancras International, 90 minutes away.</p>
Once at Loughborough’s railway station you are just ten minutes away from the campus. From here there is a regular bus service which operates every ten minutes during term time.<p><h3>Travelling by Bus</h3><p>Kinchbus Number 7 commences from Loughborough Railway station and brings you straight to campus.</p>
<p>In term time this service runs every 10 minutes Monday to Saturday daytime until 5.45 pm. A Monday to Friday evening service operates every 30 minutes until 8.40 pm during term times only. Sunday service runs from 12 noon until 7.20 pm.</p><p> </p><p> </p>';
}else if($page=='video'){
echo '<p style="font-size: 70%;"><a href="index3.php?page=home">Home</a> > <a href="department.php?page=depthome">Department</a> > Videos</p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="546px" height="320px" id="player" align="top">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="player.swf" /><param name="quality" value="high" /><param name="salign" value="t" /><param name="bgcolor" value="#ffffff" /><embed src="player.swf" quality="high" salign="t" bgcolor="#ffffff" width="546px" height="320px" name="player" align="top" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object><p> </p><p> </p>';
}
?>
<table width="100%" border="0">
<tr>
<td colspan="2" bgcolor="#CCCCCC"> </td>
</tr>
<tr>
<td width="53%" bgcolor="#FFFFFF"><div align="center" class="style2">
© Loughborough University 2008</div></td>
<td width="47%" bgcolor="#FFFFFF"><div align="center"><span class="style2"><a href="admin_login.htm">staff</a></span></div></td>
</tr>
</table>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -