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


PHP kekezu::k_input方法代码示例

本文整理汇总了PHP中kekezu::k_input方法的典型用法代码示例。如果您正苦于以下问题:PHP kekezu::k_input方法的具体用法?PHP kekezu::k_input怎么用?PHP kekezu::k_input使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在kekezu的用法示例。


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

示例1: pub_task

 public function pub_task()
 {
     $release_info = kekezu::k_input($this->_std_obj->_release_info);
     $task_obj = $this->_task_obj;
     $this->public_pubtask();
     if ($release_info['budget_radio'] == '2') {
         $task_cash = $release_info['txt_budget'];
         $task_obj->setBudget($release_info['txt_budget']);
         $task_obj->setTask_cash_coverage(0);
     } else {
         $cash_cove = $this->_cash_cove;
         $cove = $cash_cove[$release_info['task_cash_cove']];
         $task_cash = $cove['end_cove'];
         $task_cash or $task_cash = $cove['start_cove'];
         $task_obj->setTask_cash_coverage($release_info['task_cash_cove']);
         $task_obj->setBudget(0);
     }
     $task_obj->setTask_cash($task_cash);
     $task_id = $task_obj->create_keke_witkey_task();
     return $task_id;
 }
开发者ID:huangbinzd,项目名称:kppwGit,代码行数:21,代码来源:tender_release_class.php

示例2: dirname

<?php

require dirname(__FILE__) . DIRECTORY_SEPARATOR . 'lib/inc/keke_base_class.php';
require dirname(__FILE__) . DIRECTORY_SEPARATOR . 'lib/inc/keke_core_class.php';
$basic_config = $kekezu->_sys_config;
$model_list = $kekezu->_model_list;
$nav_list = $kekezu->_nav_list;
if ((bool) ini_get('safe_mode') == true) {
    ini_set('safe_mode', 'Off');
}
if ((bool) get_magic_quotes_runtime() == true) {
    ini_set('magic_quotes_runtime', 'Off');
}
$exec_time_traver = kekezu::exec_js('get');
!isset($exec_time_traver) || $exec_time_traver < time() and $exec_time_traver = true or $exec_time_traver = false;
$_R = $_REQUEST;
$_R = kekezu::k_input($_R);
$_GET = kekezu::k_input($_GET);
$_POST = kekezu::k_input($_POST);
$_R and extract($_R, EXTR_SKIP);
isset($inajax) and $_K['inajax'] = $inajax;
unset($uid, $username);
开发者ID:pengfeiaaa,项目名称:web,代码行数:22,代码来源:app_comm.php

示例3: defined

<?php

defined('ADMIN_KEKE') or exit('Access Denied');
kekezu::admin_check_role(220);
$lang_arr = keke_lang_class::lang_type();
$url = 'index.php?do=config&view=enclosure';
$objBasicConfigT = new Keke_witkey_basic_config_class();
$config_basic_arr = $objBasicConfigT->query_keke_witkey_basic_config();
foreach ($config_basic_arr as $k => $v) {
    $arrBasicConfig[$v['k']] = $v['v'];
}
if (isset($_POST) && !empty($_POST)) {
    if ($_POST['upload_type'] == '1') {
        unset($_POST['access_key']);
        unset($_POST['secret_key']);
        unset($_POST['qn_bucket']);
        unset($_POST['qn_domain']);
    } else {
        $res = kekezu::check_upload_access($_POST['access_key'], $_POST['secret_key'], $_POST['qn_bucket']);
        !$res and kekezu::admin_show_msg('请核对AccessKey、SecretKey和bucket是否准确!', $url, 3, '', 'warning');
    }
    foreach ($_POST as $k => $v) {
        $objBasicConfigT->setWhere("k = '{$k}'");
        $objBasicConfigT->setV(kekezu::k_input($v));
        $res += $objBasicConfigT->edit_keke_witkey_basic_config();
    }
    kekezu::admin_show_msg('提交成功', $url, 3, '', 'success');
}
require $template_obj->template(ADMIN_DIRECTORY . '/tpl/admin_config_' . $view);
开发者ID:huangbinzd,项目名称:kppwGit,代码行数:29,代码来源:admin_config_enclosure.php

示例4: set_task_ext_config

 public static function set_task_ext_config($model_id, $conf = array())
 {
     return db_factory::execute(sprintf(" update %switkey_model set config='%s' where model_id='%d'", TABLEPRE, kekezu::k_input(serialize($conf)), $model_id));
 }
开发者ID:pengfeiaaa,项目名称:web,代码行数:4,代码来源:keke_task_config.php

示例5: array

    if ($s == 'close') {
        db_factory::updatetable(TABLEPRE . 'witkey_basic_config', array('v' => 'close'), array('k' => 'sms_interface'));
        db_factory::updatetable(TABLEPRE . 'witkey_auth_item', array('auth_open' => 0), array('auth_code' => 'mobile'));
    } elseif ($s == 'open') {
        db_factory::updatetable(TABLEPRE . 'witkey_basic_config', array('v' => 'open'), array('k' => 'sms_interface'));
    }
}
$authOpen = db_factory::get_one('select auth_open from ' . TABLEPRE . 'witkey_auth_item where auth_code="mobile"');
if (isset($_POST) && !empty($_POST)) {
    if ($_POST['sms_switch'] == 'close') {
        unset($_POST['mobile_username']);
        unset($_POST['mobile_password']);
    }
    foreach ($_POST as $k => $v) {
        $config_basic_obj->setWhere("k = '{$k}'");
        $config_basic_obj->setV(kekezu::k_input($v));
        $res += $config_basic_obj->edit_keke_witkey_basic_config();
    }
    if ($_POST['credit_is_allow'] == 2) {
        foreach ($model_list as $k => $v) {
            $config = unserialize($v['config']);
            $config['defeated'] = '1';
            keke_task_config::set_task_ext_config($v['model_id'], $config);
        }
    }
    kekezu::admin_system_log($_lang['update'] . $log_nav_arr[$op]);
    $kekezu->_cache_obj->set("keke_witkey_basic_config", $config_basic_arr);
    kekezu::admin_show_msg($_lang['submit_success'], $url, 3, '', 'success');
}
function get_url_rule()
{
开发者ID:huangbinzd,项目名称:kppwGit,代码行数:31,代码来源:admin_config_basic.php

示例6: Keke_witkey_basic_config_class

<?php

if ($op == 'change') {
    $objBasicConfig = new Keke_witkey_basic_config_class();
    $objBasicConfig->setWhere("k = 'sitecss'");
    $objBasicConfig->setV(kekezu::k_input($css));
    $res = $objBasicConfig->edit_keke_witkey_basic_config();
    $_SESSION['showcolor'] = strval($color);
    if ($res) {
        kekezu::echojson('', 1, '');
    }
}
die;
开发者ID:huangbinzd,项目名称:kppwGit,代码行数:13,代码来源:changecss.php

示例7: elseif

         if ($ac == 'del') {
             $pay_api_obj->setWhere(" payment='{$payment}'");
             $res = $pay_api_obj->del_keke_witkey_pay_api();
             $res and kekezu::admin_show_msg($_lang['delete_success'], "index.php?do=config&view=pay&op=offline", "3", '', 'success') or kekezu::admin_show_msg($_lang['delete_fail'], "index.php?do=config&view=pay&op=offline", "3", '', 'warning');
         } elseif ($confirm) {
             $config = serialize($conf);
             if ($ac == 'edit') {
                 $pay_api_obj->setWhere(" payment='{$payment}'");
                 $pay_api_obj->setConfig(kekezu::k_input($config));
                 $res = $pay_api_obj->edit_keke_witkey_pay_api();
                 kekezu::admin_system_log($_lang['edit'] . $payment);
             } else {
                 if (!db_factory::get_count(sprintf(" select payment from %switkey_pay_api where payment='%s'", TABLEPRE, $payment))) {
                     $pay_api_obj->setPayment($payment);
                     $pay_api_obj->setType('offline');
                     $pay_api_obj->setConfig(kekezu::k_input($config));
                     $res = $pay_api_obj->create_keke_witkey_pay_api();
                     kekezu::admin_system_log($_lang['create'] . $payment);
                 }
             }
             kekezu::empty_cache();
             $res and kekezu::admin_show_msg($_lang['edit_add_success'], "index.php?do=config&view=pay&op=offline", "3", '', 'success') or kekezu::admin_show_msg($_lang['edit_add_fail'], "index.php?do=config&view=pay&op=offline", "3", '', 'warning');
         }
         require $template_obj->template(ADMIN_DIRECTORY . '/tpl/admin_config_' . $view . '_offline');
         die;
     }
     break;
 case "disable":
     $pay_api_obj = keke_table_class::get_instance("witkey_pay_api");
     $payment_list = kekezu::get_table_data("*", "witkey_pay_api", "", '', '', '', 'payment');
     $payment_config = $payment_list[$payname];
开发者ID:huangbinzd,项目名称:kppwGit,代码行数:31,代码来源:admin_config_pay.php


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