摘要: <div class="gl_fenye"> <span id="shang">上一页</span> <span id="xia">下一页</span> <span>当前第:<input type="text" id="dq" value="1" style="width:50px;"/>页</sp 阅读全文
posted @ 2016-08-26 16:31 于超。 阅读(113) 评论(0) 推荐(0) 编辑
摘要: .zhuti { position:absolute; z-index:3; font-size:14px; border-radius:5px; box-shadow:0 0 5px #999999; overflow:hidden; color:#333; } .title { backgrou 阅读全文
posted @ 2016-08-26 16:23 于超。 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 1.问题 ajax显示数据解决思路:给需要的选项卡加一个点击事件,直接调用ajax,跳转处理页面处理,处理完返回ajax接收,然后拆分为数组显示在页面。 $.ajax({ async:false, url:"guanlichuli.php", dataType:"TEXT", success: fu 阅读全文
posted @ 2016-08-12 21:39 于超。 阅读(204) 评论(0) 推荐(0) 编辑
摘要: function update() { $info=M("info"); $code = $_GET["code"]; if(empty($_POST)) { $attr=$info->find($code); $minzu=$info->table("nation")->distinct(true)->select(); ... 阅读全文
posted @ 2016-08-03 15:58 于超。 阅读(2968) 评论(0) 推荐(0) 编辑
摘要: <div class="tupian"><img src="qiye_images/aaa.png" class="lunbo" style="display:block;"/><img src="qiye_images/bbb.png" class="lunbo"/><img src="qiye_ 阅读全文
posted @ 2016-07-18 13:50 于超。 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 请输入用户名: 处理页面 Query($sql); if($attr[0][0]==1) { echo "NO"; } else{ echo "OK"; } 阅读全文
posted @ 2016-06-30 13:47 于超。 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 全选 aa bb cc dd 阅读全文
posted @ 2016-06-28 14:00 于超。 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 1.引入两个类文件 连接数据库的类和分页类2.造对象 查询出所有条数 索引取 $tiaoshu=$attrn[0][0];3.根据条数查所有的数据 $page->limit 4.判断提交的name值是否为空 将name值取出来判断是否为空 作为查询条件 拼在SQL语句上 5.调用分页的方法 阅读全文
posted @ 2016-06-28 09:45 于超。 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 导航栏特效: 例子: A B C D 效果:点击A 会出现B C D JS代码 用到了toggle方法 阅读全文
posted @ 2016-06-24 15:46 于超。 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 1.控制器代码 add方法function Add(){//添加数据 AR方式 // 自动添加 $info=M("info"); $attrn=$info->table("nation")->distinct(true)->select(); $this->assign("nation",$attrn); if(empty($_POST)){ $this->display(); }... 阅读全文
posted @ 2016-06-17 09:13 于超。 阅读(463) 评论(0) 推荐(0) 编辑