ppypp伦理天堂,91手机在线视频,免费在线观看黄色毛片,夜夜穞天天穞狠狠穞AV美女按摩

聯(lián)系官方銷售客服

1835022288

028-61286886

投訴 已解決 彈窗提示求解 3 0

下載文件時(shí)積分不足會(huì)跳轉(zhuǎn)到新頁面提示,請(qǐng)問怎么實(shí)現(xiàn)彈窗提示啦 下面積分提示頁php文件里的代碼

if (!$data['is_buy']

&& $this->input->get('action') == 'confirm') {

// 會(huì)員未登錄

!$this->member && $this->msg(fc_lang('會(huì)話超時(shí),請(qǐng)重新登錄'));

// 積分檢查

-$data['score'] + $this->member['score'] < 0 && $this->msg(fc_lang(SITE_SCORE.'不足!本次需要%s'.SITE_SCORE.',當(dāng)前余額%s'.SITE_SCORE, $data['score'], $this->member['score']));

// 扣減積分

$this->member_model->update_score(1, $this->uid, -$data['score'], '', '購(gòu)買《'.($data['name'] ? $data['name'] : $data['title']).'》');

// 記錄購(gòu)買歷史

$insert = array(

'uid' => $this->uid,

'url' => $data['url'],

'score' => $data['score'],

'thumb' => $data['preview'] ? $data['preview'] : ($data['thumb'] ? $data['thumb'] : ''),

'inputtime' => SYS_TIME

);

if ($id) {

$insert['cid'] = $id;

$insert['title'] = $data['title'];

} else {

$insert['eid'] = $eid;

$insert['cid'] = $data['cid'];

$insert['title'] = ($data['ctitle'] ? $data['ctitle'].' - ' : '').$data['name'];

}

$this->db->insert($table, $insert);

$this->msg(fc_lang('購(gòu)買成功'), $data['url'], 1);

} else {

$this->template->assign($data);

ob_start();

$this->template->display($tpl);

$html = ob_get_contents();

ob_clean();

echo $this->input->get('callback', TRUE).'('.json_encode(array('html' => $html)).')';exit;

}

}

請(qǐng)問怎么將這個(gè)弄成彈窗頁提示

解決方案