Example #1
0
                                                        <?php 
                }
                ?>
                                                    <a href="<?php 
                echo base_url() . $this->uri->segment(1) . '/' . $this->uri->segment(2) . '/excluir_tema" ' . View::getParamExcluirItemTabela($row['pk_redigge'], '', 0, '', 'Excluir tema', 'Deseja excluir o tema');
                ?>
"   class="excluirItemTabela">
                                                        Excluir <span class="glyphicon glyphicon-remove"></span>
                                                    </a>
                                                    <a target="_blank" class="link" href="<?php 
                echo base_url() . 'redigge/tema/notas/' . $row['tipo'] . '/' . $row['pk_redigge'];
                ?>
">Notas <span class="fa fa-bookmark"></span></a>
                                                    <?php 
            } elseif ($idTipoUsuario == 6 || $idTipoUsuario == 11) {
                $sqlRedigge = new SqlRedigge();
                $resultado = $sqlRedigge->get_dados_aluno($row['pk_redigge'], $_SESSION['pk_aluno_usuario']);
                if (!empty($resultado)) {
                    ?>
                                                        <h5><strong>Ações:</strong></h5>
                                                        <a class="link" rel="shadowbox" href="<?php 
                    echo base_url() . 'redigge/tema/detalhe_aluno/' . $row['pk_redigge'] . '/' . $_SESSION['pk_aluno_usuario'] . '?shadowbox=1';
                    ?>
">Ver</a>
                                                        <?php 
                }
            }
            ?>
                                            </div>
                                        </div>
                                    </div>
Example #2
0
                                    2]);
                   var options = {
                     title: "",
                     ' . ($data['mobile'] ? '' : 'width: 600,height: 300,') . '
                     
                     bar: {groupWidth: "95%"},
                     legend: { position: "none" },
                   };
                   var chart = new google.visualization.ColumnChart(document.getElementById("columnchart_values"));
                   chart.draw(view, options);
               }
               </script>
             <div id="columnchart_values"></div>';
 $data['html'] = $html;