function doSearch() { var catid = parseInt($('#select-cats').val()); var keyword = $('#ipt-search-header').val(); if (!keyword) return false; keyword = encodeURI(keyword); var url = 'search.php?keywords=' + keyword; if (catid != 0) url += '&id=' + catid; window.location.href = url; } $('#btn-guid-header').click(function () { $('#btn-search-header').removeClass('active'); $('#area-search-header').hide(); if ($(this).hasClass('active')) { $(this).removeClass('active'); $('#area-guid-header').hide(); } else { $(this).addClass('active'); $('#area-guid-header').show(200); } }); $('#btn-search-header').click(function () { $('#btn-guid-header').removeClass('active'); $('#area-guid-header').hide(); if ($(this).hasClass('active')) { $('.ipt-search-fix').blur(); $(this).removeClass('active'); $('#area-search-header').hide(); } else { $(this).addClass('active'); $('#area-search-header').fadeIn(300); $('#ipt-search-header').focus().select(); } }); $('#area-guid-header')[0].addEventListener("touchmove", function(e){ e.stopPropagation(); }); $(function () { var wHeight = $(window).height(); wHeight -= 45; $('#area-guid-header').css('height', wHeight + 'px'); });
信息有效

dz论坛linux伪静态代码 Nginx

编号:T-4977  2025-07-31 有效期:9999天  34人次

      location / {

              rewrite ^([^\.]*)/topic-(.+)\.html$ $1/portal.php?mod=topic&topic=$2 last;

              rewrite ^([^\.]*)/article-([0-9]+)-([0-9]+)\.html$ $1/portal.php?mod=view&aid=$2&page=$3 last;

              rewrite ^([^\.]*)/forum-(\w+)-([0-9]+)\.html$ $1/forum.php?mod=forumdisplay&fid=$2&page=$3 last;

              rewrite ^([^\.]*)/thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$ $1/forum.php?mod=viewthread&tid=$2&extra=page%3D$4&page=$3 last;

              rewrite ^([^\.]*)/group-([0-9]+)-([0-9]+)\.html$ $1/forum.php?mod=group&fid=$2&page=$3 last;

              rewrite ^([^\.]*)/space-(username|uid)-(.+)\.html$ $1/home.php?mod=space&$2=$3 last;

              rewrite ^([^\.]*)/blog-([0-9]+)-([0-9]+)\.html$ $1/home.php?mod=space&uid=$2&do=blog&id=$3 last;

              rewrite ^([^\.]*)/(fid|tid)-([0-9]+)\.html$ $1/index.php?action=$2&value=$3 last;

              rewrite ^([^\.]*)/([a-z]+[a-z0-9_]*)-([a-z0-9_\-]+)\.html$ $1/plugin.php?id=$2:$3 last;

              if (!-e $request_filename) {

                              return 404;

              }

      }

    复制代码

使用信息须知(必读)

①本主题所有言论和图片纯属会员个人意见,与本站立场无关

②本站所有主题由该帖子作者发表,该帖子作者与本站享有帖子相关版权

③樱桃游戏开服网仅提供信息交流平台,不介入任何交易过程,不承担安全风险和法律责任

④本帖部分内容转载自其它媒体,但并不代表本站赞同其观点和对其真实性负责

⑤该页面资源下载仅保存于网盘,本站不涉及储存,用户下载仅供学习参考,不得用户商业用途

⑥如有侵权内容困扰请联系youxi@111.com,我们将针对版权信息及时予以删除

订阅 客服