1 Star 0 Fork 3

caiwh/基于小京东开发门店收银台

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
ajax_68ecshop.php 2.04 KB
一键复制 编辑 原始数据 按行查看 历史
<?php
/**
* 鸿宇多用户商城 ajax
* ============================================================================
* 版权所有 2005-2010 鸿宇多用户商城科技有限公司,并保留所有权利。
* 网站地址: http://bbs.hongyuvip.com;
* ----------------------------------------------------------------------------
* 仅供学习交流使用,如需商用请购买正版版权。鸿宇不承担任何法律责任。
* 踏踏实实做事,堂堂正正做人。
* ============================================================================
* $Author: bbs.hongyuvip.com $
* $Id: ajax.php 17063 2010-03-25 06:35:46Z $
*/
define('IN_ECS', true);
require(dirname(__FILE__) . '/includes/init.php');
if ($_REQUEST['act'] == 'tipemail')
{
require(ROOT_PATH . 'includes/cls_json.php');
$word_www_68ecshop_com = json_str_iconv($_REQUEST['word']);
$json_www_68ecshop_com = new JSON;
$result_www_68ecshop_com = array('error' => 0, 'message' => '', 'content' => '');
if(!$word_www_68ecshop_com || strlen($word_www_68ecshop_com) > 30)
{
$result_www_68ecshop_com['error'] = 1;
die($json_www_68ecshop_com->encode($result_www_68ecshop_com));
}
$word_www_68ecshop_com = str_replace(array(' ','*', "\'"), array('', '', ''), $word_www_68ecshop_com);
$email_name_arr = explode("@", $word_www_68ecshop_com);
$email_name = $email_name_arr[0];
$_CFG['email_domain'] =str_replace(" ", "",$_CFG['email_domain']);
$email_domain_arr = explode(",", str_replace(",",",",$_CFG['email_domain']));
$logdb=array();
foreach($email_domain_arr AS $key=>$edomain)
{
$email_domain_arr[$key] = $email_name.'@'.$edomain;
}
foreach($email_domain_arr AS $email_domain)
{
if (stristr($email_domain, $word_www_68ecshop_com))
{
$logdb[] = $email_domain;
}
}
$smarty->assign('logdb', $logdb);
if(count($logdb)==0)
{
$result_www_68ecshop_com['content'] = '';
}
else
{
$result_www_68ecshop_com['content'] = $smarty->fetch('library/email_tip.lbi');
}
die($json_www_68ecshop_com->encode($result_www_68ecshop_com));
}
?>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/caiwh/0727_shouyintai.git
[email protected]:caiwh/0727_shouyintai.git
caiwh
0727_shouyintai
基于小京东开发门店收银台
master

搜索帮助