Exemplo n.º 1
0
				options["dataMode"] = "regions";
				options["width"] = "675px";
				options["showLegend"] = true;
			
				var container = document.getElementById("map_canvas");
				var geomap = new google.visualization.GeoMap(container);
				geomap.draw(data, options);
			};
			</script>
			<div id="map_canvas" style="padding:1px 10px; 1px 10px;"></div>		
		';
        }
    }
    $tabs = new Tabs(1, 'xp', TABS_DIR, '?admin=mod_payments_statistics');
    //$tabs->SetHttpVars(array('admin'));
    $tab1 = $tabs->AddTab(_ORDERS . ' (' . _AMOUNT . ')', $first_tab_content);
    $tab2 = $tabs->AddTab(_ORDERS . ' (' . _INCOME . ')', $second_tab_content);
    $tab3 = $tabs->AddTab(_ORDERS . ' (' . _MAP_OVERLAY . ')', $third_tab_content);
    ## +---------------------------------------------------------------------------+
    ## | 2. Customizing:                                                           |
    ## +---------------------------------------------------------------------------+
    ## *** set container's width in pixels (px), inches (in) or points (pt)
    $tabs->SetWidth('696px');
    ## *** set container's height in pixels (px), inches (in) or points (pt)
    $tabs->SetHeight('auto');
    // 'auto'
    ## *** set alignment inside the container (left, center or right)
    $tabs->SetAlign('left');
    ## *** set container's color in RGB format or using standard names
    /// $tabs->SetContainerColor('#64C864');
    ## *** set border's width in pixels (px), inches (in) or points (pt)
Exemplo n.º 2
0
                }
                $third_tab_content .= ' } </script>';
                $third_tab_content .= '<script type="text/javascript">';
                $third_tab_content .= $nl . ' google.load(\'visualization\', \'1\', {packages: [\'' . $chart_type . '\']});';
                $third_tab_content .= $nl . ' google.setOnLoadCallback(drawVisualization);';
                $third_tab_content .= $nl . ' function frmStatistics_Submit() { document.frmStatistics.submit(); }';
                $third_tab_content .= '</script>';
                $third_tab_content .= get_chart_changer('1_3', $chart_type, $year);
                $third_tab_content .= '<div id="div_visualization" style="width:600px;height:310px;">
		<img src="images/loading.gif" style="margin:100px auto;" alt="" /></div>';
            }
        }
    }
    $tabs = new Tabs(1, 'xp', TABS_DIR, '?admin=statistics');
    //$tabs->SetHttpVars(array('admin'));
    $tab1 = $tabs->AddTab(_CUSTOMERS . ' (' . _MAP_OVERLAY . ')', $first_tab_content);
    $tab2 = $tabs->AddTab(_CUSTOMERS . ' (' . _REGISTRATIONS . ')', $second_tab_content);
    $tab3 = $tabs->AddTab(_CUSTOMERS . ' (' . _LOGINS . ')', $third_tab_content);
    ## +---------------------------------------------------------------------------+
    ## | 2. Customizing:                                                           |
    ## +---------------------------------------------------------------------------+
    ## *** set container's width in pixels (px), inches (in) or points (pt)
    $tabs->SetWidth('696px');
    ## *** set container's height in pixels (px), inches (in) or points (pt)
    $tabs->SetHeight('auto');
    // 'auto'
    ## *** set alignment inside the container (left, center or right)
    $tabs->SetAlign('left');
    ## *** set container's color in RGB format or using standard names
    /// $tabs->SetContainerColor('#64C864');
    ## *** set border's width in pixels (px), inches (in) or points (pt)
Exemplo n.º 3
0
			<tr>
				<td style="padding-left:5px;" colspan="3"><input class="form_button" type="submit" name="btnSubmit" value="' . _BUTTON_CHANGE . '"></td>
			</tr>
			</table>
		</form>';
                                }
                            }
                        }
                    }
                }
            }
        }
    }
    $tabs = new Tabs(1, 'xp', TABS_DIR, '?admin=settings');
    //$tabs->SetHttpVars(array('admin'));
    $tab1 = $tabs->AddTab(_GENERAL_SETTINGS, $tab_content_1);
    $tab2 = $tabs->AddTab(_VISUAL_SETTINGS, $tab_content_2);
    $tab3 = $tabs->AddTab(_DATETIME_PRICE_FORMAT, $tab_content_3);
    $tab4 = $tabs->AddTab(_EMAIL_SETTINGS, $tab_content_4);
    $tab5 = $tabs->AddTab(_TEMPLATES_STYLES, $tab_content_5);
    $tab6 = $tabs->AddTab(_SERVER_INFO, $tab_content_6);
    $tab7 = $tabs->AddTab(_SITE_INFO, $tab_content_7);
    $tab8 = $tabs->AddTab(_CRON_JOBS, $tab_content_8);
    ## +---------------------------------------------------------------------------+
    ## | 2. Customizing:                                                           |
    ## +---------------------------------------------------------------------------+
    ## *** set container's width in pixels (px), inches (in) or points (pt)
    $tabs->SetWidth('100%');
    ## *** set container's height in pixels (px), inches (in) or points (pt)
    $tabs->SetHeight('auto');
    // 'auto'