public function deletefile() { if ($this->show->itemID) { $oNewsletter = new Page(); $oNewsletter->deleteFile($this->show->itemID); } exit('ok'); }