Advertisement
Daniel_Dropik

wcmc-searchform.php

May 20th, 2014
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.88 KB | None | 0 0
  1. <div class="wcmc-search" rol="search">
  2.  
  3.     <h2 class="widget-title">WCMC Searchform</h2>
  4.     <br />
  5.  
  6.     <p>Search by year and subject:</p>
  7.  
  8.     <form role="search" class="wcmc-form" action="<?php echo site_url('/sr'); ?>" method="GET" name="yearsubject">
  9.  
  10.         <select id="yearselect" class="yearselect" name="yr">
  11.             <option value="2013" name="yr">2013</option>
  12.             <option value="2012" name="yr">2012</option>
  13.             <option value="2011" name="yr">2011</option>
  14.             <option value="2010" name="yr">2010</option>
  15.             <option value="2009" name="yr">2009</option>
  16.             <option value="2008" name="yr">2008</option>
  17.             <option value="2007" name="yr">2007</option>
  18.             <option value="2006" name="yr">2006</option>
  19.             <option value="2005" name="yr">2005</option>
  20.             <option value="20%%" name="yr">2004</option>
  21.         </select>
  22.  
  23.         <select name="subject">
  24.             <option value="nutrient management" name="subject">Nutrient Management</option>
  25.             <option value="insects and disease" name="subject">Insects and Disease</option>
  26.             <option value="weed management" name="subject">Weed Management</option>
  27.             <option value="vegetable management" name="subject">Vegetable Management</option>
  28.             <option value="forages" name="subject">Forages</option>
  29.             <option value="grain topics" name="subject">Grain Topics</option>
  30.             <option value="soil, water and climate" name="subject">Soil, Water and Climate</option>
  31.             <option value="manure" name="subject">Manure</option>
  32.             <option value="agriculture business" name="subject">Ag Business</option>
  33.             <option value="agriculture regulation" name="subject">Ag Regulation</option>
  34.             <option value="genetics" name="subject">Genetics</option>
  35.             <option value="all subjects" name="subject">ALL SUBJECTS</option>
  36.         </select>
  37.  
  38.         <input type="submit" name="submit" alt="Search" value="Go" />
  39.            
  40.     </form>
  41.     <br />
  42.  
  43.     <p>Search by year and author:</p>
  44.     <form role="search" class="wcmc-form" action="<?php echo site_url('/sr'); ?>" method="GET" name="authorsearch">
  45.         <select class="yearselect" name="yr">
  46.             <option value="2013" name="yr">2013</option>
  47.             <option value="2012" name="yr">2012</option>
  48.             <option value="2011" name="yr">2011</option>
  49.             <option value="2010" name="yr">2010</option>
  50.             <option value="2009" name="yr">2009</option>
  51.             <option value="2008" name="yr">2008</option>
  52.             <option value="2007" name="yr">2007</option>
  53.             <option value="2006" name="yr">2006</option>
  54.             <option value="2005" name="yr">2005</option>
  55.             <option value="20%%" name="yr">2004</option>
  56.         </select>
  57.         <input type="text" name="auth" size="20" alt="Search" value="" />
  58.         <input type="submit" name="submit" alt="Search" value="Go" />
  59.     </form>
  60.  
  61.     <br />
  62.  
  63.     <p>Search all years by keyword:</p>
  64.     <form action="<?php echo site_url('/sr'); ?>" method="GET">
  65.         <input type="text" value="" size="20" name="keyword">
  66.         <input type="submit" value="Go" name="submit">
  67.     </form>
  68.  
  69. </div><!-- .search -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement