コード例 #1
0
ファイル: view.php プロジェクト: Johnb21/highcharts.com
			</ul>
			<pre id="recording" style="padding: 1em"></pre>
		</div>
	</body>
</html>
<?php 
//------------ Output the sample into /draft/index.htm for debugging on mobile --------
ob_start();
?>
<!DOCTYPE HTML>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<title>Highcharts Sample</title>
		<?php 
echo getFramework(FRAMEWORK);
?>
		<?php 
echo getResources();
?>
		<script type="text/javascript">
		<?php 
@(include "{$fullpath}/demo.js");
?>
		</script>

		<style type="text/css">
			<?php 
@(include "{$fullpath}/demo.css");
?>
		</style>
コード例 #2
0
{
    global $path;
    // No idea why file_get_contents doesn't work here...
    ob_start();
    @(include "{$path}/demo.details");
    $yaml = ob_get_clean();
    return strstr($yaml, 'exportInnerHTML: true');
}
?>
<!DOCTYPE HTML>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<title>Highcharts demo</title>
		<?php 
echo getFramework($_GET['which'] === 'left' ? $leftFramework : $rightFramework);
?>
		<?php 
echo getResources();
?>

		<?php 
if (is_file("{$path}/unit-tests.js")) {
    ?>
		<script src="http://code.jquery.com/qunit/qunit-1.15.0.js"></script>
   		<link rel="stylesheet" type="text/css" href="http://code.jquery.com/qunit/qunit-1.15.0.css" />		
   		<?php 
}
?>

		<link rel="stylesheet" type="text/css" href="style.css"/>