コード例 #1
0
 public function visitasRealizadas()
 {
     try {
         $grafico = new ControllerGrafico();
         $data1 = date("Y-m-d");
         $data2 = date("Y-m-d", strtotime("-15 days"));
         $visitasRealizadas = $grafico->visitasRealizadas($data1, $data2);
         return $visitasRealizadas;
     } catch (Exception $ex) {
         echo $ex;
     }
 }
コード例 #2
0
<?php

include_once '../../verificaLogin.php';
include_once '../../ControllerAudit/ControllerGrafico.php';
include_once '../../Model/AnaliseDeProduto.php';
include_once '../../Fachada/Fachada.php';
$fachada = new Fachada();
$obj1 = new ControllerGrafico();
$obj1->abrirBD();
?>
<script src="Chart.min.js"></script>
<!--
Template Name: Metronic - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.2.0
Version: 3.1.3
Author: KeenThemes
Website: http://www.keenthemes.com/
Contact: support@keenthemes.com
Follow: www.twitter.com/keenthemes
Like: www.facebook.com/keenthemes
License: You must have a valid license purchased only from themeforest(the above link) in order to legally use the theme for your project.
-->
<!--[if IE 8]> <html lang="pt-br" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="pt-br" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!-->
<html lang="pt-br" class="no-js">
    <!--<![endif]-->
    <!-- BEGIN HEAD -->
    <head>
        <meta charset="utf-8"/>
        <title>Audit | Painel Administrador</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge">