</tr>
        </div>
        <div class="element-textarea">
          <label class="title">Address</label>
          <textarea class="medium" name="textarea" cols="20" rows="5" value="<?php 
echo @$fetch['address1'];
?>
" readonly><?php 
echo @$fetch['address1'];
?>
</textarea>
        </div>
        <div class="element-input">
          <label class="title">Type</label>
          <input class="large" type="text" name="input7" value="<?php 
echo togetcustomertype($fetch['type']);
?>
" readonly/>
        </div>
        <div class="element-input">
          <label class="title">Owner</label>
          <input class="large" type="text" name="input6" value="<?php 
echo togetowner($fetch['owner']);
?>
" readonly/>
        </div>
            <div class="element-textarea">
              <label class="title">Email Subject</label>
              <input class="large" type="text" name="emailsubject" id="emailsubject" value="" />
            </div>
            <div class="element-textarea">
    ?>
</td>
          <td  height="30"><?php 
    echo toshowformatdate($row['dateofbirth']);
    ?>
</td>
          <td  height="30"><?php 
    echo $row['phone'];
    ?>
</td>
          <td  height="30"><?php 
    echo $row['email'];
    ?>
</td>
          <td  height="30"><?php 
    echo togetcustomertype($row['type']);
    ?>
</td>

        </tr>
        <?php 
    $j++;
}
?>
	</tbody>
</table>
<div class="rws-pagination"><?php 
echo generate_pagination("view_accounts.php?page=accounts", $totalrows, $perpage, $currentpage);
?>
</div>