PHPLD分类目录系统的分析

一:系统结构及目录说明


admin 后台管理

/backup 数据库备份

/detail

/documentation PHPLD文档说明

/images 图片

/include 系统核心

/install 网站安装

/javascripts 脚本目录

/lang 多语言目录

/libs 系统类库

/temp 系统缓存/临时文件

/templates 网站模板

/uploads 附件

/widgets 挂件admin 后台管理

/backup 数据库备份

/detail

/documentation PHPLD文档说明

/images 图片

/include 系统核心

/install 网站安装

/javascripts 脚本目录

/lang 多语言目录

/libs 系统类库

/temp 系统缓存/临时文件

/templates 网站模板

/uploads 附件

/widgets 挂件


网站模板说明:

Professional 为系统默认模板目录

/templates 目录

|--images 图片目录

|--style 样式目录


add_reciprocal.tpl

admin_category_select.tpl

article.tpl

article_payment.tpl

article_paypal.tpl

article_search.tpl

articlelink.tpl

author.tpl

banned_submit.tpl

category_search.tpl

category_select.tpl

category_select_article.tpl

category_select_parent.tpl

category_tree.tpl

closed_submit.tpl

conf_templates_edit.tpl

contact.tpl------------ 联系我们

detail.tpl

dir_links_edit.tpl

feed.tpl

footer.tpl------------页脚

header.tpl------------页头

inplace_editart.tpl

inplace_editcat.tpl

inplace_editlink.tpl

inplace_editpage.tpl

left_side.tpl

link.tpl----------------右则国家链接

login.tpl

main.tpl-----------首页模板

news_search.tpl

page.tpl

pagerank.tpl

payment.tpl

paypal.tpl

profile.tpl----------注册新用户

right_side.tpl

rss2.tpl

rte.tpl

rules.tpl

search.tpl

submit.tpl----------------提交链接

submit_article.tpl---------提交文章

submit_cat.tpl

submit_page.tpl

tell_friend.tpl

top_bar.tpl-------------导航

unauthorized.tpl

validation.tpl------------------JQ验证位于header.tpl里加载

widget_central_bot.tpl

widget_central_top.tpl

widget_vertical_bot.tpl

widget_vertical_top.tpl


/include 核心目录

----version.php 版本号

----config.php 系统配置文件

---- tables.php 数据库对照表

---- client_info.php 得到客户端的信息

----settings.php PHP配置文件设置

---- functions.php 系统功能函数

---- validation_functions.php 验证功能

----pagerank.php google PR值算法

----functions_validate.php 验证功能函数集

----dirdb.php 目录数据信息

functions.php

系统全局函数方法说明。(以后另行补充)

取受权目录

get_grant_categs_tree($id=0)


取用户IP

get_client_ip()


翻页用

get_page($list_total)


重构URI

request_uri()



得到请求状态

request_status()



得到分类

get_category($uri = NULL)


取分类路径

get_path($id)


取地址

get_url($url, $what = 0, $referer = "", $cookies = array (), $useragent = "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)")


过滤文章内容

parse_news($str)


parse_version($val)


设置日志

set_log($file)


替换邮件变量

replace_email_vars($text, $data, $type = 1)


取发件人

get_emailer()


取发件管理员

get_emailer_admin()


得到邮件模板

get_email_template($tpl)


格式化邮件内容

format_email($address, $name)


数据库替换

db_replace($table, $data, $keyCol)


发送通知

send_status_notifications($data, $update = true, $RegularLink = true, $CustomReject = false)

send_status_notificationsa($data, $update = true, $RegularArticle = true, $CustomReject = false)


链接到期通知

send_expired_notifications


链接提交通知

send_submit_notifications($data, $RegularLink = true)


send_submit_notificationsa($data, $RegularArticle = true)


支付通知

send_payment_notifications($pdata, $ldata)


日期操作

date_addition($timestamp, $months)


计算到期时间

calculate_expiry_date($start, $units, $um)


update_link_payment($pid, $data, $success, $raw)


打印缓冲

sprint_r($val)


echo 缓冲

read_echo($val)


numeric_entify_utf8($utf8_string)


转utf8XML

xml_utf8_encode($str)


SQL语句字符转义

sql_addslashes($string = '')


查找子分类

find_child_categories()


删除子分类

delete_child_categories()


建立分类路径

buildCategUrl($id, $url='')


编辑权限

get_editor_permission($user_id)


得到子分类

get_sub_categories($id)


确定链接类型

determine_link_type($type = 0)


更新电子邮箱

update_link_owner($user_id = 0)


更新文章所有者

update_article_owner($user_id = 0)


创建密码

create_password($length=6)


重写路径

construct_mod_rewrite_path($cat_id)


禁用缓存

disable_browser_cache()


http状态

httpstatus($status_code)


调整PHP内存限制

tweak_memory_limit($memory_limit=16)



调整脚本执行时间

tweak_time_limit($time_limit=90)



计算日期时间差

dateTimeDifference($greaterdate, $smallerdate)



从秒计算分钟

second2min($seconds)


从秒计算小时

second2hour($seconds)


从秒计算天

second2day($seconds)


从秒计算周

second2week($seconds)


数组序列化

simple_serialize($array=array(), $encoding='')


数组反序列化

simple_unserialize($string='', $encoding='')


解析URL

parseURL($url)


格式化大小

nicesize($size='')


解析URL返回域名

parseDomain($url,$keepWWW=0)


gotoUnauthorized($reason, $tplFile='unauthorized.tpl', $returnVal=false)


gzip解码,要zlib支持

gz_decode($data)


解码gzip

decode_gzip($body)


解码zlib

decode_deflate($body)


打印数组

print_array($array)


发送状态消息

send_status_notificationse($data, $update = true, $RegularLink = true, $CustomReject = false)


subscribe_to_comments($id)


send_mail_to_subscribers($id)


unsubscribe($id)


确定文章类型

determine_article_type($type = 0)


更新文章支付

update_article_payment($pid, $data, $success, $raw)


得到http 头信息

getHeader($header)


是否是异部

isXmlHttpRequest()


得到用户级别

get_user_level($uid)


得到用户权限

get_user_permissions($uid)


得到用户信息

get_user($id)


是否有分类

has_rights_on_cat($uid, $cid)


has_rights_on_all_cats($level)


链接是否已支付

link_has_payment($id)


文章是否已支付

article_has_payment($id)


用户需要批准

user_needs_approval($uid, $cid)


rights_for_supereditor($actual, $default)


seo地址

seo_url($id, $title, $type, $ext, $link_type)


seo 重写

seo_rewrite($text)


subscribe_to_commentslc($id)


send_mail_to_subscriberslc($id)


unsubscribelc($id)


邮件是否确认(人)

has_confirmed_email($uid)


邮件是否确认(邮件)

email_is_confirmed($email)


生成rss

getRSS_feeds($url)


保存RSS

saveRSS_feeds($categoryId = '')


保存分类rss

saveCategoryFeeds($categoryId)


当前页面URL

curPageURL()


重新缓存分类

recacheCategory($id)


URL别名

makeUrlAlias ($url, $length = 150)


得到挂件

get_widgets()


是否有字段

isFieldExists($field_name)


是否唯一

isUniqueValue($table, $field_name, $exclude_id = '')


注册唯一

isUniqueRegistration($table, $field_name)


分类权限

isUniquePermission($user_id, $category_id)


是否为了分类

isNotSubCat($user_id, $category_id)


isUniqueUrl($field_name, $categ_id)


isUniqueUrlSite($field_name, $table)


是否在线

isURLOnline($field_name)


邮件绑定

isBannedEmail($field_name)


域名绑定

isDomainBanned($field_name)


命名检测

isUsername($value)


isSymbolicUnique($id, $symbolic_id, $parent_id)


isSymbolicParentValid($id, $parent_id)


isCaptchaValid()


json_custom_encode($res)


json_encode_part($res)


search($search_preferences)


过滤字符串

custom_stripslashes($arr)


get_submit_items_validators($ltid)


得到链接所有信息

getFullLinkInfo($id=0)


调整图片

resizeImg($source, $dest, $w, $h)


字符处理

stripStrForDT($string)


得到提交项目的列表

get_submit_item_list($id, $values = false)


是否是移动用户

is_mobile_user()


get_active_widgets()


得到所有插件显示区域(widget_zones表)

get_widget_front_zones()


验证码确认

get_captcha_info($option)


得到语言类型

select_lang($dirname = '../lang/')


过滤字符1

txt_stripslashes($string='')


过滤字符2

un_html_specialchars($string='')


去空白字符

filter_white_space($ressource)


去掉多余空白

clean_str_white_space($string='')


去所有空白

strip_white_space($string='', $replace=' ')


去HTML标签

clean_string($string='')


clean_string优化版本

clean_string_paranoia($string='')


清理JS码

safe_javascript_tags($string='')


去JS码

clean_javascript_tags($string='')


清理搜索字符

clean_search_query($string='')


过滤搜索字符

clean_search_location($string='')


过滤keywords关键字header用

clean_meta_keywords($keywords='')


取消字符转义

un_escape($string)


得到语言文件大小

language_file_data($lang_file)



字符加密

encrypt_password($password='')


读文件

filecontent($file)


打开远程文件

remote_fopen($url)


写文件

write_to_file($filename, $string='', $truncate=false, $append=false)


检测WEB服务器IIS或apache

detect_server_software()


http自定义处理(javascript, html, 一般header())

http_custom_redirect($url=SITE_URL, $option='', $timeout=0, $cust_msg='', $status = 302)


用js重定向

javascript_redirect($url='', $timeout=0, $title_msg='', $cust_msg='', $status=0)


把关键字放到数组里

make_search_keywords($keywords, $separator=" ")


得到分类目录树

get_regular_categs_tree($id=0)


取信息目录树

get_regular_categs_tree_opentoarticles($id=0)


取链接目录树

get_regular_categs_tree_opentolinks($id=0, $link_type)


取自定义目录

get_categs_custom($id = 0, $aux)


取分类目录

get_categs_tree($id=0)


取链接目录

get_categs_tree_frontend_forlinks($id=0)

 

转载于:https://my.oschina.net/03jt/blog/81831

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
觅分类信息系统采用主流php+mysql开发而成,高效完整的系统交付方案,适合大中小站长建站的门户信息系统,结构干净清爽,无残余代码PC+WAP+APP三端同步数据。 优势介绍 商家系统,支持商家vip购买,普通商家及vip商家页面导航的配置不一样。 原生小程序 APP客户端 多模板切换  会员系统包含 vip会员购买,vip特权,每个模型可直接配置每天可以发布的条数,每月置顶条数,及vip可以无限制刷新信息,普通60分钟间隔。 积分记录,严格记录每一笔积分 消息管理,用户自己可以互动发送消息,系统提示消息等 记录收藏每一份信息 在线充值,支付功能 签到中心,用户每天签到会得到相应的积分,连续签到等 信息管理,可以对自己的信息进行刷新、修改、删除等操作 内置模型、房产租售、房产租售、个人求职、二手车、便民信息、学校招生、二手交易、便民电话其他信息 ,对每个模型的模板文件进行设置及字段配置等 非常强大简单易懂 可自定义扩展比如社区论坛讨论各种你能想到的功能!因为我们内置有你需要的代码 文章系统,可以发布你当地的新闻资讯等 未登录进行信息发布只需要短信验证即可发布 每个模板有对应的设计和后台设置控制及配置 独立的分类管理 同一的地区管理 后台自定义创建模板,编辑模板代码 多端实时数据同步端合一pc+wap+app+h5 1.5升级日志 优化后台执行sql无法一起执行  优化升级无法执行多条数据库语句  新增适配小程序同步登录网页 新增适配小程序审核开关开启后会提高审核通过率  修复后台无法添加商家 6. 修复VIP置顶BUG  全新ui手机端模板,体验更佳  新增商家地图选址  新增模板只有扩展控制器方法、可任意在你模板扩展你想要的任何功能  修复自动生成海报图片过长  新增PC端消息提示  修复WAP首页1条数据时候布局异常  新增PC列表默认布局后台自由控制  修复PC图文列表自定义字段为空显示异常样式  新增PC是否支持登录后查看电话号码  新增PC详情页面电话显示是图片还是同步或者电话  优化PC便民电话列表置顶的突出展示  新增PC详情展示幻灯片和默认样式切换  更换WAP首页信息显示当前模型的标题  手机端新增返回顶部按钮  新增手机端独立电话模块  修复手机端信息列表上一页下一页异常显示  新增手机端返回顶部和下载app切换  新增电脑端右下角显示app下载弹出二维码  新增APP扫码登录  新增app扩展插件

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值