七牛云配置说明:https://www.wxcydz.cc/t-7413-1-1.html
DIY数据调用说明使用方法:(提醒:必须先安装好组件和插件,只安装组件无法独立运行) 首先进入网站后台----工具----DIY 模块分类缓存(打勾)
确定后,等待提示更新完毕。 (提醒:必须看到更新完毕的提示,否则无法正常使用组件)
进入门户 --- 模块模板 --- 添加--- 模块分类选择对应插件模块。(找不到,说明没安装主插件,或是没有更新DIY模块分类缓存)
提交后,看见2个填写框。
模板名称:随便填写,自己知道即可。 内容框,先清空 替换为以下代码并提交:(有动手能力的站长,也可以自己设计其它样式) ==========================代码开始========================== - <style>
- #xlwsqdown_con{margin:0 auto 10px;font-family: "Microsoft YaHei",Arial,宋体;}
- #xlwsqdown_con ul{overflow:hidden;zoom:1;}
- #xlwsqdown_con ul li{float:left; display:inline; margin:5px 0 0 5px;width:305px; overflow:hidden;zoom:1;border:1px #e3e3e3 solid; z-index:1; position: relative; height:175px;}
- #xlwsqdown_con ul li p{margin:5px;font-size:13px;}
- #xlwsqdownnfo{margin: 0px 5px; overflow:hidden;zoom:1;position: relative;border-bottom: 1px #eee solid;padding: 5px 0;}
- #xlwsqdownnfo .ztimg,#xlwsqdownnfo .ztname,#xlwsqdownnfo .ztfenlei,#xlwsqdownnfo .ztpingfen{float:left;display:inline; overflow:hidden;zoom:1;}
- #xlwsqdownnfo .ztimg{width:60px; height:60px; overflow:hidden;zoom:1; margin-right: 9px;position: relative;border-radius:3px;}
- #xlwsqdownnfo .ztimg img{width:74px; height:60px; margin-left:-7px;}
- #xlwsqdownnfo .ztimg em{display:block; width:60px; height:60px; background:url(../images/con_img_zz.png) no-repeat; position:absolute; top:0px; left:0px;z-index:9;}
- #xlwsqdownnfo .ztname,#xlwsqdownnfo .ztfenlei,#xlwsqdownnfo .ztpingfen{ line-height: 20px; height:20px; width: 220px;}
- #xlwsqdownnfo .ztfenlei{width:150px; overflow:hidden;zoom:1;}
- #xlwsqdownnfo .ztname{color: #ff0000; font-size:16px;}
- #xlwsqdownnfo .ztfenlei i,#xlwsqdownnfo .ztfenlei em{float:left;display:inline;font-style:normal;}
- #xlwsqdownnfo .ztfenlei i{ color: #AAA;}
- #xlwsqdownnfo .ztfenlei em{width:1px; height:12px; overflow:hidden;zoom:1; background:#ddd; margin:4px 5px 0;}
- #xlwsqdownnfo .ztpingfen strong,#xlwsqdownnfo .ztpingfen b,#xlwsqdownnfo .ztpingfen em{float:left;display:inline;overflow:hidden;zoom:1;}
- #xlwsqdownnfo .ztpingfen strong,#xlwsqdownnfo .ztpingfen b{width:82px; height:18px; }
- #xlwsqdownnfo .ztpingfen strong{background:url(source/plugin/xlwsq_down/images/star_bg.png) no-repeat 0px -17px;}
- #xlwsqdownnfo .ztpingfen b{background:url(source/plugin/xlwsq_down/images/star_bg.png) no-repeat 0px 1px;}
- #xlwsqdownnfo .ztpingfen em{color:#ff5400;font-family: airal,tahoma,"Microsoft YaHei";margin-left: 5px;}
- #xlwsqdownnfo .ztxiazaibtn{overflow:hidden;zoom:1;width:54px; height:22px; display:block; position:absolute; top: 37px; right: 0px; background:url(source/plugin/xlwsq_down/images/ztdownbtn.png) no-repeat 0px 0px;text-indent: -999em;z-index: 9;}
- #xlwsqdownnfo .ztxiazaibtn:hover{background:url(source/plugin/xlwsq_down/images/ztdownbtn.png) no-repeat 0px -22px;}
- </style>
-
-
- <div id="xlwsqdown_con">
- <ul>[loop]
- <li onmouseover="this.style.backgroundColor='#f8f8f8'" onmouseout="this.style.backgroundColor='#ffffff'">
- <div id="xlwsqdownnfo">
- <a href="plugin.php?id=xlwsq_down&mod=view&sid={id}" class="ztimg" target="_blank"title="{title}">
- <img src="{pic}" alt="{title}" />
- </a>
- <a href="plugin.php?id=xlwsq_down&mod=view&sid={id}" class="ztname" target="_blank" title="{title}">{title}</a>
- <span class="ztfenlei">
- {cate}
- </span>
- <span class="ztpingfen">
- <strong title="{zongtipingjia}星"><b style="width: {pxing}0%"></b></strong>
- </span>
- <a href="plugin.php?id=xlwsq_down&mod=view&sid={id}" class="ztxiazaibtn" target="_blank">下载</a>
- </div>
- <p><a href="plugin.php?id=xlwsq_down&mod=view&sid={id}" target="_blank" title="{title}">{info}</a></p>
- </li>
- [/loop]
- </ul>
- </div>
复制代码==========================代码结束========================== 前台任何可diy页面上找对应的模块,把模块拖拉到网页上即可
不知道服务器怎么配置开启静态,请自行百度或咨询空间商客服。
添加规则后没生效,请尝试重启服务器,重启服务器,重启服务器。
=====================Apache Web Server规则=====================(分割线不需要复制)
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^xiazai_index\.html$ plugin.php?id=xlwsq_down&mod=index&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^xiazai\.html$ plugin.php?id=xlwsq_down&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^xiazai_uid_([0-9]+)\.html$ plugin.php?id=xlwsq_down&mod=userresourcelist&uid=$1&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^xiazai_list_([0-9]+)_([0-9]+)_([0-9]+)\.html$ plugin.php?id=xlwsq_down&a=$1&b=$2&yy=$3&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^xiazai_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)\.html$ plugin.php?id=xlwsq_down&a=$1&b=$2&yy=$3&page=$4&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^xiazai_list_([0-9]+)_([0-9]+)_([0-9]+)_tj\.html$ plugin.php?id=xlwsq_down&a=$1&b=$2&yy=$3&paixu=tj&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^xiazai_list_([0-9]+)_([0-9]+)_([0-9]+)_free\.html$ plugin.php?id=xlwsq_down&a=$1&b=$2&yy=$3&paixu=free&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^xiazai_list_([0-9]+)_([0-9]+)_([0-9]+)_pay\.html$ plugin.php?id=xlwsq_down&a=$1&b=$2&yy=$3&paixu=pay&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^xiazai_list_([0-9]+)_([0-9]+)_([0-9]+)_view\.html$ plugin.php?id=xlwsq_down&a=$1&b=$2&yy=$3&paixu=view&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^xiazai_list_([0-9]+)_([0-9]+)_([0-9]+)_down\.html$ plugin.php?id=xlwsq_down&a=$1&b=$2&yy=$3&paixu=down&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^xiazai_ztlist\.html$ plugin.php?id=xlwsq_down&mod=zhuantilist&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^xiazai_ztlist_view\.html$ plugin.php?id=xlwsq_down&mod=zhuantilist&paixu=view&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^xiazai_ztlist_([0-9]+)\.html$ plugin.php?id=xlwsq_down&mod=zhuantilist&page=$1&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^xiazai_([0-9]+)\.html$ plugin.php?id=xlwsq_down&mod=view&sid=$1&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^xiazai_([0-9]+)_pic\.html$ plugin.php?id=xlwsq_down&mod=pic&sid=$1&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^xiazai_([0-9]+)_pic_([0-9]+)\.html$ plugin.php?id=xlwsq_down&mod=pic&sid=$1&page=$2&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^xiazai_zt_([0-9]+)\.html$ plugin.php?id=xlwsq_down&mod=zhuantiview&ztid=$1&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^xiazai_user\.html$ plugin.php?id=xlwsq_down:xlwsq_down_user&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^xiazai_user_add\.html$ plugin.php?id=xlwsq_down:xlwsq_down_user&p=add&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^xiazai_user_favorites\.html$ plugin.php?id=xlwsq_down:xlwsq_down_user&p=favorites&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^xiazai_user_xfjl\.html$ plugin.php?id=xlwsq_down:xlwsq_down_user&p=xfjl&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^xiazai_user_syjl\.html$ plugin.php?id=xlwsq_down:xlwsq_down_user&p=syjl&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^xiazai_pinglunlist_([0-9]+)\.html$ plugin.php?id=xlwsq_down&mod=pinglunlist&sid=$1&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^xiazai_user_massup_([0-9]+)\.html$ plugin.php?id=xlwsq_down:xlwsq_down_user&p=massup&sid=$1&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^xiazai_user_html5up_([0-9]+)\.html$ plugin.php?id=xlwsq_down:xlwsq_down_user&p=html5up&sid=$1&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^xiazai_user_adddown_([0-9]+)\.html$ plugin.php?id=xlwsq_down:xlwsq_down_user&p=adddown&sid=$1&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^xiazai_user_xzjl\.html$ plugin.php?id=xlwsq_down:xlwsq_down_user&p=xzjl&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^xiazai_user_edit_([0-9]+)\.html$ plugin.php?id=xlwsq_down:xlwsq_down_user&p=edit&sid=$1&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^xiazai_user_addpic_([0-9]+)\.html$ plugin.php?id=xlwsq_down:xlwsq_down_user&p=addpic&sid=$1&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^xiazai_user_mylist\.html$ plugin.php?id=xlwsq_down:xlwsq_down_user&p=mylist&%1
复制代码 =====================IIS6规则=====================
- RewriteRule ^(.*)/xiazai_index\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_down&mod=index
- RewriteRule ^(.*)/xiazai\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_down
- RewriteRule ^(.*)/xiazai_uid_([0-9]+)\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_down&mod=userresourcelist&uid=$2
- RewriteRule ^(.*)/xiazai_list_([0-9]+)_([0-9]+)_([0-9]+)\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_down&a=$2&b=$3&yy=$4
- RewriteRule ^(.*)/xiazai_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_down&a=$2&b=$3&yy=$4&page=$5
- RewriteRule ^(.*)/xiazai_list_([0-9]+)_([0-9]+)_([0-9]+)_tj\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_down&a=$2&b=$3&yy=$4&paixu=tj
- RewriteRule ^(.*)/xiazai_list_([0-9]+)_([0-9]+)_([0-9]+)_free\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_down&a=$2&b=$3&yy=$4&paixu=free
- RewriteRule ^(.*)/xiazai_list_([0-9]+)_([0-9]+)_([0-9]+)_pay\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_down&a=$2&b=$3&yy=$4&paixu=pay
- RewriteRule ^(.*)/xiazai_list_([0-9]+)_([0-9]+)_([0-9]+)_view\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_down&a=$2&b=$3&yy=$4&paixu=view
- RewriteRule ^(.*)/xiazai_list_([0-9]+)_([0-9]+)_([0-9]+)_down\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_down&a=$2&b=$3&yy=$4&paixu=down
- RewriteRule ^(.*)/xiazai_ztlist\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_down&mod=zhuantilist
- RewriteRule ^(.*)/xiazai_ztlist_view\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_down&mod=zhuantilist&paixu=view
- RewriteRule ^(.*)/xiazai_ztlist_([0-9]+)\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_down&mod=zhuantilist&page=$2
- RewriteRule ^(.*)/xiazai_zt_([0-9]+)\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_down&mod=zhuantiview&ztid=$2
- RewriteRule ^(.*)/xiazai_([0-9]+)\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_down&mod=view&sid=$2
- RewriteRule ^(.*)/xiazai_([0-9]+)_pic\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_down&mod=pic&sid=$2
- RewriteRule ^(.*)/xiazai_([0-9]+)_pic_([0-9]+)\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_down&mod=pic&sid=$2&page=$3
- RewriteRule ^(.*)/xiazai_user\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_down:xlwsq_down_user
- RewriteRule ^(.*)/xiazai_user_add\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_down:xlwsq_down_user&p=add
- RewriteRule ^(.*)/xiazai_user_favorites\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_down:xlwsq_down_user&p=favorites
- RewriteRule ^(.*)/xiazai_user_xfjl\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_down:xlwsq_down_user&p=xfjl
- RewriteRule ^(.*)/xiazai_user_syjl\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_down:xlwsq_down_user&p=syjl
- RewriteRule ^(.*)/^xiazai_pinglunlist_([0-9]+)\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_down&mod=pinglunlist&sid=$2
- RewriteRule ^(.*)/xiazai_user_massup_([0-9]+)\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_down:xlwsq_down_user&p=massup&sid=$2
- RewriteRule ^(.*)/xiazai_user_html5up_([0-9]+)\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_down:xlwsq_down_user&p=html5up&sid=$2
- RewriteRule ^(.*)/xiazai_user_adddown_([0-9]+)\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_down:xlwsq_down_user&p=adddown&sid=$2
- RewriteRule ^(.*)/xiazai_user_xzjl\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_down:xlwsq_down_user&p=xzjl
- RewriteRule ^(.*)/xiazai_user_edit_([0-9]+)\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_down:xlwsq_down_user&p=edit&sid=$2
- RewriteRule ^(.*)/xiazai_user_addpic_([0-9]+)\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_down:xlwsq_down_user&p=addpic&sid=$2
- RewriteRule ^(.*)/xiazai_user_mylist\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_down:xlwsq_down_user&p=mylist$2
复制代码 =====================Nginx Web Server规则=====================
- rewrite ^([^\.]*)/xiazai_index\.html$ $1/plugin.php?id=xlwsq_down&mod=index last;
- rewrite ^([^\.]*)/xiazai\.html$ $1/plugin.php?id=xlwsq_down last;
- rewrite ^([^\.]*)/xiazai_uid_([0-9]+)\.html$ $1/plugin.php?id=xlwsq_down&mod=userresourcelist&uid=$2 last;
- rewrite ^([^\.]*)/xiazai_list_([0-9]+)_([0-9]+)_([0-9]+)\.html$ $1/plugin.php?id=xlwsq_down&a=$2&b=$3&yy=$4 last;
- rewrite ^([^\.]*)/xiazai_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)\.html$ $1/plugin.php?id=xlwsq_down&a=$2&b=$3&yy=$4&page=$5 last;
- rewrite ^([^\.]*)/xiazai_list_([0-9]+)_([0-9]+)_([0-9]+)_tj\.html$ $1/plugin.php?id=xlwsq_down&a=$2&b=$3&yy=$4&paixu=tj last;
- rewrite ^([^\.]*)/xiazai_list_([0-9]+)_([0-9]+)_([0-9]+)_free\.html$ $1/plugin.php?id=xlwsq_down&a=$2&b=$3&yy=$4&paixu=free last;
- rewrite ^([^\.]*)/xiazai_list_([0-9]+)_([0-9]+)_([0-9]+)_pay\.html$ $1/plugin.php?id=xlwsq_down&a=$2&b=$3&yy=$4&paixu=pay last;
- rewrite ^([^\.]*)/xiazai_list_([0-9]+)_([0-9]+)_([0-9]+)_view\.html$ $1/plugin.php?id=xlwsq_down&a=$2&b=$3&yy=$4&paixu=view last;
- rewrite ^([^\.]*)/xiazai_list_([0-9]+)_([0-9]+)_([0-9]+)_down\.html$ $1/plugin.php?id=xlwsq_down&a=$2&b=$3&yy=$4&paixu=down last;
- rewrite ^([^\.]*)/xiazai_ztlist\.html$ $1/plugin.php?id=xlwsq_down&mod=zhuantilist last;
- rewrite ^([^\.]*)/xiazai_ztlist_view\.html$ $1/plugin.php?id=xlwsq_down&mod=zhuantilist&paixu=view last;
- rewrite ^([^\.]*)/xiazai_ztlist_([0-9]+)\.html$ $1/plugin.php?id=xlwsq_down&mod=zhuantilist&page=$2 last;
- rewrite ^([^\.]*)/xiazai_zt_([0-9]+)\.html$ $1/plugin.php?id=xlwsq_down&mod=zhuantiview&ztid=$2 last;
- rewrite ^([^\.]*)/xiazai_([0-9]+)\.html$ $1/plugin.php?id=xlwsq_down&mod=view&sid=$2 last;
- rewrite ^([^\.]*)/xiazai_([0-9]+)_pic\.html$ $1/plugin.php?id=xlwsq_down&mod=pic&sid=$2 last;
- rewrite ^([^\.]*)/xiazai_([0-9]+)_pic_([0-9]+)\.html$ $1/plugin.php?id=xlwsq_down&mod=pic&sid=$2&page=$3 last;
- rewrite ^([^\.]*)/xiazai_user\.html$ $1/plugin.php?id=xlwsq_down:xlwsq_down_user last;
- rewrite ^([^\.]*)/xiazai_user_add\.html$ $1/plugin.php?id=xlwsq_down:xlwsq_down_user&p=add last;
- rewrite ^([^\.]*)/xiazai_user_favorites\.html$ $1/plugin.php?id=xlwsq_down:xlwsq_down_user&p=favorites last;
- rewrite ^([^\.]*)/xiazai_user_xfjl\.html$ $1/plugin.php?id=xlwsq_down:xlwsq_down_user&p=xfjl last;
- rewrite ^([^\.]*)/xiazai_user_syjl\.html$ $1/plugin.php?id=xlwsq_down:xlwsq_down_user&p=syjl last;
- rewrite ^([^\.]*)/xiazai_pinglunlist_([0-9]+)\.html$ $1/plugin.php?id=xlwsq_down&mod=pinglunlist&sid=$2 last;
- rewrite ^([^\.]*)/xiazai_user_massup_([0-9]+)\.html$ $1/plugin.php?id=xlwsq_down:xlwsq_down_user&p=massup&sid=$2 last;
- rewrite ^([^\.]*)/xiazai_user_html5up_([0-9]+)\.html$ $1/plugin.php?id=xlwsq_down:xlwsq_down_user&p=html5up&sid=$2 last;
- rewrite ^([^\.]*)/xiazai_user_adddown_([0-9]+)\.html$ $1/plugin.php?id=xlwsq_down:xlwsq_down_user&p=adddown&sid=$2 last;
- rewrite ^([^\.]*)/xiazai_user_xzjl\.html$ $1/plugin.php?id=xlwsq_down:xlwsq_down_user&p=xzjl last;
- rewrite ^([^\.]*)/xiazai_user_edit_([0-9]+)\.html$ $1/plugin.php?id=xlwsq_down:xlwsq_down_user&p=edit&sid=$2 last;
- rewrite ^([^\.]*)/xiazai_user_addpic_([0-9]+)\.html$ $1/plugin.php?id=xlwsq_down:xlwsq_down_user&p=addpic&sid=$2 last;
- rewrite ^([^\.]*)/xiazai_user_mylist\.html$ $1/plugin.php?id=xlwsq_down:xlwsq_down_user&p=mylist last;
复制代码 =====================IIS7(或7以上)规则=====================
|