예제 #1
0
<?php

include_once dirname(__FILE__) . '/../../config.php';
include_once PATH_LIBS . 'class.reportControl.php';
$id = $_GET['id'];
$report = new reportControl();
$report->id_report = $id;
$fecha_unix = $report->getLastInsertDate();
$fecha_unix = $fecha_unix[0]['publication_datetime'];
echo date('d-m-Y', $fecha_unix);
예제 #2
0
<?php

include_once dirname(__FILE__) . '/../../config.php';
include_once PATH_LIBS . 'class.reportControl.php';
$id = $_GET['id'];
$report = new reportControl();
$report->id_report = $id;
$report->reportLoad();
$int_small_title = $report->totalSmallTitle();
$int_long_title = $report->totalLongTitle();
$int_small_description = $report->totalSmallDescription();
$int_long_description = $report->totalLongDescription();
?>

<html>
<head>
<!--Load the AJAX API-->
    <script type="text/javascript" src="https://www.google.com/jsapi"></script>
    <script type="text/javascript">

      // Load the Visualization API and the piechart package.
      google.load('visualization', '1.0', {'packages':['corechart']});

      // Set a callback to run when the Google Visualization API is loaded.
      google.setOnLoadCallback(drawChartSmallTitle);
      google.setOnLoadCallback(drawChartLongTitle);
      google.setOnLoadCallback(drawChartSmallDescription); 
      google.setOnLoadCallback(drawChartLongDescription); 
      // Callback that creates and populates a data table,
      // instantiates the pie chart, passes in the data and
      // draws it.
예제 #3
0
<?php

header("Content-Type:text/xml");
include_once dirname(__FILE__) . '/../../config.php';
include_once PATH_LIBS . 'class.reportControl.php';
$report = new reportControl();
$report->id_report = $_GET['id'];
$report->double_title_tree();
예제 #4
0
<?php

//header ("Content-Type:text/xml");
include_once dirname(__FILE__) . '/../../config.php';
include_once PATH_LIBS . 'class.reportControl.php';
$report = new reportControl();
$report->id_report = $_GET['id'];
$report->double_title_tmp();
예제 #5
0
<?php

header("Content-Type:text/xml");
include_once dirname(__FILE__) . '/../../config.php';
include_once PATH_LIBS . 'class.reportControl.php';
$report = new reportControl();
$report->id_report = $_GET['id'];
$report->gridDoubleTitle($_GET['identify']);