├── .project ├── README.md ├── admin.php ├── admin ├── book │ ├── add.php │ ├── change.php │ ├── delete.php │ ├── index.php │ ├── insert.php │ ├── putaway.php │ ├── soldout.php │ ├── update.php │ └── useroffer.php ├── check.php ├── class │ ├── add.php │ ├── change.php │ ├── delete.php │ ├── index.php │ ├── insert.php │ └── update.php ├── comment │ ├── delete.php │ └── index.php ├── indent │ ├── change.php │ ├── code.php │ ├── delete.php │ ├── index.php │ ├── touch.php │ └── update.php ├── index.php ├── left.php ├── login.php ├── logout.php ├── public │ ├── css │ │ ├── Default.css │ │ ├── User_Login.css │ │ ├── index.css │ │ ├── login.css │ │ └── xtree.css │ ├── img │ │ ├── leader-bg.jpg │ │ ├── wel.jpg │ │ ├── welc.jpg │ │ ├── welcome.jpg │ │ └── 登陆背景.jpg │ ├── js │ │ └── jquery.js │ └── session.php ├── right.php ├── status │ ├── add.php │ ├── change.php │ ├── delete.php │ ├── index.php │ ├── insert.php │ └── update.php ├── top.php ├── user │ ├── add.php │ ├── change.php │ ├── delete.php │ ├── index.php │ ├── insert.php │ └── update.php └── webmaster │ ├── add.php │ ├── change.php │ ├── index.php │ ├── insert.php │ └── update.php ├── home.php ├── home ├── book.html ├── book.php ├── bookshelf │ ├── delete.php │ ├── index.php │ └── insert.php ├── cart │ ├── add.php │ ├── clear.php │ ├── commit.php │ ├── cut.php │ ├── delete.php │ ├── index.php │ └── insert.php ├── checkname.php ├── class.php ├── classbook.php ├── demo.html ├── footer.php ├── header.php ├── high_search.php ├── homeheader.php ├── hotsale.php ├── hotsearch.php ├── index.php ├── login.php ├── logincheck.php ├── logout.php ├── matchsearch.php ├── person │ ├── book │ │ ├── change.php │ │ ├── delete.php │ │ ├── insert.php │ │ ├── salelist.php │ │ └── update.php │ ├── index.php │ ├── order │ │ ├── change.php │ │ ├── code.php │ │ ├── comment.php │ │ ├── commentinsert.php │ │ ├── confirm.php │ │ ├── delete.php │ │ ├── gukeorder.php │ │ ├── mycode.php │ │ ├── myorder.php │ │ ├── touch.php │ │ └── update.php │ ├── touch │ │ ├── touchadd.php │ │ ├── touchchange.php │ │ ├── touchdelete.php │ │ ├── touchinsert.php │ │ ├── touchlist.php │ │ └── touchupdate.php │ └── user │ │ ├── userchange.php │ │ ├── userlist.php │ │ └── userupdate.php ├── public │ ├── css │ │ ├── animate.min.css │ │ ├── book.css │ │ ├── bootstrap.css │ │ ├── effects.css │ │ ├── foot.css │ │ ├── high_search.css │ │ ├── index.css │ │ ├── index_1.css │ │ ├── jquery.fullPage.css │ │ ├── left.css │ │ ├── style.css │ │ ├── u_dlzc.css │ │ ├── 个人中心.css │ │ ├── 书架.css │ │ ├── 发布旧书.css │ │ ├── 登录注册.css │ │ ├── 类别链接.css │ │ └── 页头.css │ ├── img │ │ ├── 1-1.jpg │ │ ├── 1.jpg │ │ ├── ads1.jpg │ │ ├── ads2.jpg │ │ ├── banner1-1.png │ │ ├── banner1.png │ │ ├── banner2-2.png │ │ ├── banner2.png │ │ ├── banner3-3.png │ │ ├── banner3.png │ │ ├── beijing.png │ │ ├── bg.jpg │ │ ├── bookBg.png │ │ ├── bookLeft.png │ │ ├── bookRight.png │ │ ├── car-.png │ │ ├── car.png │ │ ├── cart.jpg │ │ ├── close.png │ │ ├── close1.png │ │ ├── denglu-btn.png │ │ ├── denglu.png │ │ ├── fenmu.jpg │ │ ├── huiyuan.png │ │ ├── huiyuan1.png │ │ ├── huiyuan2.png │ │ ├── huiyuan3.png │ │ ├── leader-bg.jpg │ │ ├── list.png │ │ ├── list1.png │ │ ├── login.jpg │ │ ├── logo-blue.png │ │ ├── logo.png │ │ ├── logo2.png │ │ ├── mima.png │ │ ├── return.png │ │ ├── return1.png │ │ ├── search.png │ │ ├── search1.png │ │ ├── search2.png │ │ ├── text.jpg │ │ ├── useradd.jpg │ │ ├── wel.jpg │ │ ├── wel.png │ │ ├── 书封面.jpg │ │ ├── 书封面1.jpg │ │ ├── 书背景.png │ │ ├── 信封.png │ │ ├── 发布旧书背景.jpg │ │ ├── 导航1-.png │ │ ├── 导航1.png │ │ ├── 导航2-.png │ │ ├── 导航2.png │ │ ├── 导航3-.png │ │ ├── 导航3.png │ │ ├── 导航4-.png │ │ ├── 导航4.png │ │ ├── 导航5-.png │ │ ├── 导航5.png │ │ ├── 导航6-.png │ │ ├── 导航6.png │ │ ├── 导航文字背景.png │ │ ├── 导航背景.png │ │ ├── 导航背景1.png │ │ ├── 推荐.png │ │ ├── 推荐1.png │ │ ├── 推荐2.png │ │ ├── 推荐3.png │ │ ├── 推荐4.png │ │ ├── 推荐5.png │ │ ├── 推荐6.png │ │ ├── 搜索按钮前.png │ │ ├── 搜索按钮后.png │ │ ├── 搜索背景.png │ │ ├── 新logo.png │ │ ├── 无底logo.png │ │ ├── 注册背景.png │ │ ├── 登录框.png │ │ ├── 登录背景.jpg │ │ ├── 背景.png │ │ └── 页头背景.png │ ├── js │ │ ├── book.js │ │ ├── bootstrap.min.js │ │ ├── jquery-1.11.3.js │ │ ├── jquery.fullPage.min.js │ │ ├── jquery.js │ │ ├── jquery.min.js │ │ ├── jquery.slimscroll.min.js │ │ ├── less.min.js │ │ ├── login.js │ │ ├── register.js │ │ ├── script.js │ │ ├── vue.js │ │ ├── vue.min.js │ │ └── 表单-发布旧书.js │ └── session.php ├── recommend.php ├── reginsert.php ├── register.php └── saleadd.php ├── img ├── Thumbs.db ├── ball.png ├── cloud2.png ├── connbg1.png ├── connbg2.png ├── down2.png ├── f1.png ├── f2.png ├── f3.png ├── goodnight.png ├── hearttalk.png ├── help.png ├── house.png ├── loc.png ├── lunar.png ├── phone1.png ├── phone2.png ├── pillows.png ├── pop2.png ├── popcontent1.png ├── popcontent2.png ├── popcontent3.png ├── popcontent4.png ├── smile-off-2.png ├── smile-on-2.png ├── star-moon.png └── star2.png ├── index.html ├── public ├── common │ ├── conn.php │ ├── function.php │ └── mysql.class.php ├── css │ └── default.css ├── img │ ├── default.png │ └── space-blue.jpg ├── js │ └── three.min.r64.js ├── upadverts │ ├── 15258793256858724.jpg │ ├── 15258793371916717795.jpg │ ├── thumb_15258793256858724.jpg │ └── thumb_15258793371916717795.jpg ├── uploads │ ├── 152612730284565882.jpg │ ├── 1526127402546085566.jpg │ ├── 152712877238062827.jpg │ ├── 15272814831832248894.jpg │ ├── 1527281665761551820.JPG │ ├── 15272818641930178399.JPG │ ├── 15272830761768024200.jpg │ ├── 1527283302313530615.JPG │ ├── 15272838351030121808.JPG │ ├── 15272839681561183239.JPG │ ├── 15272840551595750786.JPG │ ├── 15272841201167486139.JPG │ ├── 1527284258750660825.JPG │ ├── 15272849662005943229.JPG │ ├── 15272851481140547597.JPG │ ├── 1527285472676603470.JPG │ ├── 15272857762018190444.JPG │ ├── 15272863351278769384.JPG │ ├── 15272863921453824101.JPG │ ├── 1527286619204637431.JPG │ ├── 1527286845759508271.JPG │ ├── 1527287291366691676.JPG │ ├── 1527287428576199718.JPG │ ├── 15272876221319085471.JPG │ ├── 15272877571118223498.JPG │ ├── 15272879021387125357.JPG │ ├── 1527288041573552416.JPG │ ├── 1527288177350339127.JPG │ ├── 15272883201715623021.JPG │ ├── 15272884661985979188.JPG │ ├── 15272886871221285491.JPG │ ├── 15272888671665051710.JPG │ ├── 15274257521086855166.JPG │ ├── 1527428570300999447.JPG │ ├── thumb_152612730284565882.jpg │ ├── thumb_1526127402546085566.jpg │ ├── thumb_152712877238062827.jpg │ ├── thumb_15272814831832248894.jpg │ ├── thumb_1527281665761551820.JPG │ ├── thumb_15272818641930178399.JPG │ ├── thumb_15272830761768024200.jpg │ ├── thumb_1527283302313530615.JPG │ ├── thumb_15272838351030121808.JPG │ ├── thumb_15272839681561183239.JPG │ ├── thumb_15272840551595750786.JPG │ ├── thumb_15272841201167486139.JPG │ ├── thumb_1527284258750660825.JPG │ ├── thumb_15272849662005943229.JPG │ ├── thumb_15272851481140547597.JPG │ ├── thumb_1527285472676603470.JPG │ ├── thumb_15272857762018190444.JPG │ ├── thumb_15272863351278769384.JPG │ ├── thumb_15272863921453824101.JPG │ ├── thumb_1527286619204637431.JPG │ ├── thumb_1527286845759508271.JPG │ ├── thumb_1527287291366691676.JPG │ ├── thumb_1527287428576199718.JPG │ ├── thumb_15272876221319085471.JPG │ ├── thumb_15272877571118223498.JPG │ ├── thumb_15272879021387125357.JPG │ ├── thumb_1527288041573552416.JPG │ ├── thumb_1527288177350339127.JPG │ ├── thumb_15272883201715623021.JPG │ ├── thumb_15272884661985979188.JPG │ ├── thumb_15272886871221285491.JPG │ ├── thumb_15272888671665051710.JPG │ ├── thumb_15274257521086855166.JPG │ └── thumb_1527428570300999447.JPG └── upusers │ ├── 15259634661692642671.gif │ ├── 1525963555779128951.gif │ ├── 15259636552108733521.gif │ ├── 15259637211456132741.gif │ ├── 1525963751481054817.gif │ ├── 1527424537221290535.gif │ ├── 1527424977202824341.gif │ ├── 15274256451541627398.gif │ ├── 15274287251030883359.gif │ ├── thumb_15259634661692642671.gif │ ├── thumb_15259636552108733521.gif │ ├── thumb_15259637211456132741.gif │ ├── thumb_1525963751481054817.gif │ ├── thumb_1527424537221290535.gif │ ├── thumb_1527424977202824341.gif │ ├── thumb_15274256451541627398.gif │ └── thumb_15274287251030883359.gif └── qzss.sql /.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | qzss02 4 | 5 | 6 | 7 | 8 | 9 | com.aptana.ide.core.unifiedBuilder 10 | 11 | 12 | 13 | 14 | 15 | com.aptana.projects.webnature 16 | 17 | 18 | 19 | 1526997088565 20 | 21 | 26 22 | 23 | org.eclipse.ui.ide.multiFilter 24 | 1.0-name-matches-false-false-node_modules 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # php_book_store 2 | 毕业设计项目 —— PHP/MySQL/Ajax 在线二手书交易平台 3 | 4 | ## 项目博客: 5 | - 【千纸诗书】—— PHP/MySQL二手书网站后台开发之项目设计 6 | https://www.cnblogs.com/ljq66/p/10732663.html 7 | - 【千纸诗书】—— PHP/MySQL二手书网站后台开发之基础知识 8 | https://www.cnblogs.com/ljq66/p/10741967.html 9 | - 【千纸诗书】—— PHP/MySQL二手书网站后台开发之功能实现 10 | https://www.cnblogs.com/ljq66/p/10747301.html 11 | - 【千纸诗书】—— PHP/MySQL二手书网站后台开发之知识点记录 12 | https://www.cnblogs.com/ljq66/p/10753355.html 13 | 14 | 15 | -------------------------------------------------------------------------------- /admin.php: -------------------------------------------------------------------------------- 1 | location="admin/index.php"'; 3 | ?> -------------------------------------------------------------------------------- /admin/book/add.php: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 | 11 | 12 | 13 | index 14 | 15 | 16 | 17 |
18 |
19 |

名称:

20 |

21 | 22 |

作者:

23 |

24 | 25 |

定价:

26 |

27 | 28 |

本站价:

29 |

30 | 31 |

是否推荐:

32 |

33 | 36 | 39 |

40 | 41 |

库存:

42 |

43 | 44 |

销量:

45 |

46 | 47 |

货架:

48 |

49 | 52 | 55 |

56 | 57 |

类别:

58 |

59 | 66 |

67 | 68 |

图片:

69 |

70 | 71 |

简介:

72 |

73 | 74 |

75 |
76 |
77 | 78 | 79 | -------------------------------------------------------------------------------- /admin/book/delete.php: -------------------------------------------------------------------------------- 1 | location="index.php"'; 17 | } 18 | ?> -------------------------------------------------------------------------------- /admin/book/index.php: -------------------------------------------------------------------------------- 1 | 25 | 26 | 27 | 28 | 29 | 30 | index 31 | 32 | 33 | 34 |
35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | "; 54 | echo ""; 55 | echo ""; 56 | echo ""; 57 | echo ""; 58 | echo ""; 59 | echo ""; 60 | echo ""; 61 | echo ""; 62 | if($row['shelf']){ 63 | echo ""; 64 | }else{ 65 | echo ""; 66 | } 67 | if($row['recommend']){ 68 | echo ""; 69 | }else{ 70 | echo ""; 71 | } 72 | echo ""; 73 | echo ""; 74 | echo ""; 75 | echo ""; 76 | } 77 | ?> 78 | 79 | "; 97 | echo ""; 98 | } 99 | ?> 100 |
编号名称作者图片定价本站价库存销售量货架推荐分类修改删除
{$row['id']}{$row['name']}{$row['writer']}{$row['oldprice']}{$row['nowprice']}{$row['stock']}{$row['sales']}上架下架推荐不推荐{$row['cname']}修改删除
80 | =1 && $page_num>1){ 85 | echo "首页  "; 86 | } 87 | if($page_id>1 && $page_num>1){ 88 | echo "上一页  "; 89 | } 90 | if($page_id>=1 && $page_num>$page_id){ 91 | echo "下一页  "; 92 | } 93 | if($page_id>=1 && $page_num>1){ 94 | echo "尾页"; 95 | } 96 | echo "
101 |
102 | 103 | 104 | -------------------------------------------------------------------------------- /admin/book/insert.php: -------------------------------------------------------------------------------- 1 | location="index.php"'; 32 | } 33 | } 34 | 35 | ?> -------------------------------------------------------------------------------- /admin/book/putaway.php: -------------------------------------------------------------------------------- 1 | 25 | 26 | 27 | 28 | 29 | 30 | index 31 | 32 | 33 | 34 |
35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | "; 54 | echo ""; 55 | echo ""; 56 | echo ""; 57 | echo ""; 58 | echo ""; 59 | echo ""; 60 | echo ""; 61 | echo ""; 62 | if($row['shelf']){ 63 | echo ""; 64 | }else{ 65 | echo ""; 66 | } 67 | if($row['recommend']){ 68 | echo ""; 69 | }else{ 70 | echo ""; 71 | } 72 | echo ""; 73 | echo ""; 74 | echo ""; 75 | echo ""; 76 | } 77 | ?> 78 | 79 | "; 97 | echo ""; 98 | } 99 | ?> 100 |
编号名称作者图片定价本站价库存销售量货架推荐分类修改删除
{$row['id']}{$row['name']}{$row['writer']}{$row['oldprice']}{$row['nowprice']}{$row['stock']}{$row['sales']}上架下架推荐不推荐{$row['cname']}修改删除
80 | =1 && $page_num>1){ 85 | echo "首页  "; 86 | } 87 | if($page_id>1 && $page_num>1){ 88 | echo "上一页  "; 89 | } 90 | if($page_id>=1 && $page_num>$page_id){ 91 | echo "下一页  "; 92 | } 93 | if($page_id>=1 && $page_num>1){ 94 | echo "尾页"; 95 | } 96 | echo "
101 |
102 | 103 | 104 | -------------------------------------------------------------------------------- /admin/book/soldout.php: -------------------------------------------------------------------------------- 1 | 25 | 26 | 27 | 28 | 29 | 30 | index 31 | 32 | 33 | 34 |
35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | "; 54 | echo ""; 55 | echo ""; 56 | echo ""; 57 | echo ""; 58 | echo ""; 59 | echo ""; 60 | echo ""; 61 | echo ""; 62 | if($row['shelf']){ 63 | echo ""; 64 | }else{ 65 | echo ""; 66 | } 67 | if($row['recommend']){ 68 | echo ""; 69 | }else{ 70 | echo ""; 71 | } 72 | echo ""; 73 | echo ""; 74 | echo ""; 75 | echo ""; 76 | } 77 | ?> 78 | 79 | "; 97 | echo ""; 98 | } 99 | ?> 100 |
编号名称作者图片定价本站价库存销售量货架推荐分类修改删除
{$row['id']}{$row['name']}{$row['writer']}{$row['oldprice']}{$row['nowprice']}{$row['stock']}{$row['sales']}上架下架推荐不推荐{$row['cname']}修改删除
80 | =1 && $page_num>1){ 85 | echo "首页  "; 86 | } 87 | if($page_id>1 && $page_num>1){ 88 | echo "上一页  "; 89 | } 90 | if($page_id>=1 && $page_num>$page_id){ 91 | echo "下一页  "; 92 | } 93 | if($page_id>=1 && $page_num>1){ 94 | echo "尾页"; 95 | } 96 | echo "
101 |
102 | 103 | 104 | -------------------------------------------------------------------------------- /admin/book/update.php: -------------------------------------------------------------------------------- 1 | location="index.php"'; 46 | } 47 | } 48 | }else{ 49 | $sql="update book set name='{$bookname}',writer='{$writer}',oldprice='{$oldprice}',nowprice='{$nowprice}',stock='{$stock}',sales='{$sales}',shelf='{$shelf}',recommend='{$recommend}',info='{$info}',class_id='{$class_id}' where id={$id}"; 50 | if(mysql_query($sql)){ 51 | echo ''; 52 | } 53 | } 54 | ?> -------------------------------------------------------------------------------- /admin/book/useroffer.php: -------------------------------------------------------------------------------- 1 | 25 | 26 | 27 | 28 | 29 | 30 | index 31 | 32 | 33 | 34 |
35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | "; 55 | echo ""; 56 | echo ""; 57 | echo ""; 58 | echo ""; 59 | echo ""; 60 | echo ""; 61 | echo ""; 62 | echo ""; 63 | echo ""; 64 | if($row['shelf']){ 65 | echo ""; 66 | }else{ 67 | echo ""; 68 | } 69 | if($row['recommend']){ 70 | echo ""; 71 | }else{ 72 | echo ""; 73 | } 74 | echo ""; 75 | echo ""; 76 | echo ""; 77 | echo ""; 78 | } 79 | ?> 80 | 81 | "; 99 | echo ""; 100 | } 101 | ?> 102 |
编号用户名称作者图片定价本站价库存销售量货架推荐分类修改删除
{$row['id']}{$row['username']}{$row['name']}{$row['writer']}{$row['oldprice']}{$row['nowprice']}{$row['stock']}{$row['sales']}上架下架推荐不推荐{$row['cname']}修改删除
82 | =1 && $page_num>1){ 87 | echo "首页  "; 88 | } 89 | if($page_id>1 && $page_num>1){ 90 | echo "上一页  "; 91 | } 92 | if($page_id>=1 && $page_num>$page_id){ 93 | echo "下一页  "; 94 | } 95 | if($page_id>=1 && $page_num>1){ 96 | echo "尾页"; 97 | } 98 | echo "
103 |
104 | 105 | 106 | -------------------------------------------------------------------------------- /admin/check.php: -------------------------------------------------------------------------------- 1 | location='index.php'"; 20 | }else{ 21 | echo ""; 22 | echo ""; 23 | } 24 | ?> -------------------------------------------------------------------------------- /admin/class/add.php: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | index 9 | 10 | 11 | 12 |
13 |
14 |

类别名称:

15 |

16 | 17 |

18 |
19 |
20 | 21 | 22 | -------------------------------------------------------------------------------- /admin/class/change.php: -------------------------------------------------------------------------------- 1 | 11 | 12 | 13 | 14 | 15 | 16 | index 17 | 18 | 19 | 20 |
21 |
22 |

类别名称:

23 |

'>

24 | 25 | '> 26 | 27 |

28 |
29 |
30 | 31 | 32 | -------------------------------------------------------------------------------- /admin/class/delete.php: -------------------------------------------------------------------------------- 1 | location="index.php"'; 10 | } 11 | ?> -------------------------------------------------------------------------------- /admin/class/index.php: -------------------------------------------------------------------------------- 1 | 25 | 26 | 27 | 28 | 29 | 30 | index 31 | 32 | 33 | 34 |
35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | "; 45 | echo ""; 46 | echo ""; 47 | echo ""; 48 | echo ""; 49 | echo ""; 50 | } 51 | ?> 52 | 53 | "; 71 | echo ""; 72 | } 73 | ?> 74 |
编号类别名称修改删除
{$row['id']}{$row["name"]}修改删除
54 | =1 && $page_num>1){ 59 | echo "首页  "; 60 | } 61 | if($page_id>1 && $page_num>1){ 62 | echo "上一页  "; 63 | } 64 | if($page_id>=1 && $page_num>$page_id){ 65 | echo "下一页  "; 66 | } 67 | if($page_id>=1 && $page_num>1){ 68 | echo "尾页"; 69 | } 70 | echo "
75 |
76 | 77 | 78 | -------------------------------------------------------------------------------- /admin/class/insert.php: -------------------------------------------------------------------------------- 1 | location="index.php"'; 11 | } 12 | ?> -------------------------------------------------------------------------------- /admin/class/update.php: -------------------------------------------------------------------------------- 1 | location="index.php"'; 12 | } 13 | ?> -------------------------------------------------------------------------------- /admin/comment/delete.php: -------------------------------------------------------------------------------- 1 | location="index.php"'; 10 | } 11 | ?> -------------------------------------------------------------------------------- /admin/comment/index.php: -------------------------------------------------------------------------------- 1 | 25 | 26 | 27 | 28 | 29 | 30 | index 31 | 32 | 33 | 34 |
35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | "; 47 | echo ""; 48 | echo ""; 49 | echo ""; 50 | echo ""; 51 | echo ""; 52 | echo ""; 53 | echo ""; 54 | } 55 | ?> 56 | 57 | "; 75 | echo ""; 76 | } 77 | ?> 78 |
编号用户图书评论时间删除
{$row['id']}{$row['username']}{$row['name']}{$row['content']}".date('Y-m-d',$row['time'])."删除
58 | =1 && $page_num>1){ 63 | echo "首页  "; 64 | } 65 | if($page_id>1 && $page_num>1){ 66 | echo "上一页  "; 67 | } 68 | if($page_id>=1 && $page_num>$page_id){ 69 | echo "下一页  "; 70 | } 71 | if($page_id>=1 && $page_num>1){ 72 | echo "尾页"; 73 | } 74 | echo "
79 |
80 | 81 | 82 | -------------------------------------------------------------------------------- /admin/indent/code.php: -------------------------------------------------------------------------------- 1 | 28 | 29 | 30 | 31 | 32 | 33 | index 34 | 35 | 36 | 37 |
38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | "; 51 | echo ""; 52 | echo ""; 53 | echo ""; 54 | echo ""; 55 | echo ""; 56 | echo ""; 57 | } 58 | ?> 59 | 60 | 61 | 62 | 63 | 64 | 65 | "; 83 | echo ""; 84 | } 85 | ?> 86 | 87 |
图书名称图片价格数量合计
{$row['name']}{$row['price']}{$row['num']}".$row['price']*$row['num']."元
订单总额:
66 | =1 && $page_num>1){ 71 | echo "首页  "; 72 | } 73 | if($page_id>1 && $page_num>1){ 74 | echo "上一页  "; 75 | } 76 | if($page_id>=1 && $page_num>$page_id){ 77 | echo "下一页  "; 78 | } 79 | if($page_id>=1 && $page_num>1){ 80 | echo "尾页"; 81 | } 82 | echo "
88 |
89 | 90 | 91 | -------------------------------------------------------------------------------- /admin/indent/delete.php: -------------------------------------------------------------------------------- 1 | location="index.php"'; 10 | } 11 | ?> -------------------------------------------------------------------------------- /admin/indent/touch.php: -------------------------------------------------------------------------------- 1 | 10 | 11 | 12 | 13 | 14 | 15 | index 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | "; 31 | echo ""; 32 | echo ""; 33 | echo ""; 34 | echo ""; 35 | echo ""; 36 | echo ""; 37 | } 38 | ?> 39 |
编号姓名地址邮编电话
{$row['id']}{$row['name']}{$row['addr']}{$row['postcode']}{$row['tel']}
40 |
41 | 42 | 43 | -------------------------------------------------------------------------------- /admin/indent/update.php: -------------------------------------------------------------------------------- 1 | location="index.php"'; 14 | } 15 | ?> -------------------------------------------------------------------------------- /admin/index.php: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | 9 | index 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /admin/left.php: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | left 9 | 45 | 46 | 47 | 48 |

管理员管理

49 |
50 |

|-查看管理员

51 |

|-添加管理员

52 |
53 |

用户管理

54 |
55 |

|-查看用户

56 |

|-添加用户

57 |
58 |

分类管理

59 |
60 |

|-查看分类

61 |

|-添加分类

62 |
63 |

图书管理

64 |
65 |

|-查看本站供书

66 |

|-查看用户供书

67 |

|-查看上架图书

68 |

|-查看下架图书

69 |

|-添加图书

70 |
71 |

评论管理

72 |
73 |

|-查看评论

74 |
75 |

订单状态

76 |
77 |

|-查看状态

78 |

|-添加状态

79 |
80 |

订单管理

81 |
82 |

|-查看订单

83 |
84 | 85 |

系统管理

86 |
87 |

|-退出系统

88 |

|-网站首页

89 |
90 | 91 | 97 | -------------------------------------------------------------------------------- /admin/login.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 用户登录 5 | 6 | 7 | 8 | 9 | 10 |

千纸诗书后台管理系统

11 |
12 |
13 |
14 |

用户名:

15 |
17 |

密 码:

18 | 20 |
21 | 22 |
23 | 24 |
25 | 26 |
29 | 30 | 31 | -------------------------------------------------------------------------------- /admin/logout.php: -------------------------------------------------------------------------------- 1 | location="login.php"'; 11 | ?> -------------------------------------------------------------------------------- /admin/public/css/index.css: -------------------------------------------------------------------------------- 1 | *{ 2 | margin:0px; 3 | padding:0px; 4 | font-family: 微软雅黑; 5 | } 6 | 7 | a{ 8 | text-decoration: none; 9 | background: #01AFBE; 10 | color:#fff; 11 | border-radius:5px; 12 | padding:5px; 13 | } 14 | 15 | .main{ 16 | padding-left:15px; 17 | padding-top:30px; 18 | } 19 | 20 | .main table{ 21 | width:98%; 22 | border:1px dashed #888; 23 | border-collapse:collapse; 24 | } 25 | 26 | .main td,.main th{ 27 | border:1px dashed #888; 28 | text-align: center; 29 | height:40px; 30 | } 31 | 32 | .main form{ 33 | border:1px dashed #888; 34 | padding:30px; 35 | margin-right:15px; 36 | } 37 | 38 | .main form p{ 39 | margin-bottom:10px; 40 | } -------------------------------------------------------------------------------- /admin/public/css/login.css: -------------------------------------------------------------------------------- 1 | body{ 2 | background: url(../img/登陆背景.jpg) no-repeat center; 3 | } 4 | #userlogin_body{ 5 | width: 1024px; 6 | height: 402px; 7 | margin-top: 150px; 8 | } 9 | .text{ 10 | color: #01AFBE; 11 | margin: 20px 160px; 12 | font-family: "仿宋"; 13 | } 14 | .top{ 15 | float: right; 16 | margin-top: -50px; 17 | } 18 | .user{ 19 | color: #016169; 20 | } 21 | .pas{ 22 | color: #016169; 23 | } 24 | .txtusernamecssclass{ 25 | width: 200px; 26 | height: 35px; 27 | border: 2px solid #01AFBE; 28 | border-radius: 5px; 29 | } 30 | .txtpasswordcssclass{ 31 | width: 200px; 32 | height: 35px; 33 | border: 2px solid #01AFBE; 34 | border-radius: 5px; 35 | } 36 | 37 | 38 | .foot{ 39 | float: left; 40 | margin-top: 50px; 41 | margin-left: 817px; 42 | width: 205px; 43 | height: 40px; 44 | line-height: 40px; 45 | background:#01AFBE; 46 | text-align: center; 47 | border-radius: 5px; 48 | } 49 | .ibtnentercssclass{ 50 | color: white; 51 | font-family: "黑体"; 52 | font-size: 15px; 53 | font-weight: bolder; 54 | } 55 | -------------------------------------------------------------------------------- /admin/public/img/leader-bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/admin/public/img/leader-bg.jpg -------------------------------------------------------------------------------- /admin/public/img/wel.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/admin/public/img/wel.jpg -------------------------------------------------------------------------------- /admin/public/img/welc.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/admin/public/img/welc.jpg -------------------------------------------------------------------------------- /admin/public/img/welcome.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/admin/public/img/welcome.jpg -------------------------------------------------------------------------------- /admin/public/img/登陆背景.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/admin/public/img/登陆背景.jpg -------------------------------------------------------------------------------- /admin/public/session.php: -------------------------------------------------------------------------------- 1 | location='{$root}/admin/login.php'"; 10 | exit; 11 | } 12 | ?> -------------------------------------------------------------------------------- /admin/right.php: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | right 9 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /admin/status/add.php: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | index 9 | 10 | 11 | 12 |
13 |
14 |

状态名称:

15 |

16 | 17 |

18 |
19 |
20 | 21 | 22 | -------------------------------------------------------------------------------- /admin/status/change.php: -------------------------------------------------------------------------------- 1 | 11 | 12 | 13 | 14 | 15 | 16 | index 17 | 18 | 19 | 20 |
21 |
22 |

状态名称:

23 |

'>

24 | 25 | '> 26 | 27 |

28 |
29 |
30 | 31 | 32 | -------------------------------------------------------------------------------- /admin/status/delete.php: -------------------------------------------------------------------------------- 1 | location="index.php"'; 10 | } 11 | ?> -------------------------------------------------------------------------------- /admin/status/index.php: -------------------------------------------------------------------------------- 1 | 25 | 26 | 27 | 28 | 29 | 30 | index 31 | 32 | 33 | 34 |
35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | "; 45 | echo ""; 46 | echo ""; 47 | echo ""; 48 | if($row['id']==1){ 49 | echo ""; 50 | }else{ 51 | echo ""; 52 | } 53 | echo ""; 54 | } 55 | ?> 56 | 57 | "; 75 | echo ""; 76 | } 77 | ?> 78 |
编号状态名称修改删除
{$row['id']}{$row["name"]}修改删除删除
58 | =1 && $page_num>1){ 63 | echo "首页  "; 64 | } 65 | if($page_id>1 && $page_num>1){ 66 | echo "上一页  "; 67 | } 68 | if($page_id>=1 && $page_num>$page_id){ 69 | echo "下一页  "; 70 | } 71 | if($page_id>=1 && $page_num>1){ 72 | echo "尾页"; 73 | } 74 | echo "
79 |
80 | 81 | 82 | -------------------------------------------------------------------------------- /admin/status/insert.php: -------------------------------------------------------------------------------- 1 | location="index.php"'; 11 | } 12 | ?> -------------------------------------------------------------------------------- /admin/status/update.php: -------------------------------------------------------------------------------- 1 | location="index.php"'; 12 | } 13 | ?> -------------------------------------------------------------------------------- /admin/top.php: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | top 9 | 21 | 22 | 23 |

欢迎登录千纸诗书网后台!

24 | 25 | -------------------------------------------------------------------------------- /admin/user/add.php: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 | 11 | 12 | index 13 | 14 | 15 | 16 |
17 |
18 |

用户名:

19 |

20 | 21 |

密码:

22 |

23 | 24 |

真实姓名:

25 |

26 | 27 |

性别:

28 |

29 | 32 | 35 |

36 | 37 |

头像:

38 |

39 | 40 |

41 |
42 |
43 | 44 | 45 | -------------------------------------------------------------------------------- /admin/user/change.php: -------------------------------------------------------------------------------- 1 | 11 | 12 | 13 | 14 | 15 | 16 | index 17 | 18 | 19 | 20 |
21 |
22 |

用户名:

23 |

'>

24 | 25 |

密码:

26 |

27 | 28 |

真实姓名:

29 |

'>

30 | 31 |

性别:

32 |

33 | 36 | 39 | 42 | 45 | 48 | 51 | 54 |

55 | 56 |

原头像:

57 |

58 | 59 |

头像:

60 |

61 | 62 | '> 63 | '> 64 | 65 |

66 |
67 |
68 | 69 | 70 | -------------------------------------------------------------------------------- /admin/user/delete.php: -------------------------------------------------------------------------------- 1 | location="index.php"'; 17 | } 18 | ?> -------------------------------------------------------------------------------- /admin/user/index.php: -------------------------------------------------------------------------------- 1 | 26 | 27 | 28 | 29 | 30 | 31 | index 32 | 33 | 34 | 35 |
36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | "; 49 | echo ""; 50 | echo ""; 51 | echo ""; 52 | if($row['sex']){ 53 | echo ""; 54 | }else{ 55 | echo ""; 56 | } 57 | echo ""; 58 | echo ""; 59 | echo ""; 60 | echo ""; 61 | } 62 | ?> 63 | 64 | "; 82 | echo ""; 83 | } 84 | ?> 85 | 86 |
编号用户名真实姓名性别头像修改删除
{$row['id']}{$row["username"]}{$row["realname"]}修改删除
65 | =1 && $page_num>1){ 70 | echo "首页  "; 71 | } 72 | if($page_id>1 && $page_num>1){ 73 | echo "上一页  "; 74 | } 75 | if($page_id>=1 && $page_num>$page_id){ 76 | echo "下一页  "; 77 | } 78 | if($page_id>=1 && $page_num>1){ 79 | echo "尾页"; 80 | } 81 | echo "
87 |
88 | 89 | 90 | -------------------------------------------------------------------------------- /admin/user/insert.php: -------------------------------------------------------------------------------- 1 | location="index.php"'; 27 | } 28 | } 29 | ?> -------------------------------------------------------------------------------- /admin/user/update.php: -------------------------------------------------------------------------------- 1 | location="index.php"'; 41 | } 42 | } 43 | }else{ 44 | $sql = "update user set username = '{$username}',password='{$password}',realname = '{$realname}',sex='{$sex}' where id = {$id}"; 45 | if(mysql_query($sql)){ 46 | echo ''; 47 | } 48 | } 49 | ?> -------------------------------------------------------------------------------- /admin/webmaster/add.php: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | index 9 | 10 | 11 | 12 |
13 |
14 |

用户名:

15 |

16 | 17 |

密码:

18 |

19 | 20 |

21 |
22 |
23 | 24 | 25 | -------------------------------------------------------------------------------- /admin/webmaster/change.php: -------------------------------------------------------------------------------- 1 | 11 | 12 | 13 | 14 | 15 | 16 | index 17 | 18 | 19 | 20 |
21 |
22 |

管理员名:

23 |

' disabled>

24 | 25 |

密码:

26 |

27 | 28 | '> 29 | 30 |

31 |
32 |
33 | 34 | 35 | -------------------------------------------------------------------------------- /admin/webmaster/index.php: -------------------------------------------------------------------------------- 1 | 26 | 27 | 28 | 29 | 30 | 31 | index 32 | 33 | 34 | 35 |
36 | 37 | 38 | 39 | 40 | 41 | 42 | "; 45 | echo ""; 46 | echo ""; 47 | echo ""; 48 | echo ""; 49 | } 50 | ?> 51 | 52 | "; 70 | echo ""; 71 | } 72 | ?> 73 |
编号管理员名修改口令
{$row['id']}{$row["username"]}修改
53 | =1 && $page_num>1){ 58 | echo "首页  "; 59 | } 60 | if($page_id>1 && $page_num>1){ 61 | echo "上一页  "; 62 | } 63 | if($page_id>=1 && $page_num>$page_id){ 64 | echo "下一页  "; 65 | } 66 | if($page_id>=1 && $page_num>1){ 67 | echo "尾页"; 68 | } 69 | echo "
74 |
75 | 76 | 77 | -------------------------------------------------------------------------------- /admin/webmaster/insert.php: -------------------------------------------------------------------------------- 1 | location="index.php"'; 12 | } 13 | ?> -------------------------------------------------------------------------------- /admin/webmaster/update.php: -------------------------------------------------------------------------------- 1 | location="../login.php"'; 16 | } 17 | ?> -------------------------------------------------------------------------------- /home.php: -------------------------------------------------------------------------------- 1 | location="home/index.php"'; 3 | ?> -------------------------------------------------------------------------------- /home/book.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 翻书 6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 |
15 |
16 | 17 | 18 | 21 | 22 |

《写给大家的西方美术史》蒋勋

23 |
24 |
25 |
26 | < 27 | > 28 |
29 | 30 |
31 |
32 |
33 | 石器时代 34 | 我们大概都听过“石器时代”这个名词。石器时代标志着人类文明文明萌芽的最初阶段, 35 | 因为这个阶段非常漫长,严格的考古学家又把它再分为旧石器时代、中石石器时代和 36 | 新石器时代。石器时代和我们要讨论的美术有什么关系呢? 37 | 我们试着来观察一件旧石器时代的“燧石手斧”。这快手斧看起来和一块普通的石头 38 | 没什么差别,但是,如果仔细观察,会发现上面留着一些敲打过的痕迹。 39 | 是的,我们的美术史就要从这些痕迹谈起。 40 | 1 41 |
42 | 43 |
44 |
45 |
46 | 痕迹 47 | 动物会不会在自然界留下痕迹?当我们询问这个问题的时候,就会想到鸟类在树上筑造它们的巢, 48 | 蜜蜂或蚂蚁也会用泥土一类的物质来营建它们居住的窝。利用大自然的某一种物质去营造一种形状, 49 | 是美术创造的领域应当关心的生物行为。这种行为在动物的世界已经存在。 50 | 但是,这种行为在人类的世界在高度活跃起来。例如说,在一百万年当中,鸟类筑巢的行为, 51 | 蜜蜂或蚂蚁造窝的行为,基本上没有太大的改变…… 52 | 返回书库 53 | 2 54 |
55 |
56 |
57 |
58 |
59 | 60 | 61 | -------------------------------------------------------------------------------- /home/book.php: -------------------------------------------------------------------------------- 1 | 15 | 16 | 17 | 18 | 19 | 20 | 书详情页 21 | 22 | 23 | 24 |
25 | 28 | 29 |
30 |
31 |
32 |
33 | 34 | 类别 » 35 |
36 | 37 |
38 | 39 |
40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 68 | 69 |
图片作者简介定价本站价库存销量收藏购物车
54 | 55 | |加入书架| 64 | 65 | 66 | 67 |
70 |
71 |
72 | 73 | 74 |
75 |
76 |
77 | 商品评论: 78 |
79 | 80 |
81 | 82 |
83 | 88 | 89 |
90 |
91 | 94 | 95 |
96 |
97 |
98 | 99 |
100 |
101 | 102 | 105 |
106 |
107 |
108 | 109 | 112 |
113 | 114 | -------------------------------------------------------------------------------- /home/bookshelf/delete.php: -------------------------------------------------------------------------------- 1 | location="index.php"'; 10 | } 11 | ?> -------------------------------------------------------------------------------- /home/bookshelf/insert.php: -------------------------------------------------------------------------------- 1 | location="index.php"'; 12 | } 13 | ?> -------------------------------------------------------------------------------- /home/cart/add.php: -------------------------------------------------------------------------------- 1 | $_SESSION['books'][$id]['stock']){ 9 | $_SESSION['books'][$id]['num'] = $_SESSION['books'][$id]['stock']; 10 | } 11 | 12 | echo ''; 13 | ?> -------------------------------------------------------------------------------- /home/cart/clear.php: -------------------------------------------------------------------------------- 1 | location="index.php"'; 8 | ?> -------------------------------------------------------------------------------- /home/cart/commit.php: -------------------------------------------------------------------------------- 1 | alert('您的订单号为:{$code}')"; 33 | echo ""; 34 | ?> -------------------------------------------------------------------------------- /home/cart/cut.php: -------------------------------------------------------------------------------- 1 | location="index.php"'; 13 | ?> -------------------------------------------------------------------------------- /home/cart/delete.php: -------------------------------------------------------------------------------- 1 | location="index.php"'; 10 | ?> -------------------------------------------------------------------------------- /home/cart/insert.php: -------------------------------------------------------------------------------- 1 | alert('《{$row['name']}》暂时无货')"; 12 | echo ''; 13 | }else{ 14 | //把图书放入购物车,在图书信息的子数组中临时加一个num 默认1 15 | $_SESSION['books'][$id]=$row; 16 | $_SESSION['books'][$id]['num']=1; 17 | 18 | echo ''; 19 | } 20 | ?> -------------------------------------------------------------------------------- /home/checkname.php: -------------------------------------------------------------------------------- 1 | getRowsNum($sql); 10 | if($num == 1){ //如果有记录 11 | echo '2'; 12 | }else if($num == 0){ //如果没有记录 13 | echo '1'; 14 | }else{ 15 | echo $conne->msg_error(); //否则出错 16 | } 17 | 18 | ?> -------------------------------------------------------------------------------- /home/class.php: -------------------------------------------------------------------------------- 1 | 29 | 30 | 31 | 32 | 33 | 34 | 图书类别 35 | 36 | 37 | 38 | 39 |
40 | 43 | 44 |
45 | 48 | 49 | 55 |
56 | 57 | 58 |
59 | 60 |
61 |
62 |
63 | F 64 |
65 |
66 | 热卖图书 67 | 68 | 更多 69 | 70 |
71 |
72 | 73 | 99 |
100 | 101 | "; 105 | echo "
"; 106 | echo "共有类别 ".$totalnum." 种  "; 107 | echo "共".$totalpage."页  当前是第".$page."页  "; 108 | if($page>=1 && $totalpage>1){ 109 | echo "第一页  "; 110 | } 111 | if($page>1 && $totalpage>1){ 112 | echo "上一页  "; 113 | } 114 | if($page>=1 && $totalpage>$page){ 115 | echo "下一页  "; 116 | } 117 | if($page>=1 && $totalpage>1){ 118 | echo "尾页"; 119 | } 120 | echo "
"; 121 | ?> 122 | 123 |
124 | 125 | 126 | 129 |
130 | 131 | -------------------------------------------------------------------------------- /home/classbook.php: -------------------------------------------------------------------------------- 1 | 34 | 35 | 36 | 37 | 38 | 39 | 分类页面 40 | 41 | 42 | 43 |
44 | 47 | 48 |
49 |
50 |
51 |
52 | 首页 » 53 |
54 |
55 | 共有图书  种 56 |
57 |
58 | 59 |
60 | 61 | 66 | 67 | 68 |
69 |
70 | 71 |
72 | 73 |
74 | 75 | 76 |
77 |
78 |
79 | 80 | 83 |
84 | "; 86 | echo "共".$totalpage."页  当前是第".$page."页  "; 87 | if($page>=1 && $totalpage>1){ 88 | echo "第一页  "; 89 | } 90 | if($page>1 && $totalpage>1){ 91 | echo "上一页  "; 92 | } 93 | if($page>=1 && $totalpage>$page){ 94 | echo "下一页  "; 95 | } 96 | if($page>=1 && $totalpage>1){ 97 | echo "尾页"; 98 | } 99 | echo "
"; 100 | ?> 101 | 102 |
103 |
104 |
105 |
106 | 107 | 110 | 111 | 112 | -------------------------------------------------------------------------------- /home/footer.php: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | 10 | 11 | footer 12 | 13 | 14 | 15 | 16 |
17 | 18 |
19 |

20 | Copyright © 2018 LI QIUWEI and LIU JIEQIONG. All rights reserved. 21 |

22 |
23 |
24 | 34 |
35 |
36 | 37 | 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /home/header.php: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 页头 15 | 16 | 17 |
18 |
19 |
20 | 33 | 34 | 39 |
40 |
41 | 42 |
43 | 44 | 45 | -------------------------------------------------------------------------------- /home/high_search.php: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /home/homeheader.php: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | 10 | 11 | 首页 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 38 | 39 | 47 |
48 | 49 | 50 | -------------------------------------------------------------------------------- /home/hotsale.php: -------------------------------------------------------------------------------- 1 | 30 | 31 | 32 | 33 | 34 | 35 | 分类页面 36 | 37 | 38 | 39 |
40 | 43 | 44 |
45 |
46 |
47 |
48 | 首页 » 49 |
50 |
51 | 共有图书  种 52 |
53 |
54 | 55 |
56 | 57 | 62 | 63 | 64 |
65 |
66 | 67 |
68 | 69 |
70 | 71 | 72 |
73 |
74 |
75 | 76 | "; 79 | echo "共".$totalpage."页  当前是第".$page."页  "; 80 | if($page>=1 && $totalpage>1){ 81 | echo "第一页  "; 82 | } 83 | if($page>1 && $totalpage>1){ 84 | echo "上一页  "; 85 | } 86 | if($page>=1 && $totalpage>$page){ 87 | echo "下一页  "; 88 | } 89 | if($page>=1 && $totalpage>1){ 90 | echo "尾页"; 91 | } 92 | echo "
"; 93 | ?> 94 | 95 |
96 |
97 |
98 |
99 | 100 | 103 | 104 | 105 | -------------------------------------------------------------------------------- /home/hotsearch.php: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | 21 | 千纸诗书 22 | 23 | 24 | 25 |
26 | 27 | 30 | 31 | 32 |
33 | 34 | 35 |
36 |
37 |
38 | 搜索结果 39 |
40 |
41 | 42 | 86 |
87 | 88 | "; 90 | echo "
"; 91 | echo "共有图书 ".$totalnum." 种  "; 92 | echo "共".$totalpage."页  当前是第".$page."页  "; 93 | if($page>=1 && $totalpage>1){ 94 | echo "第一页  "; 95 | } 96 | if($page>1 && $totalpage>1){ 97 | echo "上一页  "; 98 | } 99 | if($page>=1 && $totalpage>$page){ 100 | echo "下一页  "; 101 | } 102 | if($page>=1 && $totalpage>1){ 103 | echo "尾页"; 104 | } 105 | echo "
"; 106 | } 107 | } 108 | ?> 109 | 110 |
111 | 112 | 113 | 116 |
117 | 118 | -------------------------------------------------------------------------------- /home/login.php: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 10 | 11 | 12 | 用户登录 13 | 14 | 15 | 16 | 17 | 18 |
19 |
20 | 33 |
34 |
35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /home/logincheck.php: -------------------------------------------------------------------------------- 1 | getRowsNum($sql); 17 | if($num == 0 or $num == ''){ 18 | $reback = 1; 19 | }else{ 20 | $reback = '-1'; 21 | setcookie('username',$username,time()+60*10); 22 | $_SESSION['home_username'] = $username; 23 | $_SESSION['home_userid'] = $row['id']; 24 | } 25 | } 26 | echo $reback; 27 | ?> -------------------------------------------------------------------------------- /home/logout.php: -------------------------------------------------------------------------------- 1 | location="login.php"'; 13 | ?> -------------------------------------------------------------------------------- /home/person/book/delete.php: -------------------------------------------------------------------------------- 1 | location="salelist.php"'; 17 | } 18 | ?> -------------------------------------------------------------------------------- /home/person/book/insert.php: -------------------------------------------------------------------------------- 1 | location="salelist.php"'; 34 | } 35 | } 36 | 37 | ?> -------------------------------------------------------------------------------- /home/person/book/update.php: -------------------------------------------------------------------------------- 1 | location="index.php"'; 45 | } 46 | } 47 | }else{ 48 | $sql="update book set name='{$bookname}',writer='{$writer}',oldprice='{$oldprice}',nowprice='{$nowprice}',stock='{$stock}',sales='{$sales}',shelf='{$shelf}',info='{$info}',class_id='{$class_id}' where id={$id}"; 49 | if(mysql_query($sql)){ 50 | echo ''; 51 | } 52 | } 53 | ?> -------------------------------------------------------------------------------- /home/person/index.php: -------------------------------------------------------------------------------- 1 | location='{$root}/home/login.php'"; 10 | exit; 11 | } 12 | ?> 13 | 14 | 15 | 16 | 17 | 个人中心 18 | 19 | 20 | 21 |
22 | 25 | 26 |
27 |
28 |
29 |
30 | 个人中心: 31 |
32 |
33 | 34 |
35 |
36 | 49 |
50 | 51 |
52 |
53 | 54 |
55 |
56 |
57 |
58 |
59 |
60 | 61 | 64 |
65 | 66 | -------------------------------------------------------------------------------- /home/person/order/comment.php: -------------------------------------------------------------------------------- 1 | 11 | 12 | 13 | 14 | 15 | 分类页面 16 | 17 | 18 | 19 |
20 | 23 | 24 |
25 |
26 |
27 |
28 | 个人中心: 29 |
30 |
31 | 32 |
33 |
34 | 47 |
48 | 49 |
50 |
51 |

请发表评论:

52 |

53 | 54 |

55 | 56 | '> 57 |

58 | 59 |

60 |
61 | 62 |
63 |
64 |
65 |
66 |
67 | 68 | 71 |
72 | 73 | -------------------------------------------------------------------------------- /home/person/order/commentinsert.php: -------------------------------------------------------------------------------- 1 | location='../../book.php?book_id={$book_id}'"; 14 | } 15 | ?> -------------------------------------------------------------------------------- /home/person/order/confirm.php: -------------------------------------------------------------------------------- 1 | location='myorder.php'"; 12 | } 13 | ?> 14 | -------------------------------------------------------------------------------- /home/person/order/delete.php: -------------------------------------------------------------------------------- 1 | location="gukeorder.php"'; 10 | } 11 | ?> -------------------------------------------------------------------------------- /home/person/order/touch.php: -------------------------------------------------------------------------------- 1 | 10 | 11 | 12 | 13 | 14 | 查看顾客订单 15 | 16 | 17 | 18 |
19 | 22 | 23 |
24 |
25 |
26 |
27 | 个人中心: 28 |
29 |
30 | 31 |
32 |
33 | 46 |
47 | 48 |
49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | "; 59 | echo ""; 60 | echo ""; 61 | echo ""; 62 | echo ""; 63 | echo ""; 64 | } 65 | ?> 66 | 67 |
收货人姓名地址邮编电话
{$row['name']}{$row['addr']}{$row['postcode']}{$row['tel']}
68 |
69 |
70 |
71 |
72 |
73 | 74 | 77 |
78 | 79 | -------------------------------------------------------------------------------- /home/person/order/update.php: -------------------------------------------------------------------------------- 1 | location="gukeorder.php"'; 14 | } 15 | ?> -------------------------------------------------------------------------------- /home/person/touch/touchadd.php: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | 添加联系方式 9 | 10 | 11 | 12 |
13 | 16 | 17 |
18 |
19 |
20 |
21 | 个人中心: 22 |
23 |
24 | 25 |
26 |
27 | 40 |
41 | 42 |
43 |
44 |
45 |

收货人姓名:

46 |

47 |

地址:

48 |

49 |

邮编:

50 |

51 |

电话:

52 |

53 | 54 |

55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 | 63 | 66 |
67 | 68 | -------------------------------------------------------------------------------- /home/person/touch/touchchange.php: -------------------------------------------------------------------------------- 1 | 11 | 12 | 13 | 14 | 15 | 16 | 修改联系方式 17 | 18 | 19 | 20 |
21 | 24 | 25 |
26 |
27 |
28 |
29 | 个人中心: 30 |
31 |
32 | 33 |
34 |
35 | 48 |
49 | 50 |
51 |
52 |
53 |

收货人姓名:

54 |

'>

55 |

地址:

56 |

'>

57 |

邮编:

58 |

'>

59 |

电话:

60 |

'>

61 |

'>

62 | 63 |

64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 | 72 | 75 |
76 | 77 | -------------------------------------------------------------------------------- /home/person/touch/touchdelete.php: -------------------------------------------------------------------------------- 1 | location='touchlist.php'"; 11 | } 12 | ?> -------------------------------------------------------------------------------- /home/person/touch/touchinsert.php: -------------------------------------------------------------------------------- 1 | location="touchlist.php"'; 16 | } 17 | ?> -------------------------------------------------------------------------------- /home/person/touch/touchupdate.php: -------------------------------------------------------------------------------- 1 | location="touchlist.php"'; 15 | } 16 | ?> -------------------------------------------------------------------------------- /home/person/user/userlist.php: -------------------------------------------------------------------------------- 1 | 9 | 10 | 11 | 12 | 13 | 查看个人信息 14 | 15 | 16 | 17 |
18 | 21 | 22 |
23 |
24 |
25 |
26 | 个人中心: 27 |
28 |
29 | 30 |
31 |
32 | 45 |
46 | 47 |
48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | "; 60 | echo ""; 61 | echo ""; 62 | echo ""; 63 | if($row['sex']){ 64 | echo ""; 65 | }else{ 66 | echo ""; 67 | } 68 | echo ""; 69 | echo ""; 70 | } 71 | ?> 72 |
用户名真实姓名头像性别修改
{$row['username']}{$row['realname']}修改
73 |
74 |
75 |
76 |
77 |
78 | 79 | 82 |
83 | 84 | -------------------------------------------------------------------------------- /home/person/user/userupdate.php: -------------------------------------------------------------------------------- 1 | location="userlist.php"'; 42 | } 43 | } 44 | }else{ 45 | $sql = "update user set username = '{$username}',password='{$password}',realname = '{$realname}',sex='{$sex}' where id = {$id}"; 46 | if(mysql_query($sql)){ 47 | echo ''; 48 | } 49 | } 50 | ?> -------------------------------------------------------------------------------- /home/public/css/effects.css: -------------------------------------------------------------------------------- 1 | /* general styling for all the hovers */ 2 | 3 | .hover { 4 | width: 100%; 5 | height: 100%; 6 | float: left; 7 | overflow: hidden; 8 | position: relative; 9 | text-align: center; 10 | cursor: default; 11 | } 12 | 13 | .hover .overlay { 14 | width: 100%; 15 | height: 100%; 16 | position: absolute; 17 | overflow: hidden; 18 | top: 0; 19 | left: 0; 20 | } 21 | 22 | .hover img { 23 | display: block; 24 | position: relative; 25 | } 26 | 27 | .hover h2 { 28 | text-transform: uppercase; 29 | color: #fff; 30 | text-align: center; 31 | position: relative; 32 | font-size: 17px; 33 | padding: 10px; 34 | background: rgba(0, 0, 0, 0.6); 35 | } 36 | 37 | .hover button.info { 38 | display: inline-block; 39 | text-decoration: none; 40 | padding: 7px 14px; 41 | text-transform: uppercase; 42 | color: #fff; 43 | border: 1px solid #fff; 44 | margin: 50px 0 0 0; 45 | border-radius: 0px; 46 | background-color: transparent; 47 | } 48 | 49 | .hover button.info:hover { 50 | box-shadow: 0 0 5px #fff; 51 | } 52 | 53 | /* styling to remove box shadow and border from buttons for last few effects */ 54 | 55 | .hover button.nullbutton { 56 | border: none; 57 | padding: 0px; 58 | margin: 0px; 59 | } 60 | 61 | .hover button.nullbutton:hover { 62 | box-shadow: none; 63 | } 64 | 65 | /* remove the blue line that shows on modal buttons after you have open and close a modal */ 66 | 67 | .modal-open .modal, button:focus { 68 | outline:none!important 69 | } 70 | 71 | /* styling so when hovering over a div that opens a modal the cursor changes to a pointer */ 72 | .point { 73 | cursor: pointer; 74 | } 75 | 76 | /* effect 13 */ 77 | 78 | 79 | 80 | .ehover13 img 81 | { 82 | transition: all 0.35s;/*过渡属性*/ 83 | } 84 | 85 | .ehover13:hover img 86 | { 87 | filter: brightness(0.6); /*filter 属性定义了元素(通常是)的可视效果(例如:模糊与饱和度)。*/ 88 | -webkit-filter: brightness(0.6); 89 | } 90 | 91 | .ehover13 .overlay { 92 | width: 80%; 93 | height: 80%; 94 | left: 10%; 95 | top: 10%; 96 | border-bottom: 1px solid #FFF; 97 | border-top: 1px solid #FFF; 98 | transition: opacity 0.35s, transform 0.35s; 99 | -webkit-transform: scale(0,1); 100 | transform: scale(0,1); 101 | } 102 | 103 | 104 | 105 | .ehover13:hover .overlay { 106 | opacity: 1; /*设置一个div元素的透明度级别:*/ 107 | -webkit-transform: scale(1); 108 | transform: scale(1);/*缩放*/ 109 | 110 | } 111 | 112 | .ehover13 button { 113 | color: #FFF; 114 | padding: 1em 0; 115 | opacity: 0; 116 | -webkit-transition: opacity 0.35s, -webkit-transform 0.35s; 117 | transition: opacity 0.35s, transform 0.35s; 118 | -webkit-transform: translate3d(0,100%,0); 119 | transform: translate3d(0,100%,0); 120 | } 121 | 122 | .ehover13 h2 { 123 | background-color: transparent; 124 | color: #FFF; 125 | padding: 1em 0; 126 | opacity: 0; 127 | -webkit-transition: opacity 0.35s, -webkit-transform 0.35s; 128 | transition: opacity 0.35s, transform 0.35s; 129 | -webkit-transform: translate3d(0,-100%,0); 130 | transform: translate3d(0,-100%,0); 131 | } 132 | 133 | 134 | 135 | .ehover13:hover button, .ehover13:hover h2{ 136 | opacity: 1; 137 | -webkit-transform: translate3d(0,0,0); 138 | transform: translate3d(0,0,0); 139 | } -------------------------------------------------------------------------------- /home/public/css/foot.css: -------------------------------------------------------------------------------- 1 | .foot{ 2 | width: 100%; 3 | height: 100px; 4 | float: left; 5 | } 6 | .foot-bg{ 7 | width: 100%; 8 | height:auto; 9 | margin-top:40px; 10 | display: block; 11 | } 12 | .foot1{ 13 | font-family: "黑体"; 14 | color:#01afbe;; 15 | font-size: 12px; 16 | position: absolute; 17 | margin-top:-50px; 18 | left: 36%; 19 | } 20 | .foot2{ 21 | font-family: "黑体"; 22 | font-size: 12px; 23 | margin-left: 0px; 24 | position: absolute; 25 | left: 36.5%; 26 | margin-top: -30px; 27 | } 28 | .foot2 ul{ 29 | list-style-type:none; 30 | } 31 | .foot2 li{ 32 | display: inline; 33 | float: none; 34 | color: #01afbe; 35 | } 36 | .foot2 li a{ 37 | color: #01afbe; 38 | } 39 | .foot2 nav{ 40 | text-align: center; 41 | } -------------------------------------------------------------------------------- /home/public/css/high_search.css: -------------------------------------------------------------------------------- 1 | #search{ 2 | width:800px; 3 | height:35px; 4 | margin: 20px auto; 5 | } 6 | input{ 7 | background: #FFFFFF; 8 | border: 2px solid #01AFBE; 9 | width:300px; 10 | height: 35px; 11 | outline: none; 12 | } 13 | .btn-search{ 14 | width: 100px; 15 | height: 35px; 16 | background: #01AFBE; 17 | border:none; 18 | color: #FFFFFF; 19 | font-family: "黑体"; 20 | font-size: 14px; 21 | outline: none; 22 | cursor:pointer; 23 | } 24 | -------------------------------------------------------------------------------- /home/public/css/index_1.css: -------------------------------------------------------------------------------- 1 | body{ 2 | width: 100%; 3 | height: 100%; 4 | } 5 | container{ 6 | width:100%!important; 7 | } 8 | .logo{ 9 | position: absolute; 10 | left: 37%; 11 | } 12 | #text{ 13 | text-align:right; 14 | font-family: "黑体"; 15 | font-size: 14px; 16 | color: #01AFBE !important; 17 | } 18 | #search{ 19 | width:100%; 20 | text-align: center; 21 | background: url(../img/搜索背景.png) no-repeat center; 22 | padding: 80px; 23 | margin: 0px; 24 | } 25 | .sbtn{ 26 | width: 30px; 27 | height: 30px; 28 | background: url(../img/搜索按钮前.png) no-repeat center; 29 | border: none; 30 | } 31 | .sbtn:hover{ 32 | background:url(../img/搜索按钮后.png); 33 | } 34 | .kuang{ 35 | background-color:transparent; 36 | border: none; 37 | width: 400px; 38 | height: 30px; 39 | margin-left: 25px; 40 | margin-right: 20px; 41 | margin-top: 5px; 42 | font-family: "黑体"; 43 | } 44 | .kuang:focus{ 45 | outline:none; 46 | border: 2px solid white; 47 | } 48 | 49 | input::-webkit-input-placeholder { /* WebKit browsers */ 50 | color: white; 51 | } 52 | input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ 53 | color: white; 54 | } 55 | input::-moz-placeholder { /* Mozilla Firefox 19+ */ 56 | color: white; 57 | } 58 | input:-ms-input-placeholder { /* Internet Explorer 10+ */ 59 | color: white; 60 | } 61 | 62 | .daohang{ 63 | height:60px; 64 | width: 100%; 65 | background:url(../img/导航背景.png) no-repeat center; 66 | margin-top: 10px; 67 | } 68 | 69 | .daohang ul{ 70 | list-style-type:none; 71 | } 72 | .daohang li{ 73 | display: inline; 74 | float: none; 75 | padding-left: 10px; 76 | } 77 | .daohang nav{ 78 | text-align: center; 79 | } 80 | 81 | .wenzi{ 82 | font-family: "黑体"; 83 | color: #00afbe; 84 | font-size: 14px; 85 | margin-top: 20px; 86 | margin-left: 70px; 87 | } 88 | 89 | .tuijianz{ 90 | margin-left: 15px; 91 | margin-top: -20px; 92 | } 93 | .tuijian:hover{ 94 | box-shadow: 2px 2px 2px #9b9b9b; 95 | -webkit-box-shadow: 2px 2px 2px #9b9b9b; 96 | transform: scale(0.9,0.9); 97 | } 98 | .tuijian{ 99 | background: #e5f7f8; 100 | width: 350px; 101 | height: 400px; 102 | float: left; 103 | margin-left: 50px; 104 | margin-top: 20px; 105 | } 106 | .tuijian-top{ 107 | background:url(../img/推荐.png); 108 | width: 350px; 109 | height: 200px; 110 | } 111 | .tuijian-book{ 112 | background:url(../img/素色锦年.jpg) no-repeat center; 113 | width: 170px; 114 | height: 220px; 115 | margin-left: 90px; 116 | -webkit-box-shadow: 2px 2px 2px #737373; 117 | -moz-box-shadow:2px 2px 2px #737373; 118 | box-shadow: 2px 2px 2px #737373; 119 | } 120 | .tuijian-wenzi{ 121 | margin: 20px 30px; 122 | } 123 | .tuijian-wenzi1{ 124 | display: inline-block; 125 | float: left; 126 | font-family: "黑体"; 127 | color: #96acac; 128 | } 129 | .tuijian-wenzi2{ 130 | display: inline-block; 131 | float: left; 132 | font-family: "黑体"; 133 | color: #000000; 134 | } -------------------------------------------------------------------------------- /home/public/css/left.css: -------------------------------------------------------------------------------- 1 | .lead ul{ 2 | margin:0px; 3 | list-style:none; 4 | } 5 | .lead{ 6 | float: right; 7 | } 8 | .lead li{ 9 | padding-top: 20px; 10 | } 11 | -------------------------------------------------------------------------------- /home/public/css/u_dlzc.css: -------------------------------------------------------------------------------- 1 | #u_error{ 2 | color:red; 3 | } 4 | 5 | #u_success{ 6 | color:green; 7 | } -------------------------------------------------------------------------------- /home/public/css/个人中心.css: -------------------------------------------------------------------------------- 1 | *{ 2 | font-family: 黑体; 3 | text-decoration:none; 4 | } 5 | h4{ 6 | cursor: pointer;/*光标形状是手指*/ 7 | background:url(../../../admin/public/img/leader-bg.jpg) no-repeat center; 8 | width: auto; 9 | height: 25px; 10 | text-align: center; 11 | color:#fff; 12 | font-size: 14px; 13 | margin-top: 20px; 14 | padding-top: 6px; 15 | } 16 | 17 | h4:hover{ 18 | color:#01afbe; 19 | background: #fff; 20 | } 21 | 22 | div{ 23 | display: none; 24 | } 25 | 26 | p{ 27 | padding-left:15px; 28 | text-align: center; 29 | } 30 | 31 | p a{ 32 | color:#01afbe; 33 | font-size: 14px; 34 | } -------------------------------------------------------------------------------- /home/public/css/书架.css: -------------------------------------------------------------------------------- 1 | .shu{ 2 | margin-left: 160px; 3 | margin-top: 20px; 4 | float:left; 5 | 6 | } 7 | .lii{ 8 | width: 200px; 9 | height: 300px; 10 | background: url(../img/书背景.png) no-repeat; 11 | float: left; 12 | margin-left: 50px; 13 | } 14 | img{ 15 | width: 150px; 16 | height: auto; 17 | margin: 25px; 18 | } 19 | .zong{ 20 | height:100px; 21 | width: auto; 22 | } 23 | p{ 24 | font-family: "黑体"; 25 | text-align: center; 26 | margin: 0; 27 | } 28 | h4{ 29 | font-family: "黑体"; 30 | text-align: center; 31 | margin: 0; 32 | padding-top: 15px; 33 | } 34 | button{ 35 | font-family: "黑体"; 36 | text-align: center; 37 | margin-top: 15px; 38 | margin-left: 60px; 39 | } 40 | 41 | 42 | -------------------------------------------------------------------------------- /home/public/css/发布旧书.css: -------------------------------------------------------------------------------- 1 | #fabu{ 2 | background: url(../img/信封.png) no-repeat center; 3 | background-size: auto 100%; 4 | width: auto; 5 | height:550px; 6 | margin-top: 20px; 7 | text-align: center; 8 | font-family: "黑体"; 9 | 10 | } 11 | .left-name{ 12 | float: left; 13 | position: absolute; 14 | left: 23%; 15 | top: 23%; 16 | } 17 | .right-name{ 18 | float: left; 19 | border:1px solid #e1e1e1; 20 | width: 160px; 21 | height: 30px; 22 | position: absolute; 23 | left: 27%; 24 | top: 23%; 25 | 26 | } 27 | .left-writer{ 28 | float: left; 29 | position: absolute; 30 | left: 23%; 31 | top: 33%; 32 | } 33 | .right-writer{ 34 | float: left; 35 | border:1px solid #e1e1e1; 36 | width: 160px; 37 | height: 30px; 38 | position: absolute; 39 | left: 27%; 40 | top: 33%; 41 | } 42 | .left-oprice{ 43 | float: left; 44 | position: absolute; 45 | left: 23%; 46 | top: 43%; 47 | } 48 | .right-oprice{ 49 | float: left; 50 | border:1px solid #e1e1e1; 51 | width: 160px; 52 | height: 30px; 53 | position: absolute; 54 | left: 27%; 55 | top: 43%; 56 | } 57 | .left-nprice{ 58 | float: left; 59 | position: absolute; 60 | left: 23%; 61 | top: 53%; 62 | } 63 | .right-nprice{ 64 | float: left; 65 | border:1px solid #e1e1e1; 66 | width: 160px; 67 | height: 30px; 68 | position: absolute; 69 | left: 27%; 70 | top: 53%; 71 | } 72 | .left-stock{ 73 | float: left; 74 | position: absolute; 75 | left: 23%; 76 | top: 63%; 77 | } 78 | .right-stock{ 79 | float: left; 80 | border:1px solid #e1e1e1; 81 | width: 160px; 82 | height: 30px; 83 | position: absolute; 84 | left: 27%; 85 | top: 63%; 86 | } 87 | .left-num{ 88 | float: left; 89 | position: absolute; 90 | left: 23%; 91 | top: 73%; 92 | } 93 | .right-num{ 94 | float: left; 95 | border:1px solid #e1e1e1; 96 | width: 160px; 97 | height: 30px; 98 | position: absolute; 99 | left: 27%; 100 | top: 73%; 101 | } 102 | .left-huojia{ 103 | float: left; 104 | position: absolute; 105 | left: 43%; 106 | top: 23%; 107 | } 108 | .right-huojia{ 109 | float: left; 110 | width: 160px; 111 | height: 30px; 112 | position: absolute; 113 | left: 45%; 114 | top: 23%; 115 | 116 | } 117 | .left-leibie{ 118 | float: left; 119 | position: absolute; 120 | left: 43%; 121 | top: 33%; 122 | } 123 | .right-leibie{ 124 | float: left; 125 | width: 160px; 126 | height: 30px; 127 | position: absolute; 128 | left: 44%; 129 | top: 33%; 130 | 131 | } 132 | .left-img{ 133 | float: left; 134 | position: absolute; 135 | left: 43%; 136 | top: 43%; 137 | } 138 | .right-img{ 139 | float: left; 140 | width: 160px; 141 | height: 30px; 142 | position: absolute; 143 | left: 47%; 144 | top: 43%; 145 | 146 | } 147 | .left-jianjie{ 148 | float: left; 149 | position: absolute; 150 | left: 43%; 151 | top: 53%; 152 | } 153 | .right-jianjie{ 154 | float: left; 155 | width: 220px; 156 | height: 160px; 157 | position: absolute; 158 | left: 47%; 159 | top: 53%; 160 | 161 | } 162 | .commit{ 163 | float: right; 164 | position: absolute; 165 | right: 22%; 166 | top: 50%; 167 | width:50px; 168 | height: 50px; 169 | background: transparent; 170 | 171 | } 172 | .commit{ 173 | color: #FFFFFF; 174 | } 175 | -------------------------------------------------------------------------------- /home/public/css/登录注册.css: -------------------------------------------------------------------------------- 1 | .denglubiaodan{ 2 | background:url(../img/登录背景.jpg) no-repeat center; 3 | width: 850px; 4 | height: 500px; 5 | margin-left: 250px; 6 | margin-top: 58px; 7 | 8 | } 9 | .inputname{ 10 | width: 200px; 11 | height: 28px; 12 | margin-left: 555px; 13 | margin-top: 200px; 14 | border: none; 15 | outline: none; 16 | } 17 | .inputpas{ 18 | width: 200px; 19 | height: 28px; 20 | margin-left: 555px; 21 | margin-top: 41px; 22 | border: none; 23 | outline: none; 24 | } 25 | input::-webkit-input-placeholder{ 26 | color: #8D8B8B; 27 | font-family: "黑体"; 28 | } 29 | input::-moz-placeholder{ /* Mozilla Firefox 19+ */ 30 | color: #8D8B8B; 31 | font-family: "黑体"; 32 | } 33 | input:-moz-placeholder{ /* Mozilla Firefox 4 to 18 */ 34 | color: #8D8B8B; 35 | font-family: "黑体"; 36 | } 37 | input:-ms-input-placeholder{ /* Internet Explorer 10-11 */ 38 | color: #8D8B8B; 39 | font-family: "黑体"; 40 | } 41 | /*.bt-denglu{ 42 | margin-left: 500px; 43 | margin-top: 35px; 44 | width: 265px; 45 | height:36px ; 46 | background: transparent; 47 | border: none; 48 | }*/ 49 | #lgbtn{ 50 | margin-left: 540px; 51 | margin-top: 39px; 52 | width: 265px; 53 | height:36px ; 54 | background: transparent; 55 | border: none; 56 | cursor: pointer; 57 | } 58 | .zhuce{ 59 | float: right; 60 | margin-right: 148px; 61 | margin-top: 10px; 62 | font-family: "黑体"; 63 | font-size: 14px; 64 | 65 | } 66 | .bt-zhuce{ 67 | color: #8D8B8B; 68 | text-decoration:none; 69 | } 70 | .bt-wangji{ 71 | color: #8D8B8B; 72 | text-decoration:none; 73 | margin-left: 50px; 74 | } 75 | 76 | .bg{ 77 | background: url(../img/注册背景.png) no-repeat center; 78 | width: 850px; 79 | height: 500px; 80 | margin-left: 250px; 81 | margin-top: 58px; 82 | } 83 | #register{ 84 | margin-left: 530px; 85 | padding-top: 120px; 86 | } 87 | #regbtn{ 88 | position: absolute; 89 | left: 62%; 90 | top: 81%; 91 | width: 265px; 92 | height:36px ; 93 | background: transparent; 94 | border: none; 95 | color: #FFFFFF; 96 | font-family: "黑体"; 97 | font-size: 16px; 98 | cursor: pointer; 99 | } 100 | #regname{ 101 | width: 200px; 102 | height: 25px; 103 | } 104 | #regpwd1{ 105 | width: 200px; 106 | height: 25px; 107 | } 108 | #regpwd2{ 109 | width: 200px; 110 | height: 25px; 111 | } 112 | #realname{ 113 | width: 200px; 114 | height: 25px; 115 | } 116 | -------------------------------------------------------------------------------- /home/public/css/类别链接.css: -------------------------------------------------------------------------------- 1 | .leader{ 2 | font-family: "黑体"; 3 | font-size: 14px; 4 | text-align: center; 5 | color: #01AFBE; 6 | margin-top: -12px; 7 | } 8 | .leader ul{ 9 | list-style-type:none; 10 | } 11 | .leader li{ 12 | display: inline; 13 | float: none; 14 | color:#01afbe; 15 | } 16 | .leader li a{ 17 | color:#01afbe; 18 | } 19 | .leader nav{ 20 | text-align: center; 21 | } -------------------------------------------------------------------------------- /home/public/css/页头.css: -------------------------------------------------------------------------------- 1 | *{ 2 | margin:0; 3 | padding:0; 4 | 5 | } 6 | ul{ 7 | list-style: none; 8 | } 9 | 10 | a{ 11 | text-decoration: none; 12 | } 13 | input{ 14 | border:none; 15 | outline:none; 16 | font-family: "黑体"; 17 | font-weight: 100; 18 | } 19 | img{ 20 | outline: none; 21 | border:none; 22 | } 23 | body{ 24 | width: 100%; 25 | min-width: 1200px; 26 | font-family: "黑体"; 27 | } 28 | 29 | /*公共头部样式*/ 30 | .header{ 31 | width: 100%; 32 | height:50px; 33 | background:url(../img/beijing.png); 34 | min-width: 1200px; 35 | font-size: 14px; 36 | font-weight:bold; 37 | } 38 | .headerinner{ 39 | width: 1200px; 40 | height: 100%; 41 | padding:0 50px; 42 | margin:0 auto; 43 | box-sizing:border-box; 44 | position: relative; 45 | 46 | 47 | } 48 | /* 导航部分 */ 49 | .headernav{ 50 | width: 100%; 51 | overflow: hidden; 52 | } 53 | .headernav li{ 54 | float: left; 55 | line-height: 50px; 56 | margin:0 10px; 57 | } 58 | .headernav li a{ 59 | color: #fff; 60 | padding:0 10px; 61 | margin:0 12px; 62 | transition: 0.6s; 63 | -webkit-transition: 0.6s; 64 | -o-transition: 0.6s; 65 | -ms-transition: 0.6s; 66 | -moz-transition: 0.6s; 67 | cursor: pointer; 68 | 69 | } 70 | .headernav .logo{ 71 | width: 200px; 72 | height:100%; 73 | margin-right: 20px; 74 | box-sizing: border-box; 75 | line-height: 28px; 76 | padding-top: 5px; 77 | padding-left: 70px; 78 | } 79 | 80 | .headernav .logo img{ 81 | width:50px; 82 | height: auto 83 | 84 | } 85 | 86 | .headernav .logo .w1{ 87 | width:105px; 88 | height: 30px; 89 | line-height: 30px; 90 | margin-left: 15px; 91 | } 92 | .headernav li.xz a{ 93 | color: #747474; 94 | } 95 | .headernav li a:hover{ 96 | color: #747474; 97 | } 98 | .headernav .search, 99 | .headernav .list, 100 | .headernav .close{ 101 | height: 50px; 102 | } 103 | /*.headernav .search a, 104 | .headernav .list a, 105 | .headernav .close a{ 106 | width:18px; 107 | height: 18px; 108 | margin:16px 30px 0 30px; 109 | transition: 0.6s; 110 | -webkit-transition: 0.6s; 111 | -o-transition: 0.6s; 112 | -ms-transition: 0.6s; 113 | -moz-transition: 0.6s; 114 | background: url(../img/search.png) no-repeat; 115 | } 116 | .headernav .search a:hover{ 117 | background: url(../img/search1.png) no-repeat; 118 | } 119 | .headernav .list a{ 120 | background: url(../img/car.png) no-repeat; 121 | } 122 | .headernav .list a:hover{ 123 | background: url(../img/car-.png) no-repeat; 124 | }*/ 125 | /* 搜素框 */ 126 | .search_main{ 127 | position: absolute; 128 | left:15%; 129 | top:0; 130 | width: 50%; 131 | height: 100%; 132 | background:white; 133 | display: none; 134 | } 135 | .search_main .search_btn, 136 | .search_main .close_btn{ 137 | width: 50px; 138 | height: 50px; 139 | transition: 0.6s; 140 | -webkit-transition: 0.6s; 141 | -o-transition: 0.6s; 142 | -ms-transition: 0.6s; 143 | -moz-transition: 0.6s; 144 | background: url(../img/search2.png) no-repeat center center; 145 | float: left; 146 | border:none; 147 | outline: none; 148 | cursor: pointer; 149 | } 150 | .search_main .search_btn:hover{ 151 | background: url(../img/search1.png) no-repeat center center; 152 | } 153 | .search_main input.search_text{ 154 | height: 100%; 155 | width: 90%; 156 | background:white; 157 | color: black; 158 | } 159 | .search_main .close_btn{ 160 | background: url(../img/close.png) no-repeat center center; 161 | position: absolute; 162 | top:0; 163 | right: -198px; 164 | } 165 | .search_main .close_btn:hover{ 166 | background: url(../img/close1.png) no-repeat center center; 167 | } 168 | /*个人中心 */ 169 | .geren{ 170 | display: none; 171 | width: 200px; 172 | height: 130px; 173 | position:absolute; 174 | right:39px; 175 | top:40px; 176 | z-index: 1000; 177 | } 178 | .geren:hover{ 179 | background: url(../img/list1.png); 180 | } 181 | -------------------------------------------------------------------------------- /home/public/img/1-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/1-1.jpg -------------------------------------------------------------------------------- /home/public/img/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/1.jpg -------------------------------------------------------------------------------- /home/public/img/ads1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/ads1.jpg -------------------------------------------------------------------------------- /home/public/img/ads2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/ads2.jpg -------------------------------------------------------------------------------- /home/public/img/banner1-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/banner1-1.png -------------------------------------------------------------------------------- /home/public/img/banner1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/banner1.png -------------------------------------------------------------------------------- /home/public/img/banner2-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/banner2-2.png -------------------------------------------------------------------------------- /home/public/img/banner2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/banner2.png -------------------------------------------------------------------------------- /home/public/img/banner3-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/banner3-3.png -------------------------------------------------------------------------------- /home/public/img/banner3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/banner3.png -------------------------------------------------------------------------------- /home/public/img/beijing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/beijing.png -------------------------------------------------------------------------------- /home/public/img/bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/bg.jpg -------------------------------------------------------------------------------- /home/public/img/bookBg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/bookBg.png -------------------------------------------------------------------------------- /home/public/img/bookLeft.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/bookLeft.png -------------------------------------------------------------------------------- /home/public/img/bookRight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/bookRight.png -------------------------------------------------------------------------------- /home/public/img/car-.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/car-.png -------------------------------------------------------------------------------- /home/public/img/car.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/car.png -------------------------------------------------------------------------------- /home/public/img/cart.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/cart.jpg -------------------------------------------------------------------------------- /home/public/img/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/close.png -------------------------------------------------------------------------------- /home/public/img/close1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/close1.png -------------------------------------------------------------------------------- /home/public/img/denglu-btn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/denglu-btn.png -------------------------------------------------------------------------------- /home/public/img/denglu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/denglu.png -------------------------------------------------------------------------------- /home/public/img/fenmu.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/fenmu.jpg -------------------------------------------------------------------------------- /home/public/img/huiyuan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/huiyuan.png -------------------------------------------------------------------------------- /home/public/img/huiyuan1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/huiyuan1.png -------------------------------------------------------------------------------- /home/public/img/huiyuan2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/huiyuan2.png -------------------------------------------------------------------------------- /home/public/img/huiyuan3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/huiyuan3.png -------------------------------------------------------------------------------- /home/public/img/leader-bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/leader-bg.jpg -------------------------------------------------------------------------------- /home/public/img/list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/list.png -------------------------------------------------------------------------------- /home/public/img/list1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/list1.png -------------------------------------------------------------------------------- /home/public/img/login.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/login.jpg -------------------------------------------------------------------------------- /home/public/img/logo-blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/logo-blue.png -------------------------------------------------------------------------------- /home/public/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/logo.png -------------------------------------------------------------------------------- /home/public/img/logo2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/logo2.png -------------------------------------------------------------------------------- /home/public/img/mima.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/mima.png -------------------------------------------------------------------------------- /home/public/img/return.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/return.png -------------------------------------------------------------------------------- /home/public/img/return1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/return1.png -------------------------------------------------------------------------------- /home/public/img/search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/search.png -------------------------------------------------------------------------------- /home/public/img/search1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/search1.png -------------------------------------------------------------------------------- /home/public/img/search2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/search2.png -------------------------------------------------------------------------------- /home/public/img/text.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/text.jpg -------------------------------------------------------------------------------- /home/public/img/useradd.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/useradd.jpg -------------------------------------------------------------------------------- /home/public/img/wel.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/wel.jpg -------------------------------------------------------------------------------- /home/public/img/wel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/wel.png -------------------------------------------------------------------------------- /home/public/img/书封面.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/书封面.jpg -------------------------------------------------------------------------------- /home/public/img/书封面1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/书封面1.jpg -------------------------------------------------------------------------------- /home/public/img/书背景.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/书背景.png -------------------------------------------------------------------------------- /home/public/img/信封.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/信封.png -------------------------------------------------------------------------------- /home/public/img/发布旧书背景.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/发布旧书背景.jpg -------------------------------------------------------------------------------- /home/public/img/导航1-.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/导航1-.png -------------------------------------------------------------------------------- /home/public/img/导航1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/导航1.png -------------------------------------------------------------------------------- /home/public/img/导航2-.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/导航2-.png -------------------------------------------------------------------------------- /home/public/img/导航2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/导航2.png -------------------------------------------------------------------------------- /home/public/img/导航3-.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/导航3-.png -------------------------------------------------------------------------------- /home/public/img/导航3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/导航3.png -------------------------------------------------------------------------------- /home/public/img/导航4-.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/导航4-.png -------------------------------------------------------------------------------- /home/public/img/导航4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/导航4.png -------------------------------------------------------------------------------- /home/public/img/导航5-.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/导航5-.png -------------------------------------------------------------------------------- /home/public/img/导航5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/导航5.png -------------------------------------------------------------------------------- /home/public/img/导航6-.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/导航6-.png -------------------------------------------------------------------------------- /home/public/img/导航6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/导航6.png -------------------------------------------------------------------------------- /home/public/img/导航文字背景.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/导航文字背景.png -------------------------------------------------------------------------------- /home/public/img/导航背景.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/导航背景.png -------------------------------------------------------------------------------- /home/public/img/导航背景1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/导航背景1.png -------------------------------------------------------------------------------- /home/public/img/推荐.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/推荐.png -------------------------------------------------------------------------------- /home/public/img/推荐1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/推荐1.png -------------------------------------------------------------------------------- /home/public/img/推荐2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/推荐2.png -------------------------------------------------------------------------------- /home/public/img/推荐3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/推荐3.png -------------------------------------------------------------------------------- /home/public/img/推荐4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/推荐4.png -------------------------------------------------------------------------------- /home/public/img/推荐5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/推荐5.png -------------------------------------------------------------------------------- /home/public/img/推荐6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/推荐6.png -------------------------------------------------------------------------------- /home/public/img/搜索按钮前.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/搜索按钮前.png -------------------------------------------------------------------------------- /home/public/img/搜索按钮后.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/搜索按钮后.png -------------------------------------------------------------------------------- /home/public/img/搜索背景.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/搜索背景.png -------------------------------------------------------------------------------- /home/public/img/新logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/新logo.png -------------------------------------------------------------------------------- /home/public/img/无底logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/无底logo.png -------------------------------------------------------------------------------- /home/public/img/注册背景.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/注册背景.png -------------------------------------------------------------------------------- /home/public/img/登录框.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/登录框.png -------------------------------------------------------------------------------- /home/public/img/登录背景.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/登录背景.jpg -------------------------------------------------------------------------------- /home/public/img/背景.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/背景.png -------------------------------------------------------------------------------- /home/public/img/页头背景.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/img/页头背景.png -------------------------------------------------------------------------------- /home/public/js/book.js: -------------------------------------------------------------------------------- 1 | $(function(){ 2 | var pageNum = 0; 3 | 4 | for (var i = 0; i < $('.runPage').length; i++) { 5 | $('.runPage').eq(i).css('z-index',7-2*i); 6 | $('.runPage').eq(i).children('div').css('z-index',7-2*i); 7 | $('.runPage').eq(i).children('img').css('z-index',6-2*i); 8 | }; 9 | 10 | $('.nextBtn').bind('click',function(){ 11 | if ( pageNum <= 2 ) { 12 | runNext(pageNum); 13 | pageNum++; 14 | }; 15 | console.log(pageNum); 16 | }); 17 | 18 | function runNext(index){ 19 | $('.runPage').eq(index).addClass('runClass'); 20 | zIndexNext(index,$('.runPage').eq(index)); 21 | } 22 | 23 | function zIndexNext(index,element){ 24 | if ( index >= 1 ) { 25 | element.css('z-index',3+2*index); 26 | }; 27 | setTimeout(function(){ 28 | if (index==0) { 29 | element.css('z-index',3+2*index); 30 | }; 31 | element.children('div').css('z-index',2+2*index); 32 | element.children('img').css('z-index',3+2*index); 33 | },1000); 34 | } 35 | 36 | $('.lastBtn').bind('click',function(){ 37 | if ( pageNum >= 1 ) { 38 | pageNum--; 39 | runLast(pageNum); 40 | }; 41 | console.log(pageNum); 42 | }); 43 | 44 | function runLast(index){ 45 | $('.runPage').eq(index).removeClass('runClass'); 46 | zIndexLast(index,$('.runPage').eq(index)); 47 | } 48 | 49 | function zIndexLast(index,element){ 50 | if (index == 0) { 51 | element.css('z-index',7-2*index); 52 | }; 53 | setTimeout(function(){ 54 | element.css('z-index',7-2*index); 55 | element.children('div').css('z-index',7-2*index); 56 | element.children('img').css('z-index',6-2*index); 57 | },1000); 58 | } 59 | }); -------------------------------------------------------------------------------- /home/public/js/login.js: -------------------------------------------------------------------------------- 1 | function $(idVlue){ //返回被触发的“id = idVlue”元素对象 2 | return document.getElementById(idVlue); 3 | } 4 | 5 | window.onload = function(){ 6 | 7 | $('lgname').focus(); //光标定位到用户名输入框 8 | 9 | $('lgname').onkeydown = function(){ //处理用户名输入框的键盘按下事件 10 | if(event.keyCode == 13){ //当按下Enter键时,光标自动下移 11 | $('lgpwd').select(); //密码获取焦点 12 | } 13 | }; 14 | 15 | $('lgpwd').onkeydown = function(){ //处理密码框的键盘按下事件 16 | if(event.keyCode == 13){ 17 | chklg(); 18 | } 19 | }; 20 | 21 | function chklg() { 22 | if ($('lgname').value.match(/^[a-zA-Z]\w*$/) == null) { //判断用户名合法,第一位必须是英文字母,不允许有特殊字符 23 | alert("请输入合法名称"); 24 | $('lgname').select(); 25 | return false; 26 | } 27 | 28 | if ($('lgname').value == '') { //判断用户名是否为空 29 | alert("请输入用户名!"); 30 | $('lgname').focus(); 31 | return false; 32 | } 33 | 34 | if ($('lgpwd').value == '') { //判断密码是否为空 35 | alert("请输入密码!"); 36 | $('lgpwd').focus(); 37 | return false; 38 | } 39 | } 40 | 41 | $('lgbtn').onclick = function(){ 42 | url = 'logincheck.php?username='+$('lgname').value+'&password='+$('lgpwd').value; 43 | var xhr = new XMLHttpRequest(); 44 | xhr.open('get',url,true); 45 | xhr.onreadystatechange = function(){ 46 | if(xhr.readyState == 4){ 47 | if(xhr.status == 200){ 48 | var msg = xhr.responseText; //获取响应内容 49 | if(msg == '0'){ 50 | alert('用户名或密码不允许为空'); 51 | $('lgpwd').select(); 52 | }else if(msg == '1'){ 53 | alert('用户名或密码输入错误'); 54 | $('lgpwd').select(); 55 | }else if(msg == '-1'){ 56 | alert('登录成功'); 57 | location = 'person/index.php'; 58 | }else{ 59 | alert(msg); 60 | } 61 | } 62 | } 63 | }; 64 | xhr.send(null); 65 | }; 66 | 67 | }; -------------------------------------------------------------------------------- /home/public/js/表单-发布旧书.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/home/public/js/表单-发布旧书.js -------------------------------------------------------------------------------- /home/public/session.php: -------------------------------------------------------------------------------- 1 | location='{$root}/home/login.php'"; 10 | exit; 11 | } 12 | ?> -------------------------------------------------------------------------------- /home/recommend.php: -------------------------------------------------------------------------------- 1 | 30 | 31 | 32 | 33 | 34 | 35 | 分类页面 36 | 37 | 38 | 39 |
40 | 43 | 44 |
45 |
46 |
47 |
48 | 首页 » 49 |
50 |
51 | 共有图书  种 52 |
53 |
54 | 55 |
56 | 57 | 62 | 63 | 64 |
65 |
66 | 67 |
68 | 69 |
70 | 71 | 72 |
73 |
74 |
75 | 76 | "; 79 | echo "共".$totalpage."页  当前是第".$page."页  "; 80 | if($page>=1 && $totalpage>1){ 81 | echo "第一页  "; 82 | } 83 | if($page>1 && $totalpage>1){ 84 | echo "上一页  "; 85 | } 86 | if($page>=1 && $totalpage>$page){ 87 | echo "下一页  "; 88 | } 89 | if($page>=1 && $totalpage>1){ 90 | echo "尾页"; 91 | } 92 | echo "
"; 93 | ?> 94 | 95 |
96 |
97 |
98 |
99 | 100 | 103 | 104 | 105 | -------------------------------------------------------------------------------- /home/reginsert.php: -------------------------------------------------------------------------------- 1 | uidRst($sql); 12 | if($num == 1){ 13 | $reback ='1'; 14 | } 15 | echo $reback; //输出变量值 16 | ?> -------------------------------------------------------------------------------- /home/register.php: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | 用户注册 9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 |
17 | 34 |
35 |
36 | 37 | -------------------------------------------------------------------------------- /home/saleadd.php: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 | 11 | 12 | 发布旧书 13 | 14 | 15 | 16 | 17 |
18 | 21 |
22 |
23 |
24 |

名称:

25 |

26 | 27 |

作者:

28 |

29 | 30 |

定价:

31 |

32 | 33 |

出售价:

34 |

35 | 36 |

库存:

37 |

38 | 39 |

销量:

40 |

41 | 42 |

货架:

43 |

44 | 47 | 50 |

51 | 52 |

类别:

53 |

54 | 60 |

61 | 62 |

图片:

63 |

64 | 65 |

简介:

66 |

67 | 68 |

69 |
70 |
71 |
72 | 73 | 76 |
77 | 78 | -------------------------------------------------------------------------------- /img/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/img/Thumbs.db -------------------------------------------------------------------------------- /img/ball.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/img/ball.png -------------------------------------------------------------------------------- /img/cloud2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/img/cloud2.png -------------------------------------------------------------------------------- /img/connbg1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/img/connbg1.png -------------------------------------------------------------------------------- /img/connbg2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/img/connbg2.png -------------------------------------------------------------------------------- /img/down2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/img/down2.png -------------------------------------------------------------------------------- /img/f1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/img/f1.png -------------------------------------------------------------------------------- /img/f2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/img/f2.png -------------------------------------------------------------------------------- /img/f3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/img/f3.png -------------------------------------------------------------------------------- /img/goodnight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/img/goodnight.png -------------------------------------------------------------------------------- /img/hearttalk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/img/hearttalk.png -------------------------------------------------------------------------------- /img/help.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/img/help.png -------------------------------------------------------------------------------- /img/house.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/img/house.png -------------------------------------------------------------------------------- /img/loc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/img/loc.png -------------------------------------------------------------------------------- /img/lunar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/img/lunar.png -------------------------------------------------------------------------------- /img/phone1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/img/phone1.png -------------------------------------------------------------------------------- /img/phone2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/img/phone2.png -------------------------------------------------------------------------------- /img/pillows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/img/pillows.png -------------------------------------------------------------------------------- /img/pop2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/img/pop2.png -------------------------------------------------------------------------------- /img/popcontent1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/img/popcontent1.png -------------------------------------------------------------------------------- /img/popcontent2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/img/popcontent2.png -------------------------------------------------------------------------------- /img/popcontent3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/img/popcontent3.png -------------------------------------------------------------------------------- /img/popcontent4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/img/popcontent4.png -------------------------------------------------------------------------------- /img/smile-off-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/img/smile-off-2.png -------------------------------------------------------------------------------- /img/smile-on-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/img/smile-on-2.png -------------------------------------------------------------------------------- /img/star-moon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/img/star-moon.png -------------------------------------------------------------------------------- /img/star2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/img/star2.png -------------------------------------------------------------------------------- /public/common/conn.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/common/function.php: -------------------------------------------------------------------------------- 1 | $src_h/$dst_h){ 34 | $scale=$src_w/$dst_w; 35 | }else{ 36 | $scale=$src_h/$dst_h; 37 | } 38 | 39 | $dst_w2=floor($src_w/$scale); 40 | $dst_h2=floor($src_h/$scale); 41 | 42 | //目标图片资源 43 | $dimgr=imagecreatetruecolor($dst_w2,$dst_h2); 44 | 45 | //开始缩放 46 | imagecopyresampled($dimgr,$simgr,0,0,0,0,$dst_w2,$dst_h2,$src_w,$src_h); 47 | 48 | //保存到与原图同一个目录下 49 | $dir=dirname($src_file); 50 | $file=basename($src_file); 51 | $save_file=$dir.'/'.'thumb_'.$file; 52 | $imageout($dimgr,$save_file); 53 | } 54 | 55 | ?> -------------------------------------------------------------------------------- /public/common/mysql.class.php: -------------------------------------------------------------------------------- 1 | host=$host; 23 | if($name!='') 24 | $this->name=$name; 25 | if($pwd!='') 26 | $this->pwd=$pwd; 27 | if($dBase!='') 28 | $this->dBase=$dBase; 29 | 30 | //调用init_conn()函数创建数据库连接源 31 | $this->init_conn(); 32 | } 33 | 34 | //链接数据库 35 | function init_conn(){ 36 | $this->conn=@mysql_connect($this->host,$this->name,$this->pwd); 37 | @mysql_select_db($this->dBase,$this->conn); 38 | mysql_query("SET NAMES UTF8"); 39 | } 40 | 41 | //查询函数 42 | function mysql_query_rst($sql){ 43 | if($this->conn == ''){ 44 | $this->init_conn(); 45 | } 46 | $this->result = @mysql_query($sql,$this->conn); 47 | } 48 | 49 | //取得字段数 50 | function getFieldsNum($sql){ 51 | $this->mysql_query_rst($sql); 52 | $this->fieldsNum = @mysql_num_fields($this->result); 53 | } 54 | 55 | //获取对应的字段值 56 | function getFields($sql,$fields){ 57 | $this->mysql_query_rst($sql); 58 | if(mysql_errno() == 0){ 59 | if(mysql_num_rows($this->result) > 0){ 60 | $tmpfld = @mysql_fetch_row($this->result); 61 | $this->fields = $tmpfld[$fields]; 62 | 63 | } 64 | return $this->fields; 65 | }else{ 66 | return ''; 67 | } 68 | } 69 | 70 | //返回查询记录数函数 71 | function getRowsNum($sql){ 72 | $this->mysql_query_rst($sql); 73 | if(mysql_errno() == 0){ 74 | return @mysql_num_rows($this->result); 75 | }else{ 76 | return ''; 77 | } 78 | } 79 | 80 | //取得单条记录数组函数 81 | function getRowsRst($sql){ 82 | $this->mysql_query_rst($sql); 83 | if(mysql_errno() == 0){ 84 | $this->rowsRst = mysql_fetch_array($this->result,MYSQL_ASSOC); 85 | return $this->rowsRst; 86 | }else{ 87 | return ''; 88 | } 89 | } 90 | 91 | //取得多条记录数组函数 92 | function getRowsArray($sql){ 93 | $this->mysql_query_rst($sql); 94 | if(mysql_errno() == 0){ 95 | while($row = mysql_fetch_array($this->result,MYSQL_ASSOC)){ 96 | $this->rowsArray[] = $row; 97 | } 98 | return $this->rowsArray; 99 | }else{ 100 | return ''; 101 | } 102 | } 103 | 104 | //返回更新、删除、添加的记录数函数 105 | function uidRst($sql){ 106 | if($this->conn == ''){ 107 | $this->init_conn(); 108 | } 109 | @mysql_query($sql); 110 | $this->rowsNum = @mysql_affected_rows(); 111 | if(mysql_errno() == 0){ 112 | return $this->rowsNum; 113 | }else{ 114 | return ''; 115 | } 116 | } 117 | 118 | //错误信息 119 | function msg_error(){ 120 | if(mysql_errno() != 0) { 121 | $this->msg = mysql_error(); 122 | } 123 | return $this->msg; 124 | } 125 | 126 | //释放结果集函数 127 | function close_rst(){ 128 | mysql_free_result($this->result); 129 | $this->msg = ''; 130 | $this->fieldsNum = 0; 131 | $this->rowsNum = 0; 132 | $this->filesArray = ''; 133 | $this->rowsArray = ''; 134 | } 135 | 136 | //关闭数据库函数 137 | function close_conn(){ 138 | $this->close_rst(); 139 | mysql_close($this->conn); 140 | $this->conn = ''; 141 | } 142 | } 143 | 144 | $conne = new opmysql(); 145 | ?> -------------------------------------------------------------------------------- /public/css/default.css: -------------------------------------------------------------------------------- 1 | body{ 2 | background:url('../img/space-blue.jpg'); 3 | margin:0; 4 | overflow:hidden; 5 | } 6 | img.default { 7 | position: absolute; 8 | z-index: 20; 9 | width: 24vw; 10 | margin: auto; 11 | top: 0; 12 | left: 0; 13 | bottom: 0; 14 | right: 0; 15 | } 16 | .svg-wrapper{ 17 | margin-top:30%; 18 | margin-left:44%; 19 | position:absolute; 20 | width:150px; 21 | height:40px; 22 | display:inline-block; 23 | border-radius:2px; 24 | } 25 | #shape{ 26 | stroke-width:3px; 27 | fill:transparent; 28 | stroke:#FBD9E9; 29 | stroke-dasharray:60 300; 30 | stroke-dashoffset:-235; 31 | transition:1s all ease; 32 | } 33 | #text{ 34 | margin-top:-35px; 35 | text-align:center; 36 | } 37 | #text a{ 38 | color:white; 39 | text-decoration:none; 40 | font-weight:100; 41 | font-size:1.1em 42 | } 43 | .svg-wrapper:hover #shape{ 44 | stroke-dasharray:50 0; 45 | stroke-width:2px; 46 | stroke-dashoffset:0; 47 | stroke:#8EB7E3; 48 | } -------------------------------------------------------------------------------- /public/img/default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/img/default.png -------------------------------------------------------------------------------- /public/img/space-blue.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/img/space-blue.jpg -------------------------------------------------------------------------------- /public/upadverts/15258793256858724.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/upadverts/15258793256858724.jpg -------------------------------------------------------------------------------- /public/upadverts/15258793371916717795.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/upadverts/15258793371916717795.jpg -------------------------------------------------------------------------------- /public/upadverts/thumb_15258793256858724.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/upadverts/thumb_15258793256858724.jpg -------------------------------------------------------------------------------- /public/upadverts/thumb_15258793371916717795.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/upadverts/thumb_15258793371916717795.jpg -------------------------------------------------------------------------------- /public/uploads/152612730284565882.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/152612730284565882.jpg -------------------------------------------------------------------------------- /public/uploads/1526127402546085566.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/1526127402546085566.jpg -------------------------------------------------------------------------------- /public/uploads/152712877238062827.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/152712877238062827.jpg -------------------------------------------------------------------------------- /public/uploads/15272814831832248894.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/15272814831832248894.jpg -------------------------------------------------------------------------------- /public/uploads/1527281665761551820.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/1527281665761551820.JPG -------------------------------------------------------------------------------- /public/uploads/15272818641930178399.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/15272818641930178399.JPG -------------------------------------------------------------------------------- /public/uploads/15272830761768024200.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/15272830761768024200.jpg -------------------------------------------------------------------------------- /public/uploads/1527283302313530615.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/1527283302313530615.JPG -------------------------------------------------------------------------------- /public/uploads/15272838351030121808.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/15272838351030121808.JPG -------------------------------------------------------------------------------- /public/uploads/15272839681561183239.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/15272839681561183239.JPG -------------------------------------------------------------------------------- /public/uploads/15272840551595750786.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/15272840551595750786.JPG -------------------------------------------------------------------------------- /public/uploads/15272841201167486139.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/15272841201167486139.JPG -------------------------------------------------------------------------------- /public/uploads/1527284258750660825.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/1527284258750660825.JPG -------------------------------------------------------------------------------- /public/uploads/15272849662005943229.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/15272849662005943229.JPG -------------------------------------------------------------------------------- /public/uploads/15272851481140547597.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/15272851481140547597.JPG -------------------------------------------------------------------------------- /public/uploads/1527285472676603470.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/1527285472676603470.JPG -------------------------------------------------------------------------------- /public/uploads/15272857762018190444.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/15272857762018190444.JPG -------------------------------------------------------------------------------- /public/uploads/15272863351278769384.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/15272863351278769384.JPG -------------------------------------------------------------------------------- /public/uploads/15272863921453824101.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/15272863921453824101.JPG -------------------------------------------------------------------------------- /public/uploads/1527286619204637431.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/1527286619204637431.JPG -------------------------------------------------------------------------------- /public/uploads/1527286845759508271.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/1527286845759508271.JPG -------------------------------------------------------------------------------- /public/uploads/1527287291366691676.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/1527287291366691676.JPG -------------------------------------------------------------------------------- /public/uploads/1527287428576199718.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/1527287428576199718.JPG -------------------------------------------------------------------------------- /public/uploads/15272876221319085471.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/15272876221319085471.JPG -------------------------------------------------------------------------------- /public/uploads/15272877571118223498.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/15272877571118223498.JPG -------------------------------------------------------------------------------- /public/uploads/15272879021387125357.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/15272879021387125357.JPG -------------------------------------------------------------------------------- /public/uploads/1527288041573552416.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/1527288041573552416.JPG -------------------------------------------------------------------------------- /public/uploads/1527288177350339127.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/1527288177350339127.JPG -------------------------------------------------------------------------------- /public/uploads/15272883201715623021.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/15272883201715623021.JPG -------------------------------------------------------------------------------- /public/uploads/15272884661985979188.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/15272884661985979188.JPG -------------------------------------------------------------------------------- /public/uploads/15272886871221285491.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/15272886871221285491.JPG -------------------------------------------------------------------------------- /public/uploads/15272888671665051710.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/15272888671665051710.JPG -------------------------------------------------------------------------------- /public/uploads/15274257521086855166.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/15274257521086855166.JPG -------------------------------------------------------------------------------- /public/uploads/1527428570300999447.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/1527428570300999447.JPG -------------------------------------------------------------------------------- /public/uploads/thumb_152612730284565882.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/thumb_152612730284565882.jpg -------------------------------------------------------------------------------- /public/uploads/thumb_1526127402546085566.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/thumb_1526127402546085566.jpg -------------------------------------------------------------------------------- /public/uploads/thumb_152712877238062827.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/thumb_152712877238062827.jpg -------------------------------------------------------------------------------- /public/uploads/thumb_15272814831832248894.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/thumb_15272814831832248894.jpg -------------------------------------------------------------------------------- /public/uploads/thumb_1527281665761551820.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/thumb_1527281665761551820.JPG -------------------------------------------------------------------------------- /public/uploads/thumb_15272818641930178399.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/thumb_15272818641930178399.JPG -------------------------------------------------------------------------------- /public/uploads/thumb_15272830761768024200.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/thumb_15272830761768024200.jpg -------------------------------------------------------------------------------- /public/uploads/thumb_1527283302313530615.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/thumb_1527283302313530615.JPG -------------------------------------------------------------------------------- /public/uploads/thumb_15272838351030121808.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/thumb_15272838351030121808.JPG -------------------------------------------------------------------------------- /public/uploads/thumb_15272839681561183239.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/thumb_15272839681561183239.JPG -------------------------------------------------------------------------------- /public/uploads/thumb_15272840551595750786.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/thumb_15272840551595750786.JPG -------------------------------------------------------------------------------- /public/uploads/thumb_15272841201167486139.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/thumb_15272841201167486139.JPG -------------------------------------------------------------------------------- /public/uploads/thumb_1527284258750660825.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/thumb_1527284258750660825.JPG -------------------------------------------------------------------------------- /public/uploads/thumb_15272849662005943229.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/thumb_15272849662005943229.JPG -------------------------------------------------------------------------------- /public/uploads/thumb_15272851481140547597.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/thumb_15272851481140547597.JPG -------------------------------------------------------------------------------- /public/uploads/thumb_1527285472676603470.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/thumb_1527285472676603470.JPG -------------------------------------------------------------------------------- /public/uploads/thumb_15272857762018190444.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/thumb_15272857762018190444.JPG -------------------------------------------------------------------------------- /public/uploads/thumb_15272863351278769384.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/thumb_15272863351278769384.JPG -------------------------------------------------------------------------------- /public/uploads/thumb_15272863921453824101.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/thumb_15272863921453824101.JPG -------------------------------------------------------------------------------- /public/uploads/thumb_1527286619204637431.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/thumb_1527286619204637431.JPG -------------------------------------------------------------------------------- /public/uploads/thumb_1527286845759508271.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/thumb_1527286845759508271.JPG -------------------------------------------------------------------------------- /public/uploads/thumb_1527287291366691676.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/thumb_1527287291366691676.JPG -------------------------------------------------------------------------------- /public/uploads/thumb_1527287428576199718.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/thumb_1527287428576199718.JPG -------------------------------------------------------------------------------- /public/uploads/thumb_15272876221319085471.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/thumb_15272876221319085471.JPG -------------------------------------------------------------------------------- /public/uploads/thumb_15272877571118223498.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/thumb_15272877571118223498.JPG -------------------------------------------------------------------------------- /public/uploads/thumb_15272879021387125357.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/thumb_15272879021387125357.JPG -------------------------------------------------------------------------------- /public/uploads/thumb_1527288041573552416.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/thumb_1527288041573552416.JPG -------------------------------------------------------------------------------- /public/uploads/thumb_1527288177350339127.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/thumb_1527288177350339127.JPG -------------------------------------------------------------------------------- /public/uploads/thumb_15272883201715623021.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/thumb_15272883201715623021.JPG -------------------------------------------------------------------------------- /public/uploads/thumb_15272884661985979188.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/thumb_15272884661985979188.JPG -------------------------------------------------------------------------------- /public/uploads/thumb_15272886871221285491.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/thumb_15272886871221285491.JPG -------------------------------------------------------------------------------- /public/uploads/thumb_15272888671665051710.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/thumb_15272888671665051710.JPG -------------------------------------------------------------------------------- /public/uploads/thumb_15274257521086855166.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/thumb_15274257521086855166.JPG -------------------------------------------------------------------------------- /public/uploads/thumb_1527428570300999447.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/uploads/thumb_1527428570300999447.JPG -------------------------------------------------------------------------------- /public/upusers/15259634661692642671.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/upusers/15259634661692642671.gif -------------------------------------------------------------------------------- /public/upusers/1525963555779128951.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/upusers/1525963555779128951.gif -------------------------------------------------------------------------------- /public/upusers/15259636552108733521.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/upusers/15259636552108733521.gif -------------------------------------------------------------------------------- /public/upusers/15259637211456132741.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/upusers/15259637211456132741.gif -------------------------------------------------------------------------------- /public/upusers/1525963751481054817.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/upusers/1525963751481054817.gif -------------------------------------------------------------------------------- /public/upusers/1527424537221290535.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/upusers/1527424537221290535.gif -------------------------------------------------------------------------------- /public/upusers/1527424977202824341.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/upusers/1527424977202824341.gif -------------------------------------------------------------------------------- /public/upusers/15274256451541627398.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/upusers/15274256451541627398.gif -------------------------------------------------------------------------------- /public/upusers/15274287251030883359.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/upusers/15274287251030883359.gif -------------------------------------------------------------------------------- /public/upusers/thumb_15259634661692642671.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/upusers/thumb_15259634661692642671.gif -------------------------------------------------------------------------------- /public/upusers/thumb_15259636552108733521.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/upusers/thumb_15259636552108733521.gif -------------------------------------------------------------------------------- /public/upusers/thumb_15259637211456132741.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/upusers/thumb_15259637211456132741.gif -------------------------------------------------------------------------------- /public/upusers/thumb_1525963751481054817.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/upusers/thumb_1525963751481054817.gif -------------------------------------------------------------------------------- /public/upusers/thumb_1527424537221290535.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/upusers/thumb_1527424537221290535.gif -------------------------------------------------------------------------------- /public/upusers/thumb_1527424977202824341.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/upusers/thumb_1527424977202824341.gif -------------------------------------------------------------------------------- /public/upusers/thumb_15274256451541627398.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/upusers/thumb_15274256451541627398.gif -------------------------------------------------------------------------------- /public/upusers/thumb_15274287251030883359.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/66Web/php_book_store/dc0d6b74a7635e5ae9d3c1b19341e3fab3cefd02/public/upusers/thumb_15274287251030883359.gif -------------------------------------------------------------------------------- /qzss.sql: -------------------------------------------------------------------------------- 1 | SET NAMES UTF8; 2 | DROP DATABASE IF EXISTS qzss; 3 | CREATE DATABASE qzss CHARSET=UTF8; 4 | USE qzss; 5 | 6 | --用户表 7 | create table user( 8 | id int unsigned not null auto_increment primary key, 9 | username varchar(20) not null, 10 | password varchar(32) not null, 11 | realname varchar(20) not null, 12 | img varchar(100) not null default 'moren.gif', 13 | sex tinyint unsigned not null default '1' 14 | ); 15 | 16 | --管理员表 17 | create table admin( 18 | id int unsigned not null auto_increment primary key, 19 | username varchar(20) not null, 20 | password varchar(32) not null 21 | ); 22 | 23 | --广告表 24 | create table advert( 25 | id int unsigned not null auto_increment primary key, 26 | img varchar(100) not null, 27 | pos tinyint unsigned not null, 28 | url varchar(100) not null 29 | ); 30 | 31 | --二手书类别表 32 | create table class( 33 | id int unsigned not null auto_increment primary key, 34 | name varchar(50) not null 35 | ); 36 | 37 | --二手书信息表 supplier默认0 本站提供 38 | create table book( 39 | id int unsigned not null auto_increment primary key, 40 | name varchar(50) not null, 41 | writer varchar(50) not null, 42 | img varchar(100) not null, 43 | info mediumtext not null, 44 | oldprice float(8,2) unsigned not null, 45 | nowprice float(8,2) unsigned not null, 46 | class_id int unsigned not null, 47 | stock int unsigned not null, 48 | sales int unsigned not null default '0', 49 | supplier int unsigned not null default '0', 50 | shelf tinyint unsigned not null, 51 | recommend tinyint unsigned not null default '0' 52 | ); 53 | 54 | --评论表 55 | create table comment( 56 | id int unsigned not null auto_increment primary key, 57 | user_id int unsigned not null, 58 | content text, 59 | book_id int unsigned not null, 60 | time int 61 | ); 62 | 63 | --订单状态表 64 | create table status( 65 | id int unsigned not null auto_increment primary key, 66 | name varchar(50) 67 | ); 68 | 69 | --订单表 status_id默认1未发货 70 | --confirm默认0未确认 71 | --paytype默认1货到付款 2支付宝支付 3一卡通支付 72 | --posttype默认1普通快递 2EMS 3顺丰 73 | create table indent( 74 | id int unsigned not null auto_increment primary key, 75 | code varchar(50) not null, 76 | user_id int unsigned not null, 77 | touch_id int unsigned not null, 78 | book_id int unsigned not null, 79 | price float(8,2) unsigned not null, 80 | num int unsigned not null, 81 | status_id int not null default '1', 82 | confirm tinyint unsigned not null default '0', 83 | paytype int unsigned not null default '1', 84 | posttype int unsigned not null default '1', 85 | time int not null 86 | ); 87 | 88 | --联系方式表 89 | create table touch( 90 | id int unsigned not null auto_increment primary key, 91 | name varchar(50) not null, 92 | addr varchar(100) not null, 93 | postcode varchar(10) not null, 94 | tel varchar(50) not null, 95 | user_id int unsigned not null 96 | ); 97 | 98 | --书架表 99 | create table bookshelf( 100 | id int unsigned not null auto_increment primary key, 101 | book_id int unsigned not null, 102 | user_id int unsigned not null 103 | ); --------------------------------------------------------------------------------