Example #1
0
include_once 'project_config.php';
include_once 'utils/project_api.php';
if (isset($_GET['project'])) {
    $project_id = intval($_GET['project']);
} else {
    echo "oh, no";
}
$myproject = new Project($project_id);
?>
<!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" />
		<link href="../css/sub_style.css" rel="stylesheet" type="text/css" />
		<title><?php 
$myproject->print_project_name();
?>
</title>
	</head>
	<body>
		<div id="page">
			<?php 
require '../include/head.php';
?>
		    <div id="content">
		       <div id="project">
		       		<div class="project_single">
		                <div class="single_pic"><img src=<?php 
echo "../" . $myproject->get_project_pic_path();
?>
></div>