01 2019 档案
摘要:强行聊天的代码: 强行加好友的代码: fuin代表主动添加的一方,uin是被加的一方,你也可以去掉fuin,如: 把369673218换成你自己的就可以啦。在网页上放置这样的链接,别人点击可以直接添加你的QQ啦。 比如html: 点击添加我的QQ为好友 代码: 你还可以在网页里添加跳转代码,打开网页
阅读全文
摘要:<link rel="stylesheet" href="__STATIC__/css/bootstrap.min.css"/><form action="{:url('index/sou')}" method="post"> <input type="text" placeholder="请输入管
阅读全文
摘要:密码 进入mysql下面 1、首先建空数据库mysql>create database abc; 2、导入数据库方法一:(1)选择数据库mysql>use abc;(2)设置数据库编码mysql>set names utf8;(3)导入数据(注意sql文件的路径,根据自己放的位置改变)mysql>s
阅读全文
摘要:var fan = document.getElementById('fan'); var box = document.getElementsByName('box'); $("#quan").click(function(){ for(var i=0; i<box.length;i++){ bo
阅读全文
摘要:<tr id="{$v.id}"> <td class="name"><span>iphonCX</span></td> $("span").dblclick(function(){ var txt=$(this).text(); $(this).parent().html("<input type
阅读全文
摘要:<tr id="{$v.uid}">{switch name="$v.is_on" } {case value="已启用" }<a href="javascript:void(0);" class="cli">已启用</a>{/case} {case value="已停用"}<a href="jav
阅读全文
摘要:public function user_list(){ //接收当前页面 $p = Request::instance()->param("page"); $page = empty($p)?1:$p; //查询总条数 $count = Db::table("user")->count(); //
阅读全文
摘要:public function _initialize() { if (!Session::has('user', 'think')) { $this->error('您还没有登录', 'Login/index'); } } public function index() { $value=Sess
阅读全文
摘要:public function login(){ if (Request::instance()->isAjax()){ $name= Request::instance()->post('name'); $password = Request::instance()->post('password
阅读全文
摘要:public function _initialize() { if (!Session::has('user', 'think')) { $this->error('非法登录', 'Login/index'); } $this->get_date(); } public function get_
阅读全文
摘要:<input type="text" name="name" id="word"/> <button class="sou" id="{$arr.p}">搜索</button><input type="hidden" name="p" id="p" value="{$arr.p}"><tbody i
阅读全文
摘要:新建一个库并设置编码create database 数据库名称 character set utf8 collate utf8_general_ci ;创建表:mysql> create table if not exists class( -> id int primary key auto_in
阅读全文