Inizializzazione
This commit is contained in:
24
jpgraph-3.5.0b1/src/Examples/show-example.php
Normal file
24
jpgraph-3.5.0b1/src/Examples/show-example.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php $target = urldecode($_GET['target']); ?>
|
||||
<!doctype html public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title> Test suite for JpGraph - <?php echo $target; ?></title>
|
||||
<script type="text/javascript" language="javascript">
|
||||
<!--
|
||||
function resize()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
<frameset rows="*,*" onLoad="resize()">
|
||||
<?php
|
||||
if( !strstr($target,"csim") )
|
||||
echo "<frame src=\"show-image.php?target=".basename($target)."\" name=\"image\">";
|
||||
else
|
||||
echo "<frame src=\"".basename($target)."\" name=\"image\">";
|
||||
?>
|
||||
<frame src="show-source.php?target=<?php echo basename($target); ?>" name="source">
|
||||
</frameset>
|
||||
</html>
|
||||
Reference in New Issue
Block a user