root/ui/web/htdocs/thumb.inc

Revision c33606c193764d2c377e53c4fd035a9d613ec3d3, 0.7 kB (checked in by Theo Schlossnagle <jesus@omniti.com>, 6 years ago)

scaffolding for PHP front-end

  • Property mode set to 100644
Line 
1 <script type="text/javascript" src="js/swfobject.js"></script>
2 <?php
3
4 function thumb_flash($id) {
5 ?>
6         <div id="<?php print $id ?>" style="display:inline; width: 290px;">
7                 <strong>You need to upgrade your Flash Player</strong>
8         </div>
9
10         <script type="text/javascript">
11                 // <![CDATA[           
12                 var so = new SWFObject("amcharts/amline/amline.swf", "amline", "280", "100", "8", "#FFFFFF");
13                 so.addVariable("path", "amcharts/amline/");
14                 so.addVariable("settings_file", escape("thumb_settings.php?id=<?php print $id ?>&start=<?php print $_GET['start'] ?>&end=<?php print $_GET['end'] ?>&cnt=100"));
15                 so.addVariable("preloader_color", "#999999");
16                 so.write("<?php print $id ?>");
17                 // ]]>
18         </script>
19 <?php
20 }
21 ?>
Note: See TracBrowser for help on using the browser.