http://caraudioclips.com/category.php
On the left side is a list of categories. I want like 2 or 3 of those categories to be bolded or different font color. How would I go about in achieving this? Would I need to use conditionals as my solution? If there is a certain code I should show you guys, I'll be happy to provide it for you.
Thanks alot!
IF CONDITIONALS = Solution?
Moderator: General Moderators
feyd | Please use
Also, the categories are fields on mysql. If you need the html template code too, I can provide it for you.
Thanks so much for the help!!
feyd | Please use[/syntax]
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
[syntax="html"]
<div align="center">
<table border="0" width="865" id="table1" height="453" cellspacing="0" cellpadding="0">
<tr>
<td>
<div align="center">
<table border="0" width="855">
<tr>
<td height="25">
<font size="2" color="#666666"><b>[var.message_type]</b>
-
[var.error_message] [onload_4;block=tr;when [var.blk_id]=1]</font></td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td>
<div align="center">
<table border="0" width="855">
<tr>
<td height="25"><b>
<font size="2" color="#666666">[var.code_type]</font></b><font color="#666666" size="2">
-
[var.code_message] [onload_10;block=tr;when [var.blk_code]=1]</font></td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td>
<div align="center">
<table border="0" width="855">
<tr>
<td height="25" class="default_text"><b>
[var.message_type]</b>
-
[var.error_message] [onload_11;block=tr;when [var.blk_id]=2]</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td>
<p align="center">
<img border="0" src="images/spacer_5pix.gif" width="1" height="15"></td>
</tr>
<tr id="tr_login">
<td align="center" valign="top" width="865">
<table border="0" width="865" id="table6" height="418" cellspacing="0" cellpadding="0">
<tr>
<td width="865" height="414" valign="top">
<table border="0" width="100%" bordercolor="#CCCCCC" id="table9" cellspacing="0" cellpadding="0">
<tr>
<td height="30" style="border-style:solid; border-width:0px; " >
<b>
</b></td>
<td height="30" style="border-style:solid; border-width:0px; " ><b>Categories:</b></td>
<td height="30" style="border-style:solid; border-width:0px; " > </td>
</tr>
<tr>
<td align="center" valign="top" width="20%"><table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td align="left"><table border="0" width="100%" cellspacing="0" cellpadding="0" height="42">
<tr>
<td width="100%" height="22"><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td> <b>Categories</b></td>
<td width="100%"> </td>
</tr>
</table></td>
</tr>
<tr>
<td width="100%" align="left" height="20"><b><a href="category_home.php?cid=[blk1.channel_name;block=tr]">
<!--[blk1.channel_name;block=tr;ope=max:25;comm]-->
</a> </b></td>
</tr>
</table></td>
</tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="0" height="102">
<tr>
<td width="100%" height="22"><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td> <b>Videos</b></td>
</tr>
</table></td>
</tr>
<tr>
<td width="100%" align="left" height="20" ><b><a href="seemore.php?load=featured">Featured </a></b></td>
</tr>
<tr>
<td width="100%" align="left" height="20" ><b><a href="seemore.php?load=viewed">Most Viewed</a></b></td>
</tr>
<tr>
<td width="100%" align="left" height="20" ><b><a href="seemore.php?load=recent">Most Recent </a></b></td>
</tr>
<tr>
<td width="100%" align="left" height="20" ><b><a href="seemore.php?load=comments">Most Discussed</a></b></td>
</tr>
</table></td>
<td width="66%" height="361" align="right" valign="top" rowspan="2">
<div align="center">
<table border="0" width="98%" cellspacing="0">
<tr>
<td width="50%" height="201" align="center" valign="top">
<div align="center">
<table width="100%" border="0" cellpadding="4" cellspacing="0" class="table2">
<tr>
<td colspan="2"><b>
<a href="category_home.php?cid=[mp_1.channel_name;block=table]"> <!--[mp_1.channel_name;block=table;ope=max:25;comm]--></a></b></td>
</tr>
<tr>
<td width="50%" valign="top">
<a href="category_home.php?cid=[mp_1.channel_name;block=table]">
<img src="uploads/thumbs/[mp_1.video_id;block=table;ope=max:25;comm].jpg" width="120" height="90" hspace="2" vspace="2" border="0"></a></td>
<td width="50%" rowspan="2" valign="top">
<p align="left">
<!--[mp_1.channel_description;block=table;ope=max:150;comm]--><br />
<a href="category_home.php?cid=[mp_1.channel_name;block=table]">[enter]</a></td>
</tr>
<tr>
<td valign="top">
<b> Latest
video:</b><br />
<a href="play.php?vid=[mp_1.indexer;block=table]">
<!--[mp_1.title;block=table;ope=max:25;comm]-->
</a> </td>
</tr>
</table>
</div> </td>
<td width="50%" align="center" valign="top"><!--[mp;block=tr;serial;comm]-->
<div align="center">
<table width="100%" border="0" cellpadding="4" cellspacing="0" class="table2">
<tr>
<td colspan="2"><b>
<a href="category_home.php?cid=[mp_2.channel_name;block=table]"> <!--[mp_2.channel_name;block=table;ope=max:25;comm]--></a></b></td>
</tr>
<tr>
<td width="50%" valign="top">
<a href="category_home.php?cid=[mp_2.channel_name;block=table]">
<img src="uploads/thumbs/[mp_2.video_id;block=table;ope=max:25;comm].jpg" width="120" height="90" hspace="2" vspace="2" border="0"></a></td>
<td width="50%" rowspan="2" valign="top" >
<p align="left">
<!--[mp_2.channel_description;block=table;ope=max:150;comm]--><br />
<a href="category_home.php?cid=[mp_2.channel_name;block=table]">[enter]</a></td>
</tr>
<tr>
<td valign="top">
<b> Latest
video: </b><br />
<a href="play.php?vid=[mp_2.indexer;block=table;ope=max:25;comm]">
<!--[mp_2.title;block=table;ope=max:25;comm]-->
</a>
</td>
</tr>
</table>
</div> </td>
</tr>
<tr>
<td width="50%">
<span class="text-mini">
[mp_0;block=td]</span>[mp;block=tr;serial]</td>
<td width="50%"> </td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td colspan="2">
<p align="center"> </p>
<p align="center"><b>No categories have been created</b>
[onload_1;block=tr;when [var.show_v]=1] </p>
<p align="center"> </p>
<p align="center"></td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td height="2" colspan="2"> </td>
</tr>
</table>
</div> </td>
<td width="19%" height="361" align="center" valign="top" rowspan="2">
<!--ads right start -->
<!--[var.ads_right;htmlconv=no;comm]-->
<!--ads right end --> </td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>Also, the categories are fields on mysql. If you need the html template code too, I can provide it for you.
Thanks so much for the help!!
feyd | Please use[/syntax]
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]