欧美性猛交XXXX免费看蜜桃,成人网18免费韩国,亚洲国产成人精品区综合,欧美日韩一区二区三区高清不卡,亚洲综合一区二区精品久久

打開(kāi)APP
userphoto
未登錄

開(kāi)通VIP,暢享免費電子書(shū)等14項超值服

開(kāi)通VIP
Ecshop二次開(kāi)發(fā)會(huì )員中心添加修改積分明細以及其他小功能定制

      1.
      languages/zh_cn/user.php,666行左右,把'$_LANG['user_reg_info'][2]'修改為'不注冊為會(huì )員不可以在本店購買(mǎi)商品'
      668行左右,把$_LANG['user_reg_info'][3]修改為'注冊之后您可以'
      2.刪除左側的5個(gè)選項
      themes/joyo25/library/user_menu.lbi,刪除以下5行:
       {$lang.label_tag}

       {$lang.label_booking}
 
       {$lang.label_bonus}

      {$lang.label_affiliate}

      {$lang.label_track_packages}
 
      3.給字體設置顏色,刪除紅包
      themes/joyo25/user_clips.dwt,26行左右,把{$info.shop_name}修改為:{$info.shop_name}
      41行左右,注釋
      42行左右,把{$info.integral}修改為:{$info.integral}
      4.刪除資金管理里面的提現并修改顏色
      themes/joyo25/user_transaction.dwt,644行左右,把
      {$lang.surplus_type_0} | {$lang.surplus_type_1} | {$lang.add_surplus_log} | {$lang.view_application}
      修改為
      {$lang.surplus_type_0} | {$lang.add_surplus_log} | {$lang.view_application}
      5.添加積分明細
      languages/zh_cn/user.php,36行左右,添加:
      $_LANG['label_integral_surplus'] = '積分明細';
      languages/en_us/user.php,36行左右,添加:
      $_LANG['label_integral_surplus'] = 'Integral Details';
      themes/joyo25/library/user_menu.lbi,15行左右,添加:
      {$lang.label_integral_surplus}

      themes/joyo25/user_transaction.dwt,230行左右,添加:
      
       


       
{$lang.label_integral_surplus}

       

        
           
             
               
             
             
           
           
           
             
             
             
             
           
           
         
           
         
        
{$lang.process_time}{$lang.surplus_pro_type}{$lang.your_integral}{$lang.change_desc}
{$item.change_time}{$item.type}{$item.amount}  {$item.short_change_desc}
{$lang.cur_points}{$surplus_amount}

        
        
       
       
      includes/lib_order.php,1342行左右,添加一個(gè)函數:
      /**
       * 取得用戶(hù)積分
       * @param   int     $user_id    用戶(hù)id
       * @return  int   用戶(hù)積分
       */
      function get_user_integral($user_id)
      {
          $sql = 'SELECT * FROM ' . $GLOBALS['ecs']->table('users') .
                  ' WHERE user_id = '$user_id'';
          $user = $GLOBALS['db']->getRow($sql);
          return $user['pay_points'];
      }
      user.php,35行左右,把
      $ui_arr = array('register', 'login', 'profile', 'order_list', 'order_detail', 'address_list', 'collection_list',
      'message_list', 'tag_list', 'get_password', 'reset_password', 'booking_list', 'add_booking', 'account_raply',
      'account_deposit', 'account_log', 'account_detail', 'act_account', 'pay', 'default', 'bonus', 'group_buy', 'group_buy_detail', 'affiliate', 'comment_list','validate_email','track_packages', 'transform_points','qpassword_name', 'get_passwd_question', 'check_answer');
      修改為:
      $ui_arr = array('register', 'login', 'profile', 'order_list', 'order_detail', 'address_list', 'collection_list',
      'message_list', 'tag_list', 'get_password', 'reset_password', 'booking_list', 'add_booking', 'account_raply',
      'account_deposit', 'account_log', 'account_detail', 'act_account', 'pay', 'default', 'bonus', 'group_buy', 'group_buy_detail', 'affiliate', 'comment_list','validate_email','track_packages', 'transform_points','qpassword_name', 'get_passwd_question', 'check_answer', 'integral_log');
      user.php,805行左右,在elseif ($action == 'order_list')循環(huán)下面添加:
      /* 會(huì )員積分明細界面 */
      elseif ($action == 'integral_log')
      {
          include_once(ROOT_PATH . 'includes/lib_clips.php');
          include_once(ROOT_PATH . 'includes/lib_order.php');
          $page = isset($_REQUEST['page']) ? intval($_REQUEST['page']) : 1;
          $account_type = 'pay_points';
          /* 獲取記錄條數 */
          $sql = 'SELECT COUNT(*) FROM ' .$ecs->table('account_log').
                 ' WHERE user_id = '$user_id'' .
                 ' AND $account_type <> 0 ';
          $record_count = $db->getOne($sql);
          //分頁(yè)函數
          $pager = get_pager('user.php', array('act' => $action), $record_count, $page);
          //獲取剩余積分
          $surplus_amount = get_user_integral($user_id);
          if (empty($surplus_amount))
          {
              $surplus_amount = 0;
          }
          //獲取積分記錄
          $account_log = array();
          $sql = 'SELECT * FROM ' . $ecs->table('account_log') .
                 ' WHERE user_id = '$user_id'' .
                 ' AND $account_type <> 0 ' .
                 ' ORDER BY log_id DESC';
          $res = $GLOBALS['db']->selectLimit($sql, $pager['size'], $pager['start']);
          while ($row = $db->fetchRow($res))
          {
              $row['change_time'] = local_date($_CFG['date_format'], $row['change_time']);
              $row['type'] = $row[$account_type] > 0 ? $_LANG['account_inc'] : $_LANG['account_dec'];
              $row['user_money'] = price_format(abs($row['user_money']), false);
              $row['frozen_money'] = price_format(abs($row['frozen_money']), false);
              $row['rank_points'] = abs($row['rank_points']);
              $row['pay_points'] = abs($row['pay_points']);
              $row['short_change_desc'] = sub_str($row['change_desc'], 60);
              $row['amount'] = $row[$account_type];
              $account_log[] = $row;
          }
          //模板賦值
          $smarty->assign('surplus_amount', price_format($surplus_amount, false));
          $smarty->assign('account_log',    $account_log);
          $smarty->assign('pager',          $pager);
          $smarty->display('user_transaction.dwt');
      }
      6.添加積分說(shuō)明
      languages/zh_cn/user.php,37行左右,添加:
      $_LANG['label_integral_explanation'] = '積分說(shuō)明';
      languages/en_us/user.php,37行左右,添加:
      $_LANG['label_integral_explanation'] = 'Integral Explanation';
      themes/joyo25/library/user_menu.lbi,14行左右,添加:
       {$lang.label_integral_explanation}
 
      themes/joyo25/user_transaction.dwt,260行左右,添加:

  1.       
  2.       
  3.       
    {$lang.label_integral_explanation}
  4.       
  5.       所有會(huì )員在樂(lè )博商城購物均可獲得積分,積分可以用來(lái)參與兌換活動(dòng)。樂(lè )博商城會(huì )不定期推出各類(lèi)積分兌換活動(dòng),請隨時(shí)關(guān)注關(guān)于積分的活動(dòng)告知。詳情請查看以下各項說(shuō)明。 
  6.       
  7.       
     1.積分獲取 
  8.       每一筆成功交易的訂單,所付現金部分都可獲得對應的積分,商城系統會(huì )對客戶(hù)的積分進(jìn)行增加并逐次累積。 
  9.       
     2.會(huì )員等級 
  10.       
  11.       
  12.       會(huì )員等級
  13.       等級積分
  14.       會(huì )員優(yōu)惠
  15.       
  16.       
  17.       
  18.       銅牌會(huì )員
  19.       10000
  20.       購物時(shí)額外優(yōu)惠1%
  21.       
  22.       
  23.       銀牌會(huì )員
  24.       50000
  25.       購物時(shí)額外優(yōu)惠2%
  26.       
  27.       
  28.       金牌會(huì )員
  29.       100000
  30.       購物時(shí)額外優(yōu)惠3%
  31.       
  32.       
  33.       
     3.積分有效期 
  34.       永久有效。 
  35.       
  36.       
     4.查詢(xún)積分 
  37.       您可以在積分明細中,查看您的累計積分和消費積分。
  38.       
  39.       
     5.積分活動(dòng)
  40.       樂(lè )博商城會(huì )不定期地推出各種積分活動(dòng),請隨時(shí)關(guān)注關(guān)于積分促銷(xiāo)的告知。
  41.       1)會(huì )員可以用積分參與樂(lè )博商城指定的各種活動(dòng),參與后會(huì )扣減相應的積分。
  42.       2)積分不可用于兌換現金,僅限參加樂(lè )博商城指定兌換物品、參與抽獎等各種活動(dòng)。
  43.       
  44.       
     6.注意事項
  45.       1)不同帳戶(hù)積分不可合并使用。
  46.       
  47.       
  •       
  •       
  • user.php,35行左右,把
          $ui_arr = array('register', 'login', 'profile', 'order_list', 'order_detail', 'address_list', 'collection_list',
          'message_list', 'tag_list', 'get_password', 'reset_password', 'booking_list', 'add_booking', 'account_raply',
          'account_deposit', 'account_log', 'account_detail', 'act_account', 'pay', 'default', 'bonus', 'group_buy', 'group_buy_detail', 'affiliate', 'comment_list','validate_email','track_packages', 'transform_points','qpassword_name', 'get_passwd_question', 'check_answer', 'integral_log');
          修改為:
          $ui_arr = array('register', 'login', 'profile', 'order_list', 'order_detail', 'address_list', 'collection_list',
          'message_list', 'tag_list', 'get_password', 'reset_password', 'booking_list', 'add_booking', 'account_raply',
          'account_deposit', 'account_log', 'account_detail', 'act_account', 'pay', 'default', 'bonus', 'group_buy', 'group_buy_detail', 'affiliate', 'comment_list','validate_email','track_packages', 'transform_points','qpassword_name', 'get_passwd_question', 'check_answer', 'integral_log', 'integral_explanation');
          user.php,860行左右,添加:
          elseif ($action == 'integral_explanation')
          {
              include_once(ROOT_PATH . 'includes/lib_clips.php');
              include_once(ROOT_PATH . 'includes/lib_order.php');
              $smarty->display('user_transaction.dwt');
          }
          7.修改歡迎頁(yè)的突出字體顏色
          languages/zh_cn/user.php,450行左右,把
          $_LANG['your_level'] = '您的等級是 %s ';
          $_LANG['next_level'] = ',您還差 %s 積分達到 %s ';
          修改為:
          $_LANG['your_level'] = '您的等級是 %s ';
          $_LANG['next_level'] = ',您還差 %s 積分達到 %s ';
    本站僅提供存儲服務(wù),所有內容均由用戶(hù)發(fā)布,如發(fā)現有害或侵權內容,請點(diǎn)擊舉報。
    打開(kāi)APP,閱讀全文并永久保存 查看更多類(lèi)似文章
    猜你喜歡
    類(lèi)似文章
    ECSHOP會(huì )員登錄贈送等級積分和消費積分插件
    12306APP怎么查看積分明細?
    Discuz! X2.5 添加自定義數據調用模塊(簡(jiǎn)單方法)
    ECSHOP模板文件(dwt)在線(xiàn)編輯器 | Jacklee的博客
    PHPCMS V9模板制作教程之默認模板列表明細
    讓PHP執行exe文件
    更多類(lèi)似文章 >>
    生活服務(wù)
    分享 收藏 導長(cháng)圖 關(guān)注 下載文章
    綁定賬號成功
    后續可登錄賬號暢享VIP特權!
    如果VIP功能使用有故障,
    可點(diǎn)擊這里聯(lián)系客服!

    聯(lián)系客服

    欧美性猛交XXXX免费看蜜桃,成人网18免费韩国,亚洲国产成人精品区综合,欧美日韩一区二区三区高清不卡,亚洲综合一区二区精品久久