<!-- ############ PAGE START-->
<div class="app-body-inner">
    <div class="row-col">
        <div class="col-xs-6" id="detail">
            <div class="row-col dark-light">
                <!-- flex content -->
                <div class="row-row">
                    <div class="row-body" style="background: url('<?=$GLOBALS["users"]["chat_bg"]?>');background-size: cover;">
                        <div class="row-inner" id="chat" style="background:rgba(0, 0, 0, 0.46);">
                            <!-- content -->
                            <?php if(!empty($GLOBALS['row_chat'])){ foreach($GLOBALS['row_chat'] as $item){ ?>
                            <div class="p-a-md">
                                <div class="m-b">
                                    <a href="#" class="pull-<?php if ($item->qq==$GLOBALS['users']['qq']){echo 'right';}else{echo 'left';}?> w-40 m-r-sm">
                                        <img src="http://q2.qlogo.cn/headimg_dl?bs=<?=$item->qq?>&dst_uin=<?=$item->qq?>&dst_uin=<?=$item->qq?>&;dst_uin=<?=$item->qq?>&spec=100&url_enc=0&referer=bu_interface&term_type=PC" alt="." class="w-full img-circle">
                                    </a>
                                    <div class="clear <?php if ($item->qq==$GLOBALS['users']['qq']){echo 'text-right';}else{echo '';}?>">
                                        <div class="p-a p-y-sm <?php if ($item->qq==$GLOBALS['users']['qq']){echo 'success';}else{echo 'dark-white';}?> inline rounded">
                                            <?=$item->content?>
                                        </div>
                                        <div class="text-muted text-xs m-t-xs"><i class="fa fa-ok text-success"></i><?=get_last_time($item->sendtime)?></div>
                                    </div>
                                </div>
                            </div>
                            <?php } }?>
                            <!-- / -->
                        </div>
                    </div>
                </div>
                <!-- / -->
                <div class="p-a b-t dark-white">
                    <div class="input-group">
                        <input type="text" class="form-control" name="content" placeholder="请输入聊天内容...">
                        <span class="input-group-btn">
                            <button class="btn white b-a no-shadow" type="button" name="submit">
                                <i class="fa fa-send text-success"></i>
                            </button>
				        </span>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- ############ PAGE END-->