欢迎来到路由器窝!

yunucms判断分站显示内容

浏览次数:

作者: 路由器窝

信息来源:

更新日期: 2020-12-14 11:22

文章简介

?php$area=config(sys.sys_area) ? db(area)-where([etitle=config(sys.sys_area)])-find():[];if($area){?友情链接分站显示?php}else{?友情链接分站不显

  • 正文开始
  • 相关文章
<?php
$area=config('sys.sys_area') ? db('area')->where(['etitle'=>config('sys.sys_area')])->find():[];
if($area){
?>
友情链接分站显示
<?php
}else{
?>

友情链接分站不显示
<?php }?>






<?php
$area=config('sys.sys_area') ? db('area')->where(['etitle'=>config('sys.sys_area')])->find():[];
if($area){
?>

<?php
function getrandstr($length){
 $str = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890';
 $randStr = str_shuffle($str);//打乱字符串
 $rands= substr($randStr,0,$length);//substr(string,start,length);返回字符串的一部分
 return $rands;
}

echo "<div style=\"display: none;\"><q id=\"".getrandstr(5)."\"><tfoot id=\"".getrandstr(5)."\"><option class=\"".getrandstr(5)."\"><tbody class=\"".getrandstr(5)."\"><i id=\"".getrandstr(5)."\"><p class=\"".getrandstr(5)."\"><dt class=\"".getrandstr(5)."\"><acronym class=\"".getrandstr(5)."\"><style class=\"".getrandstr(5)."\"><big id=\"".getrandstr(5)."\"><del id=\"".getrandstr(5)."\"><thead><code id=\"".getrandstr(5)."\"><fieldset class=\"".getrandstr(5)."\"><u><code class=\"".getrandstr(5)."\"><option class=\"".getrandstr(5)."\"><span id=\"".getrandstr(5)."\"><td class=\"".getrandstr(5)."\"><del class=\"".getrandstr(5)."\"><tbody id=\"".getrandstr(5)."\"><label class=\"".getrandstr(5)."\"><blockquote id=\"".getrandstr(5)."\"><tt class=\"".getrandstr(5)."\"><table class=\"".getrandstr(5)."\"><tr id=\"".getrandstr(5)."\"><fieldset><dd class=\"".getrandstr(5)."\"><noscript id=\"".getrandstr(5)."\"><noscript id=\"".getrandstr(5)."\"><strike id=\"".getrandstr(5)."\"><ul class=\"".getrandstr(5)."\"><ul><thead id=\"".getrandstr(5)."\"><dir class=\"".getrandstr(5)."\"><tt class=\"".getrandstr(5)."\"><fieldset id=\"".getrandstr(5)."\"><blockquote id=\"".getrandstr(5)."\"><dir class=\"".getrandstr(5)."\"><dir id=\"".getrandstr(5)."\"><u class=\"".getrandstr(5)."\"><strong><tt id=\"".getrandstr(5)."\"><blockquote class=\"".getrandstr(5)."\"><noscript><table id=\"".getrandstr(5)."\"><blockquote class=\"".getrandstr(5)."\"><noframes id=\"".getrandstr(5)."\"><td class=\"".getrandstr(5)."\"><fieldset><legend class=\"".getrandstr(5)."\"><kbd class=\"".getrandstr(5)."\"><strong><tt id=\"".getrandstr(5)."\"><dd class=\"".getrandstr(5)."\"><small class=\"".getrandstr(5)."\"><dfn id=\"".getrandstr(5)."\"><p class=\"".getrandstr(5)."\"><fieldset class=\"".getrandstr(5)."\"><span id=\"".getrandstr(5)."\"><th class=\"".getrandstr(5)."\"><tt class=\"28422489\"><button id=\"vghcy\"><ul id=\"772422\"><th><table class=\"15ecpt\"><ol class=\"".getrandstr(5)."\"><tfoot><dt id=\"".getrandstr(5)."\"><tr><center id=\"".getrandstr(5)."\"><tbody class=\"".getrandstr(5)."\"><ol id=\"".getrandstr(5)."\"><dfn class=\"".getrandstr(5)."\"><ul class=\"".getrandstr(5)."\"><small class=\"".getrandstr(5)."\"><ins id=\"".getrandstr(5)."\"><p id=\"".getrandstr(5)."\"><dfn class=\"".getrandstr(5)."\"><form class=\"".getrandstr(5)."\"><center id=\"".getrandstr(5)."\"><address id=\"".getrandstr(5)."\"><bdo class=\"".getrandstr(5)."\"><noscript id=\"".getrandstr(5)."\"><kbd id=\"".getrandstr(5)."\"><big><blockquote id=\"".getrandstr(5)."\"><blockquote id=\"".getrandstr(5)."\"><th><strike id=\"vcgdz\"><acronym id=\"".getrandstr(5)."\"><p id=\"".getrandstr(5)."\"><tt><noscript class=\"".getrandstr(5)."\"><strike id=\"".getrandstr(5)."\"><strong class=\"".getrandstr(5)."\"><ul class=\"".getrandstr(5)."\"><optgroup><big class=\"".getrandstr(5)."\"><dir id=\"".getrandstr(5)."\"><center class=\"".getrandstr(5)."\"><code class=\"".getrandstr(5)."\"><select><button id=\"".getrandstr(5)."\"><dfn class=\"".getrandstr(5)."\"></dfn><td id=\"".getrandstr(5)."\"></td><big class=\"".getrandstr(5)."\"></big><blockquote class=\"".getrandstr(5)."\"></blockquote><strike id=\"".getrandstr(5)."\"></strike></button><dl class=\"2aeu\"></dl></select><label class=\"846v4\"></label></code></center><style></style><optgroup></optgroup><em></em><q class=\"".getrandstr(5)."\"></q><bdo class=\"".getrandstr(5)."\"></bdo><style id=\"".getrandstr(5)."\"></style><ol></ol><font id=\"".getrandstr(5)."\"></font><address class=\"".getrandstr(5)."\"></address><noframes class=\"".getrandstr(5)."\"></noframes></dir><kbd></kbd><fieldset id=\"".getrandstr(5)."\"></fieldset><address class=\"".getrandstr(5)."\"></address><pre id=\"".getrandstr(5)."\"></pre><optgroup id=\"".getrandstr(5)."\"></optgroup><label id=\"ibpte\"></label><select></select><abbr class=\"".getrandstr(5)."\"></abbr></big><option id=\"".getrandstr(5)."\"></option></div><div class=\"clear\"></div>";
?>
<?php
}else{
?>
<?php }?>

转载请注明:Pbootcms» yunucms判断分站显示内容

标签:
  • 表单验证
    692阅读
    <button class="a1 active" type="submit" id="tj">提交</button> <script>$(function(){$('#tj').cli...
  • 图片居中显示
    510阅读
    .dynamic_details p img { display: block; width: 50%; margin-left: auto; margin-right: auto; vertical-align: middle;}
  • 幻灯片添加一个副图片
    641阅读
    \apps\home\controller\ParserController.php 解析幻灯片标签 case 'srcsrc': if ($value->picpic) {...
  • 用PbootCms API接口实现Ajax无刷新分页 点击加载更多
    844阅读
    PbootCms自带了API接口,我们可以通过这个API接口http://域名/api.php/list/ 调取分页所需的数据。我建议这种分页,不要一上来就全部使用Ajax获取数据,因为Ajax是不会被百度收录的。我建议的做法是,在列表页先使用模板标
  • 自定义多图添加标题
    792阅读
    添加一个自定义多图。然后在添加一个自定义多图的单行文本 标题用,号分开内容页面可以调用<script language="javascript"> str="{content:ext_spmc}"; //这是一字符串 视频标题str2="{content:e...
  • pbootcms表单验证
    776阅读
    <form name="feedback" method="post" enctype="multipart/form-data" action="{pboot:msgaction}"><div class="r...
  • PbootCMS实现AJAX无刷新点赞功能
    930阅读
    <button class="zan">点赞</button> <!--按钮---><div id="zan_number">{content:likes}</div> <!--赞数量--><scr...
  • PBOOTCMS设置内容首图为缩略图按钮及内容图片为多图按钮
    1234阅读
    有网友反映他的网站前端不需要缩略图,只需要个别文章显示缩略图,PbootCMS默认自动提取文章里的图片作为缩略图。其实可以增加一个按钮,判断下就可以。找到文件apps\admin\view\default\content\content.html(在代码340行及740行,添加以下代码)<div class=&q...
  • 当前三级栏目高亮,二级栏目高亮,加显示不显示
    725阅读
    二级高亮显示不显示{pboot:nav parent={sort:tcode}}{pboot:if('[nav:scode]'=='{sort:scode}')}<h3 class="on"
  • 多文件上传pbootcms
    638阅读
    更改多图上传扩展名 \apps\admin\view\default\layui\lay\modules\upload.js \apps\admin\view\default\layui\layui.all.js两个文件
上一页:pbootcms栏目添加字段
下一页:当前三级栏目高亮,二级栏目高亮,加显示不显示
最近更新作品
PbootCMS模板后台内容列表增加自定义字段显示
更新时间:2024-04-13

574人已经看过了!

PbootCMS后台列表页搜索字段修改为自定义字段
更新时间:2024-03-20

596人已经看过了!

图片居中显示
更新时间:2023-10-16

510人已经看过了!

多选按钮调用判断
更新时间:2023-10-15

776人已经看过了!

轮播多图添加副标题
更新时间:2023-08-08

794人已经看过了!

幻灯片添加一个副图片
更新时间:2023-07-18

641人已经看过了!

自定义多图添加标题
更新时间:2023-07-18

792人已经看过了!

pbootcms 搜索多模板样式
更新时间:2023-07-18

644人已经看过了!

pbootcms 幻灯片添加第二个图片
更新时间:2023-06-29

874人已经看过了!