Alright, try changing the manage function in myadoptsview.php to this:
PHP Code:
public function manage(){
$mysidia = Registry::get("mysidia");
$aid = $this->getField("aid")->getValue();
$name = $this->getField("name")->getValue();
$image = $this->getField("image");
$trophies = $mysidia->db->select("owned_adoptables", array("trophies"), "aid = '{$aid}'")->fetchColumn();
$document = $this->document;
$document->setTitle("Managing {$name}");
$document->add($image);
$document->add(new Comment("<br><br>This page allows you to manage {$name}. Click on an option below to change settings.<br>
<center>{$name} has {$trophies} trophies!</center><br>"));
$document->add(new Link("pet/profile/$aid", ' View Public Profile', TRUE));
$document->add(new Image("templates/icons/add.gif"));
$document->add(new Link("levelup/click/{$aid}", " Level Up {$name}", TRUE));
$document->add(new Image("templates/icons/stats.gif"));
$document->add(new Link("myadopts/stats/{$aid}", " Get Stats for {$name}", TRUE));
$document->add(new Image("templates/icons/bbcodes.gif"));
$document->add(new Link("myadopts/bbcode/{$aid}", " Get BBCodes / HTML Codes for {$name}", TRUE));
$document->add(new Image("templates/icons/title.gif"));
$document->add(new Link("myadopts/rename/{$aid}", " Rename {$name}", TRUE));
$document->add(new Image("templates/icons/trade.gif"));
$document->add(new Link("myadopts/trade/{$aid}", " Change Trade status for {$name}", TRUE));
$document->add(new Image("templates/icons/freeze.gif"));
$document->add(new Link("myadopts/freeze/{$aid}", " Freeze or Unfreeze {$name}", TRUE));
$document->add(new Image("templates/icons/delete.gif"));
$document->add(new Link("pound/pound/{$aid}", " Pound {$name}", TRUE));
}