匠心不改,精益求精!
[ 登陆 - 注册 ]

相关分类

欢迎 小蝌蚪加大 的加入!

这导出数据库之前,language选择 Chinese simplified ,然后在导出即可。

引入用于获取微信接口信息的php文件<?php     // 步骤1.设置appid和appsecret     $appid = ''; //此处填写绑定的微信公众号的ap

插件类的命名以 mobileplugin_类名//pc端class plugin_zsbanner{}//移动端class mobileplugin_zsbanner {}引入模版文件//pc端include template('zsbanner:forum/banner');  //模版存放位置 /source/plug

找到msyql安装目录,我在是在这D盘这里,重命名或删除ib_logfile0   ib_logfile1 这两个文件,在重启mysql

自已开发的插件上线了,本地安装不了找到 /source/function/function_cloudaddons.php 120行左右,将这段代码注释掉  // cpmsg('cloudaddons_genuine_message', '', 'error&

<?php /**  *  Copyright 2021-2099 51助手网(www.51zuso.com)  */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); }

在/config/config_global.php 添加 $_config['plugindeveloper']  参数$_config['plugindeveloper'] =1; //开启后台开发模式$_config['plugindeveloper&#

<?php // 调用语言包 // 模版中调用模板文件语言包,通过 {lang identifier:english} 方式调用。 // 程序脚本中调用脚本文件语言包,通过 lang('plugin/identifier

/* 获得当前页面URL开始 */  function curPageURL() {      $pageURL = 'http';      if&nbs

使用prop方法,动态添加checked选中状态<input class="target checked"  name="check" type="checkbox"> <script type="text/j

//原始数组是这样的,希望能够按照第二维中的run_date升序或者降序进行排序:$arr=array(                0=>array(                &nbs

目录1 showsetting()表单显示2 cpmsg()提示消息3 showformheader()创建表单头4 showformfooter()创建表单尾5 showtableheader()创建表格头6 showtablefooter()创建表格尾7&

//例: function ad_subnavbanner(){ global $_G; loadcache('plugin'); $setData = $_G['cache']['plugin']['zsBanner']; var_du

diy标签 ,id值可以修改,class="area" 是固定的<!--[diy=diy1]--><div id="diyzs" class="area"></div><!--[/diy]-->

在门户添加了一个添加频道,发现不是管理员就会访问不了修改把这里选择是,搞定!

error_reporting(E_ALL); 打开所有报错表单令牌$formhash = FORMHASH;<input type="hidden" name="formhash"  value="$formhash">

//插入一条数据Db::insert('test',array('name'=>'51zuso'),true);//如果存在则更新Db::insert('test',array('id'=>1,'name'=&g

1

1

{template common/header}main{template common/footer}{$_G['username']}{DISCUZ_ROOT}{echo '51zuso'}{eval echo 123;}{eval} echo time();{/eval}{avat