示例#1
0
    }
}
?>
<html>
  <head>
    <title>Examples</title>
	<link rel="stylesheet" type="text/css" href="index_style.css"/>
  </head>
  <body>
  	<h1>Examples</h1>
	<table border="1">
	<?php 
for ($i = 1; $i <= $maxFnumber; $i++) {
    $fname = getExampleName($i);
    $classFilename = getExampleName($i, "Map", "class.php");
    $jsFilename = getExampleName($i, "map", "js");
    $hasClass = $state->isEnabled('class', $i);
    $rowId = "example-{$i}";
    $hasSource = $state->isEnabled('sources', $i);
    $hasJs = $state->isEnabled('js', $i);
    $iframe = $state->getIframe($i);
    ?>
			<tr id="<?php 
    echo $rowId;
    ?>
">
			<td><a target='blank' href='<?php 
    echo $fname;
    ?>
'><?php 
    echo $fname;
示例#2
0
}
?>
<html>
  <head>
    <title>Examples</title>
	<link rel="stylesheet" type="text/css" href="index_style.css"/>
  </head>
  <body>
  	<h1>Examples</h1>
	<?php 
printGet();
?>
	<table border="1">
	<?php 
for ($i = 1; $i <= $maxFnumber; $i++) {
    $fname = getExampleName($i);
    $rowId = "example-{$i}";
    $hasSource = $state->isEnabled('sources', $i);
    $iframe = $state->getIframe($i);
    ?>
			<tr id="<?php 
    echo $rowId;
    ?>
">
			<td><?php 
    echo $fname;
    ?>
</td>
			<td><a target='blank' href='<?php 
    echo $fname;
    ?>