<!-- include 'header' -->

<body>
	<div class="mainLayout">
		<div class="mainMenu">
			<div class="menuItem">
				<a href="#" class="mLogo">CLD</a>
				<ul>
					<!-- include 'menu' -->
				</ul>
			</div>
		</div>
		<div class="warpContent">
	  		<div class="infoCenter">
	  			<div class="centerPanel">
					<div class="bigAddup" data-placement="bottom" data-toggle="ctooltip" data-original-title="客户总数">客户：{{sum}}</div>
					<ul class="sortAddup" data-placement="right" data-toggle="ctooltip" data-original-title="创建客户数">
						<!-- if !empty({{max}}) -->
						<li>
						<!-- if isset({{max.0}}) -->
						<span>{{max.0.1}}：</span>{{max.0.0}}
						<!-- endif -->
						</li>
						<li>
						<!-- if isset({{max.1}}) -->
						<span>{{max.1.1}}：</span>{{max.1.0}}
						<!-- endif -->
						</li>
						<li>
						<!-- if isset({{max.2}}) -->
						<span>{{max.2.1}}：</span>{{max.2.0}}
						<!-- endif -->
						</li>
						<!-- endif -->
						<dl class="hide sec use">
							<!-- loop max2 -->
							<dd><span>{{max2' value.1}}：</span>{{max2' value.0}}</dd>
							<!-- endloop -->
						</dl>
					</ul>
					<div class="bigAddup" data-placement="bottom" data-toggle="ctooltip" data-original-title="锁总数（使用率）">锁：{{Rsum}}({{Ssum}})</div>
					<ul class="sortAddup" data-placement="right" data-toggle="ctooltip" data-original-title="锁使用率">
						<li>
						<!-- if isset({{useL.0}}) -->
						<span>{{useL.0.1}}：</span>{{useL.0.0}}
						<!-- endif -->
						</li>
						<li>
						<!-- if isset({{useL.1}}) -->
						<span>{{useL.1.1}}：</span>{{useL.1.0}}
						<!-- endif -->
						</li>
						<li>
						<!-- if isset({{useL.2}}) -->
						<span>{{useL.2.1}}：</span>{{useL.2.0}}
						<!-- endif -->
						</li>
						<dl class="hide sec">
							<!-- loop useL2 -->
							<dd><span>{{useL2' value.1}}：</span>{{useL2' value.0}}</dd>
							<!-- endloop -->
						</dl>
					</ul>
	  			</div>
	  			<div class="centerRecord">
	  				<div class="sideBar">
	  					<div class="mostTab"></div>
	  					<div class="mostList autoHeightI1" data-placement="top" data-toggle="ctooltip" data-original-title="滚动条隐藏了，用鼠标滚轮下拉吧">
	  						<ul class="item">
								<li class="select <!-- if empty({{sid}}) -->now<!-- endif -->">
									<select id="cateselect">
										<!-- loop categorylist2 -->
										
										<!-- if isset({{categorylist2' value.did}}) -->
                                        <option value="{{categorylist2' value.cid}}-{{categorylist2' value.did}}" <!-- if {{categorylist2' value.cid}} == {{cid}} &&{{categorylist2' value.did}} == {{did}} -->selected<!-- endif -->>{{categorylist2' value.title}}-{{categorylist2' value.departmentName}}</option>
                                       	<!-- else -->
                                       	<option value="{{categorylist2' value.cid}}" <!-- if {{categorylist2' value.cid}} == {{cid}} -->selected<!-- endif -->>{{categorylist2' value.title}}</option>
                                       	<!-- endif -->
										
										
										<!-- endloop -->
									</select>
								</li>
	  							<!-- loop staffList -->
	  							<li <!-- if {{staffList' value.sid}}=={{sid}} -->class="now" <!-- endif -->>
	  							
	  							
	  							
	  	<!-- if !empty({{staffList' value.departmentID}}) -->
	  								<a href="/index?cid={{staffList' value.cid}}-{{staffList' value.departmentID}}&sid={{staffList' value.sid}}"><div class="avtra"><img src="{{staffList' value.avatar}}_2.jpg"></div>
	  								<h2>{{staffList' value.username}}<p>{{staffList' value.category}}</p></h2>
	  								</a>
	  								<!-- else -->
	  								<a href="/index?cid={{staffList' value.cid}}&sid={{staffList' value.sid}}"><div class="avtra"><img src="{{staffList' value.avatar}}_2.jpg"></div>
	  								<h2>{{staffList' value.username}}<p>{{staffList' value.category}}</p></h2>
	  								</a>
	  								<!-- endif -->
	  							
	  								</a>
	  							</li>
	  							<!-- endloop -->
	  							
	  						</ul>
	  					</div>
	  				</div>
	  				<div  class="dateRecord" >
						<div class="dateTab"><a  href="/logStatistics?cid={{cid}}&sid={{sid}}">统计</a><a  class="now">记录</a></div>
						<div id="solder" class="dateList autoHeightI1" >
						<div id="masonny-div"  >
						
						
							<!-- loop log -->
							<div class="item">
				  			<div class="date">{{log' key}}</div>
				  			<dl class="recordList clearfix">
				  				<!-- loop {{log' value}} -->
				  				
				  				<dd class="{{log' value' value.class}}"><span class="fR">{{log' value' value.time}}</span>{{log' value' value.action}}</dd>
				  				<!-- endloop -->
				  				
				  			</dl>
				  			</div>
				  			<!-- endloop -->
				  			
				  		</div>
				  		</div>
				  		<div id="next">
						<a href="/indexPage?cid={{cid}}&sid={{sid}}&page=2"></a>
					    </div>
	  				</div>
	  			</div>
	  		</div>
		</div>
	</div>
	
	
	<!--弹出（锁信息）-->
<div class="modal hide fade in" id="lookInfo" aria-hidden="false" >
<div class="modal-dialog ">
		<div class="modal-content">
    <div class="modal-header">
    <h3 id="longleID"></h3>
    </div>
    <div class="modal-body">
	    <div class="modalClientTable">
			<table width="100%">
				<tbody id="infohtml">
				
				</tbody>
			</table>
			<div class="clearfix" id="LongleLogHtml">
				
			</div>
	    </div>
    </div>
	<div class="modal-footer">
	    <a href="javascript:void(0)" onclick="closelookInfo()" class="button btn-gray" data-dismiss="modal" aria-hidden="true">关闭</a>
	</div>
	</div>
	</div>
</div>


<div class="modal hide fade in" id="clientInfo1" aria-hidden="false" >
    <div class="modal-dialog ">
		<div class="modal-content">
    <div class="modal-header">
    <h3><span class="fR"><a></a></span></h3>
    </div>
    
    <div class="modal-body">
	    <div class="modalClientTable">
			<table width="100%">
				<tbody><tr><th>性别</th><td>男</td><th>昵称</th><td></td></tr>
				<tr><th>手机</th><td></td><th>QQ</th><td></td></tr>
				<tr><th>电话</th><td></td><th>邮箱</th><td></td></tr>
				<tr><th>软件锁</th><td colspan="3"></td></tr>
				<tr><td colspan="4">
				</td></tr>
				</tbody>
			</table>
			<table>
	  			<tbody>
	  			<tr><th>单位全称</th><td colspan="3"><a  href="javascript:void(0)"></a></td></tr>
	  			<tr><th>地区</th><td></td><th>部门/职位</th><td></td></tr>
	  			<tr><th>传真</th><td></td><th>办公室</th><td></td></tr>
	  			<tr><th>单位地址</th><td colspan="3"></td></tr>
	  			<tr><th>乘车路线</th><td colspan="3"></td></tr>
	  			<tr><th>地标建筑</th><td colspan="3"></td></tr>
	  			<tr><th>参考住宿</th><td colspan="3"></td></tr>
	  			<tr><th>单位主页</th><td colspan="3"></td></tr>
	  			</tbody>
	  		</table>
	  		<div class="clearfix">
		  		<div class="infoFlowList">
					
				</div>
			</div>
	    </div>
    </div>
   
	<div class="modal-footer">
	    <a href="javascript:void(0)" onclick="closeClick()" class="button btn-gray" data-dismiss="modal" aria-hidden="true">关闭</a>
	</div>
	 </div>
    </div>
</div>	


    <!--弹出内容-->    
<script type="text/javascript">autoFlashHeight();</script>
<script>
	$('#cateselect').change(function(){
		window.location.href = "/index?cid="+$(this).val();
	})
</script>
</body>