Problem with Tabbed Panel

1

I'm trying to implement a code in php, where I look for a parameter, create a tabbed panel according to the parameter and inside that tabbed panel create another tabbed panel, entertaining the code is with some problem I could not solve the second tabbed panel does not work. I click on January, for example, nothing happens.

 <div class="tabbable" id="tabs-669585">
            <ul class="nav nav-tabs">
                    <?php 
    $mes=$_GET["mes"];
    $i;

                for($i=0;$i<14;$i++)
                {
                    if(($mes%12)==1)
                    {?>
                    <li>
                    <a href="#panel-21">Janeiro</a>
                    </li><?php
                    }
}
                $mes++;
                }

?>
            </ul>
                <li>
                <div class="tab-content">
    <div class="tab-pane" id="panel-21">
            <ul class="nav nav-tabs">
                <li>
                    <a href="#panel-3437613" data-toggle="tab">Fósforo</a>
                </li>
                <li class="active">
                    <a href="#panel-2" data-toggle="tab">Nitrogênio</a>
                </li>
                <li>
                    <a href="#panel-3" data-toggle="tab">Zinco</a>
                </li>
                    <li>
                    <a href="#panel-4" data-toggle="tab">Potássio</a>
                </li>
            </ul>

Would anyone have a solution?

    
asked by anonymous 10.12.2014 / 19:56

0 answers