李茂弘简介茂弘字用受,黄岩人。永乐乙未进士,官吏部员外郎。...〔李茂弘的诗(1篇)〕 诗词 1. 游泉南清溪洞 按年代分 先秦 两汉 魏晋 南北朝 隋代 唐代 五代 宋朝 元朝 明朝 清朝 近现代 诗词名家 纳兰容若 蔡文姬 曹植 袁枚 马致远 高启 孟浩然 柳宗元 唐寅 龚自珍 秦观 谢灵运 元稹 杨广 周邦彦 ...
if ($arr['lxdh'] != "") { $iphone = "/^1[34578]\d{9}$/"; $ip = preg_match($iphone, $arr['lxdh']); if (!$ip) { $data = array("result" => '3', "message" => "手机号格式不正确!"); //组装JSON echo json_encode($data); //返回 die; } else { ini_set("display...
id=$(this).parents().attr("id"); text=$(this).text(); that=$(this); if (fd==undefined){ alert("不能修改") } html=$(this).html('<input type="text" class="gg" value="'+text+'">') $(".gg").blur(function () { new_val=$(this).val(); $.ajax({ url:"zt", dataT...
Header("Location: $url"); exit(); } else { $state = Session('state'); if ($state == $_GET['state']) { $code=$_GET['code']; $token = $this->getAccessToken($code); $access_token=$token['access_token']; $open=$token['openid']; $acctoken="https://api.weixin.qq.com/s...
$size = 10; $pian = $page * $size; $jour = M('zy_journalism')->field('title,text,img,id,link,source,abstract,sort,crt')->select(); $count = count($jour); $end = ceil($count / $size); $sum = ($pian + 1) * $size; ...
递归实现 function ad(){ $res=DB::table("category")->get(); $res= json_encode($res); $res= json_decode($res,1); $arr= $this->gettree($res,0); var_dump($arr); } function gettree($data,$pid){ $tree=[]; foreach ($data as $k=>$v){...
}$power=$session->get("power");$power= json_decode($power);foreach($poweras$k=>$v){$arr[]=$v->controller.'/'.$v->function; }$res=Yii::$app->requestedRoute;if(!in_array($res,$arr)){echo"<a href='/mon/add'>权限不足</a>";die; ...
<div class="sleft"> <input type="text" name="nickname" class="search-input" value="{:I('nickname')}" placeholder="请输入用户姓名或手机号搜索"> <a class="sch-btn" href="javascript:;" id="search" url="{:U('index')}"><i class="btn-search"></i></a> ...
//表单 @if($v['sex']==0) <td class="se" ss="{{$v['sex']}}" id="{{$v['id']}}" >男</td> @elseif($v['sex']==1) <td class="se" ss="{{$v['sex']}}" id="{{$v['id']}}" >女</td> @endif //jqery ...
摘要: $param = $this->request->param(); $data = [ ['id' => 1, 'name' => '11'], ['id' => 2, 'name' => '22'], ['id' => 3, 'name' => '33'], ['id' => 1, 'name'阅读全文 posted @ 2023-12-13 10:46 php毛宏历的博客阅读(11)评论(0)推荐(0)编辑 ...