14 if (!defined(
'IN_PEEL')) {
31 $base =
$GLOBALS[
'wwwroot'] .
'/modules/chart/';
35 return _ofc($width, $height,
$url, $use_swfobject, $base);
51 $base =
$GLOBALS[
'wwwroot'] .
'/modules/chart/';
55 echo
_ofc($width, $height,
$url, $use_swfobject, $base);
68 function _ofc($width, $height,
$url, $use_swfobject, $base)
82 if (isset ($_SERVER[
'HTTPS'])) {
83 if (strtoupper ($_SERVER[
'HTTPS']) ==
'ON') {
95 global $open_flash_chart_seqno;
97 $div_name =
'flashcontent';
99 $tpl =
$GLOBALS[
'tplEngine']->createTemplate(
'modules/chart_ofc.tpl');
101 if (!isset($open_flash_chart_seqno)) {
102 $open_flash_chart_seqno = 1;
103 $tpl->assign(
'swfobject_src', get_url(
'/lib/js/swfobject.js'));
105 $open_flash_chart_seqno++;
106 $obj_id .=
'_' . $open_flash_chart_seqno;
107 $div_name .=
'_' . $open_flash_chart_seqno;
110 $tpl->assign(
'use_swfobject', $use_swfobject);
111 $tpl->assign(
'div_name', $div_name);
112 $tpl->assign(
'base', $base);
113 $tpl->assign(
'obj_id', $obj_id);
114 $tpl->assign(
'width', $width);
115 $tpl->assign(
'height', $height);
117 $tpl->assign(
'protocol', $protocol);
118 return $tpl->fetch();
if(!empty($_GET['id'])) if(isset($_POST['form_name'], $_POST['form_subject'], $_POST['form_text'], $_POST['form_lang'])&&empty($_GET['id'])) if(empty($_GET['id'])) $tpl
_ofc($width, $height, $url, $use_swfobject, $base)
_ofc()
$GLOBALS['page_columns_count']
open_flash_chart_object($width, $height, $url, $use_swfobject=true, $base= '')
open_flash_chart_object()
if(!defined('IN_PEEL')) open_flash_chart_object_str($width, $height, $url, $use_swfobject=true, $base= '')
open_flash_chart_object_str()