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 = '

' . $this->title . '

' . substr($this->content, 0, 100) . (strlen($this->content) > 100 ? '...' : '') . '

' . (strlen($this->content) > 100 ? ' ' : '') . '
'; if($this->premium==true){ if ( !aiautotool_premium()->is__premium_only() ) { $active_checkbox = ' '; }else{ $active_checkbox = ' '; } }else{ $active_checkbox = ' '; } $script = ' '; $html = '
' . $new_badge . ' ' . $box_head . ' ' . $box_content . ' ' . $active_checkbox . '
' . $script; return $html; } }