摘要: 编辑 × 模态框(Modal)标题 在这里添加一些文本 关闭 提交更改 ... 阅读全文
posted @ 2017-02-10 17:59 xyyphp 阅读(376) 评论(0) 推荐(0) 编辑
摘要: //返回json数据给js function json_output($err_code = 0 , $error_message = '' , $data = [] , $redirect = '',$jsonp = FALSE){ $ret = array( 'error_code' => $err_code, 'error_message' => $error_messa... 阅读全文
posted @ 2016-11-11 15:00 xyyphp 阅读(159) 评论(0) 推荐(0) 编辑
摘要: #!/bin/sh #修改为服务编码 export LANG=zh_CN.utf-8 #Set variable REPOS="$1" REV="$2" SVN=/usr/bin/svn WEB=/home/www/develop LOG=/var/log/svn/post-commit.log #update the code from the SVN $SVN update $WEB... 阅读全文
posted @ 2016-11-11 12:16 xyyphp 阅读(1327) 评论(0) 推荐(0) 编辑
摘要: 调用方式: $header = self::getHeader(); $data = self::postUrl($url, $header); /** * 组合Header * @return type */ protected static function getHeader() { retu 阅读全文
posted @ 2016-11-11 10:44 xyyphp 阅读(295) 评论(0) 推荐(0) 编辑
摘要: /** * 跳转 * @param type $msg * @param type $url */ protected function jump($msg, $url) { $html = 提示 {$msg} 3 秒后自动跳转,如不跳转,请点击:{$msg} ... 阅读全文
posted @ 2016-11-03 11:23 xyyphp 阅读(317) 评论(0) 推荐(0) 编辑
摘要: setEachDisNums(50);//设置每页显示多少条(可选) $limit = $subPages->getLimit();//生成用于sql的limit参数格式: 0,20 $show_pages = $subPages->show_SubPages();//显示分页 */ class SubPages{ private $each_disN... 阅读全文
posted @ 2016-10-12 18:15 xyyphp 阅读(476) 评论(0) 推荐(0) 编辑
摘要: 授权获取二维码类: 调取实例: 阅读全文
posted @ 2016-10-12 14:31 xyyphp 阅读(8619) 评论(0) 推荐(0) 编辑
摘要: <?php /** * 对Yii2数据封装 * @author nike@youfumama.com * @date 2017-03-08 * 抽象类不能被实例化 * eg1: select use common\models as b_model; $users_model = b_model\F 阅读全文
posted @ 2016-10-12 13:52 xyyphp 阅读(340) 评论(0) 推荐(0) 编辑