source: trunk/xgraph/jpgraph/Examples/show-example.php

Last change on this file was 42, checked in by marrucho, 10 years ago
File size: 669 bytes
Line 
1<?php $target = urldecode($_GET['target']); ?>
2<!doctype html public "-//W3C//DTD HTML 4.0 Frameset//EN">
3<html>
4<head>
5<title> Test suite for JpGraph - <?php echo $target; ?></title>
6<script type="text/javascript" language="javascript">
7<!--
8function resize()
9{
10        return true;
11}
12//-->
13</script>
14</head>
15<frameset rows="*,*" onLoad="resize()">
16        <?php 
17        if( !strstr($target,"csim") )
18                echo "<frame src=\"show-image.php?target=".basename($target)."\" name=\"image\">";
19        else
20                echo    "<frame src=\"".basename($target)."\" name=\"image\">";
21        ?>
22        <frame src="show-source.php?target=<?php echo basename($target); ?>" name="source">
23</frameset>
24</html>
Note: See TracBrowser for help on using the repository browser.