Menu

[r95]: / trunk / docs / htdocs / examples.php  Maximize  Restore  History

Download this file

34 lines (24 with data), 612 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<html>
<head><title>Django-dataplot: examples</title></head>
<body>
<?php # header, set up variables
$EXAMPLEDIR='examples';
$e=$_GET['e'];
$dir=$EXAMPLEDIR.'/'.$e;
?>
<?php if($e) { ?>
<?php print('<h1>'.$e.'</h1>'); ?>
<img src="<?php echo $dir.'/plot.png'; ?>" />
<?php } ?>
<h1>List of examples</h1>
<?php
$dh = opendir($EXAMPLEDIR);
while (false !== ($filename = readdir($dh))) {
if($filename[0] != '.') {
print('<a href="examples.php?e='.$filename.'"><img src="examples/'.$filename.'/thumb.png" />'.$filename.'</a><br />');
}
}
?>
<?php include('footer.php') ?>
</body>
</html>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.