merhaba,

Aşağıda bir kod mevcut. burada talep etmek istediğim "Eğer tüm alanların hepsi boş ise"

$L['None'];
göstermek istiyorum. Yani Herhangi biri girilmemişse "Yok" görünecek. Şimdiden teşekkür ederim.

if (!defined('SED_CODE')) { die('Wrong URL.'); }

if($cfg['plugin']['socialname']['enabled']){
$sqll = sed_sql_query("SELECT * FROM $db_users WHERE user_id='$id' LIMIT 1");
$urr = sed_sql_fetcharray($sqll);

if (!empty($urr['user_facebook']))
{$face = "<a href=\"".sed_cc($urr['user_facebook'])."\" target=\"_blank\" rel=\"nofollow\"><img width=\"54\" height=\"54\" src=\"plugins/socialname/img/facebook.png\" ></a>";}
if (!empty($urr['user_twitter']))
{$twit = "<a href=\"".sed_cc($urr['user_twitter'])."\" target=\"_blank\" rel=\"nofollow\"><img width=\"54\" height=\"54\" src=\"plugins/socialname/img/twitter.png\" ></a>";}
if (!empty($urr['user_instagram']))
{$insta = "<a href=\"".sed_cc($urr['user_instagram'])."\" target=\"_blank\" rel=\"nofollow\"><img width=\"54\" height=\"54\" src=\"plugins/socialname/img/instagram.png\" ></a>";}
if (!empty($urr['user_pinterest']))
{$pin = "<a href=\"".sed_cc($urr['user_pinterest'])."\" target=\"_blank\" rel=\"nofollow\"><img width=\"54\" height=\"54\" src=\"plugins/socialname/img/pinterest.png\" ></a>";}
if (!empty($urr['user_whatsapp']))
{$whats = "<a href=\"".sed_cc($urr['user_whatsapp'])."\" target=\"_blank\" rel=\"nofollow\"><img width=\"54\" height=\"54\" src=\"plugins/socialname/img/whatsapp.png\" ></a>";}
if (!empty($urr['user_telegram']))
{$tele = "<a href=\"".sed_cc($urr['user_telegram'])."\" target=\"_blank\" rel=\"nofollow\"><img width=\"54\" height=\"54\" src=\"plugins/socialname/img/telegram.png\" ></a>";}
if (!empty($urr['user_tumblr']))
{$tum = "<a href=\"".sed_cc($urr['user_tumblr'])."\" target=\"_blank\" rel=\"nofollow\"><img width=\"54\" height=\"54\" src=\"plugins/socialname/img/tumblr.png\" ></a>";}
if (!empty($urr['user_youtube']))
{$you = "<a href=\"".sed_cc($urr['user_youtube'])."\" target=\"_blank\" rel=\"nofollow\"><img width=\"54\" height=\"54\" src=\"plugins/socialname/img/youtube.png\" ></a>";}
if (!empty($urr['user_linkedin']))
{$lin = "<a href=\"".sed_cc($urr['user_linkedin'])."\" target=\"_blank\" rel=\"nofollow\"><img width=\"54\" height=\"54\" src=\"plugins/socialname/img/linkedin.png\" ></a>";}
if (!empty($urr['user_deviantart']))
{$dev = "<a href=\"".sed_cc($urr['user_deviantart'])."\" target=\"_blank\" rel=\"nofollow\"><img width=\"54\" height=\"54\" src=\"plugins/socialname/img/devianart.png\" ></a>";}
if (!empty($urr['user_github']))
{$git = "<a href=\"".sed_cc($urr['user_github'])."\" target=\"_blank\" rel=\"nofollow\"><img width=\"54\" height=\"54\" src=\"plugins/socialname/img/github.png\" ></a>";}
if (!empty($urr['user_steam']))
{$steam = "<a href=\"".sed_cc($urr['user_steam'])."\" target=\"_blank\" rel=\"nofollow\"><img width=\"54\" height=\"54\" src=\"plugins/socialname/img/steam.png\" ></a>";}
if (!empty($urr['user_reddit']))
{$reddit = "<a href=\"".sed_cc($urr['user_reddit'])."\" target=\"_blank\" rel=\"nofollow\"><img width=\"54\" height=\"54\" src=\"plugins/socialname/img/reddit.png\" ></a>";}
if (!empty($urr['user_discord']))
{$discord = "<a href=\"".sed_cc($urr['user_discord'])."\" target=\"_blank\" rel=\"nofollow\"><img width=\"54\" height=\"54\" src=\"plugins/socialname/img/discord.png\" ></a>";}
if (!empty($urr['user_twitch']))
{$twich = "<a href=\"".sed_cc($urr['user_twitch'])."\" target=\"_blank\" rel=\"nofollow\"><img width=\"54\" height=\"54\" src=\"plugins/socialname/img/twitch.png\" ></a>";}
if (!empty($urr['user_msn']))
{$skype = "<a href=\"skype:".sed_cc($urr['user_msn'])."\" target=\"_blank\" rel=\"nofollow\"><img width=\"54\" height=\"54\" src=\"plugins/socialname/img/skype.png\" ></a>";}
$t-> assign(array(

"USERS_DETAILS_FACEBOOK" => $face,
"USERS_DETAILS_TWITTER" => $twit,
"USERS_DETAILS_INSTAGRAM" => $insta,
"USERS_DETAILS_PINTEREST" => $pin,
"USERS_DETAILS_WHATSAPP" => $whats,
"USERS_DETAILS_TELEGRAM" => $tele,
"USERS_DETAILS_TUMBLR" => $tum,
"USERS_DETAILS_YOUTUBE" => $you,
"USERS_DETAILS_LINKEDIN" => $lin,
"USERS_DETAILS_DEVIANART" => $dev,
"USERS_DETAILS_GITHUB" => $git,
"USERS_DETAILS_STEAM" => $steam,
"USERS_DETAILS_REDDIT" => $reddit,
"USERS_DETAILS_DISCORD" => $discord,
"USERS_DETAILS_TWITCH" => $twich,
"USERS_DETAILS_SKYPE" => $skype,
));

}
?>