<?php require_once('../../Connections/WWF.php'); ?>
<?php
mysql_select_db($database_WWF, $WWF);
$query_Plankton1 = "SELECT * FROM plankton1";
$Plankton1 = mysql_query($query_Plankton1, $WWF) or die(mysql_error());
$row_Plankton1 = mysql_fetch_assoc($Plankton1);
$totalRows_Plankton1 = mysql_num_rows($Plankton1);

mysql_select_db($database_WWF, $WWF);
$query_Plankton2 = "SELECT * FROM plankton2";
$Plankton2 = mysql_query($query_Plankton2, $WWF) or die(mysql_error());
$row_Plankton2 = mysql_fetch_assoc($Plankton2);
$totalRows_Plankton2 = mysql_num_rows($Plankton2);

mysql_select_db($database_WWF, $WWF);
$query_Plankton3 = "SELECT * FROM plankton3";
$Plankton3 = mysql_query($query_Plankton3, $WWF) or die(mysql_error());
$row_Plankton3 = mysql_fetch_assoc($Plankton3);
$totalRows_Plankton3 = mysql_num_rows($Plankton3);

mysql_select_db($database_WWF, $WWF);
$query_Plankton4 = "SELECT * FROM plankton4";
$Plankton4 = mysql_query($query_Plankton4, $WWF) or die(mysql_error());
$row_Plankton4 = mysql_fetch_assoc($Plankton4);
$totalRows_Plankton4 = mysql_num_rows($Plankton4);

mysql_select_db($database_WWF, $WWF);
$query_Plankton5 = "SELECT * FROM plankton5";
$Plankton5 = mysql_query($query_Plankton5, $WWF) or die(mysql_error());
$row_Plankton5 = mysql_fetch_assoc($Plankton5);
$totalRows_Plankton5 = mysql_num_rows($Plankton5);

mysql_select_db($database_WWF, $WWF);
$query_Plankton6 = "SELECT * FROM plankton6";
$Plankton6 = mysql_query($query_Plankton6, $WWF) or die(mysql_error());
$row_Plankton6 = mysql_fetch_assoc($Plankton6);
$totalRows_Plankton6 = mysql_num_rows($Plankton6);

mysql_select_db($database_WWF, $WWF);
$query_Plankton7 = "SELECT * FROM plankton7";
$Plankton7 = mysql_query($query_Plankton7, $WWF) or die(mysql_error());
$row_Plankton7 = mysql_fetch_assoc($Plankton7);
$totalRows_Plankton7 = mysql_num_rows($Plankton7);

mysql_select_db($database_WWF, $WWF);
$query_Plankton8 = "SELECT * FROM plankton8";
$Plankton8 = mysql_query($query_Plankton8, $WWF) or die(mysql_error());
$row_Plankton8 = mysql_fetch_assoc($Plankton8);
$totalRows_Plankton8 = mysql_num_rows($Plankton8);

mysql_select_db($database_WWF, $WWF);
$query_Plankton9 = "SELECT * FROM plankton9";
$Plankton9 = mysql_query($query_Plankton9, $WWF) or die(mysql_error());
$row_Plankton9 = mysql_fetch_assoc($Plankton9);
$totalRows_Plankton9 = mysql_num_rows($Plankton9);

mysql_select_db($database_WWF, $WWF);
$query_Plankton10 = "SELECT * FROM plankton10";
$Plankton10 = mysql_query($query_Plankton10, $WWF) or die(mysql_error());
$row_Plankton10 = mysql_fetch_assoc($Plankton10);
$totalRows_Plankton10 = mysql_num_rows($Plankton10);

mysql_select_db($database_WWF, $WWF);
$query_Plankton11 = "SELECT * FROM plankton11";
$Plankton11 = mysql_query($query_Plankton11, $WWF) or die(mysql_error());
$row_Plankton11 = mysql_fetch_assoc($Plankton11);
$totalRows_Plankton11 = mysql_num_rows($Plankton11);

mysql_select_db($database_WWF, $WWF);
$query_Plankton12 = "SELECT * FROM plankton12";
$Plankton12 = mysql_query($query_Plankton12, $WWF) or die(mysql_error());
$row_Plankton12 = mysql_fetch_assoc($Plankton12);
$totalRows_Plankton12 = mysql_num_rows($Plankton12);

mysql_select_db($database_WWF, $WWF);
$query_Plankton13 = "SELECT * FROM plankton13";
$Plankton13 = mysql_query($query_Plankton13, $WWF) or die(mysql_error());
$row_Plankton13 = mysql_fetch_assoc($Plankton13);
$totalRows_Plankton13 = mysql_num_rows($Plankton13);

mysql_select_db($database_WWF, $WWF);
$query_Plankton14 = "SELECT * FROM plankton14";
$Plankton14 = mysql_query($query_Plankton14, $WWF) or die(mysql_error());
$row_Plankton14 = mysql_fetch_assoc($Plankton14);
$totalRows_Plankton14 = mysql_num_rows($Plankton14);

mysql_select_db($database_WWF, $WWF);
$query_Plankton15 = "SELECT * FROM plankton15";
$Plankton15 = mysql_query($query_Plankton15, $WWF) or die(mysql_error());
$row_Plankton15 = mysql_fetch_assoc($Plankton15);
$totalRows_Plankton15 = mysql_num_rows($Plankton15);

mysql_select_db($database_WWF, $WWF);
$query_Plankton16 = "SELECT * FROM plankton16";
$Plankton16 = mysql_query($query_Plankton16, $WWF) or die(mysql_error());
$row_Plankton16 = mysql_fetch_assoc($Plankton16);
$totalRows_Plankton16 = mysql_num_rows($Plankton16);

mysql_select_db($database_WWF, $WWF);
$query_Plankton17 = "SELECT * FROM plankton17";
$Plankton17 = mysql_query($query_Plankton17, $WWF) or die(mysql_error());
$row_Plankton17 = mysql_fetch_assoc($Plankton17);
$totalRows_Plankton17 = mysql_num_rows($Plankton17);

mysql_select_db($database_WWF, $WWF);
$query_Plankton18 = "SELECT * FROM plankton18";
$Plankton18 = mysql_query($query_Plankton18, $WWF) or die(mysql_error());
$row_Plankton18 = mysql_fetch_assoc($Plankton18);
$totalRows_Plankton18 = mysql_num_rows($Plankton18);

mysql_select_db($database_WWF, $WWF);
$query_Plankton19 = "SELECT * FROM plankton19";
$Plankton19 = mysql_query($query_Plankton19, $WWF) or die(mysql_error());
$row_Plankton19 = mysql_fetch_assoc($Plankton19);
$totalRows_Plankton19 = mysql_num_rows($Plankton19);

mysql_select_db($database_WWF, $WWF);
$query_Plankton20 = "SELECT * FROM plankton20";
$Plankton20 = mysql_query($query_Plankton20, $WWF) or die(mysql_error());
$row_Plankton20 = mysql_fetch_assoc($Plankton20);
$totalRows_Plankton20 = mysql_num_rows($Plankton20);
?>
<html>

<head><style media="print" type="text/css">.no-print{display:None}</style><style media="print" type="text/css">
.no-print{display:None}
</style><script src="print.js" type="text/javascript"></script>
<meta http-equiv="Content-Language" content="zh-tw">
<meta http-equiv="Content-Type" content="text/html; charset=big5">
<title>浮游生物多面睇</title>
<base target="_self">
<style type="text/css">
<!--
.style6 {color: #ECE9D8}
.style12 {	color: #006600;
	font-size: 12pt;
}
-->
</style>
</head>

<body style="background-attachment: fixed" bgcolor="#FFFFCC">
<div align="center">
  <p><img src="plankton_s.jpg" alt="鳥兒逐隻數" width="228" height="113"></p>
  <table width="800" border="1">
    <tr>
      <?php if ($totalRows_Plankton1 > 0) { // Show if recordset not empty ?>
        <td width="221" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center"><span class="style12">角藻</span></div></td>
        <td width="280" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center"><img src="Plankton/Phytoplankton/1.jpg" width="188" height="159"></div></td>
        <td width="277" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center"><img src="images/plankton1/<?php echo $row_Plankton1['Photo']; ?>" width="200" height="140"></div></td>
        <?php } // Show if recordset not empty ?></tr>
  </table>
  <table width="800" border="1">
    <tr>
      <?php if ($totalRows_Plankton2 > 0) { // Show if recordset not empty ?>
        <td width="221" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center">
            <div align="center"><span class="style12">梯形藻</span></div>
        </div></td>
        <td width="280" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center"><img src="Plankton/Phytoplankton/2.jpg" width="81" height="136"></div></td>
        <td width="277" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center"><img src="images/plankton2/<?php echo $row_Plankton2['Photo']; ?>" width="200" height="140"></div></td>
        <?php } // Show if recordset not empty ?></tr>
  </table>
  <table width="800" border="1">
    <tr>
      <?php if ($totalRows_Plankton3 > 0) { // Show if recordset not empty ?>
        <td width="221" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center">
            <div align="center">
              <div align="center"><span class="style12">梨甲藻</span></div>
            </div>
        </div></td>
        <td width="280" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center"><img src="Plankton/Phytoplankton/3.jpg" width="73" height="132"></div></td>
        <td width="277" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center"><img src="images/plankton3/<?php echo $row_Plankton3['Photo']; ?>" width="200" height="140"></div></td>
        <?php } // Show if recordset not empty ?></tr>
  </table>
  <table width="800" border="1">
    <tr>
      <?php if ($totalRows_Plankton4 > 0) { // Show if recordset not empty ?>
        <td width="221" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center">
            <div align="center"><span class="style12">夜光藻</span></div>
        </div></td>
        <td width="280" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center"><img src="Plankton/Phytoplankton/4.jpg" width="119" height="123"></div></td>
        <td width="277" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center"></div>
            <div align="center"><img src="images/plankton4/<?php echo $row_Plankton4['Photo']; ?>" width="200" height="140"></div></td>
        <?php } // Show if recordset not empty ?></tr>
  </table>
  <table width="800" border="1">
    <tr>
      <?php if ($totalRows_Plankton5 > 0) { // Show if recordset not empty ?>
        <td width="221" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center">
            <div align="center"><span class="style12">星杆藻</span></div>
        </div></td>
        <td width="280" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center"><img src="Plankton/Phytoplankton/6.jpg" alt="" width="108" height="102"></div></td>
        <td width="277" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center"><img src="images/plankton5/<?php echo $row_Plankton5['Photo']; ?>" width="200" height="140"></div></td>
        <?php } // Show if recordset not empty ?></tr>
  </table>
  <table width="800" border="1">
    <tr>
      <?php if ($totalRows_Plankton6 > 0) { // Show if recordset not empty ?>
        <td width="221" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center">
            <div align="center"><span class="style12">菱形藻</span></div>
        </div></td>
        <td width="280" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center"><img src="Plankton/Phytoplankton/8.jpg" width="235" height="40"></div></td>
        <td width="277" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center"><img src="images/plankton6/<?php echo $row_Plankton6['Photo']; ?>" width="200" height="140"></div></td>
        <?php } // Show if recordset not empty ?></tr>
  </table>
  <table width="800" border="1">
    <tr>
      <?php if ($totalRows_Plankton7 > 0) { // Show if recordset not empty ?>
        <td width="221" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center">
            <div align="center"><span class="style12">圓篩藻</span></div>
        </div></td>
        <td width="280" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center"><img src="Plankton/Phytoplankton/11.jpg" width="115" height="108"></div></td>
        <td width="277" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center"><img src="images/plankton7/<?php echo $row_Plankton7['Photo']; ?>" width="200" height="140"></div></td>
        <?php } // Show if recordset not empty ?></tr>
  </table>
  <table width="800" border="1">
    <tr>
      <?php if ($totalRows_Plankton8 > 0) { // Show if recordset not empty ?>
        <td width="221" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center">
            <div align="center"><span class="style12">彎角藻</span></div>
        </div></td>
        <td width="280" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center"><img src="Plankton/Phytoplankton/12.jpg" alt="" width="96" height="165"></div></td>
        <td width="277" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center"><img src="images/plankton8/<?php echo $row_Plankton8['Photo']; ?>" width="200" height="140"></div></td>
        <?php } // Show if recordset not empty ?></tr>
  </table>
  <table width="800" border="1">
    <tr>
      <?php if ($totalRows_Plankton9 > 0) { // Show if recordset not empty ?>
        <td width="221" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center">
            <div align="center"><span class="style12">尖頭蚤</span></div>
        </div></td>
        <td width="280" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center"><img src="Plankton/Zooplankton/23.jpg" width="100" height="246"></div></td>
        <td width="277" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center"><img src="images/plankton9/<?php echo $row_Plankton9['Photo']; ?>" width="200" height="140"></div></td>
        <?php } // Show if recordset not empty ?></tr>
  </table>
  <table width="800" border="1">
    <tr>
      <?php if ($totalRows_Plankton10 > 0) { // Show if recordset not empty ?><td width="221" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center">
          <div align="center"><span class="style12">蟲戎屬</span></div>
      </div></td>
      <td width="280" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center"><img src="Plankton/Zooplankton/26.jpg" width="205" height="133"></div></td>
      <td width="277" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center"><img src="images/plankton10/<?php echo $row_Plankton10['Photo']; ?>" width="200" height="140"></div></td>
    <?php } // Show if recordset not empty ?></tr>
  </table>
  <table width="800" border="1">
    <tr>
      <?php if ($totalRows_Plankton11 > 0) { // Show if recordset not empty ?><td width="221" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center">
          <div align="center"><span class="style12">毛蝦</span></div>
      </div></td>
      <td width="280" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center"><img src="Plankton/Zooplankton/31.jpg" width="219" height="134"></div></td>
      <td width="277" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center"><img src="images/plankton11/<?php echo $row_Plankton11['Photo']; ?>" width="200" height="140"></div></td>
    </tr><?php } // Show if recordset not empty ?>
  </table>
  <table width="800" border="1">
    <tr>
      <?php if ($totalRows_Plankton12 > 0) { // Show if recordset not empty ?><td width="221" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center">
          <div align="center"><span class="style12">猛水蚤</span></div>
      </div></td>
      <td width="280" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center"><img src="Plankton/Zooplankton/35.jpg" width="104" height="217"></div></td>
      <td width="277" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center"><img src="images/plankton12/<?php echo $row_Plankton12['Photo']; ?>" width="200" height="140"></div></td>
    </tr><?php } // Show if recordset not empty ?>
  </table>
  <table width="800" border="1">
    <tr>
      <?php if ($totalRows_Plankton13 > 0) { // Show if recordset not empty ?><td width="221" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center">
          <div align="center"><span class="style12">猛水蚤無節幼體</span></div>
      </div></td>
      <td width="280" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center"><img src="Plankton/Zooplankton/36.jpg" width="161" height="182"></div></td>
      <td width="277" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center"></div>
        <div align="center"><img src="images/plankton13/<?php echo $row_Plankton13['Photo']; ?>" width="200" height="140"></div></td>
    </tr><?php } // Show if recordset not empty ?>
  </table>
  <table width="800" border="1">
    <tr>
      <?php if ($totalRows_Plankton14 > 0) { // Show if recordset not empty ?><td width="221" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center">
          <div align="center"><span class="style12">劍水蚤無節幼體</span></div>
      </div></td>
      <td width="280" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center"><img src="Plankton/Zooplankton/37.jpg" width="150" height="191"></div></td>
      <td width="277" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center"><img src="images/plankton14/<?php echo $row_Plankton14['Photo']; ?>" width="200" height="140"></div></td>
    </tr><?php } // Show if recordset not empty ?>
  </table>
  <table width="800" border="1">
    <tr>
       <?php if ($totalRows_Plankton15 > 0) { // Show if recordset not empty ?><td width="221" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center">
          <div align="center"><span class="style12">多毛綱動物的幼蟲</span></div>
      </div></td>
      <td width="280" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center"><img src="Plankton/Zooplankton/40.jpg" width="152" height="186"></div></td>
      <td width="277" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center"><img src="images/plankton15/<?php echo $row_Plankton15['Photo']; ?>" width="200" height="140"></div></td>
    </tr><?php } // Show if recordset not empty ?>
  </table>
  <table width="800" border="1">
    <tr> <?php if ($totalRows_Plankton16 > 0) { // Show if recordset not empty ?>
      <td width="221" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center">
          <div align="center"><span class="style12">水母的蝶狀幼體</span></div>
      </div></td>
      <td width="280" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center"><img src="Plankton/Zooplankton/49.jpg" width="154" height="148"></div></td>
      <td width="277" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center"><img src="images/plankton16/<?php echo $row_Plankton16['Photo']; ?>" width="200" height="140"></div></td>
    </tr><?php } // Show if recordset not empty ?>
  </table>
  <table width="800" border="1">
    <tr> <?php if ($totalRows_Plankton17 > 0) { // Show if recordset not empty ?>
      <td width="221" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center">
          <div align="center"><span class="style12">腹足動物的幼體</span></div>
      </div></td>
      <td width="280" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center"><img src="Plankton/Zooplankton/52.jpg" width="136" height="159"></div></td>
      <td width="277" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center"><img src="images/plankton17/<?php echo $row_Plankton17['Photo']; ?>" width="200" height="140"></div></td>
    </tr><?php } // Show if recordset not empty ?>
  </table>
  <table width="800" border="1">
    <tr><?php if ($totalRows_Plankton18 > 0) { // Show if recordset not empty ?>
      <td width="221" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center">
          <div align="center"><span class="style12">蟹的幼體</span></div>
      </div></td>
      <td width="280" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center"><img src="Plankton/Zooplankton/61.jpg" width="190" height="115"></div></td>
      <td width="277" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center"><img src="images/plankton18/<?php echo $row_Plankton18['Photo']; ?>" width="200" height="140"></div></td>
    </tr><?php } // Show if recordset not empty ?>
  </table>
  <table width="800" border="1">
    <tr><?php if ($totalRows_Plankton19 > 0) { // Show if recordset not empty ?>
      <td width="221" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center">
          <div align="center"><span class="style12">蟹的幼體</span></div>
      </div></td>
      <td width="280" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center"><img src="Plankton/Zooplankton/64.jpg" width="87" height="204"></div></td>
      <td width="277" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center"></div>
        <div align="center"><img src="images/plankton19/<?php echo $row_Plankton19['Photo']; ?>" width="200" height="140"></div></td>
    </tr><?php } // Show if recordset not empty ?>
  </table>
  <table width="800" border="1">
    <tr><?php if ($totalRows_Plankton20 > 0) { // Show if recordset not empty ?>
      <td width="221" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center">
          <div align="center"><span class="style12">口足目的(甲殼動物)幼體</span></div>
      </div></td>
      <td width="280" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center"><img src="Plankton/Zooplankton/65.jpg" width="116" height="245"></div></td>
      <td width="277" bordercolor="#006600" bgcolor="#ECFFEC"><div align="center"><img src="images/plankton20/<?php echo $row_Plankton20['Photo']; ?>" width="200" height="140"></div></td>
    </tr><?php } // Show if recordset not empty ?>
  </table>
  <p> <input name="action2" type="submit" id="action2" onClick="printme();" value="儲存">&nbsp;</p>
  <p><a href="activity.html"><img src="back to activity.jpg" width="172" height="56" border="0"></a></p>
  <p><a href="map.html"><img src="main.jpg" width="172" height="56" border="0"></a></p>
  <p>&nbsp;</p>
</div>
<p align="center">&nbsp;</p>
</body>

</html>
<?php
mysql_free_result($Plankton1);

mysql_free_result($Plankton2);

mysql_free_result($Plankton3);

mysql_free_result($Plankton4);

mysql_free_result($Plankton5);

mysql_free_result($Plankton6);

mysql_free_result($Plankton7);

mysql_free_result($Plankton8);

mysql_free_result($Plankton9);

mysql_free_result($Plankton10);

mysql_free_result($Plankton11);

mysql_free_result($Plankton12);

mysql_free_result($Plankton13);

mysql_free_result($Plankton14);

mysql_free_result($Plankton15);

mysql_free_result($Plankton16);

mysql_free_result($Plankton17);

mysql_free_result($Plankton18);

mysql_free_result($Plankton19);

mysql_free_result($Plankton20);
?>