<?/*
Copyright (C) 2003 Media Net Link, Inc. Danville, CA 94526 USA

This file is part of AthenaRMS.

AthenaRMS is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

AthenaRMS is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
*/?>
<?php require 'dd.php'; ?>


<table width="100%" border="0" cellpadding="1" cellspacing="0">

<form action="search.php" method="get">

<tr>
  <td class="textsm" align="center">
  <table border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr>
    <td valign="top">
<div class="athenatitleshadow">&nbsp;&nbsp;Search Athena<div class="athenatitle">&nbsp;&nbsp;Search Athena</div></div>
    </td>

    <td align="center" valign="bottom" height="15" class="textsm">
      Search Logic between fields:
      <select name="logic" class="textsm">
      <?php echo $dd->Array_Drop_Down (array('and', 'or'), 'and'); ?>
      </select></td>

    <td class="textsm" align="right" valign="top">
      <table border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td> <img alt="" src="../../img/elipse-top-corn-left.gif" width="16" height="15" /></td>
        <td background="../../img/elipse-vert-line-top.gif"><img alt="" src="../../img/cldot.gif" width="1" height="15" /></td>
        <td> <img alt="" src="../../img/elipse-top-corn-right.gif" width="15" height="15" /></td>
      </tr>
      <tr>
        <td background="../../img/elipse-vert-line-left.gif"><img alt="" src="../../img/cldot.gif" width="16" height="1" /></td>
        <td class="textsm">&#149; Fields are not case sensitive<br />
	                   &#149; Use % for wild cards</td>
        <td background="../../img/elipse-vert-line-right.gif"><img alt="" src="../../img/cldot.gif" width="15" height="1" /></td>
      </tr>
      <tr>
        <td> <img alt="" src="../../img/elipse-btm-corn-left.gif" width="16" height="15" /></td>
        <td background="../../img/elipse-vert-line-btm.gif"><img alt="" src="../../img/cldot.gif" width="1" height="15" /></td>
        <td> <img alt="" src="../../img/elipse-btm-corn-right.gif" width="15" height="15" /></td>
      </tr>
      </table>
    </td>
  </tr>
  </table>
  <table border="0" cellpadding="0" cellspacing="0">

  <tr>
    <td> <img alt="" src="../../img/elipsefill-top-corn-left.gif" width="16" height="15" /></td>
    <td background="../../img/elipsefill-vert-line-top.gif"><img alt="" src="../../img/cldot.gif" width="1" height="15" /></td>
    <td> <img alt="" src="../../img/elipsefill-top-corn-right.gif" width="15" height="15" /></td>
  </tr>
  <tr>
    <td background="../../img/elipsefill-vert-line-left.gif"><img alt="" src="../../img/cldot.gif" width="16" height="1" /></td>
    <td bgcolor="#E6F0CE" class="textsm" align="center" nowrap="nowrap" width="100%">

<!-- begin included search page -->

<?php

  require_once 'attribute_display.php';

  $att = new Attribute_Display ();

  require_once 'template.php';

  $template = new Template ();

  include $template->load ('search.php');
?>

<!-- end included search page -->

    </td>
  </tr>
  <tr>
    <td align="center" valign="top" class="textsm" colspan="2">
      <table width="100%" border="0" cellspacing="0">
      <tbody>
      <tr valign="middle">
        <td align="center" valign="middle" nowrap="nowrap" background="../../img/dotline.gif"><img alt="" src="../../img/cldot.gif" width="1" height="14" /></td>
      </tr>
      </tbody>
      </table>
    </td>
  </tr>
  </table>
Save Query?<input type="checkbox" name="save_query" value="query" />
Query Name: <input type="text" name="query_name" />
&nbsp;
Export:<input type="radio" name="save_option" value="export" />
&nbsp;
List:<input type="radio" name="save_option" value="list" />
&nbsp;
None:<input type="radio" name="save_option" value="none" checked="checked" />
&nbsp;&nbsp;
<input type="submit" value="Get Results" class="textsm" /></td>
    <td background="../../img/elipsefill-vert-line-right.gif"><img alt="" src="../../img/cldot.gif" width="15" height="1" /></td>
  </tr>
  <tr>
    <td><img alt="" src="../../img/elipsefill-btm-corn-left.gif" width="16" height="15" /></td>
    <td background="../../img/elipsefill-vert-line-btm.gif"><img alt="" src="../../img/cldot.gif" width="1" height="15" /></td>
    <td><img alt="" src="../../img/elipsefill-btm-corn-right.gif" width="15" height="15" /></td>
  </tr>
  </table>
  </td>
</tr>

</form>

</table>


