- 博客(4)
- 收藏
- 关注
原创 dede position
{dede:field name='array' runphp='yes'/} if(@me[id]>100){ $a=mb_strlen(@me[position]); @me='<div class="place">'.substr(@me[position],0,-2).'</div>'; }else{ @me=''; } ...
2018-04-03 10:34:17
115
转载 dedecms织梦副栏目名称和链接调用
打开 \include\extend.func.php 在最下面加入/** * 获取副栏目链接和名称 */if(!function_exists('GetTypeid2')){ function GetTypeid2($typeid2) { global $dsql; $result = ''; $query = "SELECT * FROM `dede_arctype`...
2018-03-14 12:20:27
1727
原创 url 小写
include\extend.func.phpfunction GetFirtWord($str, $ishead=0, $isclose=1){ global $cfg_soft_lang; if(!function_exists('SpGetPinyin')) { //全局函数仅是inc_fun_funAdmin.php文件中函数的一个映射 require_once(DEDEI...
2018-03-11 13:23:12
217
原创 linux 防火墙端口设置
vim /etc/sysconfig/iptables-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 端口号 -s 固定IP地址 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 端口号 -s xxx.xxx.22...
2018-03-08 10:07:53
120
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人