Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Iterpimas

Parašė Dandžu· 2008 Geg. 21 11:05:15
#1

Bandyk šitą variantą. Turiu ir dar vieną galvojo.
echo ($data['user_avatar'] ? "<img src='".IMAGES."avatars/".$data['user_avatar']."' alt='".$locale['u017']."'><br><br>\n<hr>\n" : "");
$countplius = dbcount("(type)", "reputation", " to_id='".$data['user_id']."' AND type='1'");
$countminus = dbcount("(type)", "reputation", " to_id='".$data['user_id']."' AND type='0'");
$counttotal = $countplius - $countminus;
echo "Reputacija: <a href='#'>".$counttotal."</a>";
if (iMEMBER) {
}
echo ($data['user_hide_email'] != 1 || iADMIN ? "<button class='button' onclick=\"window.location = 'mailto:".str_replace("@","&#64;",$data['user_email'])."';\" style='margin-bottom:1px;width:100px;' title='".str_replace("@","&#64;",$data['user_email'])."'>".$locale['u051']."</button><br>\n" : "");



Redagavo Dandžu· 2008 Geg. 21 11:05:27