<?php
/* +--------------------------------------------------------------
| PHPFreeNews - News Headlines on your website |
| Developed by Jim Willsher. |
| http://www.phpfreenews.co.uk |
+-------------------------------------------------------------+
*/
// Load up the configuration
require('Config/Config.php');
require('Inc/RatingsFunctions.php');
require('Inc/Functions.php');
$ArticleID = isset($_GET['ArticleID']) ? $_GET['ArticleID'] : '';
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title><?= GetHeadline($ArticleID) ?></title>
<link rel="stylesheet" href="/Styles.css" type="text/css">
</head>
<body background="/Img/Background.jpg">
<?php
// Are we to record a vote?
if (isset($_POST['submit']))
RecordVote($ArticleID);
else
ShowVotingForm($ArticleID);
?>
</body>
</html>