<!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 name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title> Fictional On-Line Art</title>
<link href="css/bootstrap.css" rel="stylesheet">
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/font-awesome.min.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<script src="js/jquery-1.10.2.js"></script>
<script src="js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
<div class="page-header">
<span>FICTIONAL ART ONLINE </span>
</div>
<?php
$img_url="paintings/large/";
$ext=".jpg";
include("menu.php");
include("connection.php");
$id=$_GET['id'];
$sql=mysql_query("SELECT * FROM `artist` WHERE artist_id='$id'");
$row=mysql_fetch_array($sql);
?>
<div class="panel panel-primary">
<div class="panel-body">
<div class="col-md-12">
<div class="form-group">
<label>Artists Name:</label>
<p style="text-align:justify;"><?php echo $row['artist_fname']." ".$row['artist_lname']; ?></p>
</div>
<div class="form-group">
<label>Description:</label>
<p style="text-align:justify;"><?php echo $row['description']; ?></p>
</div>
<div class="form-group">
<label>Year:</label>
<p style="text-align:justify;"><?php echo $row['year_of_birth']."-".$row['year_of_death']; ?></p>
</div>
<div class="form-group">
<label>Nationality:</label>
<p style="text-align:justify;"><?php echo $row['nationality']; ?></p>
</div>
<div class="form-group">
<label>Wikipedia Link:</label>
<p style="text-align:justify;"><?php echo '<a href="'.$row['wlink'].'" target="_blank">'.$row['wlink'].'</a>'; ?></p>
</div>
<div class="form-group"><?php echo "<a href='other_paintings.php?id=".$row[0]."' class='btn btn-info'> Paintings of ".$row['artist_fname']." ".$row['artist_lname']."</a>"; ?>
</div>
</div>
</div>
</div>
<p> </p>
<p> </p>
<p> </p>
<?php
include("footer.php");
?>
</body>
</html>