思途CMS 旅游电商网站系统开源项目

我要开发同款
匿名用户2017年02月07日
16阅读
开发技术PHP
所属分类建站系统、建站系统CMS
授权协议开源受限软件

作品详情

温馨提示:该项目为开源受限软件,只开源部分代码,商业使用需要付费授权。

思途CMS是思途旅游网站管理系统的简称,是一款自主研发的适用于旅游网站建设的网站管理系统。系统支持线路、酒店、门票、租车、机票、签证、团购、个性定制,目的地指南、游记攻略、景点、图片相册、问答、点评、帮助等功能。

思途CMS基于LAMP(Linux-Apache-MySQL-PHP)平台设计(系统支持O2O模式、B2B模式、B2B2C模式、B2C模式等)。

系统的快速模板机制(fasttemplate),可根据需求随意变换模板。仅需一键更换便可快速更换网页模板,实现便捷的网页换装。

公共函数库:

Common::js($filelist,$minjs=false,$default=true)前端JS调用

Common::css($filelist,$mincss=false,$default=true)前端CSS文件调用

Common::get_config($groupname)获取配置文件方法

Common::remove_arr_empty($arr)清除数组空值

Common::thumb生成缩略图

Common::mydate时间格式化函数

Common::get_extension获取文件扩展名

Common::rrmdir($dir)删除目录及子目录

Common::save_file保存内容到文件

Common::check_instr($str,$substr)

Common::http($url,$method='get',$postfields='')

Common::object_to_array($obj)对象转数组

Common::get_pinyin($str,$ishead=0,$isclose=1)获取文字拼音

Common::authcodedecode加密/解密算法

Common::add_field($table,$fieldname,$fieldtype,$isunique,$comment)

common::del_field($table,$field)删除表字段

Common::get_timerange($type)获取时间范围

Common::xml_to_array($xml)xml转数组

Common::struct_to_array($struct)结构体转数组

Common::send_email($maillto,$title,$content)发送邮件

Common::session($k,$v='')

Common::message($msg)

Common::nopic()无图调用

Common::img($src,$width='',$height='')

Common::get_sys_para($varname)获取sys_config配置值

Common::get_sys_conf($field,$varname,$webid=0)

Common::get_domain()获取当前主域名.

Common::get_main_prefix()获取主站prefix

Common::get_web_url($webid)

Common::cutstr_html($str,$len)字符串截取函数

Common::get_ip()获取游客的IP地址

Common::head404()跳转到404页面

Common::head301($url)301跳转

Common::daxie($num)数字转大写

Common:;js_unescape($str)解密js通过escape的文字

Common::calender($year='',$month='',$priceArr=NULL,$suitid,$contain='')日历显示

Common::get_rand_code($num)生成随机数

Common::diff_between_twodays($date1,$date2)计算2个日期相差的天数

Common::get_editor获取编辑器

Product::seo($info)seo信息格式化

Product::pic_list($piclist)返回产品图片数组

Product::product_number($id,$prefix)获取产品编号

Product::strip_style($str)去除内容的style样式

Product::get_attr_where($attrid)生成按attrid查询的条件语句

Product::get_ordersn($kind)生成订单编号

Product::add_order($arr)通用添加订单接口

Product::minus_storage($dingdate,$typeid,$suitid,$productid,$dingnum,$departdate='')库存操作函数

Product::get_define_msg($typeid,$num=0,$msgtype='')获取定义的短信内容

Product::get_msg_type($typeid,$num)获取短信类型

Product::calculate_price($orderinfo)计算订单总价

Product::get_supplier_tel($productid,$typeid)获取供应商电话

Product::send_msg($phone,$prefix,$content)发送短信函数

Product::get_email_msg($typeid,$num)获取后台发送邮件的内容文本

Product::order_email($maillto,$title,$content)发邮件函数

Product::add_jifen_log($memberid,$content,$jifen,$type)会员积分操作函数

Product::format_addtime($time)时间格式化显示为"XX小时XX分钟XX秒前"

Product::get_ico_list($icolist)获取产品图标数组

Product::get_attr_parent($attrid,$typeid)获取属性上级id

Product::get_suit_price($year,$month,$suitid,$typeid,$startdate='')获取套餐报价数组

Product::get_default_image()获取默认图片

Product::auto_reg($mobile)手机号自动注册功能

Product::get_email_msg_config($msgtype)获取定义的邮箱信息内容

Product::get_use_templet($pagename)获取页面使用的模板

Product::update_click_rate($aid,$typeid)访问数添加

Product::get_login_user_info()获取当前登陆用户信息

Common::get_user_css($cssfile,$version)

Common::get_user_js($jsfile,$version)

Common::get_user_func($phpfile)引用用户自定义文件

查看全文
声明:本文仅代表作者观点,不代表本站立场。如果侵犯到您的合法权益,请联系我们删除侵权资源!如果遇到资源链接失效,请您通过评论或工单的方式通知管理员。未经允许,不得转载,本站所有资源文章禁止商业使用运营!
下载安装【程序员客栈】APP
实时对接需求、及时收发消息、丰富的开放项目需求、随时随地查看项目状态

评论