function mini_deck()
 {
     $the_project = parent::the_project();
     $prod_settings = parent::get_project_settings();
     if (empty($prod_settings)) {
         $prod_settings = getProductDefaultSettings();
     }
     $post_id = parent::get_project_postid();
     $item_fund_goal = apply_filters('id_project_goal', parent::the_goal(), $post_id);
     $item_fund_end = parent::end_date();
     $disable_levels = get_post_meta($post_id, 'ign_disable_levels', true);
     if ($disable_levels == 'on') {
         $no_levels = 0;
     } else {
         $no_levels = get_post_meta($post_id, $name = "ign_product_level_count", true);
     }
     $project_desc = html_entity_decode(get_post_meta($post_id, "ign_project_description", true));
     $project_type = get_post_meta($post_id, 'ign_project_type', true);
     $end_type = get_post_meta($post_id, 'ign_end_type', true);
     $p_current_sale = apply_filters('id_funds_raised', parent::get_project_raised(), $post_id);
     $p_count = new stdClass();
     $p_count->p_number = apply_filters('id_number_pledges', parent::get_project_orders(), $post_id);
     $rating_per = apply_filters('id_percentage_raised', parent::percent(), apply_filters('id_funds_raised', parent::get_project_raised(), $post_id, true), $post_id, apply_filters('id_project_goal', parent::the_goal(), $post_id, true));
     $successful = parent::successful();
     $days_left = apply_filters('id_project_days_left', parent::days_left(), $post_id);
     $end_month = parent::end_month();
     $end_day = parent::end_day();
     $end_year = parent::end_year();
     //GETTING the main settings of ignitiondeck
     $settings = getSettings();
     if ($settings->id_widget_link == "") {
         $affiliate_link = "http://ignitiondeck.com";
     } else {
         $affiliate_link = $settings->id_widget_link;
     }
     $unique_widget_id = rand(101282, 293773);
     //GETTING the currency symbol
     $currencyCodeValue = $prod_settings->currency_code;
     $cCode = setCurrencyCode($currencyCodeValue);
     $the_deck = new stdClass();
     $the_deck->project = $the_project;
     $the_deck->prod_settings = $prod_settings;
     $the_deck->post_id = $post_id;
     $the_deck->item_fund_goal = $item_fund_goal;
     $the_deck->item_fund_end = $item_fund_end;
     $the_deck->disable_levels = $disable_levels;
     $the_deck->no_levels = $no_levels;
     $the_deck->project_desc = $project_desc;
     $the_deck->project_type = $project_type;
     $the_deck->end_type = $end_type;
     $the_deck->p_current_sale = $p_current_sale;
     $the_deck->p_count = $p_count;
     $the_deck->rating_per = $rating_per;
     $the_deck->successful = $successful;
     $the_deck->days_left = $days_left;
     $the_deck->month = apply_filters('id_end_month', $end_month);
     $the_deck->day = $end_day;
     $the_deck->year = $end_year;
     $the_deck->settings = $settings;
     $the_deck->cCode = $cCode;
     $the_deck->affiliate_link = $affiliate_link;
     return $the_deck;
 }