포인트 선물 기능 모바일에서 실현

포인트 선물 기능 모바일에서 실현

QA

포인트 선물 기능 모바일에서 실현

본문

안녕하세요

포인트 선물 기능을 하려고 이분 파일을 다운받아서 올리는데, PC버전에서는 정상으로 보이는데,

모바일버전에서는 흰 화면만 나타나는데 어떤 문제인지 알수 있을가요?

https://sir.kr/g5_plugin/5752

고수님들 부탁합니다

============

bbs 파일

point_gift.php


<?php
include_once('./_common.php');
include_once(G5_CAPTCHA_PATH.'/captcha.lib.php');
if ($is_guest)
    alert_close('회원만 이용하실 수 있습니다.');
$g5['title'] = "포인트 선물";
include_once(G5_PATH.'/head.sub.php');
$point_gift_action_url = G5_HTTPS_BBS_URL."/point_gift_update.php";
include_once($member_skin_path.'/point_gift.skin.php');
include_once(G5_PATH.'/tail.sub.php');
?>

--------------------

point_gift_update.php


<?php
include_once('./_common.php');
include_once(G5_CAPTCHA_PATH.'/captcha.lib.php');
if ($is_guest)
    alert('회원만 이용하실 수 있습니다.');
if (!chk_captcha()) {
    alert('자동등록방지 숫자가 틀렸습니다.');
}
$mb = get_member($me_recv_mb_id);
if (!$mb['mb_id'])
    alert('존재하지 않는 회원입니다.');
if ($mb['mb_id'] == $member['mb_id'])
    alert('자신한테는 선물할 수 없습니다.');
$max_point = 10000;
if ($point > $max_point)
    alert('최대 선물 포인트는 '.number_format($max_point).'P 입니다.');
if ($member['mb_point'] < $point)
    alert('포인트가 부족합니다.');
insert_point($member['mb_id'], "-".$point, $mb['mb_nick']."님에게 ".number_format($point)."P를 선물했습니다.", '@passive', $member['mb_id'], $member['mb_id'].'-'.uniqid(''));
insert_point($mb['mb_id'], "+".$point, $member['mb_nick']."님한테서 ".number_format($point)."P를 선물받았습니다.", '@passive', $mb['mb_id'], $member['mb_id'].'-'.uniqid(''));
alert_close('포인트를 정상적으로 선물했습니다.');
?>

==========

skin\member\basic


<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">', 0);
?>
<div id="point_gift" class="new_win">
    <h1 id="win_title"><i class="fa fa-database" aria-hidden="true"></i> <?php echo $g5['title'] ?></h1>
    <div class="new_win_con">
        <form name="fgiftform" action="<?php echo $point_gift_action_url ?>" onsubmit="return fgiftform_submit(this);" method="post" autocomplete="off">
            <div class="form_01">
                <h2 class="sound_only"><?php echo $g5['title'] ?></h2>
                <ul>
                    <li>
                        <label for="me_recv_mb_id" class="sound_only">받는 회원아이디<strong>필수</strong></label>
                        <input type="text" name="me_recv_mb_id" id="me_recv_mb_id" required class="frm_input full_input required" size="47" placeholder="받는 회원아이디">
                    </li>
                    <li>
                        <label for="point" class="sound_only">받는 회원아이디<strong>필수</strong></label>
                        <input type="text" name="point" id="point" required class="frm_input full_input required" size="20" placeholder="선물할 포인트">
                    </li>
                    <li>
                        <span class="sound_only">자동등록방지</span>
                        <?php echo captcha_html(); ?>
                    </li>
                </ul>
            </div>
            <div class="win_btn">
                <input type="submit" value="보내기" id="btn_submit" class="btn_submit">
                <button type="button" onclick="window.close();" class="btn_close">창닫기</button>
            </div>
        </form>
    </div>
    <button type="button" onclick="javascript:window.close();" class="btn_close">창닫기</button>
</div>
<script>
function fgiftform_submit(f)
{
    <?php echo chk_captcha_js();  ?>
    return true;
}
</script>

==================

이 질문에 댓글 쓰기 :

답변 1

답변을 작성하시기 전에 로그인 해주세요.
전체 473
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT