<?php

function deal_num($num)
{
    $str_num = strval($num);
    $num_len = strlen($str_num);
    if ($num_len < 4) {
        for ($i = $num_len; $i < 4; $i++) {
            $str_num = '0' . $str_num;
        }
    }
    return $str_num;
}
$self_name = $this->session->userdata('username');
$qa_num = deal_num($qa_num);
$master_num = deal_num($master_num);
$masters = $master_info;
defined('BASEPATH') or exit('No direct script access allowed');
?>
<!DOCTYPE html>
<html lang="zh-cn">
<?php 
$this->load->view('./templates/head', array('title' => '海知理财师'));
?>
<body class="bg-gray">
<div class="wrapper">
    <?php 
$this->load->view('./templates/navbar');
?>
    <div class="lcs_jmp">
        <div class="container">
<!--巨幕-->
<?php 
function deal_num($num)
{
    $str_num = strval($num);
    $num_len = strlen($str_num);
    if ($num_len < 4) {
        for ($i = $num_len; $i < 4; $i++) {
            $str_num = '0' . $str_num;
        }
    }
    return $str_num;
}
$golden_num = $data_count['num_golden'];
$silver_num = $data_count['num_silver'];
$all_num = deal_num($data_count['num_all']);
?>
<div class="main_jumptron ">
    <div class="main_jumptron_img">
        <div id="jumptron-carousel" class="carousel slide" data-ride="carousel">
            <!-- Indicators -->
            <ol class="carousel-indicators">
                <li data-target="#jumptron-carousel" data-slide-to="0" class="active"></li>
                <li data-target="#jumptron-carousel" data-slide-to="1"></li>
                <li data-target="#jumptron-carousel" data-slide-to="2"></li>
            </ol>

            <div class="carousel-inner" role="listbox">
                <div class="item active">
                    <img class="jumptron_img" src="<?php 
echo base_url('assets/images/back/index_jmp_1.png');