There does't seem to be anything wrong with line 15 itself (meaning the coding isn't typed incorrectly or anything), did you try moving it to:
PHP Code:
<?php
class ExploreeyresgameView extends View{
public function index(){
$mysidia = Registry::get("mysidia");
$document = $this->document;
$document->setTitle("<center>Hanafuda with Eyre</center>");
$item = "[Sherlock Holmes Book]";
$hasitem = $mysidia->db->select("inventory", array("quantity"), "itemname ='{$item}' and owner='{$mysidia->user->username}'")->fetchColumn();
if($hasitem){
$document->add(new Comment("<center><img src='http://atrocity.mysidiahost.com/picuploads/png/b30c16d80645c40477b2143fae5f5eeb.png'></center>", FALSE));
$document->add(new Comment("<center>Cant guarantee a win!</center>, FALSE));
$document->add(new Comment("<center><a href='http://atrocity.mysidiahost.com/exploreeyresgame'>Play again?</a> Or <a href='http://atrocity.mysidiahost.com/pages/view/bakenekohalloween'> Go back to the event plaza</a></center>", FALSE));
}