Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
visonforcoding committed Oct 13, 2015
0 parents commit 1efd42e
Show file tree
Hide file tree
Showing 349 changed files with 131,605 additions and 0 deletions.
26 changes: 26 additions & 0 deletions getOrderList.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?php

/**
* Encoding : UTF-8
* Created on : 2015-10-13 15:25:07 by caowenpeng , caowenpeng1990@126.com
* @link http://blog,rc5j.cn 博客地址
*
*/

$conn = new mysqli('localhost','root','123456','test');
//$conn->query('SET NAMES UTF8');
$result = $conn->query('select * form employee');
var_dump($result);
if($result){
$nums = $result->num_rows;
$rows =$result->fetch_array();
var_dump($rows);
}

/**
*
* @param array $data
*/
function ajaxReturn(array $data) {
exit(json_encode($data, JSON_UNESCAPED_UNICODE));
}
147 changes: 147 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>zui_demo</title>
<!-- zui -->
<link href="/static/zui/css/zui.min.css" rel="stylesheet">
<link href="/static/zui/lib/datetimepicker/datetimepicker.min.css" rel="stylesheet">
<link href="/static/css/base.css" rel="stylesheet">
</head>
<body>
<!-- header -->
<header>
<nav class="navbar navbar-inverse " role="navigation">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">灸疗店铺管理系统</a>
</div>

<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse navbar-collapse-example">
<ul class="nav navbar-nav navbar-avatar navbar-right">
<li>
<a href="/shop/order/orderList" class="header-tooltip" style="margin-top:8px;" data-toggle="tooltip"
data-placement="bottom" data-container="body" title="" data-original-title= "4条未处理订单">
<i style="font-size: 25px;" class="icon-shopping-cart icon-xlarge text-default"></i>
<b style="display: block;" class="badge badge-notes bg-default count-n">4</b>
</a>
</li>
<li>
<a href="/shop/user/message" class="header-tooltip" style="margin-top:8px;" data-toggle="tooltip"
data-placement="bottom" data-container="body" title="" data-original-title= "2条未读信息">
<i style="font-size: 25px;" class="icon-comment-alt icon-xlarge text-default"></i>
<b style="display: block;" class="badge badge-notes bg-danger count-n">2</b>
</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">曹麦穗
<span class="thumb-small avatar inline">
<img src="/static/Images/avatar/avatar.jpg" alt="Mika Sokeil" class="img-circle">
</span>
<b class="caret"></b>
</a>
<ul class="dropdown-menu" role="menu">
<li><a href="#">Action</a></li>
<li><a href="#">Another action</a></li>
<li><a href="#">Something else here</a></li>
<li class="divider"></li>
<li><a href="/shop/index/loginOut.html"><i class="icon icon-off"></i> 注销</a></li>
</ul>
</li>
</ul>
</div><!-- /.navbar-collapse -->
</nav>
</header>
<!-- / header -->
<div id="left-bar" style="width: 200px">
<nav class="menu" id="left-menu" data-toggle="menu" >
<ul class="nav nav-primary">
<li><a href="/index.php?/shop/index/index"><i class="icon-home"></i> 主面板</a></li>
<li><a href="#"><i class="icon-user"></i>我的店铺</a>
<ul class="nav">
<li class="active" >
<a href=""><i class="icon-shopping-cart"></i>menu_1</a>
</li>
<li >
<a href=""><i class="icon-shopping-cart"></i>menu_2</a>
</li>
</ul>
</li>
<li><a href="#"><i class="icon-yen"></i>资金管理</a>
<ul class="nav">
</ul>
</li>
<li><a href="#"><i class="icon-dashboard"></i>工作中心</a>
<ul class="nav">
<li >
<a href="orderlist.html"><i class="icon-shopping-cart"></i>订单管理</a>
</li>
<li >
<a href=""><i class="icon-shopping-cart"></i>收银开单</a>
</li>
<li >
<a href=""><i class="icon-line-chart"></i>交易统计</a>
</li>
</ul>
</li>
<li>
<a href="#"><i class="icon-comments-alt"></i>评论管理</a>
<ul class="nav">

</ul>
</li>
<li>
<a href=""><i class="icon-tasks"></i> 消息中心
<span class="label label-badge label-danger pull-right">2</span>
</a>
</li>
</ul>
</nav>
</div>
<div id="main-content">
<div id="breadcrumb">
<ul class="breadcrumb">
<li>
<a href=""><i class="icon icon-home"></i> 主页</a>
</li>
<li>
<a id="parent-bread" href="#">工作中心</a>
</li>
<li id="children-bread" class="active">店铺管理</li>
</ul>
</div>
<div id="page-content">
<div class="page-header" >
<h1>
店铺管理
</h1>
</div>
</div>
</div>

<!-- 在此处挥洒你的创意 -->
<!-- jQuery (ZUI中的Javascript组件依赖于jQuery) -->
<script src="/static/js/jquery.js"></script>
<!-- ZUI Javascript组件 -->
<script src="/static/zui/js/zui.min.plus.js"></script>
<script src="/static/zui/lib/datetimepicker/datetimepicker.min.js"></script>
<script src="/static/lib/layer/layer.js"></script>
<script src="/static/shop/js/global.js"></script>
<script>
$(function () {
$('#left-bar').add('#main-content').height($(window).height() - $('header').height());
$('.header-tooltip').tooltip();
$('#left-menu ul.nav-primary ul.nav li.active').parents('li').addClass('active show');
});
</script>
</body>
</html>
Loading

0 comments on commit 1efd42e

Please sign in to comment.