/**
  * @param array $instance
  * @return string|void
  * @description Widget Backend
  */
 public function form($instance)
 {
     if (isset($instance['title'])) {
         $title = $instance['title'];
     } else {
         $title = __('New title', 'novario');
     }
     $objAction = new Actions();
     $data['obj'] = $this;
     $data['title'] = $title;
     echo $objAction->theme('widgets/nv_backend_social', $data);
 }
 /**
  * @param array $instance
  * @return string|void
  * @description Widget Backend
  */
 public function form($instance)
 {
     $title = '';
     if (isset($instance['title'])) {
         $title = $instance['title'];
     }
     $post_type = 'post';
     if (isset($instance['post_type'])) {
         $post_type = $instance['post_type'];
     }
     $post_types = get_post_types();
     $objAction = new Actions();
     $data['post_types'] = $post_types;
     $data['title'] = $title;
     $data['obj'] = $this;
     $data['post_type'] = $post_type;
     echo $objAction->theme('widgets/nv_backend_recent_posts', $data);
 }
 /**
  * @param array $instance
  * @return string|void
  * @description Widget Backend
  */
 public function form($instance)
 {
     $title = '';
     if (isset($instance['title'])) {
         $title = $instance['title'];
     }
     $post_title = '';
     if (isset($instance['post_title'])) {
         $post_title = $instance['post_title'];
     }
     $post_id = '';
     if (isset($instance['post_id'])) {
         $post_id = $instance['post_id'];
     }
     $objAction = new Actions();
     $data['obj'] = $this;
     $data['title'] = $title;
     $data['post_title'] = $post_title;
     $data['post_id'] = $post_id;
     $objAction->loadjQueryui();
     $objAction->addJs('widget_frontpage', 'js/admin/widget_frontpage.js');
     echo $objAction->theme('widgets/nv_backend_frontpage_about', $data);
 }
 /**
  * @param array $instance
  * @return string|void
  * @description Widget Backend
  */
 public function form($instance)
 {
     $title = '';
     if (isset($instance['title'])) {
         $title = $instance['title'];
     }
     $post_id = '';
     if (isset($instance['post_id'])) {
         $post_id = $instance['post_id'];
     }
     $sort_by = '';
     if (isset($instance['sort_by'])) {
         $sort_by = $instance['sort_by'];
     }
     $show_columns = '';
     if (isset($instance['show_columns'])) {
         $show_columns = $instance['show_columns'];
     }
     $show_by = '';
     if (isset($instance['show_by'])) {
         $show_by = $instance['show_by'];
     }
     $limit = '';
     if (isset($instance['limit'])) {
         $limit = $instance['limit'];
     }
     $objAction = new Actions();
     $data['obj'] = $this;
     $data['title'] = $title;
     $data['post_id'] = $post_id;
     $data['sort_by'] = $sort_by;
     $data['show_columns'] = $show_columns;
     $data['show_by'] = $show_by;
     $data['limit'] = $limit;
     $objAction->loadjQueryui();
     echo $objAction->theme('widgets/nv_backend_frontpage_item', $data);
 }