Archive 1.x:Sample Chart Template

Here is a sample Drupal template page in PHP for a chart layout. The nominal source file is :

 <!--                       // Version check for the Flash Player that has the ability to start Player Product Install (6.0r65) var hasProductInstall = DetectFlashVer(6, 0, 65); // Version check based upon the values defined in globals var hasRequestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision); if ( hasProductInstall && !hasRequestedVersion ) { // DO NOT MODIFY THE FOLLOWING FOUR LINES // Location visited after installation is complete if installation is required var MMPlayerType = (isIE == true) ? "ActiveX" : "PlugIn"; var MMredirectURL = window.location; document.title = document.title.slice(0, 47) + " - Flash Player Installation"; var MMdoctitle = document.title; AC_FL_RunContent(                           "src", "http://npidev.structureddynamics.com/sites/all/modules/conStruct/framework/flex/playerProductInstall",                            "FlashVars", "MMredirectURL="+MMredirectURL+'&MMplayerType='+MMPlayerType+'&MMdoctitle='+MMdoctitle+"",                            "width", "100%",                            "height", "100%",                            "align", "middle",                            "id", "PortableControlApplication",                            "quality", "high",                            "bgcolor", "#869ca7",                            "name", "PortableControlApplication",                            "allowScriptAccess","sameDomain",                            "type", "application/x-shockwave-flash",                            "pluginspage", "http://www.adobe.com/go/getflashplayer",                              "wmode", "transparent" );                       } else if (hasRequestedVersion) {                          // if we've detected an acceptable version                          // embed the Flash Content SWF when all tests are passed                          AC_FL_RunContent( "src", "http://npidev.structureddynamics.com/sites/all/modules/conStruct/framework/flex/PortableControlApplication/PortableControlApplication.swf", "width", "100%", "height", "100%", "align", "middle",

"flashVars", "baseAppUrl=http://npidev.structureddynamics.com/sites/all/modules/conStruct/framework/flex/PortableControlApplication/&settingsFolder=map/settings/&inputSchemas=http%3A%2F%2Fnpidev.structureddynamics.com%2Fsites%2Fnpidev.structureddynamics.com%2Fschemas%2Fpeg.xml&inputTargetRecords=http%3A%2F%2Finput-target-record&inputTargetAttributes=http%3A%2F%2Fpurl.org%2Fontology%2Fsco%23gisMap;http%3A%2F%2Fpurl.org%2Fontology%2Fsco%23relatedGisMap&inputData=%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%0A%3C!DOCTYPE%20resultset%20PUBLIC%20%22-%2F%2FStructured%20Dynamics%20LLC%2F%2FCrud%20Read%20DTD%200.1%2F%2FEN%22%20%22crud%2FcrudRead.dtd%22%3E%0A%3Cresultset%3E%0A%20%20%3Cprefix%20entity%3D%22owl%22%20uri%3D%22http%3A%2F%2Fwww.w3.org%2F2002%2F07%2Fowl%23%22%2F%3E%0A%20%20%3Cprefix%20entity%3D%22rdf%22%20uri%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%22%2F%3E%0A%20%20%3Cprefix%20entity%3D%22rdfs%22%20uri%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23%22%2F%3E%0A%20%20%3Cprefix%20entity%3D%22wsf%22%20uri%3D%22http%3A%2F%2Fpurl.org%2Fontology%2Fwsf%23%22%2F%3E%0A%20%20%3Csubject%20type%3D%22http%3A%2F%2Fpurl.org%2Fontology%2Fpeg%23City%22%20uri%3D%22http%3A%2F%2Finput-target-record%22%3E%0A%20%20%20%20%3Cpredicate%20type%3D%22http%3A%2F%2Fpurl.org%2Fontology%2Fsco%23gisMap%22%3E%0A%20%20%20%20%20%20%3Cobject%20type%3D%22rdfs%3ALiteral%22%3Ehttp%3A%2F%2Fnpidev.structureddynamics.com%2Fsites%2Fnpidev.structureddynamics.com%2Fmaps%2FPopulationTrends1971-2006.map%3C%2Fobject%3E%0A%20%20%20%20%3C%2Fpredicate%3E%0A%20%20%20%20%3Cpredicate%20type%3D%22http%3A%2F%2Fpurl.org%2Fontology%2Fsco%23relatedGisMap%22%3E%0A%20%20%20%20%20%20%3Cobject%20type%3D%22rdfs%3ALiteral%22%3Ehttp%3A%2F%2Fnpidev.structureddynamics.com%2Fsites%2Fnpidev.structureddynamics.com%2Fmaps%2Fcommunityarea.map%3C%2Fobject%3E%0A%20%20%20%20%3C%2Fpredicate%3E%20%20%20%20%0A%20%20%3C%2Fsubject%3E%0A%3C%2Fresultset%3E", "id", "PortableControlApplication", "quality", "high", "bgcolor", "#869ca7", "name", "PortableControlApplication_map", "allowScriptAccess","sameDomain", "type", "application/x-shockwave-flash", "pluginspage", "http://www.adobe.com/go/getflashplayer", "wmode", "transparent" );                         } else {  // flash is too old or we can't detect the plugin                            var alternateContent = 'Alternate HTML content should be placed here. '                            + 'This content requires the Adobe Flash Player. '                            + 'Get Flash';                            document.write(alternateContent);  // insert non-flash content                          }                        // -->                                                               



  

  <?php endif; ?>

<?php if ($postscript_first || $postscript_middle || $postscript_last): ?> <div id="postscript-wrapper" class="<?php print $postscripts; ?> clearfix"> <?php if ($postscript_first): ?> <?php print $postscript_first; ?> <?php endif; ?>

<?php if ($postscript_middle): ?> <?php print $postscript_middle; ?> <?php endif; ?>

<?php if ($postscript_last): ?> <?php print $postscript_last; ?> <?php endif; ?> <?php endif; ?> <?php print $feed_icons; ?> <?php if ($footer_top || $footer || $footer_message): ?> <?php if ($footer_top): ?> <?php print $footer_top; ?> <?php endif; ?> <?php if ($footer): ?> <?php print $footer; ?> <?php endif; ?> <?php if ($footer_message): ?> <?php print $footer_message; ?> <?php endif; ?> <?php endif; ?> <?php print $closure; ?>