change colors of categories
Author Message
c0rrupt
Administrator


Posts: 251
Joined: Mar 2010
Post: #1
change colors of categories
0
0
how to change colors of categories.


open index.php

find:

<?=$dl['type']?>

replace with:

        <font color="<?php
            if($dl[type]==movie){echo '#00CCFF';}
            elseif($dl[type]==app){echo '#00CC00';}
            elseif($dl[type]==game){echo '#FF6600';}
            elseif($dl[type]==music){echo '#0000FF';}
            elseif($dl[type]==xxx){echo '#FF66FF';}
        elseif($dl[type]==tv){echo '#996600';}
        elseif($dl[type]==ebooks){echo '#CCCCCC';}
            elseif($dl[type]==template){echo '#000000';}
            elseif($dl[type]==script){echo '#0000FF';}
            elseif($dl[type]==other){echo '#FF3300';}
            else{echo '#0099FF';}
            ?>"><?=$dl['type']?></font>

save--upload--done Smile

Be sure to visit WCDDL.org Affiliates
05-02-2010 07:09 PM
nirav5300
Newbie


Posts: 6
Joined: Apr 2010
Post: #2
change colors of categories
0
0
thanks we just need to edit the types same as wcfg..

nice share
05-28-2010 07:43 AM
jomasaco
Respected Member


Posts: 19
Joined: May 2010
Post: #3
change colors of categories
0
0
or in css
.app { color:#3BB9FF !important; }
.game { color:#4CC417 !important; }
.movie { color:#FF0000 !important; }
.music { color:#FF00FF !important; }
.tv { color:#FFFF00 !important; }
.ebook { color:#005A86 !important; }
.script { color: #FF6600; }
.template { color:#D17B07 !important; }
.other { color:#696A6E !important; }
.xxx { color:#E2007F !important;}
.mobile { color:#8D38C9 !important;}

and when you want show
<span class="<?=strtolower($dl['type'])?>"><?=ucfirst($dl['type'])?></span>
06-06-2010 02:11 PM




User(s) browsing this thread: 1 Guest(s)

This forum uses Lukasz Tkacz MyBB addons.