title = $title;
$this->title = $title;
$this->content = $content;
$this->link = $link;
$this->active_option_name = $active_option_name;
$this->active = $active;
$this->img = $img;
$this->premium = $premium;
}
public function generateHTML() {
?>
';
$box_content = '
' . substr($this->content, 0, 100) . (strlen($this->content) > 100 ? '...' : '') . '
' . (strlen($this->content) > 100 ? ' ' : '') . '