ecmall 插件总汇

QQ372567764  www.360cd.cn
 1.ecmall 捐赠。
2.ecmall 新支付(统一资金管理,统一支付设置,双通道支付,余额支付)
3.ecmall 一键登录
4.ecmall 手机短信登录验证
5.ecmall 手机短信通知(登陆,订单,密保)
6.ecmall 商品对比
7.ecmall 动态购物车
8.ecmall 店铺地图-51地图版
9.ecmall 店铺地图-百度地图版
10.ecmall 积分功能(积分兑换、积分购物、积分商城)
11.ecmall 关键词过滤
12.ecmall 秒杀,
13.ecmall 团购
14.ecmall 会员等级、自定义会员价
以上功能均可使用,如做过二次开发的,可能会在一定程度上修改。
百度空间介绍地址:http://hi.baidu.com/oidzvauroqehjmr/item/5a5b247f3c188646ef1e53e0 展示网站:卓流应用网:http://360cd.cn 百度网盘源码下载地址:http://pan.baidu.com/s/1b1dq0 pan.baidu.com/s/1b1dq0 所有模块现在全部免费发布,但不保证因为一些其他原因而出现的无法安装,可以免费在线询问我们的QQ: 1356231055 或者加QQ群免费咨询:47101787 部分功能展示如下:   1.所有功能全部以插件和模块开发,与原生系统无任何影响   2.统一支付以模块的方式开发,可以独立设定与系统相同的或更多的支付方式。   3.与系统平行的支付方式不影响原系统平滑升级。   4.独立的支付系统,与原系统无任何关联,可以作为独立的支付接口   5.建立卓支付(忆付宝)以实现余额支付。   6.非会员用户支付,充值界面跳转   7.会员用户支付,可直接输入密码,用商城余额支付   8.与系统支付方式完全绑定   9.可在线充值,查询充值记录,提现申请,提现记录及余额转账   10.账户设置,可手动添加一些常规的支付方式,提供修改支付密码功能   11.可查看财务明细    更多模块:     1.统一支付 2.余额支付,站内虚拟资金、虚拟积分、在线充值、密保、充值卡等 3.商家手机短信插件(需要短信接口) 4.店铺地图功能 5.积分购物,购物获得积分,也可积分和RMB合并支付。积分抵扣 6.注册会员推广奖励积分功能 7.积分商城(积分兑换) 8.flash幸运大转盘积分抽奖功能 9.店铺寻蛋砸蛋活动功能 10.商城砸蛋功能 11.敏感词过滤插件功能 12.手机验证绑定功能 13.动态购物车功能(具有商品飞入购物车动画效果,且购物车内可显示商品信息) 14.店铺加入商品销售排行和收藏排行 15.店铺加入幻灯片功能(商家可以在管理页面自己设置添加) 16.超市数据库功能(管理员可以整理一批商品放到一个超市数据库里,商家可以把超市数据库里面的商品导入到自己的店铺,省去自己一个一个上传添加商品的麻烦) 17.店铺打烊功能 18.ecmall qq 新浪 支付宝一键登录 19.ecmall后台管理员任意登录会员账号模块 20.求购信息发布插件 21.积分系统:整合了 余额支付,站内虚拟资金、虚拟积分、在线充值、密保、充值卡+邀请好友注册获得积分+积分抵扣+积分商城+大转盘积分抽奖+店铺砸蛋获金币+商城砸蛋活动功能等 22.ecmall秒杀插件 23.ecmall团购插件(类似聚划算) 24.淘宝助理批量导出导入 25.店铺自定义挂件自由拖拽编辑系统
ecmall多店插件 <?php class SyspayModule extends IndexbaseModule { var $_datacall_mod; //数据调用模型 var $_x_mod; //需要调用的是那种数据,目前只是商品数据,以后可能会有店铺数据等等 var $_expires; //缓存到期时间 var $name_length; //保留的数据长度,大于此长度截取 var $charset; //字符编码 var $_doc_content; //输出内容 function __construct() { $this->SyspayModule(); } function SyspayModule() { parent::__construct(); $this->_datacall_mod = &af("datacall"); } function index() { $id = isset($_GET['id']) ? intval($_GET['id']) : 0; if (!$this->is_cached($id)) //检查缓存是否过期 { $data = $this->_datacall_mod->getOne($id); if (empty($data)) { return; } $this->name_length = $data['name_length']; $this->_expires = time() + $data['cache_time']; $this->charset = in_array($data['content_charset'], array('utf-8', 'gbk', 'big5')) ? $data['content_charset'] : CHARSET; if ($data['type'] == 'goods') //调用数据的类型为商品 { $this->_x_mod = &m('goods'); $conditions = ''; if (!empty($data['spe_data']['keywords'])) //关键字的SQL { if (strpos($data['spe_data']['keywords'], ' ') > 0) { $tmp_str = explode(' ', $data['spe_data']['keywords']); $tmp_con = ''; foreach ($tmp_str as $val) { $tmp_con .= "OR g.goods_name LIKE '%{$val}%' OR g.brand LIKE '%{$val}%'"; } $tmp_con = substr_replace($tmp_con, '', 0, 2); $conditions .= 'AND ('. $tmp_con . ')'; } else { $conditions .= "AND (g.goods_name LIKE '%{$data['spe_data']['keywords']}%' OR g.brand LIKE '%{$data['spe_data']['keywords']}%')"; } unset($tmp_con); } if (!empty($data['spe_data']['cate_id'])) //商品分类的where { $gcategory = &m('gcategory'); $ids = $gcategory->get_descendant($data['spe_data']['cate_id']); $conditions .= " AND g.cate_id " . db_create_in($ids); unset($ids); } if (!empty($data['spe_data']['brand_name'])) //品牌where { $conditions .= " AND g.brand LIKE '%{$data['spe_data']['brand_name']}%'"; } if (!empty($data['spe_data']['max_price'])) //价格最大值where { $conditions .= " AND gs.price < {$data['spe_data']['max_price']}"; } if (!empty($data['spe_data']['min_price'])) //价格最小值where { $conditions .= " AND gs.price > {$data['spe_data']['min_price']}"; } /* if (!empty($data['spe_data']['recommend'])) //是否推荐 { $conditions .= " AND g.recommended = 1"; }*/ $order = ''; if (!empty($data['spe_data']['sort_order'])) //排序where { $order = in_array($data['spe_data']['sort_order'], array('add_time','last_update')) ? "g.".$data['spe_data']['sort_order']." ".$data['spe_data']['asc_desc'] : "gst.".$data['spe_data']['sort_order']." ".$data['spe_data']['asc_desc']; } $con = array( 'conditions' => "1=1 ". $conditions, 'order' => $order, ); if (!empty($data['amount'])) { $con['limit'] = "0, ".$data['amount']; } $result = $this->_x_mod->get_list($con); if (empty($result)) { return ; } $this->js_write($data['header']); $body = $data['body']; foreach ($result as $val) { $code = str_replace('{goods_name}', empty($this->name_length) ? $val['goods_name'] : sub_str($val['goods_name'], $this->name_length), $body); $code = str_replace('{goods_full_name}', $val['goods_name'], $code); $code = str_replace('{goods_price}', $val['price'], $code); $code = str_replace('{goods_url}', site_url() . '/index.php?app=goods&id='. $val['goods_id'], $code); $code = str_replace('{goods_image_url}', site_url() . '/' . $val['default_image'], $code); $content .= $code; unset($code); } $this->js_write($content); $this->js_write($data['footer']); $this->save_cache($id); } } $this->doc_output(); } function is_cached($id) { $file_path = ROOT_PATH . '/temp/js/datacallcache'. $id .'.js'; if (is_file($file_path)) { $content = file_get_contents($file_path); $idx = strpos($content , "%^@#!*"); $str = substr($content, 0 , $idx); $arr = explode('|', $str); $this->charset = $arr[0]; $this->_expires = $arr[1]; if (time() > $this->_expires) { return false; } else { $this->_doc_contents = substr($content, $idx + 6); return true; } } else { return false; } } function js_write($str) { $str = str_replace("\r", "", $str); $str = str_replace("\n", "", $str); $str = str_replace("'", "\\'", $str); $this->_doc_contents .= 'document.write(\''. $str .'\');'; } function save_cache($id) { $file_path = ROOT_PATH . '/temp/js/datacallcache'. $id .'.js'; ecm_mkdir(dirname($file_path)); file_put_contents($file_path, "{$this->charset}|{$this->_expires}%^@#!*" . $this->_doc_contents); } function doc_output() { header("Content-type:text/html;charset=" . $this->charset , true); $tmp_str = ecm_iconv(CHARSET, $this->charset, $this->_doc_contents); $output = $this->charset == 'utf-8' ? stripslashes($tmp_str) : $tmp_str; echo $output; } } ?>
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值