swenke 發表於 2020-2-4 17:19:51

举报不诚信(翔升科技)忽悠小白!

修改个判断非要ftp帐号,忽悠人,告诉改了两个文件,网站新装了下他的方法就失效,联系下除了那两个文件,还动了哪个文件,让百度然后就给拉黑了!无良这人,别人不懂技术就乱改动别人网站<br /><br />我的外包服务版发布的贴子联系上的,,模板里加个板块判断显示指定内容,微信联系的,说是dz开发者,也确认,谈好50元红包,改的是插件分类版块,只要写好判断代码,我知自己知道在哪个模板里加,要插件文件,我打包下载下来给他,又要ftp号,我也给他了,改好后,我还强调改动了几个文件,说只改了两个文件,1个插件根目录加d文件config.php文件&lt;?php<br />$id = array(1,2,3);《数这为插件版块,功能在指定板块显示指定的文字》<br /><br />if(in_array($catinfo,$id)){<br />&nbsp; &nbsp; &nbsp; &nbsp; $arr_asl = 1;<br />}<br /><br />?&gt;<br />然后摸板里加&lt;!--{if $arr_asl == 3}--&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 要显示的文字,可以引用的模板任何位置<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;!--{/if}--&gt;<br /><br /><font size="3"><font color="#ff0000">如果只改了这两个地方,为什么网站也没有升级,插件还是原来的插件,新装了下就失效果了,是们小白,还是他就是个小人?请大佬们评论下</font></font><br /><font size="3"><font color="#ff0000"><br /></font></font><br /><img title="1.jpg" id="aimg_5408" aid="5408" src1="static/image/common/none.gif" zoom="https://www.dismall.com/data/attachment/forum/202002/04/171611gw1s21nt5311n2db.jpg" src="https://www.dismall.com/data/attachment/forum/202002/04/171611gw1s21nt5311n2db.jpg" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /><br /><img title="2.jpg" id="aimg_5409" aid="5409" src1="static/image/common/none.gif" zoom="https://www.dismall.com/data/attachment/forum/202002/04/171613ghxvx47oay2kkvt7.jpg" src="https://www.dismall.com/data/attachment/forum/202002/04/171613ghxvx47oay2kkvt7.jpg" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /><br /><img title="3.jpg" id="aimg_5410" aid="5410" src1="static/image/common/none.gif" zoom="https://www.dismall.com/data/attachment/forum/202002/04/171615ta1whz606shhhwp7.jpg" src="https://www.dismall.com/data/attachment/forum/202002/04/171615ta1whz606shhhwp7.jpg" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /><br /><img title="4.jpg" id="aimg_5411" aid="5411" src1="static/image/common/none.gif" zoom="https://www.dismall.com/data/attachment/forum/202002/04/171619pypyesrmieepxi90.jpg" src="https://www.dismall.com/data/attachment/forum/202002/04/171619pypyesrmieepxi90.jpg" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /><br /><img title="5.jpg" id="aimg_5412" aid="5412" src1="static/image/common/none.gif" zoom="https://www.dismall.com/data/attachment/forum/202002/04/171622nivdneowe8df1v9e.jpg" src="https://www.dismall.com/data/attachment/forum/202002/04/171622nivdneowe8df1v9e.jpg" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /><br /><br /><br />文件<em>, </em>插件<em>, </em>两个<em>, </em>size<em>, </em>判断

swenke 發表於 2020-2-4 17:25:29

&lt;!--{if $arr_asl == 1}--&gt;<br />要显示的文字,可以引用的模板任何位置<br />&nbsp; &nbsp; &lt;!--{/if}--&gt;<br />这是样的,上面是我写错了

swenke 發表於 2020-2-4 17:36:24

<img title="微信图片_20200204173517.jpg" id="aimg_5414" aid="5414" src1="static/image/common/none.gif" zoom="https://www.dismall.com/data/attachment/forum/202002/04/173542qtzuuu5ra8u66u6s.jpg" src="https://www.dismall.com/data/attachment/forum/202002/04/173542qtzuuu5ra8u66u6s.jpg" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /><br />说的是只修改了两个文件<br />

杰瑞科技 發表於 2020-2-11 18:30:04

<ol><li>&lt;?php<br /><li>$id = array(1,2,3);<br /><li><br /><li>if(in_array($catinfo,$id)){<br /><li>&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;$arr_asl = 1;<br /><li>}<br /><li><br /><li>?&gt;</ol><br />这里的意思是当板块id是1或2或3的时候<br />设置$arr_asl为1<br /><ol><li>&lt;!--{if $arr_asl == 3}--&gt;<br /><li>&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; 要显示的文字,可以引用的模板任何位置<br /><li>&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&lt;!--{/if}--&gt;</ol><br />这里的意思是 当$arr_asl等于3的时候显示文字,<br />$arr_asl永远都不等于3,所以永远都不会显示文字<br />很简单的错误,不知道是开发者给错了代码还是您弄错了代码

罗永浩 發表於 2020-2-11 23:56:36

<br />代码可以加入汉字,要在汉字前加“#”或者“//”

swenke 發表於 2020-2-15 14:08:14

<br /><br />&lt;!--{if $_G == 1 }--&gt;&lt;div&gt;111&lt;/div&gt;&lt;!--{/if}--&gt;<br />谢谢!用这个方法简单的,方便已经解决了<br />https://www.dismall.com/thread-4126-1-1.html
頁: [1]
查看完整版本: 举报不诚信(翔升科技)忽悠小白!