当前位置: 首页>>代码示例>>PHP>>正文


PHP GetSettValue函数代码示例

本文整理汇总了PHP中GetSettValue函数的典型用法代码示例。如果您正苦于以下问题:PHP GetSettValue函数的具体用法?PHP GetSettValue怎么用?PHP GetSettValue使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了GetSettValue函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: discount

 public function discount($price)
 {
     $discount_enable = GetSettValue('discount_enable');
     //判断是否有折扣
     $discount = 1;
     $r = array();
     if ($discount_enable) {
         $model = D('Discount');
         $list = $model->findall();
         foreach ($list as $k => $v) {
             if ($price >= $v['minmoney'] && $price <= $v['maxmoney']) {
                 $discount = $v['discount'];
                 break;
             }
         }
     }
     if ($discount < 1) {
         $r['price'] = round($price * $discount, 2);
         //保留两位
         $r['text'] = getprice_str($price) . '*<Span style="color:red;font-weight:bold;">' . $discount * 100 . '%</span>=' . getprice_str($r['price']);
     } else {
         $r['price'] = $price;
         $r['text'] = "";
     }
     return $r;
 }
开发者ID:dalinhuang,项目名称:concourse,代码行数:26,代码来源:CartModel.class.php

示例2: index

 public function index()
 {
     $citys = GetSettValue("ipblock_city");
     $cityinfo = unserialize($citys);
     $this->cityinfo = $cityinfo;
     $this->citylist = rtrim(implode(',', $cityinfo), ',');
     $this->display();
 }
开发者ID:dalinhuang,项目名称:concourse,代码行数:8,代码来源:IpblockAction.class.php

示例3: create_form

 /**
  * 新增
  */
 function create_form($list)
 {
     $pname = get_class($this);
     $this_script = "http://{$_SERVER['HTTP_HOST']}";
     $this->add_field('v_mid', GetSettValue($pname . "_id"));
     //商户编号
     $this->add_field('v_oid', date('Ymd') . '-' . GetSettValue($pname . "_id") . '-' . $list['sn']);
     //订单编号
     $this->add_field('v_rcvname', $list['delivery_firstname'] . " " . $list['delivery_lastname']);
     //收货人姓名
     $this->add_field('v_rcvaddr', $list['delivery_address']);
     //收货人地址
     $this->add_field('v_rcvtel', $list['delivery_telephone']);
     //收货人电话
     $this->add_field('v_rcvpost', $list['delivery_zip']);
     //收货人邮编
     $this->add_field('v_amount', $list['orders_total']);
     //订单总金额
     //$this->add_field('v_language','en');//订单语言
     $this->add_field('v_ymd', date('Ymd', $list['dateline']));
     //订单产生日期
     $this->add_field('v_orderstatus', 1);
     //配货状态
     $this->add_field('v_ordername', $list['delivery_firstname'] . " " . $list['delivery_lastname']);
     //订货人姓名
     $this->add_field('v_moneytype', 1);
     //币种,0为人民币,1为美元,2为欧元,3为英镑,4为日元,5为韩元,6为澳大利亚元
     $this->add_field('v_url', $this_script . U('Payment/payeasy_return'));
     //支付动作完成后返回到该url,支付结果以GET方式发送
     $this->add_field('v_md5info', bin2hex(mhash(MHASH_MD5, "1" . date('Ymd', $list['dateline']) . $list['orders_total'] . $list['delivery_firstname'] . " " . $list['delivery_lastname'] . date('Ymd') . '-' . GetSettValue($pname . "_id") . '-' . $list['sn'] . GetSettValue($pname . "_id") . $this_script . U('Payment/payeasy_return'), GetSettValue($pname . "_key"))));
     //订单数字指纹
     $this->add_field('v_shipstreet', $list['delivery_address']);
     //送货街道地址
     $this->add_field('v_shipcity', $list['delivery_city']);
     //送货城市
     //$this->add_field('v_shipstate',$_POST['']);//送货省/州
     $this->add_field('v_shippost', $list['delivery_zip']);
     //送货邮编
     //$this->add_field('v_shipcountry','840');//送货国家
     $this->add_field('v_shipphone', $list['delivery_telephone']);
     //送货电话
     $this->add_field('v_shipemail', $list['delivery_email']);
     //送货Email
     $this->form .= "<form method=\"post\" name=\"pay_form\" ";
     $this->form .= "action=\"" . $this->submit_url . "\">\n";
     foreach ($this->fields as $name => $value) {
         $this->form .= "<input type=\"hidden\" name=\"{$name}\" value=\"{$value}\"/>\n";
     }
     $this->form .= "</form>\n";
     if (GetSettValue($list['payment_module_code'] . '_autosubmit') == 1) {
         $delay = GetSettValue($list['payment_module_code'] . '_delay');
         $delay = $delay ? $delay : 5;
         $this->form .= $this->submit($delay);
         //是否自动提交,延迟5秒
     }
     return $this->form;
 }
开发者ID:dalinhuang,项目名称:concourse,代码行数:60,代码来源:payeasy3d.class.php

示例4: _list

 /**
  * 分页
  *
  * @param Model $model
  * @param Array $map
  * @param String $sortBy
  * @param Boolean $asc
  */
 public function _list($view, $map, $sortBy = '', $asc = true)
 {
     //排序字段 默认为主键名
     if (isset($_REQUEST['order'])) {
         $order = $_REQUEST['order'];
     } else {
         $order = !empty($sortBy) ? $sortBy : $model->getPk();
     }
     //排序方式默认按照倒序排列
     //接受 sost参数 0 表示倒序 非0都 表示正序
     if (isset($_REQUEST['sort'])) {
         $sort = $_REQUEST['sort'] ? 'asc' : 'desc';
     } else {
         $sort = $asc ? 'asc' : 'desc';
     }
     //取得满足条件的记录数
     if (!empty($_SESSION['map']) && 'Search' == MODULE_NAME) {
         $map = $_SESSION['map'];
     }
     if (isset($_REQUEST['pr']) && isset($_REQUEST['pr2'])) {
         $map['pricespe'] = array('between', "{$_REQUEST['pr']},{$_REQUEST['pr2']}");
     } elseif (isset($_REQUEST['pr']) && !isset($_REQUEST['pr2'])) {
         $map['pricespe'] = array('gt', $_REQUEST['pr']);
     }
     !empty($_REQUEST['type']) && ($map[$_REQUEST['type']] = 1);
     $count = $this->where($map)->count();
     $pages = array('totalRows' => 0, 'totalPages' => 0, 'startRow' => 0, 'endRow' => 1, 'list' => null, "page" => null);
     if ($count > 0) {
         import("ORG.Util.Page");
         //创建分页数量
         if ('Search' == MODULE_NAME) {
             $pro_num = GetSettValue('search_num');
         } elseif (strpos($_SERVER['REQUEST_URI'], 'cid-') > 0) {
             $pro_num = GetSettValue('cate_num');
         } elseif ('Pro' == MODULE_NAME) {
             $pro_num = GetSettValue('pro_num');
         }
         if (!$pro_num) {
             $pro_num = 21;
         }
         $p = new Page($count, $pro_num);
         //分页查询数据
         $voList = $this->where($map)->order("`Products`.`{$order}` {$sort},`id` desc")->limit($p->firstRow . ',' . $p->listRows)->findAll();
         //分页显示
         $page = $p->show();
         $pages['totalRows'] = $p->totalRows;
         $pages['totalPages'] = $p->totalPages;
         $pages['startRow'] = $p->firstRow + 1;
         $pages['endRow'] = ($p->nowPage > 1 ? $p->nowPage : 1) * $p->listRows;
         $pages['endRow'] = $pages['endRow'] > $pages['totalRows'] ? $pages['totalRows'] : $pages['endRow'];
         $pages['list'] = $voList;
         $pages['page'] = $page;
     }
     $view->assign($pages);
     return null;
 }
开发者ID:dalinhuang,项目名称:concourse,代码行数:64,代码来源:Pro_attrViewModel.class.php

示例5: dologin

 public function dologin()
 {
     if (GetSettValue('ipblock_pwd') == $_POST['password']) {
         setcookie("ipblock", 0, time() + 3600 * 6, "/");
         $this->redirect('Index/index');
     } else {
         setcookie("ipblock", 1, time() + 3600 * 6, "/");
         $this->redirect('Ipblock/login');
     }
 }
开发者ID:dalinhuang,项目名称:concourse,代码行数:10,代码来源:IpblockAction.class.php

示例6: nodelist

 public function nodelist()
 {
     if ($this->isPost()) {
         $access = $_POST['access'];
         SetSettValue('accessmode', $access);
         cleanCache();
         $this->success("修改成功!");
     }
     $this->access = GetSettValue('accessmode') ? GetSettValue('accessmode') : 'module';
     $this->display();
 }
开发者ID:dalinhuang,项目名称:concourse,代码行数:11,代码来源:NodeAction.class.php

示例7: getlist

 public function getlist()
 {
     $list = $this->order('sort desc')->findAll();
     $array = array();
     for ($row = 0; $row < count($list); $row++) {
         $status = GetSettValue($list[$row]['name'] . "_status");
         if ($status) {
             $array[] = $list[$row];
         }
     }
     return $array;
 }
开发者ID:dalinhuang,项目名称:concourse,代码行数:12,代码来源:PaymentModel.class.php

示例8: create_form

 /**
  * 新增
  */
 function create_form($list)
 {
     $this_script = "http://{$_SERVER['HTTP_HOST']}";
     $pname = "alipay";
     //支付宝
     $parameter = array("service" => "trade_create_by_buyer", "payment_type" => "1", "partner" => GetSettValue($pname . "_" . "partner"), "seller_email" => GetSettValue($pname . "_" . "seller_email"), "return_url" => $this_script, "notify_url" => $this_script . U('Payment/Pin', array("type" => "Alipay")), "_input_charset" => GetSettValue($pname . "_" . "input_charset"), "show_url" => $this_script, "out_trade_no" => $list['sn'], "subject" => $list['sn'], "body" => "无", "price" => $list['orders_total'], "quantity" => "1", "logistics_fee" => "0", "logistics_type" => "EXPRESS", "logistics_payment" => "BUYER_PAY");
     $this->setconig($parameter, GetSettValue($pname . "_security_code"), "MD5");
     //$this->mysign = "";
     $this->form .= $this->build_postform();
     $pname = get_class($this);
     if (GetSettValue($list['payment_module_code'] . '_autosubmit') == 1) {
         $delay = GetSettValue($list['payment_module_code'] . '_delay');
         $delay = $delay ? $delay : 5;
         $this->form .= $this->submit($delay);
         //是否自动提交,延迟5秒
     }
     return $this->form;
 }
开发者ID:dalinhuang,项目名称:concourse,代码行数:21,代码来源:alipay.class.php

示例9: _initialize

 function _initialize()
 {
     header("Content-Type:text/html; charset=utf-8");
     //获取国家列表
     self::$Model = D("Region");
     $this->Countries = self::$Model->where("type=0")->order('name asc')->findall();
     //主题
     if ($this->theme = GetSettValue('theme')) {
     } else {
         $this->theme = 'default';
     }
     //货币
     L('_OPERATION_SUCCESS_', "Operation Success");
     L('_OPERATION_FAIL_', 'Operation Fail');
     //$this->currencies=get_currencies_arr();
     //生产一个唯一的session id
     $this->sessionID = Session::get('sessionID');
     if (!$this->sessionID) {
         $this->sessionID = md5(uniqid(rand()));
         Session::set('sessionID', $this->sessionID);
     }
     //读取用户id
     $this->memberID = Session::get('memberID');
     if (!$this->memberID) {
         $this->memberID = 0;
         Session::set('back', $_SERVER['REQUEST_URI']);
         $this->redirect("Public/Login");
     } else {
         //读取用户信息
         $this->mid = $this->memberID;
         self::$Model = D("Members");
         $this->member_Info = $this->memberInfo = self::$Model->where("id=" . $this->memberID)->find();
         self::$Model = D("Shippingaddress");
         $this->memberShippingAddress = self::$Model->where("id=" . $this->memberID)->find();
     }
     if (F('Common_Cache')) {
         $this->assign(F('Common_Cache'));
     }
 }
开发者ID:dalinhuang,项目名称:concourse,代码行数:39,代码来源:MemberCommAction.class.php

示例10: index

 function index()
 {
     if ($this->isPost()) {
         SetSettValue('365webcall_name', rawurlencode($_POST['365webcall_name']));
         SetSettValue('365webcall_email', $_POST['365webcall_email']);
         SetSettValue('365webcall_accountid', '0594trade');
         SetSettValue('365webcall_status', $_POST['365webcall_status']);
         SetSettValue('365webcall_password', rawurlencode($_POST['365webcall_password']));
         SetSettValue('365webcall_url', $_SERVER['HTTP_HOST']);
         cleanCache();
         $this->success('操作成功!');
     } else {
         $this->name = GetSettValue('365webcall_name');
         $this->email = GetSettValue('365webcall_email');
         $this->accountid = GetSettValue('365webcall_accountid');
         $this->pwd = GetSettValue('365webcall_password');
         $this->url = GetSettValue('365webcall_url');
         $this->name2 = rawurldecode(GetSettValue('365webcall_name'));
         $this->email2 = GetSettValue('365webcall_email');
         $this->accountid2 = GetSettValue('365webcall_accountid');
         $this->pwd2 = rawurldecode(GetSettValue('365webcall_accountid'));
         $this->display();
     }
 }
开发者ID:dalinhuang,项目名称:concourse,代码行数:24,代码来源:WebcallAction.class.php

示例11: do_img

 function do_img()
 {
     header("Content-Type:text/html; charset=utf-8");
     import("ORG.Util.Image");
     $model = D('Products');
     $imagetype = $_REQUEST['imagetype'];
     switch ($imagetype) {
         case 'big':
             $field = 'bigimage';
             break;
         case 'small':
             $field = 'smallimage';
             break;
     }
     $page = $_REQUEST['page'];
     $ImgWaterPath = __ROOT__ . GetSettValue('ImgWaterPath');
     $ImgWaterPos = GetSettValue('ImgWaterPos');
     $ImageWaterAlpha = GetSettValue('ImageWaterAlpha') ? GetSettValue('ImageWaterAlpha') : 80;
     $start = $_REQUEST['start'] ? $_REQUEST['start'] : 0;
     $list = $model->limit("{$start},{$page}")->findall();
     $i = $start;
     if ($list) {
         foreach ($list as $v) {
             $image = $v[$field];
             if (file_exists(__ROOT__ . $image)) {
                 $i++;
                 $this->do_it($image, $ImgWaterPath, $ImgWaterPos, $ImageWaterAlpha, $i);
             }
         }
         redirect(U('Water/do_img', array('imagetype' => $imagetype, 'page' => $page, 'start' => $start + $page)));
     } else {
         echo "处理完毕!<br/>";
         flush();
         ob_flush();
     }
 }
开发者ID:dalinhuang,项目名称:concourse,代码行数:36,代码来源:WaterAction.class.php

示例12: __construct

 function __construct()
 {
     redirect(GetSettValue("Payments_url"), 3, 'Your order has been submitted successfully!');
 }
开发者ID:dalinhuang,项目名称:concourse,代码行数:4,代码来源:Payments.class.php

示例13: create_form

 /**
  * 新增
  */
 function create_form($list)
 {
     $pname = get_class($this);
     $this_script = "http://{$_SERVER['HTTP_HOST']}";
     $Version = '2.0.0';
     $pMerchantCode = trim(GetSettValue($pname . "_mer"));
     $pMerchantKey = trim(GetSettValue($pname . "_key"));
     $pMerchantTransactionTime = date('YmdHis');
     $pMerchantOrderNum = getOrderSN();
     $pLanguage = 'EN';
     $pOrderCurrency = 'CNY';
     $pOrderAmount = number_format($list['orders_total'] * GetSettValue($pname . "_rate"), 2, '.', '');
     $pDisplayAmount = '$' . $list['orders_total'];
     $pProductName = "Products";
     $pProductDescription = '';
     $pAttach = '';
     $pSuccessReturnUrl = $this_script;
     $pS2SReturnUrl = $this_script . U('Index/Index');
     $pResHashArithmetic = 12;
     $pResType = 1;
     $pEnableFraudGuard = 1;
     $pICPayReq = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><IPSReqRoot><ICPay><Version><![CDATA[{$Version}]]></Version><StandardPaymentReq><pMerchantOrderNum><![CDATA[{$pMerchantOrderNum}]]></pMerchantOrderNum><pOrderAmount><![CDATA[{$pOrderAmount}]]></pOrderAmount><pDisplayAmount><![CDATA[{$pDisplayAmount}]]></pDisplayAmount><pMerchantTransactionTime><![CDATA[{$pMerchantTransactionTime}]]></pMerchantTransactionTime><pOrderCurrency><![CDATA[{$pOrderCurrency}]]></pOrderCurrency><pLanguage><![CDATA[{$pLanguage}]]></pLanguage><pSuccessReturnUrl><![CDATA[{$pSuccessReturnUrl}]]></pSuccessReturnUrl><pFailReturnUrl><![CDATA[{$pFailReturnUrl}]]></pFailReturnUrl><pErrorReturnUrl><![CDATA[{$pErrorReturnUrl}]]></pErrorReturnUrl><pS2SReturnUrl><![CDATA[{$pS2SReturnUrl}]]></pS2SReturnUrl><pResType><![CDATA[{$pResType}]]></pResType><pResHashArithmetic><![CDATA[{$pResHashArithmetic}]]></pResHashArithmetic><pProductName><![CDATA[{$pProductName}]]></pProductName><pProductDescription><![CDATA[{$pProductDescription}]]></pProductDescription><pAttach><![CDATA[{$pAttach}]]></pAttach><pEnableFraudGuard><![CDATA[{$pEnableFraudGuard}]]></pEnableFraudGuard></StandardPaymentReq></ICPay></IPSReqRoot>";
     $pICPayReqB64 = base64_encode($pICPayReq);
     $pICPayReqHashValue = md5($pICPayReq . $pMerchantKey);
     //00518847228994856151214381286034373160268923638865209509623755128452179689329064232083487454640280528679651027955842303507571503
     $this->add_field('pMerchantCode', $pMerchantCode);
     //222378
     $this->add_field('pICPayReq', $pICPayReqB64);
     $this->add_field('pICPayReqHashValue', $pICPayReqHashValue);
     //反欺诈验证信息:
     //持卡人信息
     $pAccID = '';
     $pAccEMail = '';
     $pAccLoginIP = '';
     $pAccLoginDate = '';
     $pAccLoginDevice = '';
     $pAccRegisterDate = '';
     $pAccRegisterDevice = '';
     $pAccRegisterIP = '';
     //帐单信息
     $pBillFName = $_POST['pBillFName'];
     $pBillMName = $_POST['pBillMName'];
     $pBillLName = $_POST['pBillLName'];
     $pBillStreet = $_POST['pBillStreet'];
     $pBillCity = $_POST['pBillCity'];
     $pBillState = $_POST['pBillState'];
     $pBillCountry = strtolower($_POST['pBillCountry']);
     //请使用国家/地区的小写二字英文代码
     $pBillZIP = $_POST['pBillZIP'];
     $pBillEmail = $_POST['pBillEmail'];
     $pBillPhone = $_POST['pBillPhone'];
     //产品信息
     $pProductData1 = $_POST['pProductData1'];
     $pProductData2 = $_POST['pProductData2'];
     $pProductData3 = $_POST['pProductData3'];
     $pProductData4 = $_POST['pProductData4'];
     $pProductData5 = $_POST['pProductData5'];
     $pProductData6 = $_POST['pProductData6'];
     $pProductType = $_POST['pProductType'];
     //货运信息
     $pShipFName = $_POST['pShipFName'];
     $pShipMName = $_POST['pShipMName'];
     $pShipLName = $_POST['pShipLName'];
     $pShipStreet = $_POST['pShipStreet'];
     $pShipCity = $_POST['pShipCity'];
     $pShipState = $_POST['pShipState'];
     $pShipCountry = strtolower($_POST['pShipCountry']);
     //请使用国家/地区的小写二字英文代码
     $pShipZIP = $_POST['pShipZIP'];
     $pShipEmail = $_POST['pShipEmail'];
     $pShipPhone = $_POST['pShipPhone'];
     //使用接口版本号(*):请固定使用“1.0.0”
     $fVersion = '1.0.0';
     //指定使用验证规则库的编号,默认为1
     $pCheckRuleBaseID = '1';
     //反欺诈信息按接口文档中格式写成XML(*)
     $pAFSReq = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><IPSReqRoot><AFS><Version><![CDATA[{$fVersion}]]></Version><cBasicParameters><pCheckRuleBaseID><![CDATA[{$pCheckRuleBaseID}]]></pCheckRuleBaseID></cBasicParameters><StandardPaymentReq><cBillParameters><pBillFName><![CDATA[{$pBillFName}]]></pBillFName><pBillMName><![CDATA[{$pBillMName}]]></pBillMName><pBillLName><![CDATA[{$pBillLName}]]></pBillLName><pBillStreet><![CDATA[{$pBillStreet}]]></pBillStreet><pBillCity><![CDATA[{$pBillCity}]]></pBillCity><pBillState><![CDATA[{$pBillState}]]></pBillState><pBillCountry><![CDATA[{$pBillCountry}]]></pBillCountry><pBillZIP><![CDATA[{$pBillZIP}]]></pBillZIP><pBillEmail><![CDATA[{$pBillEmail}]]></pBillEmail><pBillPhone><![CDATA[{$pBillPhone}]]></pBillPhone></cBillParameters><cShipParameters><pShipFName><![CDATA[{$pShipFName}]]></pShipFName><pShipMName><![CDATA[{$pShipMName}]]></pShipMName><pShipLName><![CDATA[{$pShipLName}]]></pShipLName><pShipStreet><![CDATA[{$pShipStreet}]]></pShipStreet><pShipCity><![CDATA[{$pShipCity}]]></pShipCity><pShipState><![CDATA[{$pShipState}]]></pShipState><pShipCountry><![CDATA[{$pShipCountry}]]></pShipCountry><pShipZIP><![CDATA[{$pShipZIP}]]></pShipZIP><pShipEmail><![CDATA[{$pShipEmail}]]></pShipEmail><pShipPhone><![CDATA[{$pShipPhone}]]></pShipPhone></cShipParameters><cProductParameters><pProductType><![CDATA[{$pProductType}]]></pProductType><pProductName><![CDATA[{$pProductName}]]></pProductName><pProductData1><![CDATA[{$pProductData1}]]></pProductData1><pProductData2><![CDATA[{$pProductData2}]]></pProductData2><pProductData3><![CDATA[{$pProductData3}]]></pProductData3><pProductData4><![CDATA[{$pProductData4}]]></pProductData4><pProductData5><![CDATA[{$pProductData5}]]></pProductData5><pProductData6><![CDATA[{$pProductData6}]]></pProductData6></cProductParameters><cAccountParameters><pAccID><![CDATA[{$pAccID}]]></pAccID><pAccEMail><![CDATA[{$pAccEMail}]]></pAccEMail><pAccRegisterIP><![CDATA[{$pAccRegisterIP}]]></pAccRegisterIP><pAccLoginIP><![CDATA[{$pAccLoginIP}]]></pAccLoginIP><pAccRegisterDate><![CDATA[{$pAccRegisterDate}]]></pAccRegisterDate><pAccLoginDate><![CDATA[{$pAccLoginDate}]]></pAccLoginDate><pAccRegisterDevice><![CDATA[{$pAccRegisterDevice}]]></pAccRegisterDevice><pAccLoginDevice><![CDATA[{$pAccLoginDevice}]]></pAccLoginDevice></cAccountParameters></StandardPaymentReq></AFS></IPSReqRoot>";
     //对反欺诈信息进行base64_encode(*)
     $pAFSReqB64 = base64_encode($pAFSReq);
     //反欺诈签名验证串(*):MD5原文=反欺诈信息+商户证书
     $pAFSReqHashValue = md5($pAFSReq . $pMerchantKey);
     $this->add_field('pAFSReq', $pAFSReqB64);
     $this->add_field('pAFSReqHashValue', $pAFSReqHashValue);
     $this->form .= "<form method=\"post\" name=\"pay_form\" ";
     $this->form .= "action=\"" . $this->submit_url . "\">\n";
     foreach ($this->fields as $name => $value) {
         $this->form .= "<input type=\"hidden\" name=\"{$name}\" value=\"{$value}\"/>\n";
     }
     $this->form .= "</form>\n";
     if (GetSettValue($list['payment_module_code'] . '_autosubmit') == 1) {
         $delay = GetSettValue($list['payment_module_code'] . '_delay');
         $delay = $delay ? $delay : 5;
         $this->form .= $this->submit($delay);
         //是否自动提交,延迟5秒
     }
     return $this->form;
 }
开发者ID:dalinhuang,项目名称:concourse,代码行数:100,代码来源:ips.class.php

示例14: GetSettValue

		auto:2000
	});
});
</script>
</head>





<body>

  <div id="page">
    <div id="header">
      <div class="logo"><a href="/"><img src="__ROOT__/<?php 
echo GetSettValue('sitelogo');
?>
" alt="" border="0" /></a></div>
      <div class="top">
        <div class="shopping">
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="100">&nbsp;</td>
    <td width="100" align="left">
      <a href="<?php 
echo U('Cart/disp');
?>
">Shopping Cart</a><br />Now in your cart<br /><a href="<?php 
echo U('Cart/disp');
?>
" style="color:#CC9900"><?php 
开发者ID:dalinhuang,项目名称:concourse,代码行数:31,代码来源:c442ea0bb30eacc488af3453f1c8b3cc.php

示例15: Boolean

} else {
    echo "";
}
?>
            
            
          </div>
        </div>
      </div>

<link rel="stylesheet" rev="stylesheet" href="../Public/css/fancybox/jquery.fancybox-1.3.4.css" />
<link rel="stylesheet" rev="stylesheet" href="../Public/Js/disp.css" />
<script language="JavaScript" type="text/javascript" src="../Public/css/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
<script type="text/javascript">
var isAjaxLogin = Boolean(parseInt("<?php 
echo GetSettValue('isAjaxLogin');
?>
"));
var CartUrl='<?php 
echo U('Cart/disp');
?>
';
</script>
<script language="JavaScript" type="text/javascript" src="../Public/Js/jqdisp.js"></script>
  

 <div class="col2">
        <div class="list1">
          <div class="list1_title"><a href="/">Home</a> <?php 
if (is_array($catep)) {
    $i = 0;
开发者ID:dalinhuang,项目名称:concourse,代码行数:31,代码来源:4e0d5b760c9bf2a35c145acffe043b97.php


注:本文中的GetSettValue函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。