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


PHP exchange::get_name方法代码示例

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


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

示例1: array

    $sort_flag = sort_flag($goods_list['filter']);
    $smarty->assign($sort_flag['tag'], $sort_flag['img']);
    /* 获取商品类型存在规格的类型 */
    $specifications = get_goods_type_specifications();
    $smarty->assign('specifications', $specifications);
    make_json_result($smarty->fetch($tpl), '', array('filter' => $goods_list['filter'], 'page_count' => $goods_list['page_count']));
} elseif ($_REQUEST['act'] == 'remove') {
    $goods_id = intval($_REQUEST['id']);
    /*add by hg for date 2014-03-26 判断代理商是否非法操作商品*/
    static_goods($_REQUEST['goods_id']);
    /*end*/
    /* 检查权限 */
    check_authz_json('remove_back');
    if ($exc->edit("is_delete = 1", $goods_id)) {
        clear_cache_files();
        $goods_name = $exc->get_name($goods_id);
        admin_log(addslashes($goods_name), 'trash', 'goods');
        // 记录日志
        $url = 'goods.php?act=query&' . str_replace('act=remove', '', $_SERVER['QUERY_STRING']);
        ecs_header("Location: {$url}\n");
        exit;
    }
} elseif ($_REQUEST['act'] == 'restore_goods') {
    $goods_id = intval($_REQUEST['id']);
    check_authz_json('remove_back');
    // 检查权限
    $exc->edit("is_delete = 0, add_time = '" . gmtime() . "'", $goods_id);
    clear_cache_files();
    $goods_name = $exc->get_name($goods_id);
    admin_log(addslashes($goods_name), 'restore', 'goods');
    // 记录日志
开发者ID:dlpc,项目名称:ecshop,代码行数:31,代码来源:goods.php

示例2: VALUES

    }
    $sql = "INSERT INTO " . $ecs->table('user_rank') . "( " . "rank_name, min_points, max_points, discount, special_rank, show_price" . ") VALUES (" . "'{$_POST['rank_name']}', '" . intval($_POST['min_points']) . "', '" . intval($_POST['max_points']) . "', " . "'{$_POST['discount']}', '{$special_rank}', '" . intval($_POST['show_price']) . "')";
    $db->query($sql);
    /* 管理员日志 */
    admin_log(trim($_POST['rank_name']), 'add', 'user_rank');
    clear_cache_files();
    $lnk[] = array('text' => $_LANG['back_list'], 'href' => 'user_rank.php?act=list');
    $lnk[] = array('text' => $_LANG['add_continue'], 'href' => 'user_rank.php?act=add');
    sys_msg($_LANG['add_rank_success'], 0, $lnk);
} elseif ($_REQUEST['act'] == 'remove') {
    check_authz_json('user_rank');
    $rank_id = intval($_GET['id']);
    if ($exc->drop($rank_id)) {
        /* 更新会员表的等级字段 */
        $exc_user->edit("user_rank = 0", $rank_id);
        $rank_name = $exc->get_name($rank_id);
        admin_log(addslashes($rank_name), 'remove', 'user_rank');
        clear_cache_files();
    }
    $url = 'user_rank.php?act=query&' . str_replace('act=remove', '', $_SERVER['QUERY_STRING']);
    ecs_header("Location: {$url}\n");
    exit;
} elseif ($_REQUEST['act'] == 'edit_name') {
    $id = intval($_REQUEST['id']);
    $val = empty($_REQUEST['val']) ? '' : json_str_iconv(trim($_REQUEST['val']));
    check_authz_json('user_rank');
    if ($exc->is_only('rank_name', $val, $id)) {
        if ($exc->edit("rank_name = '{$val}'", $id)) {
            /* 管理员日志 */
            admin_log($val, 'edit', 'user_rank');
            clear_cache_files();
开发者ID:dw250100785,项目名称:ECShop-1,代码行数:31,代码来源:user_rank.php

示例3: array

        $db->query($sql);
        /* 记录日志 */
        admin_log('', 'batch_remove', 'attribute');
        clear_cache_files();
        $link[] = array('text' => $_LANG['back_list'], 'href' => 'attribute.php?act=list');
        sys_msg(sprintf($_LANG['drop_ok'], $count), 0, $link);
    } else {
        $link[] = array('text' => $_LANG['back_list'], 'href' => 'attribute.php?act=list');
        sys_msg($_LANG['no_select_arrt'], 0, $link);
    }
} elseif ($_REQUEST['act'] == 'edit_attr_name') {
    check_authz_json('attr_manage');
    $id = intval($_POST['id']);
    $val = json_str_iconv(trim($_POST['val']));
    /* 取得该属性所属商品类型id */
    $cat_id = $exc->get_name($id, 'cat_id');
    /* 检查属性名称是否重复 */
    if (!$exc->is_only('attr_name', $val, $id, " cat_id = '{$cat_id}'")) {
        make_json_error($_LANG['name_exist']);
    }
    $exc->edit("attr_name='{$val}'", $id);
    admin_log($val, 'edit', 'attribute');
    make_json_result(stripslashes($val));
} elseif ($_REQUEST['act'] == 'edit_sort_order') {
    check_authz_json('attr_manage');
    $id = intval($_POST['id']);
    $val = intval($_POST['val']);
    $exc->edit("sort_order='{$val}'", $id);
    admin_log(addslashes($exc->get_name($id)), 'edit', 'attribute');
    make_json_result(stripslashes($val));
} elseif ($_REQUEST['act'] == 'remove') {
开发者ID:norain2050,项目名称:mhFault,代码行数:31,代码来源:attribute.php

示例4: array

            $i++;
        }
        /* 记录管理员操作 */
        admin_log('', 'batch_remove', 'shipping_area');
    }
    /* 返回 */
    $links[0] = array('href' => 'shipping_area.php?act=list&shipping=' . intval($_REQUEST['shipping']), 'text' => $_LANG['go_back']);
    sys_msg($_LANG['remove_success'], 0, $links);
} elseif ($_REQUEST['act'] == 'edit_area') {
    /* 检查权限 */
    check_authz_json('shiparea_manage');
    /* 取得参数 */
    $id = intval($_POST['id']);
    $val = json_str_iconv(trim($_POST['val']));
    /* 取得该区域所属的配送id */
    $shipping_id = $exc->get_name($id, 'shipping_id');
    /* 检查是否有重复的配送区域名称 */
    if (!$exc->is_only('shipping_area_name', $val, $id, "shipping_id = '{$shipping_id}'")) {
        make_json_error($_LANG['repeat_area_name']);
    }
    /* 更新名称 */
    $exc->edit("shipping_area_name = '{$val}'", $id);
    /* 记录日志 */
    admin_log($val, 'edit', 'shipping_area');
    /* 返回 */
    make_json_result(stripcslashes($val));
} elseif ($_REQUEST['act'] == 'remove_area') {
    check_authz_json('shiparea_manage');
    $id = intval($_GET['id']);
    $name = $exc->get_name($id);
    $shipping_id = $exc->get_name($id, 'shipping_id');
开发者ID:Ryan007,项目名称:mybb,代码行数:31,代码来源:shipping_area.php

示例5: intval

    check_authz_json('article_manage');
    $id = intval($_POST['id']);
    $val = intval($_POST['val']);
    $exc->edit("article_type = '{$val}'", $id);
    clear_cache_files();
    make_json_result($val);
} elseif ($_REQUEST['act'] == 'remove') {
    check_authz_json('article_manage');
    $id = intval($_GET['id']);
    /* 删除原来的文件 */
    $sql = "SELECT file_url FROM " . $ecs->table('article') . " WHERE article_id = '{$id}'";
    $old_url = $db->getOne($sql);
    if ($old_url != '' && strpos($old_url, 'http://') === false && strpos($old_url, 'https://') === false) {
        @unlink(ROOT_PATH . $old_url);
    }
    $name = $exc->get_name($id);
    if ($exc->drop($id)) {
        $db->query("DELETE FROM " . $ecs->table('comment') . " WHERE " . "comment_type = 1 AND id_value = {$id}");
        admin_log(addslashes($name), 'remove', 'article');
        clear_cache_files();
    }
    $url = 'article.php?act=query&' . str_replace('act=remove', '', $_SERVER['QUERY_STRING']);
    ecs_header("Location: {$url}\n");
    exit;
} elseif ($_REQUEST['act'] == 'add_link_goods') {
    include_once ROOT_PATH . 'includes/cls_json.php';
    $json = new JSON();
    check_authz_json('article_manage');
    $add_ids = $json->decode($_GET['add_ids']);
    $args = $json->decode($_GET['JSON']);
    $article_id = $args[0];
开发者ID:norain2050,项目名称:mhFault,代码行数:31,代码来源:article.php

示例6: elseif

    assign_query_info();
    $msg_list = msg_list1();
    $smarty->assign('msg_list', $msg_list['msg_list']);
    $smarty->assign('filter', $msg_list['filter']);
    $smarty->assign('record_count', $msg_list['record_count']);
    $smarty->assign('page_count', $msg_list['page_count']);
    $smarty->assign('full_page', 1);
    $smarty->assign('sort_msg_id', '<img src="images/sort_desc.gif">');
    $smarty->assign('ur_here', $_LANG['msg']);
    $smarty->assign('full_page', 1);
    $smarty->display('msg.htm');
} elseif ($_REQUEST['act'] == 'remove') {
    $msg_id = intval($_REQUEST['id']);
    /* 检查权限 */
    // check_authz_json('fankui_priv');
    $msg_title = $exc->get_name($msg_id);
    if ($exc->drop($msg_id)) {
        $sql = "DELETE FROM " . $ecs->table('fankui') . " WHERE msg_id = '{$msg_id}' LIMIT 1";
        $db->query($sql, 'SILENT');
        admin_log(addslashes($msg_title), 'remove', 'message');
        $url = 'msg.php?act=query&' . str_replace('act=remove', '', $_SERVER['QUERY_STRING']);
        ecs_header("Location: {$url}\n");
        exit;
    } else {
        make_json_error($GLOBALS['db']->error());
    }
}
/**
 *
 *
 * @access  public
开发者ID:norain2050,项目名称:benhu,代码行数:31,代码来源:msg.php

示例7: shopinfo_article_list

    $title = json_str_iconv(trim($_POST['val']));
    /* 检查文章标题是否有重名 */
    if ($exc->num('title', $title, $id) == 0) {
        if ($exc->edit("title = '{$title}'", $id)) {
            clear_cache_files();
            admin_log($title, 'edit', 'shopinfo');
            make_json_result(stripslashes($title));
        }
    } else {
        make_json_error(sprintf($_LANG['title_exist'], $title));
    }
} elseif ($_REQUEST['act'] == 'remove') {
    check_authz_json('shopinfo_manage');
    $id = intval($_GET['id']);
    /* 获得文章主题 */
    $title = $exc->get_name($id);
    if ($exc->drop($id)) {
        clear_cache_files();
        admin_log(addslashes($title), 'remove', 'shopinfo');
    }
    $url = 'shopinfo.php?act=query&' . str_replace('act=remove', '', $_SERVER['QUERY_STRING']);
    ecs_header("Location: {$url}\n");
    exit;
}
/* 获取网店信息文章数据 */
function shopinfo_article_list()
{
    $list = array();
    $sql = 'SELECT article_id, title ,add_time' . ' FROM ' . $GLOBALS['ecs']->table('article') . ' WHERE cat_id = 0 ORDER BY article_id';
    $res = $GLOBALS['db']->query($sql);
    while ($rows = $GLOBALS['db']->fetchRow($res)) {
开发者ID:nirvana-info,项目名称:old_bak,代码行数:31,代码来源:shopinfo.php

示例8: elseif

    $smarty->assign('full_page', 1);
    $smarty->display('msg_list.htm');
} elseif ($_REQUEST['act'] == 'query') {
    $msg_list = msg_list();
    $smarty->assign('msg_list', $msg_list['msg_list']);
    $smarty->assign('filter', $msg_list['filter']);
    $smarty->assign('record_count', $msg_list['record_count']);
    $smarty->assign('page_count', $msg_list['page_count']);
    $sort_flag = sort_flag($msg_list['filter']);
    $smarty->assign($sort_flag['tag'], $sort_flag['img']);
    make_json_result($smarty->fetch('msg_list.htm'), '', array('filter' => $msg_list['filter'], 'page_count' => $msg_list['page_count']));
} elseif ($_REQUEST['act'] == 'remove') {
    $msg_id = intval($_REQUEST['id']);
    /* 检查权限 */
    check_authz_json('feedback_priv');
    $msg_title = $exc->get_name($msg_id);
    $img = $exc->get_name($msg_id, 'message_img');
    if ($exc->drop($msg_id)) {
        /* 删除图片 */
        if (!empty($img)) {
            @unlink(ROOT_PATH . DATA_DIR . '/feedbackimg/' . $img);
        }
        $sql = "DELETE FROM " . $ecs->table('feedback') . " WHERE parent_id = '{$msg_id}' LIMIT 1";
        $db->query($sql, 'SILENT');
        admin_log(addslashes($msg_title), 'remove', 'message');
        $url = 'user_msg.php?act=query&' . str_replace('act=remove', '', $_SERVER['QUERY_STRING']);
        ecs_header("Location: {$url}\n");
        exit;
    } else {
        make_json_error($GLOBALS['db']->error());
    }
开发者ID:YangZeSummer,项目名称:NanJingSecond-Hand,代码行数:31,代码来源:user_msg.php

示例9: empty

}
/*------------------------------------------------------ */
//-- 列出所有主仓库
/*------------------------------------------------------ */
if ($_REQUEST['act'] == 'list') {
    admin_priv('store_manage');
    /* 取得参数 */
    $keyword = empty($_REQUEST['keyword']) ? 0 : trim($_REQUEST['keyword']);
    $parent_id = empty($_REQUEST['pid']) ? 0 : intval($_REQUEST['pid']);
    $smarty->assign('parent_id', $parent_id);
    /* 获取仓库列表 */
    $store_arr = store_list($keyword);
    $smarty->assign('store_arr', $store_arr);
    /* 当前的地区名称 */
    if ($region_id > 0) {
        $area_name = $exc->get_name($region_id);
        $area = '[ ' . $area_name . ' ] ';
        if ($region_arr) {
            $area .= $region_arr[0]['type'];
        }
    } else {
        $area = $_LANG['country'];
    }
    $smarty->assign('area_here', $area);
    /* 返回上一级的链接 */
    if ($region_id > 0) {
        $parent_id = $exc->get_name($region_id, 'parent_id');
        $action_link = array('text' => $_LANG['back_page'], 'href' => 'area_manage.php?act=list&&pid=' . $parent_id);
    } else {
        $action_link = '';
    }
开发者ID:moonlight-wang,项目名称:feilun,代码行数:31,代码来源:store_manage.php

示例10: elseif

    $ad_name = json_str_iconv(trim($_POST['val']));
    /* 检查广告名称是否重复 */
    if ($exc->num('ad_name', $ad_name, $id) != 0) {
        make_json_error(sprintf($_LANG['ad_name_exist'], $ad_name));
    } else {
        if ($exc->edit("ad_name = '{$ad_name}'", $id)) {
            admin_log($ad_name, 'edit', 'ads');
            make_json_result(stripslashes($ad_name));
        } else {
            make_json_error($db->error());
        }
    }
} elseif ($_REQUEST['act'] == 'remove') {
    check_authz_json('ad_manage');
    $id = intval($_GET['id']);
    $img = $exc->get_name($id, 'img');
    $exc->drop($id);
    if (strpos($img, 'http://') === false) {
        if (!$db->getOne("SELECT id FROM " . $ecs->table('ad_new') . " WHERE img ='{$img}' AND id<>{$id}")) {
            @unlink('../' . $img);
        }
    }
    admin_log('', 'remove', 'ads');
    $url = 'new_ads.php?act=query&' . str_replace('act=remove', '', $_SERVER['QUERY_STRING']);
    ecs_header("Location: {$url}\n");
    exit;
} elseif ($_REQUEST['act'] == 'query') {
    $ads_list = get_newadslist();
    $smarty->assign('ads_list', $ads_list['ads']);
    $smarty->assign('filter', $ads_list['filter']);
    $smarty->assign('record_count', $ads_list['record_count']);
开发者ID:dlpc,项目名称:ecshop,代码行数:31,代码来源:new_ads.php

示例11: htmlspecialchars

    } else {
        make_json_error(sprintf($_LANG['tag_name_exists'], htmlspecialchars($val)));
    }
}
/*------------------------------------------------------ */
//-- 切换是否推荐
/*------------------------------------------------------ */
if ($_REQUEST['act'] == 'toggle_is_groom') {
    check_authz_json('supplier_tag');
    $id = intval($_REQUEST['id']);
    $val = intval($_REQUEST['val']);
    if ($exc->edit("is_groom = '{$val}'", $id)) {
        make_json_result($val);
    } else {
        make_json_error($db->error());
    }
} elseif ($_REQUEST['act'] == 'edit_sort') {
    check_authz_json('supplier_tag');
    $tag_id = empty($_REQUEST['id']) ? 0 : intval($_REQUEST['id']);
    $val = empty($_REQUEST['val']) ? 0 : intval($_REQUEST['val']);
    if ($val < 0 || $val > 255) {
        make_json_error($_LANG['js_languages']['sort_order_invalid']);
    }
    if ($exc->edit("sort_order = '{$val}'", $tag_id)) {
        $rank_name = $exc->get_name($tag_id);
        clear_cache_files();
        make_json_result($val);
    } else {
        make_json_error($val);
    }
}
开发者ID:seanguo166,项目名称:yinoos,代码行数:31,代码来源:supplier_tag.php

示例12: elseif

    if ($exc->num('link_name', $link_name, $id) != 0) {
        make_json_error(sprintf($_LANG['link_name_exist'], $link_name));
    } else {
        if ($exc->edit("link_name = '{$link_name}'", $id)) {
            admin_log($link_name, 'edit', 'friendlink');
            clear_cache_files();
            make_json_result(stripslashes($link_name));
        } else {
            make_json_error($db->error());
        }
    }
} elseif ($_REQUEST['act'] == 'remove') {
    check_authz_json('friendlink');
    $id = intval($_GET['id']);
    /* 获取链子LOGO,并删除 */
    $link_logo = $exc->get_name($id, 'link_logo');
    if (strpos($link_logo, 'http://') === false && strpos($link_logo, 'https://') === false) {
        $img_name = basename($link_logo);
        @unlink(ROOT_PATH . DATA_DIR . '/afficheimg/' . $img_name);
    }
    $exc->drop($id);
    clear_cache_files();
    admin_log('', 'remove', 'friendlink');
    $url = 'friend_link.php?act=query&' . str_replace('act=remove', '', $_SERVER['QUERY_STRING']);
    ecs_header("Location: {$url}\n");
    exit;
} elseif ($_REQUEST['act'] == 'edit_show_order') {
    check_authz_json('friendlink');
    $id = intval($_POST['id']);
    $order = json_str_iconv(trim($_POST['val']));
    /* 检查输入的值是否合法 */
开发者ID:netroby,项目名称:ecshop,代码行数:31,代码来源:friend_link.php

示例13: elseif

            $info['img_file'] = $image->upload_image($img_file, '');
        }
        if (!$info['img_file']) {
            sys_msg('上传图片失败', 1);
        }
    }
    $db->autoExecute($ecs->table('information'), $info, 'update', "info_id = {$info_id}");
    /* 记录管理员操作 */
    admin_log($_POST['info_cat'], 'edit', 'information');
    clear_cache_files();
    // 清除模版缓存
    sys_msg($_LANG['edit'] . ' ' . $info['title_describe'] . ' ' . $_LANG['attradd_succed'], 0, $link, false);
} elseif ($_REQUEST['act'] == 'remove') {
    check_authz_json('information');
    $id = intval($_GET['id']);
    $img_file = $exc->get_name($id, 'img_file');
    $exc->drop($id);
    if (strpos($img_file, 'http://') === false) {
        @unlink('../' . $img_file);
    }
    admin_log('', 'remove', 'information_category');
    echo $url = "information.php?act=query&" . str_replace('act=remove', '', $_SERVER['QUERY_STRING']);
    ecs_header("Location: {$url}\n");
    exit;
} elseif ($_REQUEST['act'] == 'query') {
    $info_list = get_info_list();
    $smarty->assign('info_lists', $info_list['info']);
    $smarty->assign('filter', $info_list['filter']);
    $smarty->assign('record_count', $info_list['record_count']);
    $smarty->assign('page_count', $info_list['page_count']);
    make_json_result($smarty->fetch('information_list.htm'), '', array('filter' => $info_list['filter'], 'page_count' => $info_list['page_count']));
开发者ID:dlpc,项目名称:ecshop,代码行数:31,代码来源:information.php

示例14: trim

    admin_priv('reg_fields');
    /* 检查是否存在重名的会员注册项 */
    if ($_POST['reg_field_name'] != $_POST['old_field_name'] && !$exc->is_only('reg_field_name', trim($_POST['reg_field_name']))) {
        sys_msg(sprintf($_LANG['field_name_exist'], trim($_POST['reg_field_name'])), 1);
    }
    $sql = "UPDATE " . $ecs->table('reg_fields') . " SET `reg_field_name` = '{$_POST['reg_field_name']}', `dis_order` = '{$_POST['reg_field_order']}', `display` = '{$_POST['reg_field_display']}', `is_need` = '{$_POST['reg_field_need']}' WHERE `id` = '{$_POST['id']}'";
    $db->query($sql);
    /* 管理员日志 */
    admin_log(trim($_POST['reg_field_name']), 'edit', 'reg_fields');
    clear_cache_files();
    $lnk[] = array('text' => $_LANG['back_list'], 'href' => 'reg_fields.php?act=list');
    sys_msg($_LANG['update_field_success'], 0, $lnk);
} elseif ($_REQUEST['act'] == 'remove') {
    check_authz_json('reg_fields');
    $field_id = intval($_GET['id']);
    $field_name = $exc->get_name($field_id);
    if ($exc->drop($field_id)) {
        /* 删除会员扩展信息表的相应信息 */
        $sql = "DELETE FROM " . $GLOBALS['ecs']->table('reg_extend_info') . " WHERE reg_field_id = '" . $field_id . "'";
        @$GLOBALS['db']->query($sql);
        admin_log(addslashes($field_name), 'remove', 'reg_fields');
        clear_cache_files();
    }
    $url = 'reg_fields.php?act=query&' . str_replace('act=remove', '', $_SERVER['QUERY_STRING']);
    ecs_header("Location: {$url}\n");
    exit;
} elseif ($_REQUEST['act'] == 'edit_name') {
    $id = intval($_REQUEST['id']);
    $val = empty($_REQUEST['val']) ? '' : json_str_iconv(trim($_REQUEST['val']));
    check_authz_json('reg_fields');
    if ($exc->is_only('reg_field_name', $val, $id)) {
开发者ID:BGCX262,项目名称:zuyii-svn-to-git,代码行数:31,代码来源:reg_fields.php

示例15: elseif

        admin_log(addslashes($name), 'remove', 'article');
        clear_cache_files();
    }
    $url = 'article.php?act=query_sjs&' . str_replace('act=remove_sjs', '', $_SERVER['QUERY_STRING']);
    ecs_header("Location: {$url}\n");
    exit;
} elseif ($_REQUEST['act'] == 'remove_jg') {
    check_authz_json('article_manage');
    $id = intval($_GET['id']);
    /* 删除原来的文件 */
    $sql = "SELECT file_url FROM " . $ecs->table('article') . " WHERE article_id = '{$id}'";
    $old_url = $db->getOne($sql);
    if ($old_url != '' && strpos($old_url, 'http://') === false && strpos($old_url, 'https://') === false) {
        @unlink(ROOT_PATH . $old_url);
    }
    $name = $exc2->get_name($id);
    if ($exc2->drop($id)) {
        $db->query("DELETE FROM " . $ecs->table('comment') . " WHERE " . "comment_type = 1 AND id_value = {$id}");
        admin_log(addslashes($name), 'remove', 'article');
        clear_cache_files();
    }
    $url = 'article.php?act=query_jg&' . str_replace('act=remove_jg', '', $_SERVER['QUERY_STRING']);
    ecs_header("Location: {$url}\n");
    exit;
} elseif ($_REQUEST['act'] == 'add_link_goods') {
    include_once ROOT_PATH . 'includes/cls_json.php';
    $json = new JSON();
    check_authz_json('article_manage');
    $add_ids = $json->decode($_GET['add_ids']);
    $args = $json->decode($_GET['JSON']);
    $article_id = $args[0];
开发者ID:xiaoxiaowu007,项目名称:jicai,代码行数:31,代码来源:article.php


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