当前位置: 首页>>代码示例>>PHP>>正文


PHP open_flash_chart_object函数代码示例

本文整理汇总了PHP中open_flash_chart_object函数的典型用法代码示例。如果您正苦于以下问题:PHP open_flash_chart_object函数的具体用法?PHP open_flash_chart_object怎么用?PHP open_flash_chart_object使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了open_flash_chart_object函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: index

 function index()
 {
     $this->rapyd->load("dataform");
     $this->load->helper('openflash');
     if ($this->uri->segment(4)) {
         $anio = $this->uri->segment(4);
     } elseif (isset($_POST['anio'])) {
         $anio = $_POST['anio'];
     }
     if (empty($anio)) {
         $anio = date("Y");
     }
     $filter = new DataForm('ventas/vendedoresanuales');
     $filter->title('Filtro de Ventas Anuales');
     $filter->anio = new inputField("Año", "anio");
     $filter->anio->size = 4;
     $filter->anio->insertValue = $anio;
     $filter->anio->rule = "max_length[4]";
     $filter->button("btnsubmit", "Buscar", form2uri(site_url('ventas/vendedoresanuales /index'), array('anio')), $position = "BL");
     $filter->build_form();
     $grafico = open_flash_chart_object(760, 300, site_url("ventas/vendedoresanuales/grafico/{$anio}/"));
     $data['content'] = $grafico;
     $data['content'] .= $filter->output;
     $data["head"] = $this->rapyd->get_head();
     $data['title'] = $this->rapyd->get_head() . "<h1>Ventas</h1>";
     $this->load->view('view_ventanas', $data);
 }
开发者ID:codethics,项目名称:proteoerp,代码行数:27,代码来源:anuales.php

示例2: index

    function index()
    {
        $this->rapyd->load("datagrid2");
        $this->rapyd->load("dataform");
        $this->load->helper('openflash');
        if ($this->uri->segment(4)) {
            $anio = $this->uri->segment(4);
        } elseif (isset($_POST['anio'])) {
            $anio = $_POST['anio'];
        }
        if (empty($anio)) {
            $anio = date("Y");
        }
        $fechai = $anio . '0101';
        $fechaf = $anio . '1231';
        $filter = new DataForm('hospitalidad/anuales');
        $filter->title('Filtro de ventas Anuales');
        $filter->anio = new inputField("A&ntilde;o", "anio");
        $filter->anio->size = 4;
        $filter->anio->insertValue = $anio;
        $filter->anio->maxlength = 4;
        //$filter->anio->onkeypress="return acceptNum(event)";
        $filter->button("btnsubmit", "Buscar", form2uri(site_url('hospitalidad/anuales/index'), array('anio')), $position = "BL");
        $filter->build_form();
        $data = $this->_sincrodata($fechai, $fechaf);
        $grid = new DataGrid2('', $data);
        $grid->totalizar('impuesto', 'cobrado', 'contado', 'credito', 'subtotal', 'numfac');
        $grid->column("Mes", "mes");
        $grid->column("Sub-Total", "<number_format><#subtotal#>|2|,|.</number_format>", 'align=right');
        $grid->column("Impuesto", "<number_format><#impuesto#>|2|,|.</number_format>", 'align=right');
        $grid->column("Contado", "<number_format><#contado#>|2|,|.</number_format>", 'align=right');
        $grid->column("Credito", "<number_format><#credito#>|2|,|.</number_format>", 'align=right');
        $grid->column("Cobrado", "<number_format><#cobrado#>|2|,|.</number_format>", 'align=right');
        $grid->column("% Ventas", "<number_format><#porcentaje#>|2|,|.</number_format>", 'align=right');
        $grid->column("Cant. Fact", "numfac", 'align=right');
        $grid->build();
        $data['content'] = open_flash_chart_object(680, 300, site_url("hospitalidad/anuales/grafico/{$anio}"));
        $data['content'] .= $filter->output . $grid->output;
        $data['title'] = $this->rapyd->get_head() . "<h1>Ventas Anuales</h1>";
        $data['script'] = '<script type="text/javascript">
		$(document).ready(function() {
			$("#anio").keypress(function(event) {
				acceptNum(evt);
				return false;
			});
		});
	  var nav4 = window.Event ? true : false;
	  function acceptNum(evt)
    {	
    		var key = nav4 ? evt.which : evt.keyCode;	
    		return (key <= 13 || (key >= 48 && key <= 57));
    		
    }
		</script>';
        $data["head"] = script("jquery-1.2.6.pack.js") . $this->rapyd->get_head();
        $this->load->view('view_ventanas', $data);
    }
开发者ID:codethics,项目名称:proteoerp,代码行数:57,代码来源:anuales.php

示例3: index

 function index()
 {
     $this->rapyd->load("datagrid2");
     $this->rapyd->load("dataform");
     $this->load->helper('openflash');
     if ($this->uri->segment(4)) {
         $mes = $this->uri->segment(4);
     } elseif (isset($_POST['mes'])) {
         $mes = $_POST['mes'];
     }
     if ($this->uri->segment(5)) {
         $anio = $this->uri->segment(5);
     } elseif (isset($_POST['anio'])) {
         $anio = $_POST['anio'];
     }
     if (empty($mes) or empty($anio)) {
         $mes = date("n");
     }
     $anio = date("Y");
     $fechai = $anio . str_pad($mes, 2, "0", STR_PAD_LEFT) . '01';
     $fechaf = $anio . str_pad($mes, 2, "0", STR_PAD_LEFT) . '31';
     $filter = new DataForm('ventas/mensuales');
     $filter->attributes = array('onsubmit' => "this.action='index/'+this.form.mes.value+'/'+this.form.anio.value+'/';return FALSE;");
     $filter->title('Filtro de ventas mensuales');
     $filter->mes = new dropdownField("Mes/A&ntilde;o", "mes");
     for ($i = 1; $i < 13; $i++) {
         $filter->mes->option(str_pad($i, 2, '0', STR_PAD_LEFT), str_pad($i, 2, '0', STR_PAD_LEFT));
     }
     $filter->mes->size = 2;
     $filter->mes->style = '';
     $filter->mes->insertValue = $mes;
     $filter->anio = new inputField("A&ntilde;o", "anio");
     $filter->anio->in = 'mes';
     $filter->anio->size = 4;
     $filter->anio->insertValue = $anio;
     $filter->anio->maxlength = 4;
     $filter->button("btnsubmit", "Buscar", form2uri(site_url('hospitalidad/mensuales/index'), array('mes', 'anio')), $position = "BL");
     $filter->build_form();
     $data = $this->_sincrodata($fechai, $fechaf);
     $grid = new DataGrid2('', $data);
     $grid->totalizar('impuesto', 'cobrado', 'contado', 'credito', 'subtotal', 'numfac');
     $grid->column("Dia", "dia");
     $grid->column("Sub-Total", "<number_format><#subtotal#>|2|,|.</number_format>", 'align=right');
     $grid->column("Impuesto", "<number_format><#impuesto#>|2|,|.</number_format>", 'align=right');
     $grid->column("Contado", "<number_format><#contado#>|2|,|.</number_format>", 'align=right');
     $grid->column("Credito", "<number_format><#credito#>|2|,|.</number_format>", 'align=right');
     $grid->column("Cobrado", "<number_format><#cobrado#>|2|,|.</number_format>", 'align=right');
     $grid->column("% Ventas", "<number_format><#porcentaje#>|2|,|.</number_format>", 'align=right');
     $grid->column("Cant. Fact", "numfac", 'align=right');
     $grid->build();
     $data['content'] = open_flash_chart_object(680, 300, site_url("hospitalidad/mensuales/grafico/{$mes}/{$anio}"));
     $data['content'] .= $filter->output . $grid->output;
     $data['title'] = $this->rapyd->get_head() . "<h1>Ventas Mensuales</h1>";
     $data["head"] = $this->rapyd->get_head();
     $this->load->view('view_ventanas', $data);
 }
开发者ID:codethics,项目名称:proteoerp,代码行数:56,代码来源:mensuales.php

示例4: index

 function index($parametros = 'nada', $algo = 'nada')
 {
     $grafico = open_flash_chart_object(800, 300, site_url("demo/grafico/Grafico"));
     $data['content'] = $grafico;
     $data["head"] = '';
     $data['title'] = ' Demo ';
     $this->load->view('view_ventanas', $data);
     /*$data['titulo1']=$parametros;
     		$this->layout->buildPage('bienvenido/home', $data);	*/
 }
开发者ID:enderochoa,项目名称:tortuga,代码行数:10,代码来源:demo.php

示例5: index

 function index()
 {
     //$this->rapyd->load("datagrid");
     $this->rapyd->load("dataform");
     $this->load->helper('openflash');
     if ($this->uri->segment(4)) {
         $anio = $this->uri->segment(4);
     } elseif (isset($_POST['anio'])) {
         $anio = $_POST['anio'];
     }
     if (empty($anio)) {
         $anio = date("Y");
     }
     $fechai = $anio . '0101';
     $fechaf = $anio . '1231';
     $filter = new DataForm('nomina/promediosueldos');
     $filter->title('Filtro de Promedio de Sueldos');
     $filter->anio = new inputField("A&ntilde;o", "anio");
     $filter->anio->size = 4;
     $filter->anio->insertValue = $anio;
     $filter->anio->rule = "max_length[4]";
     $filter->button("btnsubmit", "Buscar", form2uri(site_url('nomina/promediosueldos /index'), array('anio')), $position = "BL");
     $filter->build_form();
     /*
     		$grid = new DataGrid();
     		$select=array( "fecha","MONTH(fecha)as mes",                                            
     		"SUM(montonet*IF(tipo_doc='D', -1, 1)) AS anterior",                             
     		"SUM(credito*IF(tipo_doc='D', -1, 1)) as contado",        
     		"SUM(inicial*IF(tipo_doc='D', -1, 1)) as credito", 
         "FORMAT(sum(montotot*IF(tipo_doc='D',-1,1)),2) AS subtotal", 
         "FORMAT(sum(montoiva*IF(tipo_doc='D',-1,1)),2) AS impuesto", 
         "COUNT(*) AS numfac"); 
                  		
     		$grid->db->select($select);  
     		$grid->db->from("scst");
     		$grid->db->where('a.tipo<>','X');
     		$grid->db->where('fecha >= ', $fechai);  
     		$grid->db->where('fecha <= ',$fechaf); 
     		$grid->db->groupby("mes");
     		
     		$grid->column("Fecha"          , "fecha"    );
     		$grid->column("Sub-Total"      , "subtotal" ,'align=right');
     		$grid->column("Impuesto"       , "impuesto" ,'align=right');
     		$grid->column("Total"          , "anterior",'align=right');
     		$grid->column("Contado"        , "contado"  ,'align=right');
     		$grid->column("Credito"        , "credito"  ,'align=right');
     		$grid->column("N&uacute;mero"  , "numfac"   ,'align=right');
     		$grid->build();*/
     $grafico = open_flash_chart_object(760, 300, site_url("nomina/promediosueldos/grafico/{$anio}/"));
     $data['content'] = $grafico;
     $data['content'] .= $filter->output;
     $data["head"] = $this->rapyd->get_head();
     $data['title'] = $this->rapyd->get_head() . " Nomina ";
     $this->load->view('view_ventanas', $data);
 }
开发者ID:enderochoa,项目名称:tortuga,代码行数:55,代码来源:aumentosueldos.php

示例6: smarty_function_openflashchart

/**
 *
 * Name:        openflashchart
 * Type:        function
 * Purpose: This TAG inserts a openflashchart flash object.
 *
 * Calls the openflashchart object from templates-side with parameters applied
 * {openflashchart ...}
 * Parameters: width, heigth, url, data, swfobject, baseurl, debug
 *
 * Example usage:
 * {openflashchart width="200" height="200" url="http" data="" swfobject=false debug=false}
 *
 * @param array $params as described above
 * @return string
 */
function smarty_function_openflashchart($params)
{
    include ROOT_LIBRARIES . 'open-flash-chart/php-ofc-library/open_flash_chart_object.php';
    // auto-prefix url with www_root if http is not in the url string
    $params['url'] = WWW_ROOT . '/' . $params['url'];
    $params += array('width' => 320, 'height' => 200, 'url' => WWW_ROOT . '/' . $params['url'], 'swfobject' => false, 'baseurl' => WWW_ROOT . 'libraries/open-flash-chart/');
    open_flash_chart_object($params['width'], $params['height'], $params['url'], $params['swfobject'], $params['baseurl']);
    if (isset($params['debug']) and $params['debug'] == true or DEBUG == true) {
        echo '<br /> The source for the dynamic data is: <a target="_blank" href="' . $params['url'] . '">' . $params['url'] . '</a>';
    }
}
开发者ID:Clansuite,项目名称:Clansuite,代码行数:27,代码来源:function.openflashchart.php

示例7: smarty_function_ofc

function smarty_function_ofc($args, &$smarty)
{
    include_once PS_ROOTDIR . "/includes/ofc/open_flash_chart_object.php";
    $args += array('width' => 320, 'height' => 240, 'url' => null, 'data' => null, 'swfobject' => true, 'baseurl' => 'includes/ofc/');
    if ($args['url'] == null) {
        if ($args['data'] == null) {
            $args['url'] = $_SERVER['PHP_SELF'] . '?ofc=1';
        } else {
            $args['url'] = $_SERVER['PHP_SELF'] . '?ofc=' . $args['data'];
        }
    }
    // this prints, so no need to return
    open_flash_chart_object($args['width'], $args['height'], $args['url'], $args['swfobject'], $args['baseurl']);
}
开发者ID:Nerus87,项目名称:PsychoStats,代码行数:14,代码来源:function.ofc.php

示例8: index

 function index()
 {
     $this->rapyd->load("dataform");
     $this->load->helper('openflash');
     $mes = $this->uri->segment(4);
     $anio = $this->uri->segment(5);
     if (empty($mes)) {
         $mes = date("m");
     }
     if (empty($anio)) {
         $anio = date("Y");
     }
     $fechai = $anio . $mes . '01';
     $fechaf = $anio . $mes . '31';
     $filter = new DataForm();
     $filter->title('Filtro de ventas mensuales');
     $filter->mes = new dropdownField("Mes/A&ntilde;o", "mes");
     for ($i = 1; $i < 13; $i++) {
         $filter->mes->option(str_pad($i, 2, '0', STR_PAD_LEFT), str_pad($i, 2, '0', STR_PAD_LEFT));
     }
     $filter->mes->size = 2;
     $filter->mes->style = '';
     $filter->mes->insertValue = $mes;
     $filter->anio = new inputField("A&ntilde;o", "anio");
     $filter->anio->in = 'mes';
     $filter->anio->size = 4;
     $filter->anio->insertValue = $anio;
     $filter->anio->rule = "max_length[4]";
     $filter->button("btnsubmit", "Buscar", form2uri(site_url('compras/analisis/index'), array('mes', 'anio')), $position = "BL");
     $filter->build_form();
     $data['forma'] = '';
     $data['lista'] = $filter->output;
     $data['lista'] .= open_flash_chart_object(800, 300, site_url("compras/analisis/departa/{$mes}/{$anio}"));
     $data['titulo'] = $this->rapyd->get_head() . "<center><h2>VENTAS MENSUALES</h2></center>";
     $this->layout->buildPage('ventas/view_ventas', $data);
 }
开发者ID:codethics,项目名称:proteoerp,代码行数:36,代码来源:analisis.php

示例9: round

$mres = $res->fetch_array();
$num_week = $mres[0];
$num_week_perc = round($num_week * 100 / ($all_bots + 1.0E-7));
$sql = "SELECT COUNT(*)FROM bots_t WHERE date_last_online_bot >= ( CONVERT_TZ(now(),@@time_zone,'+0:00')  - INTERVAL 1 DAY)";
$res = $db->query($sql);
$mres = $res->fetch_array();
$num_24 = $mres[0];
$num_24_perc = round($num_24 * 100 / ($all_bots + 1.0E-7));
$sql = "SELECT MIN(date_install_bot) FROM bots_t";
$res = $db->query($sql);
$mres = $res->fetch_array();
$activity_date = $mres[0];
$create_date = gmdate("m/d/y H:i", $mres['start_date']);
$smarty->assign('NUM_WEEK_PERC', $num_week_perc);
$smarty->assign('NUM_WEEK', $num_week);
$smarty->assign('NUM_24', $num_24);
$smarty->assign('NUM_24_PREC', $num_24_perc);
$smarty->assign('ACTIVITY_DATE', $activity_date);
$smarty->display('botstat.tpl');
open_flash_chart_object(400, 400, './mod/bot_stat.php?by=os', true, 'plugins/ofc/');
?>
<br>
<?php 
open_flash_chart_object(400, 400, './mod/bot_stat.php?by=ie', true, 'plugins/ofc/');
?>
<br>
<?php 
open_flash_chart_object(400, 400, './mod/bot_stat.php?by=user_type', true, 'plugins/ofc/');
?>

开发者ID:ap0110,项目名称:DarkArts,代码行数:29,代码来源:botstat.php

示例10: diarias

 function diarias($anio = '', $proveed = '', $mes = '')
 {
     $this->rapyd->load('datagrid2');
     $this->rapyd->load('dataform');
     $this->load->helper('openflash');
     $proveed = radecode($proveed);
     if (isset($_POST['anio']) && empty($anio)) {
         $anio = $_POST['anio'];
     }
     if (isset($_POST['mes']) && empty($mes)) {
         $mes = $_POST['mes'];
     }
     if (isset($_POST['proveed']) && empty($proveed)) {
         $proveed = $_POST['proveed'];
     }
     if (empty($mes)) {
         redirect("compras/proveedores/mensuales/{$anio}/{$proveed}");
     }
     $fechai = $anio . str_pad($mes, 2, '0', STR_PAD_LEFT) . '01';
     $fechaf = $anio . str_pad($mes, 2, '0', STR_PAD_LEFT) . '31';
     $scli = array('tabla' => 'sprv', 'columnas' => array('proveed' => 'Codigo proveedor', 'nombre' => 'Nombre'), 'filtro' => array('proveed' => 'Còdigo proveedor', 'nombre' => 'Nombre'), 'retornar' => array('proveed' => 'proveed'), 'titulo' => 'Buscar proveedor');
     $cboton = $this->datasis->modbus($scli);
     $filter = new DataForm('compras/proveedoresdiarios');
     $filter->attributes = array('onsubmit' => "this.action='index/'+this.form.mes.value+'/'+this.form.anio.value+'/';return FALSE;");
     $filter->title('Filtro de Compras Diarias');
     $filter->mes = new dropdownField('Mes/A&ntilde;o', 'mes');
     for ($i = 1; $i < 13; $i++) {
         $filter->mes->option(str_pad($i, 2, '0', STR_PAD_LEFT), str_pad($i, 2, '0', STR_PAD_LEFT));
     }
     $filter->mes->size = 2;
     $filter->mes->style = '';
     $filter->mes->insertValue = $mes;
     $filter->anio = new inputField('A&ntilde;o', 'anio');
     $filter->anio->in = 'mes';
     $filter->anio->size = 4;
     $filter->anio->insertValue = $anio;
     $filter->anio->rule = 'max_length[4]';
     $filter->proveedor = new inputField('Proveedor', 'proveed');
     $filter->proveedor->size = 10;
     $filter->proveedor->insertValue = $proveed;
     $filter->proveedor->rule = 'max_length[4]';
     $filter->proveedor->append($cboton);
     $filter->button('btnsubmit', 'Buscar', form2uri(site_url('compras/proveedores/diarias/'), array('anio', 'proveed', 'mes')), $position = 'BL');
     $filter->build_form();
     $grid = new DataGrid2();
     $select = array('proveed', "DATE_FORMAT(fecha,'%d/%m/%Y') AS fecha", "SUM(montonet*IF(tipo_doc='NC',-1,1)) AS grantotal", "SUM(inicial*IF( tipo_doc='NC',-1,1)) AS contado", "SUM(credito*IF( tipo_doc='NC',-1,1)) AS credito", "SUM(montotot*IF(tipo_doc='NC',-1,1)) AS subtotal", "SUM(montoiva*IF(tipo_doc='NC',-1,1)) AS impuesto", 'COUNT(*) AS numfac');
     $grid->db->select($select);
     $grid->db->from('scst');
     $grid->db->where('tipo_doc <> ', 'NE');
     $grid->db->where('fecha >= ', $fechai);
     $grid->db->where('fecha <= ', $fechaf);
     $grid->db->where('proveed', $proveed);
     $grid->db->where('actuali >= fecha');
     $grid->db->groupby('fecha');
     $grid->column('Fecha', "fecha", "align='center'");
     $grid->column('Sub-Total', "<number_format><#subtotal#>|2|,|.</number_format>", 'align=right');
     $grid->column('Impuesto', "<number_format><#impuesto#>|2|,|.</number_format>", 'align=right');
     $grid->column('Total', "<number_format><#grantotal#>|2|,|.</number_format>", 'align=right');
     $grid->column('Contado', "<number_format><#contado#>|2|,|.</number_format>", 'align=right');
     $grid->column('Credito', "<number_format><#credito#>|2|,|.</number_format>", 'align=right');
     $grid->column('Cant. Fact', "numfac", 'align=right');
     $grid->totalizar('impuesto', 'grantotal', 'contado', 'credito', 'subtotal');
     $grid->build();
     $proveed = raencode($proveed);
     $grafico = open_flash_chart_object(680, 350, site_url("compras/proveedores/gdiarias/{$anio}/{$proveed}/{$mes}"));
     $data['content'] = $grafico;
     $data['content'] .= $filter->output . $grid->output;
     $data['head'] = $this->rapyd->get_head();
     $data['title'] = '<h1>Compras Diarias</h1>';
     $this->load->view('view_ventanas', $data);
 }
开发者ID:codethics,项目名称:proteoerp,代码行数:71,代码来源:proveedores.php

示例11: refreshProduct

 function refreshProduct()
 {
     $this->load->helper('open-flash-chart');
     open_flash_chart_object(100, 100, site_url() . 'product/flashData');
     $this->load->view('product/productview', $this->data);
 }
开发者ID:jianoll,项目名称:razor,代码行数:6,代码来源:product.php

示例12: open_flash_chart_object

        </tr>
        <tr>
            <td width="50%" valign="top"  height="250" >
            <div >
                <div class="bg_section">
                <?php 
echo $lbl_overall_graph;
?>
                </div>
                <div>
                <?php 
//determine the
if ($is_perm_global == 1) {
    open_flash_chart_object(450, 300, 'chart_graph_1_global.php');
} else {
    open_flash_chart_object(450, 300, 'chart_graph_1.php');
}
?>
                </div>
            </div>
          </td>
            <td width="50%" valign="top">
           <div >
                <div class="bg_section">
               <?php 
echo $lbl_mapview_dash;
?>
                </div>
                <div>          
					<div id="map" style="width: 500px; height: 300px"></div>     
                </div>
开发者ID:CustomerFeedback,项目名称:System-Files-Installable,代码行数:31,代码来源:module_dashboard.php

示例13: list

if ($db->affected_rows && is_object($res)) {
    list($date) = $res->fetch_array();
    $create_date = gmdate("m/d/y H:i", $date);
    $smarty->assign('CREATE_DATE', $create_date);
}
$smarty->assign('TID', $tid);
$smarty->display('stat_b_sub_graph.tpl');
?>

		<?php 
open_flash_chart_object(300, 300, './mod/stat_graph.php?by=os&status=good&tid=' . $tid, true, 'plugins/ofc/');
?>
</td><td align='center' width="50%">
		<?php 
open_flash_chart_object(300, 300, './mod/stat_graph.php?by=os&status=fail&tid=' . $tid, true, 'plugins/ofc/');
?>
</td>
		
</tr><tr><td colspan="2" align='center'><h2><b>Statistic by Countries</b></h2></td></tr><tr><td align='center' width="50%">

		<?php 
open_flash_chart_object(300, 300, './mod/stat_graph.php?by=country&status=good&tid=' . $tid, true, 'plugins/ofc/');
?>
</td><td align='center' width="50%">
		<?php 
open_flash_chart_object(300, 300, './mod/stat_graph.php?by=country&status=fail&tid=' . $tid, true, 'plugins/ofc/');
?>
</td>
</tr></table>

开发者ID:ap0110,项目名称:DarkArts,代码行数:29,代码来源:stat_b_sub_graph.php

示例14: open_flash_chart_object

$x2->setValues($valMC);
$x2->setLabels($lblMC);
$x2->setTitle("CIFRAS DE CAPTACION EN MILES");
$mFile2 = $x2->Chart3DBar(10000);
open_flash_chart_object(648, 512, $mFile2, true, "../");
//====================================================================================================
//CREDITOS
$lblMD = array();
$valMD = array();
$lblND = array();
$valND = array();
$W3 = "\tAND\n\t\t\t\t(`creditos_solicitud`.`saldo_actual` >0)\n\t\t\t\tAND\n\t\t\t\t(`creditos_solicitud`.`fecha_ministracion` >= '{$fecha_inicial}')\n\t\t\t\tAND\n\t\t\t\t(`creditos_solicitud`.`fecha_ministracion` <= '{$fecha_final}')\n";
$DCreds = $cSuc->getColocacionTotal($W3);
$lblND[] = "Creditos";
$valND[] = $DCreds["numero"];
$lblMD[] = "Tot. Solicitado";
$valMD[] = round($DCreds["solicitado"] / 1000, 2);
$lblMD[] = "Tot. Ministrado";
$valMD[] = round($DCreds["ministrado"] / 1000, 2);
$lblMD[] = "Tot. Insoluto";
$valMD[] = round($DCreds["saldo"] / 1000, 2);
$x2 = new SAFEChart();
$x2->setValues($valMD);
$x2->setLabels($lblMD);
$x2->setTitle("CIFRAS GENERALES DE CREDITOS(MILES)");
$mFile2 = $x2->Chart3DBar(20000);
open_flash_chart_object(648, 512, $mFile2, true, "../");
echo getRawFooter();
?>
</body>
</html>
开发者ID:Cywaithaka,项目名称:S.A.F.E.-Open-Source-Microfinance-Suite,代码行数:31,代码来源:ficha_general_por_sucursal.rpt.php

示例15: defined

   Released under the GNU General Public License 
   ---------------------------------------------------------------------------------------*/
defined('_VALID_VAM') or die('Direct Access to this location is not allowed.');
?>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
				  <tr> 
				    <td colspan="2" class="pageHeading" width="100%">

    <h1 class="contentBoxHeading"><?php 
echo '<a href="' . vam_href_link(FILENAME_STATS_SALES_REPORT2, '', 'NONSSL') . '">' . BOX_SALES_REPORT . '</a>';
?>
</h1>
				    
				    </td>
				  </tr>

              <tr>
                <td class="dataTableContentRss" valign="top" width="50%">
<?php 
include DIR_WS_CLASSES . 'ofc-library/open_flash_chart_object.php';
open_flash_chart_object('100%', 250, vam_href_link('chart_data.php', 'NONSSL'), false);
?>
                </td>
                <td class="dataTableContentRss" valign="top" width="50%">
<?php 
open_flash_chart_object('100%', 250, vam_href_link('chart_data.php', 'report_type=orders', 'NONSSL'), false);
?>
                </td>
              </tr>
</table>
开发者ID:nomadcomanche,项目名称:zdorov_shop,代码行数:30,代码来源:statistics.php


注:本文中的open_flash_chart_object函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。