for ($e = 0; $e < sizeof($estructure[$i][1]); $e++) { ?> <div class="well well-sm"> <div class="panel panel-default"> <div class="panel-heading"> <strong><?php out($estructure[$i][1][$e][1]); ?> </strong> </div> <div class="panel-body section-content"> <?php // echo $estructure[$i][1][$e][2]; switch ($estructure[$i][1][$e][2]) { case "0": $content = get_proyectsectioncontent($proyectid, $estructure[$i][1][$e][0]); include 'section/section0.php'; break; case "1": ///Sección repetitiva de indicadores $content = get_proyectindicadoresused($proyectid); include 'section/section1.php'; break; case "2": ///Sección de indicadores $content = get_proyectindicadores($proyectid); include 'section/section2.php'; break; case "3": ///Sección de indicadores $content = get_proyectphea($proyectid);
$stepdata = $estructure[$step - 2][1]; for ($i = 0; $i < sizeof($stepdata); $i++) { ?> <div class="well well-sm"> <div class="panel panel-default"> <div class="panel-heading"> <strong><?php out($stepdata[$i][1]); ?> </strong> </div> <div class="panel-body section-content"> <?php switch ($stepdata[$i][2]) { case "0": $content = get_proyectsectioncontent($proyectid, $stepdata[$i][0]); if ($content[0] != "") { $section = $content[1][0]; include 'review/review1.php'; include 'section/section0.php'; } break; case "1": ///Sección repetitiva de indicadores $content = get_proyectindicadoresused($proyectid); $section = get_worksection($proyectid, $stepdata[$i][0]); if ($section[0]) { $section = $section[1]; include 'review/review1.php'; include 'section/section1.php'; }