From 8b8b972fa84f6400326f700bd9434e2f257e16d9 Mon Sep 17 00:00:00 2001 From: Refik Hadzialic Date: Tue, 9 Aug 2011 18:53:51 +0200 Subject: Libraries and start code for the output results image --- notFinishedCode/pChart2.1.2/examples/index.php | 360 +++++++++++++++++++++++++ 1 file changed, 360 insertions(+) create mode 100644 notFinishedCode/pChart2.1.2/examples/index.php (limited to 'notFinishedCode/pChart2.1.2/examples/index.php') diff --git a/notFinishedCode/pChart2.1.2/examples/index.php b/notFinishedCode/pChart2.1.2/examples/index.php new file mode 100644 index 0000000..445d8b9 --- /dev/null +++ b/notFinishedCode/pChart2.1.2/examples/index.php @@ -0,0 +1,360 @@ + + + + + pChart 2.x - examples rendering + + + + + + +$FileName,"FileShortName"=>$FileShortName); + } + } + closedir($DirectoryHandle); + + ksort($Tree); +?> + +
+
 Navigation
+ + + + + + + + + +
 Examples Sandbox Delayed loader Image Map
+
+ +
+
+ +
+
 Release
+
+
+ + + +
 Examples folder contents
+
+ $Elements) + { + if ( $ID == count($Tree) ) { $Icon = "dash-explorer-last.png"; $SubIcon = "dash-explorer-blank.png"; } else { $Icon = "dash-explorer.png"; $SubIcon = "dash-explorer-noleaf.png"; } + if ( $Key != "z_root" ) + { + echo "\r\n"; + echo " \r\n"; + echo " \r\n"; + echo " \r\n"; + echo " \r\n"; + echo " \r\n"; + echo "
 ".$Key."
\r\n"; + + echo "\r\n"; + foreach($Elements as $SubKey => $Element) + { + $FileName = $Element["FileName"]; + $FileShortName = $Element["FileShortName"]; + + if ( $SubKey == count($Elements)-1 ) { $Icon = "dash-explorer-last.png"; } else { $Icon = "dash-explorer.png"; } + + echo " \r\n"; + echo " \r\n"; + echo " \r\n"; + echo " \r\n"; + echo " \r\n"; + echo " \r\n"; + } + echo "\r\n"; + + } + $ID++; + } + } +?> +
+
+ +
+ + + + +
 Rendering area
+ +
+
+
Click on an example to render it!
+
+
+ +

+ + + + +
 Source area
+ +
+
+
Click on an example to get its source!
+
+
+ +
+ + + + + +
+
+ Warning +
+
+ It seems that you're not meeting the pChart minimal server requirements: +

+   - PHP must be at least 4.x
+   - GD version 2.x
+
+
+ + += 1024 && $Value < 1024000 ) { return(floor($Value/1024)." ko."); } + return(floor($Value/1024000))." mo."; + } + + function left($value,$NbChar) + { return substr($value,0,$NbChar); } + + function right($value,$NbChar) + { return substr($value,strlen($value)-$NbChar,$NbChar); } + + function mid($value,$Depart,$NbChar) + { return substr($value,$Depart-1,$NbChar); } +?> \ No newline at end of file -- cgit v1.2.3-55-g7522