[quote=thakim83]Thanks mate but I will replace the above code with what other code? [/quote]
replace this code ..
<td valign="bottom">
<table cellpadding="0" cellspacing="0">
<form action="'.url('search/listing').'" method="post" name="search_form">
<tr>
<td valign="top">
<input type="text" id="search_box" name="title" value="" name="search_box" />
</td>
<td>
<input type="submit" value="find" id="search_button" style="display:none" />
</td>
</tr>
</form>
</table>
</td>';
with this code
<?php if ($client['id']) {
echo '
<td valign="bottom">
<table cellpadding="0" cellspacing="0">
<form action="'.url('search/listing').'" method="post" name="search_form">
<tr>
<td valign="top">
<input type="text" id="search_box" name="title" value="" name="search_box" />
</td>
<td>
<input type="submit" value="find" id="search_button" style="display:none" />
</td>
</tr>
</form>
</table>
</td>';
} ?> |