温馨提示:该项目为开源受限软件,只开源部分代码,商业使用需要付费授权。
思途CMS是思途旅游网站管理系统的简称,是一款自主研发的适用于旅游网站建设的网站管理系统。系统支持线路、酒店、门票、租车、机票、签证、团购、个性定制,目的地指南、游记攻略、景点、图片相册、问答、点评、帮助等功能。
思途CMS基于LAMP(Liux-Apache-MySQL-PHP)平台设计(系统支持O2O模式、B2B模式、B2B2C模式、B2C模式等)。
系统的快速模板机制(fasttemplate),可根据需求随意变换模板。仅需一键更换便可快速更换网页模板,实现便捷的网页换装。
公共函数库:
Commo::js($filelist,$mijs=false,$default=true)前端JS调用
Commo::css($filelist,$micss=false,$default=true)前端CSS文件调用
Commo::get_cofig($groupame)获取配置文件方法
Commo::remove_arr_empty($arr)清除数组空值
Commo::thumb生成缩略图
Commo::mydate时间格式化函数
Commo::get_extesio获取文件扩展名
Commo::rrmdir($dir)删除目录及子目录
Commo::save_file保存内容到文件
Commo::check_istr($str,$substr)
Commo::http($url,$method='get',$postfields='')
Commo::object_to_array($obj)对象转数组
Commo::get_piyi($str,$ishead=0,$isclose=1)获取文字拼音
Commo::authcodedecode加密/解密算法
Commo::add_field($table,$fieldame,$fieldtype,$isuique,$commet)
commo::del_field($table,$field)删除表字段
Commo::get_timerage($type)获取时间范围
Commo::xml_to_array($xml)xml转数组
Commo::struct_to_array($struct)结构体转数组
Commo::sed_email($maillto,$title,$cotet)发送邮件
Commo::sessio($k,$v='')
Commo::message($msg)
Commo::opic()无图调用
Commo::img($src,$width='',$height='')
Commo::get_sys_para($varame)获取sys_cofig配置值
Commo::get_sys_cof($field,$varame,$webid=0)
Commo::get_domai()获取当前主域名.
Commo::get_mai_prefix()获取主站prefix
Commo::get_web_url($webid)
Commo::cutstr_html($str,$le)字符串截取函数
Commo::get_ip()获取游客的IP地址
Commo::head404()跳转到404页面
Commo::head301($url)301跳转
Commo::daxie($um)数字转大写
Commo:;js_uescape($str)解密js通过escape的文字
Commo::caleder($year='',$moth='',$priceArr=NULL,$suitid,$cotai='')日历显示
Commo::get_rad_code($um)生成随机数
Commo::diff_betwee_twodays($date1,$date2)计算2个日期相差的天数
Commo::get_editor获取编辑器
Product::seo($ifo)seo信息格式化
Product::pic_list($piclist)返回产品图片数组
Product::product_umber($id,$prefix)获取产品编号
Product::strip_style($str)去除内容的style样式
Product::get_attr_where($attrid)生成按attrid查询的条件语句
Product::get_orders($kid)生成订单编号
Product::add_order($arr)通用添加订单接口
Product::mius_storage($digdate,$typeid,$suitid,$productid,$digum,$departdate='')库存操作函数
Product::get_defie_msg($typeid,$um=0,$msgtype='')获取定义的短信内容
Product::get_msg_type($typeid,$um)获取短信类型
Product::calculate_price($orderifo)计算订单总价
Product::get_supplier_tel($productid,$typeid)获取供应商电话
Product::sed_msg($phoe,$prefix,$cotet)发送短信函数
Product::get_email_msg($typeid,$um)获取后台发送邮件的内容文本
Product::order_email($maillto,$title,$cotet)发邮件函数
Product::add_jife_log($memberid,$cotet,$jife,$type)会员积分操作函数
Product::format_addtime($time)时间格式化显示为"XX小时XX分钟XX秒前"
Product::get_ico_list($icolist)获取产品图标数组
Product::get_attr_paret($attrid,$typeid)获取属性上级id
Product::get_suit_price($year,$moth,$suitid,$typeid,$startdate='')获取套餐报价数组
Product::get_default_image()获取默认图片
Product::auto_reg($mobile)手机号自动注册功能
Product::get_email_msg_cofig($msgtype)获取定义的邮箱信息内容
Product::get_use_templet($pageame)获取页面使用的模板
Product::update_click_rate($aid,$typeid)访问数添加
Product::get_logi_user_ifo()获取当前登陆用户信息
Commo::get_user_css($cssfile,$versio)
Commo::get_user_js($jsfile,$versio)
Commo::get_user_fuc($phpfile)引用用户自定义文件
评论