배경이미지 코드

배경이미지 코드

더시민 0 497 0

<?php 
    $backimg_path = G5_DATA_PATH.'/member_image/'.substr($member['mb_id'],0,2).'/bg'.get_mb_icon_name($member['mb_id']).'.gif';
    if(file_exists($backimg_path)) {?>
    <style> 
    body {background-image:url("<?php $mb_tmp_dir = G5_DATA_URL.'/member_image/';echo $mb_dir = $mb_tmp_dir.substr($member['mb_id'],0,2);echo $mb_bg_img = "/bg".get_mb_icon_name($member['mb_id']).'.gif';?>")}
    </style>
<?php } ?>

0 Comments
제목
Category
Facebook Twitter GooglePlus KakaoStory KakaoTalk NaverBand