<!--{include file="<!--{$oetplpath}-->block_head.tpl"}-->
<div class="oemarry_layout">
  <div class="oe_top_nav"><i></i>欢迎使用OEMARRY(婚嫁电子商务系统)，您的成功，是我们的骄傲！</div>
  <div class="oe_content">
    <h6>OEmarry官方动态</h6>
	<div class="oe_news_list" id="oemarry_gf_news">loading...</div>
  </div>
  <!--//oe_content End-->

  <div class="oe_content">
    <h6>数据统计</h6>
	<table class="oe_table_trap">
	  <tr>
	    <td>注册会员：<!--{countdata type="system" mod="user"}--></td>
		<td>商家入驻：<!--{countdata type="system" mod="shop"}--></td>
		<td>文章总数：<!--{countdata type="system" mod="article"}--></td>
	  </tr>
	  <tr>
	    <td>商家活动：<!--{countdata type="system" mod="activity"}--></td>
		<td>商家商品：<!--{countdata type="system" mod="goods"}--></td>
		<td>商家优惠券：<!--{countdata type="system" mod="coupon"}--></td>
	  </tr>
	  <tr>
	    <td>商家相册：<!--{countdata type="system" mod="gallery"}--></td>
		<td>相册相片：<!--{countdata type="system" mod="photo"}--></td>
		<td>提现单：<!--{countdata type="system" mod="withdraw"}--></td>
	  </tr>
	  <tr>
	    <td>店铺预约：<!--{countdata type="system" mod="shopbespoke"}--></td>
		<td>活动预约：<!--{countdata type="system" mod="shopbespoke"}--></td>
		<td>商品预约：<!--{countdata type="system" mod="shopbespoke"}--></td>
	  </tr>
	  <tr>
	    <td colspan="3">订单总和：<!--{countdata type="system" mod="order"}--></td>
	  </tr>
	</table>


	<table class="oe_table_trap">
	  <tr>
	    <td valign="top" width="50%">
		  <table class="" style="width:98%;">
		    <tr>
			  <th colspan="4">我的帐号</th>
		    </tr>
		    <tr>
			  <td width="15%" class="hback_0">登录帐号：</td>
			  <td width="35%"><!--{$cplogin.loginname}--></td>
			  <td width="15%" class="hback_0">姓名：</td>
			  <td width="35%"><!--{$cplogin.lastname}--></td>
		    </tr>
		    <tr>
			  <td class="hback_0">角色：</td>
			  <td>
			  <!--{if $cplogin.super == '1'}-->
			  系统管理员
			  <!--{else}-->
			  <!--{$cplogin.rolename}-->
			  <!--{/if}-->
			  </td>
			  <td class="hback_0">地址：</td>
			  <td><!--{$cplogin.address}--></td>
		    </tr>
			<tr>
			  <td class="hback_0">手机：</td>
			  <td><!--{$cplogin.mobile}--></td>
			  <td class="hback_0">座机：</td>
			  <td><!--{$cplogin.tel}--></td>
		    </tr>
			<tr>
			  <td class="hback_0">邮箱：</td>
			  <td><!--{$cplogin.email}--></td>
			  <td class="hback_0">QQ：</td>
			  <td><!--{$cplogin.qq}--></td>
		    </tr>
			<tr>
			  <td class="hback_0">微信号：</td>
			  <td><!--{$cplogin.weixin}--></td>
			  <td class="hback_0">登录次数：</td>
			  <td><!--{$cplogin.logintimes}--></td>
		    </tr>
			<tr>
			  <td class="hback_0">最后登录：</td>
			  <td><!--{$cplogin.logintime}--></td>
			  <td class="hback_0">登录IP：</td>
			  <td><!--{$cplogin.loginip}--></td>
		    </tr>
		  </table>
		</td>

		<td valign="top" width="50%">
		  <table class="" style="width:98%;">
		    <tr>
			  <th colspan="2">最新入驻商家</th>
		    </tr>
			<!--{assign var="shoplist" value=vo_list("mod={shop} num={6}")}-->
			<!--{foreach $shoplist as $volist}-->
		    <tr>
			  <td width="70%"><!--{$volist.shopname}--> </td>
			  <td width="30%"><!--{$volist.addtime|date_format:"%Y-%m-%d %H:%M:%S"}--></td>
		    </tr>
			<!--{/foreach}-->
		  </table>
		</td>
	  </tr>
	</table>

  </div>
  <!--//oe_content End-->

</div>

<script type="text/javascript">
$(function(){
	
	$.ajax({
		type: "POST",
		url: _ROOT_PATH + "index.php?m=admin",
		cache: false,
		data: {c:"index", a:"getnews", r:get_rndnum(8)},
		dataType: "json",
		success: function($data) {
			$json = eval($data);
			$response = $json.response;
			$result = $json.result;
			if ($response == "1") {
				$("#oemarry_gf_news").html($result);
			}
			else {
				
			}

		},
		error: function() {
		}
	});
	
})
</script>
</body>
</html>