示例#1
0
文件: map.php 项目: ZionOps/fbi-news
 <?php 
include 'header.php';
?>

  <div id="content">
    <h2>FBI Cyber Crime News Location <?php 
echo $begin . "-" . $end;
?>
 (Data Fictitious)</h2>
      <div id="map_canvas"></div>
      <div id="chart_div"></div>
      <div id="donutchart"></div>
  <noscript><h3 class='error'>Uh oh, you need javascript enabled to use our site's Data Visualization!</h3></noscript>
  <form method='post' action='map.php'>
    <?php 
$data->get_error();
echo $error;
?>
    <table id='vis-form'>
      <tr>
    <?php 
$data->get_dropdown();
?>
  <td>
  <b>Cases</b><br>
       <?php 
if (isset($_POST['cases']) && $_POST['cases'] != 'all') {
    echo "<input type='radio' name='cases' value ='all'> All Cases <br>";
} else {
    echo "<input type='radio' name='cases' value ='all' checked> All Cases <br>";
}