<?php require_once('config.inc.php'); require_once('lib/mesages.class.php'); $uid = $_SESSION['staffid']; $oms_id = $_SESSION['oms_id']; $uid = 6; $oms_id = 1; $pageload = 10;//消息显示的条数 $session_no = 0;//会话id //消息类型 $mes_type = 'message'; //实例化消息 $mes = new messageList($uid, $oms_id); //对话内容 // if (isset($_GET['session_no'])) { // $arrmesContent = $mes->groupMesContent(); // $mes_type = $mes->mes_type; // $session_no = $mes->session_no; // } else { //根据staffid 获得对话内容 // if (isset($_GET['staffid'])) { // $arrmesContent = $mes->MesContent(); // $mes_type = $mes->mes_type; // $session_no = $mes->session_no; // } // } //接受人名字 $accname = $mes->accname; //最近联系人 // if (isset($uid)) { // $recentContact = $mes->recentContact();
<?php require_once 'config.inc.php'; require_once 'lib/mesages.class.php'; $uid = $_SESSION['staffid']; $oms_id = $_SESSION['oms_id']; $uid = 4; $oms_id = 1; $pageload = 10; //消息显示的条数 $session_no = 0; //会话id //消息类型 $mes_type = 'message'; //实例化消息 $mes = new messageList($uid, $oms_id); //对话内容 if (isset($_GET['session_no'])) { $arrmesContent = $mes->groupMesContent(); $mes_type = $mes->mes_type; $session_no = $mes->session_no; } else { //根据staffid 获得对话内容 if (isset($_GET['staffid'])) { $arrmesContent = $mes->MesContent(); $mes_type = $mes->mes_type; $session_no = $mes->session_no; } } //接受人名字 $accname = $mes->accname;
<?php require_once 'lib/mesages.class.php'; $uid = $_SESSION['staffid']; $oms_id = $_SESSION['oms_id']; $uid = 409; $oms_id = 1; //消息类型 //实例化消息 $mes = new messageList($uid, $oms_id); //提示消息列表 if (isset($uid)) { // $arrMes = $mes->mesAlertList(); $name = $mes->name; //自己的名字 $mesNum = $mes->mesNum; //提示消息的个数 } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <script type="text/javascript" src="js/swfobject.js"></script> <script type="text/javascript" src="js/web_socket.js"></script> <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript" src="js/web_message1.js"></script> <script type="text/javascript" src="js/web_index.js"></script> <link rel="stylesheet" href="css/webRight.css" type="text/css"/> <link rel="stylesheet" href="css/bootstrap.min.css" type="text/css"/>
<?php require_once('lib/mesages.class.php'); $uid = $_SESSION['staffid']; $oms_id = $_SESSION['oms_id']; $uid = 4; $oms_id = 1; $pageload = 10;//消息显示的条数 $session_no = 0;//会话id //消息类型 $mes_type = 'message'; //实例化消息 $mes = new messageList($uid, $oms_id); //对话内容 if (isset($_GET['session_no'])) { $arrmesContent = $mes->groupMesContent(); $mes_type = $mes->mes_type; $session_no = $mes->session_no; } else { if (isset($_GET['staffid'])) { $arrmesContent = $mes->MesContent(); $mes_type = $mes->mes_type; $session_no = $mes->session_no; } } //接受人名字 $accname = $mes->accname; //提示消息列表 if (isset($uid)) { $arrMes = $mes->mesAlertList(); $name = $mes->name;//自己的名字
<?php require_once 'lib/mesages.class.php'; $uid = $_SESSION['staffid']; $oms_id = $_SESSION['oms_id']; $uid = 4; $oms_id = 1; $pageload = 10; //消息显示的条数 $session_no = 0; //会话id //消息类型 $mes_type = 'message'; //实例化消息 $mes = new messageList($uid, $oms_id); //接受人名字 $accname = $mes->accname; //提示消息列表 if (isset($uid)) { $arrMes = $mes->mesAlertList(); $name = $mes->name; //自己的名字 $mesNum = $mes->mesNum; //提示消息的个数 } //自己的信息 $userinfo = $mes->userinfo(); $name = $userinfo['name']; //自己名字 $card_image = $userinfo['card_image']; //头像的url