« on: December 20, 2009, 05:21:01 AM »
If you want to display the category name in the sub category page. You must editing and adding below codes.
Important Warning : Before you take a backup of your old files do strongly remember. Don't forget this! For this reason, you do not responsible for the negative consequences that may arise from transactions. I did it for my own site and I wanted to share with you.
Modified File : Open the browse.php
Step 1 - Find this code :
<?php include "adv_search.php"; ?>
</td>
</tr>
</table>
</form>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
Step 2 - Add this code to bottom :
<tr valign="top">
<td class="padder5" width="100%">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="padder5">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="colorclass2"><img src="images/nw2.gif" width="10" height="10" /></td>
<td class="colorclass2"></td>
<td class="colorclass2"><img src="images/ne2.gif" width="10" height="10" /></td>
</tr>
<tr align="center">
<td class="colorclass2"> </td>
<td class="colorclass2" width="100%"><b><font color="#FF0000">
[ <?php
$SQL = "SELECT * from CATEGORIES WHERE ID = '$_GET[category]'"; $result = @mysql_query( $SQL ); $row = @mysql_fetch_array( $result );
echo "$row[TITLE]";
?> ] KATEGORISINDEKİ FIRMALAR</font></b>
</td>
<td class="colorclass2"> </td>
</tr>
<tr>
<td height="10"><img src="images/sw2.gif" width="10" height="10" /></td>
<td class="colorclass2" height="10"></td>
<td height="10"><img src="images/se2.gif" width="10" height="10" /></td>
</tr>
</table>
</td>
</table>
</td>
</tr>
Step 3 - Modify to your language this words :
KATEGORISINDEKİ FIRMALAR
Good use.
Screenshot has been added to this message.