Example #1
0
<?php

/**
 * 用于调试时模拟用户发送信息到微号公众号 PGCAO改良 www.kl3w.com
 * [WeEngine System] Copyright (c) 2013 we7.cc
 */
define('IN_SYS', true);
require 'source/bootstrap.inc.php';
$list = account_search();
template('common/header');
?>
<style type="text/css">
.chatPanel .left{float:left;}
.chatPanel .right{float:right;}
.chatPanel .media a{display:block;}
.chatPanel .media{border:1px solid #cdcdcd;box-shadow:0 3px 6px #999999;-webkit-border-radius:12px;-moz-border-radius:12px;border-radius:12px;width:285px;background-color:#FFFFFF;background:-webkit-gradient(linear,left top,left bottom,from(#FFFFFF),to(#FFFFFF));background-image:-moz-linear-gradient(top,#FFFFFF 0%,#FFFFFF 100%);margin:0px auto;}
.chatPanel .media .mediaPanel{padding:0px;margin:0px;}
.chatPanel .media .mediaImg{margin:25px 15px 15px;width:255px;position:relative;}
.chatPanel .media .mediaImg .mediaImgPanel{position:relative;padding:0px;margin:0px;max-height:164px;overflow:hidden;}
.chatPanel .media .mediaImg img{/* width:100%;height:164px;position:absolute;left:0px;*/width:255px;}
.chatPanel .media .mediaImg .mediaImgFooter{position:absolute;bottom:0;height:29px;background-color:#000;background-color:rgba(0,0,0,0.4);text-shadow:none;color:#FFF;text-align:left;padding:0px 11px;line-height:29px;width:233px;}
.chatPanel .media .mediaImg .mediaImgFooter a:hover p{color:#B8B3B3;}
.chatPanel .media .mediaImg .mediaImgFooter .mesgTitleTitle{line-height:28px;color:#FFF;max-width:240px;height:26px;white-space:nowrap;text-overflow:ellipsis;-o-text-overflow:ellipsis;overflow:hidden;width:240px;}
.chatPanel .media .mesgIcon{display:inline-block;height:19px;width:13px;margin:8px 0px -2px 4px;}
.chatPanel .media .mediaContent{margin:0px;padding:0px;}
.chatPanel .media .mediaContent .mediaMesg{border-top:1px solid #D7D7D7;padding:10px;}
.chatPanel .media .mediaContent .mediaMesg .mediaMesgDot{display:block;position:relative;top:-3px;left:20px;height:6px;width:6px;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;}
.chatPanel .media .mediaContent .mediaMesg .mediaMesgTitle:hover p{color:#1A1717;}
.chatPanel .media .mediaContent .mediaMesg .mediaMesgTitle a{color:#707577;}
.chatPanel .media .mediaContent .mediaMesg .mediaMesgTitle a:hover p{color:#444440;}
.chatPanel .media .mediaContent .mediaMesg .mediaMesgIcon{}
Example #2
0
/**
 * [WeEngine System] Copyright (c) 2013 WE7.CC
 * $sn: htdocs/source/controller/home/frame.ctrl.php : v a428285fe6f8 : 2014/03/22 07:02:30 : veryinf $
 */
defined('IN_IA') or exit('Access Denied');
checklogin();
$do = !empty($_GPC['do']) && in_array($_GPC['do'], array('profile', 'global')) ? $_GPC['do'] : 'profile';
if (empty($_W['account']) || empty($do)) {
    $do = 'global';
}
if ($_GPC['iframe']) {
    $iframe = str_replace('&amp;', '&', $_GPC['iframe']);
} else {
    $iframe = '?act=welcome&do=' . $do;
}
$wechats = account_search();
$types = array();
$types['business'] = '主要业务';
$types['customer'] = '客户关系';
$types['activity'] = '营销活动';
$types['services'] = '常用工具';
$types['other'] = '其他';
$mset = array();
if ($do == 'profile') {
    $mset['basic'] = array('title' => '基本设置');
    foreach ($types as $k => $v) {
        $mset[$k] = array('title' => $v, 'menus' => array());
    }
    $ms = array();
    if (!empty($_W['account']['modules'])) {
        $bindings = pdo_fetchall('SELECT * FROM ' . tablename('modules_bindings') . " ORDER BY eid ASC");
Example #3
0
<?php
/**
 * [WeEngine System] Copyright (c) 2013 WE7.CC
 */
defined('IN_IA') or exit('Access Denied');
include model('account');

$list = account_search($_W['uid'], false);
template('account/display');