Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: kaip taip padaryt ?

Parašė JaWa· 2010 Kov. 25 19:03:50
#2

?><style>
div.photoW {
    position:relative;
    display:inline-block;
    _display:inline;
    _width:1px;
    margin-bottom: 3px;
    z-index: 0;
}
img.mood {
    position: absolute;
    top: 1px;
    left: 3px;
    border: 0px solid #FFF;
}

</style><?

$vertinimas = "<img class='mood' src='".BASEDIR."images/smiley/king.gif'>";

if ($data['user_avatar'] != "") {
echo "<div class='photoW'><img border='0' alt='".$locale['on106']."' title='".$locale['on106']."' src='".BASEDIR."images/avatars/".$data['user_avatar']."'>$vertinimas</div>\n";
} else {
echo "<div class='photoW'><img border='0' alt='' title='' src='".BASEDIR."images/avatars/brak.gif'>$vertinimas</div></td><br>\n";
}




Stai atsakymas, jei mokesi padarysi ;)

Redagavo JaWa· 2010 Kov. 25 19:03:04