| <?php |
| /******************************************************************************* |
| * Copyright (c) 2006 Eclipse Foundation and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * Nathan Gervais (Eclipse Foundation)- initial API and implementation |
| *******************************************************************************/ |
| |
| #***************************************************************************** |
| # |
| # index.php |
| # |
| # Author: Nathan |
| # Date: February 16, 2006 |
| # |
| # Description: |
| # Introduction page for the membership section |
| #**************************************************************************** |
| include('scripts/common.php'); |
| |
| include('scripts/header.php'); |
| |
| $query = "Select count(*) from OrganizationInformation"; |
| $result = mysql_query($query); |
| $countMembers = mysql_fetch_array($result); |
| $query = "Select count(*) from TagNames"; |
| $result = mysql_query($query); |
| $countTags = mysql_fetch_array($result); |
| ?> |
| <table> |
| <tr> |
| <td>Number of Tags</td> |
| <td><?=$countTags[0];?></td> |
| </tr> |
| <tr> |
| <td>Number of Members</td> |
| <td><?=$countMembers[0];?></td> |
| </tr> |
| </table> |
| <? |
| include('scripts/footer.php'); |
| ?> |