Blame view

site/jpgraph/Examples/show-example.php 645 Bytes
8ec98c9f   Guillaume   MAJ
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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>