
代码
文章平均质量分 60
萌球球Q
这个作者很懒,什么都没留下…
展开
-
网页里滑动门的基本代码
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml">无标题文档*{ margin:0; padding:0;}#div0 { display: block; width: 450px; height:300px; ma原创 2013-09-30 09:01:30 · 745 阅读 · 0 评论 -
产品添加页代码
include "../include/head.php";include "../include/cn.php";include "../include/fun.php";include "../esifsf/fckeditor.php";$sql="select * from product order by id desc";$rs=mysql_query($sql);原创 2013-10-12 19:18:22 · 653 阅读 · 0 评论 -
产品删除页代码
include "../include/head.php";include "../include/cn.php";include "../include/fun.php";?>$sql="select * from product where id=".$_GET["id"];$rs=mysql_query($sql);$row=mysql_fetch_array原创 2013-10-12 19:17:30 · 500 阅读 · 0 评论 -
css样式表规则和代码
1、样式表文件里面的代码混乱,随着项目的进展,样式表里面的先有代码不敢做任何改变,因为连自己也不知道改了以后会给现有项目造成什么影响。更不敢删除。因为连自己都不知道此处的样式到底什么地方用到了。2、样式表文件体积增大,一个页面即使没有用到多数的样式,但仍然只能引用所有的样式,导致页面的加载缓慢。3、所有的选择器类型全部混在一起。甚至出现很多上下的重复和不一致。页面布局#原创 2013-09-26 15:52:03 · 764 阅读 · 0 评论 -
模块页代码的一部分
include "../include/head.php";include "../include/cn.php";$sql="select single_content.title as title,single_content.content as content,single_class.title as tt,single_content.id as id from single_原创 2013-10-10 20:05:23 · 608 阅读 · 0 评论 -
列表产品添加链接页代码
家视野家居商城http://www.jiashiye.cominclude "../include/head.php";include "../include/cn.php";include"../include/fun.php";if ($_GET["atc"]=="ok"){ $keywords=$_POST["keyword"]; $ds=$_POST[原创 2013-10-10 09:07:28 · 692 阅读 · 0 评论 -
模块删除页代码
include "../include/head.php";include "../include/cn.php";include"../include/fun.php";$sql="delete from single_content where id=".$_GET["id"];if (mysql_query($sql)){ box("信息删除成功","manage.p原创 2013-10-10 20:04:13 · 617 阅读 · 0 评论 -
删除图片的代码
家视野家居商城http://www.jiashiye.comsession_start();include "../include/head.php";include "../include/cn.php";include "../include/fun.php";$sql="select * from product where id=".$_SESSION["id"];原创 2013-10-09 22:34:34 · 1107 阅读 · 0 评论 -
后台网站链接页的代码
家视野家居商城http://www.jiashiye.cominclude "../include/head.php";include "../include/cn.php";include "../include/fun.php";?>$filename=upfile(0,4,"file");$keyword=$_POST["keyword"];$dis=原创 2013-10-09 22:31:02 · 963 阅读 · 0 评论 -
用PHP制作网站之框架页头部代码
无标题文档body,td,th {font-family: 隶书;font-size: 36px;color: #C00;}body {margin-left: 200px;margin-top: 10px;margin-right: 200px;margin-bottom: 10px;}--> 长春家视野家具商城原创 2013-10-08 21:40:23 · 874 阅读 · 0 评论 -
用PHP制作网站之链接页代码
$cn=mysql_connect("127.0.0.1","root","123456");if (!$cn){die ("数据库连接失败" . mysql_error());}mysql_select_db("tt",$cn);mysql_query("set names 'utf8'");?>家视野家具商城http://www.jiashiye.com原创 2013-10-08 21:42:35 · 785 阅读 · 0 评论 -
用PHP制作网站之验证码页代码
//PHP_md5("字符串")define("BITS_TO_A_BYTE",8);define("BYTES_TO_A_WORD",4);define("BITS_TO_A_WORD",32);$m_lOnBits=array(30);$m_l2Power=array(30); function LShift($lValue,$iShiftBits){原创 2013-10-08 21:42:36 · 541 阅读 · 0 评论 -
用PHP制作网站之框架页左侧代码
无标题文档 单页模块 添加 管理 列表模块 添加 管理原创 2013-10-08 21:40:31 · 724 阅读 · 0 评论 -
商品图片缓慢放大效果图的代码
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml">无标题文档*{ padding:0px; margin:0px;}#div1 { height: 200px; width: 900px; position:relati原创 2013-09-30 09:03:11 · 771 阅读 · 0 评论 -
图区相同图片不同大小的图片名的字符串
无标题文档 function get(){ var img=document.body.getElementsByTagName("img")[0]; s=img.src; m="images/lanbojini"+s.substring(s.lastIndexOf("/")+1); //alert(m); if (s=="原创 2013-09-30 09:01:12 · 734 阅读 · 0 评论 -
文字的特殊阴影效果代码
#glowtext{filter:glow(color=FFaa00,strength=6);width:100%;}-->function glowit(which){if (document.all.glowtext[which].filters[0].strength==3)document.all.glowtext[which].filters[0].s原创 2013-09-28 15:32:31 · 662 阅读 · 0 评论