Categories and multi-categories
|
27-03-2011, 05:38 AM
Post: #7
|
|||
|
|||
RE: Categories and multi-categories
ok, well, you know how to add "date added" so i will show code just to add category.
there is 2 lines which need replaced, and replaced with extra code. line 1 , replace: Code: $data=$data.'<td valign="top"><a href="'.$root_url.$linki.'"><div align="center"><img multiple_thumbnail_url="g" class="video-thumb" border="0" src="'.$root_url.'img/thumb/'.$row['v_id'].'_0.jpg" num="'.$row['num'].'" id="thumb'.($i+1).'" alt="'.urldecode($row['title']).'" width="160" height="120" /></div>'.urldecode($row['title']).'</a></td>'; with this: Code: $cat_id = $row['category']; line 2 , replace: Code: $data=$data.'<td valign="top"><a href="'.$root_url.$linki.'"><div align="center"><img multiple_thumbnail_url="g" class="video-thumb" border="0" src="'.$root_url.'img/thumb/'.$row['v_id'].'_0.jpg" num="'.$row['num'].'" id="thumb'.($i+1).'" alt="'.urldecode($row['title']).'" width="160" height="120" /></div>'.urldecode($row['title']).'</a></td>'; with this: Code: $cat_id = $row['category']; Custom HTML/CSS/PHP http://theorderofindividualacceptance.co...p.php?id=1 |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Categories and multi-categories - Role-Model - 26-03-2011, 04:33 PM
RE: Categories and multi-categories - Punktured - 26-03-2011, 04:46 PM
RE: Categories and multi-categories - Role-Model - 26-03-2011, 06:11 PM
RE: Categories and multi-categories - Punktured - 26-03-2011, 06:43 PM
RE: Categories and multi-categories - admin - 27-03-2011, 01:04 AM
RE: Categories and multi-categories - Punktured - 27-03-2011, 01:54 AM
RE: Categories and multi-categories - Punktured - 27-03-2011 05:38 AM
RE: Categories and multi-categories - Role-Model - 27-03-2011, 11:21 AM
RE: Categories and multi-categories - Punktured - 27-03-2011, 12:06 PM
|