<form name="searchfrm" id="searchfrm" action="<?php echo $page_name?>" method="post" target="_parent" >

<input type="hidden" name="act" id="act" value="" />

<div style="padding-top:40px;">

<table width="99%" border="0" cellspacing="0" cellpadding="0">

              <tr>

                <td align="left" class="breadcrumb"><a href="index.php" class="bnav">Home</a> &raquo; Member Search</td>

                </tr>

              <tr>

                <td>&nbsp;</td>

                </tr>

              <tr>

                <td><h3 align="center">Member Search</h3></td>

                </tr>

              <tr>

                <td>&nbsp;</td>

                </tr>

              <tr>

                <td>

                  <table width="95%" border="0" align="center" cellpadding="5" cellspacing="1" class="table table-bordered">

                    <tr>

                      <td width="42%" align="right"><strong>Name</strong></td>

                      <td width="58%" align="left"><input name="fname" type="text" class="txt-box" id="fname" style="width:300px; height:35px" /></td>

                    </tr>

                    <!--<tr>

                      <td align="right" bgcolor="#f5f5f5" class="td1"><strong>Last Name</strong></td>

                      <td align="left" bgcolor="#f5f5f5"><input name="lname" type="text" class="txt-box" id="lname" style="width:300px; height:35px" /></td>

                    </tr>-->

                    <tr align="left">

                      <td align="right"><strong>Area</strong></td>

                      <td bgcolor="#f5f5f5"><input name="area" type="text" class="txt-box" id="area" style="width:300px; height:35px" /></td>

                    </tr>

                    <?php /*?><tr align="left">

                      <td align="right"><strong>City</strong></td>

                      <td bgcolor="#f5f5f5">

					  <select name="city" class="list-value" id="city" style="width:300px; height:35px">

                        <option value="">Select City</option>

						<?php foreach($cities as $city){?>

                        	<option value="<?php echo $city->id?>"><?php echo $city->name?></option>

						<?php }?>

                      </select></td>

                    </tr>

					<tr align="left">

                      <td align="right"><strong>Country</strong></td>

                      <td>

					  <select name="country" class="list-value" id="country" style="width:300px; height:35px">

                        <option value="">Select Country</option>

						<?php foreach($countries as $country){?>

                        	<option value="<?php echo $country->id?>"><?php echo $country->name?></option>

						<?php }?>

                      </select></td>

                    </tr><?php */?>

                    <tr>

                      <td align="right"><strong>Blood Group</strong></td>

                      <td align="left"><select id="blood" name="blood" class="txt-box" style="width:300px; height:35px">

								<option value="">[Blood Group]</option>

								<option value="A+" <?php if($userDetails->bloodgroup == 'A+') { echo "Selected"; } ?>>A+</option>

								<option value="B+" <?php if($userDetails->bloodgroup == 'B+') { echo "Selected"; } ?>>B+</option>

								<option value="A-" <?php if($userDetails->bloodgroup == 'A-') { echo "Selected"; } ?>>A-</option>

								<option value="B-" <?php if($userDetails->bloodgroup == 'B-') { echo "Selected"; } ?>>B-</option>

								<option value="AB+" <?php if($userDetails->bloodgroup == 'AB+') { echo "Selected"; } ?>>AB+</option>

								<option value="AB-" <?php if($userDetails->bloodgroup == 'AB-') { echo "Selected"; } ?>>AB-</option>

								<option value="O+" <?php if($userDetails->bloodgroup == 'O+') { echo "Selected"; } ?>>O+</option>

								<option value="O-" <?php if($userDetails->bloodgroup == 'O-') { echo "Selected"; } ?>>O-</option>

                          </select> </td>

                    </tr>

                    <!--tr align="left">

                      <td align="right" bgcolor="#f5f5f5" class="td1"><strong>Complex</strong></td>

                      <td bgcolor="#f5f5f5">

					  <select name="complex" class="list-value" id="complex" style="width:300px; height:35px">

                        <option value="">Select Complex</option>

						<?php foreach($complexes as $complex){?>

                        	<option value="<?php echo $complex->id?>"><?php echo $complex->name?></option>

						<?php }?>

                      </select></td>

                    </tr>

                    <tr align="left">

                      <td align="right" bgcolor="#f5f5f5" class="td1"><strong>Plant</strong></td>

                      <td bgcolor="#f5f5f5"><select name="plant" class="list-value" id="plant" style="width:300px; height:35px">

                        <option value="">Select Plant</option>

                        <?php foreach($plants as $plant){?>

                        	<option value="<?php echo $plant->id?>"><?php echo $plant->name?></option>

						<?php }?>

                      </select></td>

                    </tr>

                    <tr align="left">

                      <td align="right" bgcolor="#f5f5f5" class="td1"><strong>Department</strong></td>

                      <td bgcolor="#f5f5f5"><select name="department" class="list-value" id="department" style="width:300px; height:35px">

                        <option value="">Select Department</option>

                        <?php foreach($departments as $department){?>

                        	<option value="<?php echo $department->id?>"><?php echo $department->name?></option>

						<?php }?>

                      </select></td>

                    </tr-->

                    <!--<tr align="left">

                      <td align="right"><strong>About Business</strong></td>

                      <td>&nbsp;</td>

                    </tr>-->
					
                    <tr align="left">

                      <td align="right"><strong>About Business</strong></td>

                      <td bgcolor="#f5f5f5"><input name="about_business" type="text" class="txt-box" id="about_business" style="width:300px; height:35px" /></td>

                    </tr>
                    
                    <tr align="left">

                      <td align="right">&nbsp;</td>

                      <td><input type="submit" name="submit" value="Search" class="btn btn-blue" /></td>

                    </tr>

                  </table>

                </td>

              </tr>

              <tr>

                <td>&nbsp;</td>

              </tr>

              <tr>

                <td align="center">&nbsp;</td>

              </tr>

              <tr>

                <td>&nbsp;</td>

              </tr>

              <tr>

                <td align="center">&nbsp;</td>

              </tr>

              </table>

</div>

</form>