** * Software Version: CmsEasy Live v 1.2.0 * Copyright 2009 by: CmsEasy, (http://www.cmseasy.cn) * Support, News, Updates at: http://www.cmseasy.cn ** * This program is not free software; you can't may redistribute it and modify it under ** * This file contains configuration settings that need to altered * in order for CE Live to work, and other settings that **/ include('../include/config.inc.php'); include(CE_ROOT.'/include/celive.class.php'); $send = new celive(); $send->template(); $send->xajax_live(); $name = $_SESSION['name']; $GLOBALS['template']->assign('name', $name); $chatid = $_SESSION['chatid']; $GLOBALS['template']->assign('chatid', $chatid); $GLOBALS['template']->assign('ctrlenter', '<script type="text/javascript"> function isKeyTrigger(e,keyCode){ var argv = isKeyTrigger.arguments; var argc = isKeyTrigger.arguments.length; var bCtrl = false; if(argc > 2){ bCtrl = argv[2]; } var bAlt = false;
** * Software Version: CmsEasy Live v 1.2.0 * Copyright 2009 by: CmsEasy, (http://www.cmseasy.cn) * Support, News, Updates at: http://www.cmseasy.cn ** * This program is not free software; you can't may redistribute it and modify it under ** * This file contains configuration settings that need to altered * in order for CE Live to work, and other settings that **/ include('../include/config.inc.php'); include(CE_ROOT.'/include/celive.class.php'); $header = new celive(); $header->template(); $header->xajax_live(); $GLOBALS['template']->assign('ifexit','<script type="text/javascript"> function chat_unload() { if(event.clientX>document.body.clientWidth&&event.clientY<0||event.altKey) { xajax_EndChat(); } } </script>'); $GLOBALS['template']->assign('xajax_live',$xajax_live->getJavascript('')); $GLOBALS['template']->assign('operatorname',$_SESSION['operatorname']); $GLOBALS['template']->assign('dname',$_SESSION['dname']); $GLOBALS['template']->display('header.htm'); ?>
<?php /** * CmsEasy Live http://www.cmseasy.cn * by CmsEasy Live Team ** * Software Version: CmsEasy Live v 1.2.0 * Copyright 2009 by: CmsEasy, (http://www.cmseasy.cn) * Support, News, Updates at: http://www.cmseasy.cn ** * This program is not free software; you can't may redistribute it and modify it under ** * This file contains configuration settings that need to altered * in order for CE Live to work, and other settings that **/ include('../include/config.inc.php'); include(CE_ROOT.'/include/celive.class.php'); $mainbox = new celive(); $mainbox->template(); $mainbox->xajax_live(); $operatorname = $_SESSION['operatorname']; $dname = $_SESSION['dname']; $chatid = $_SESSION['chatid']; $GLOBALS['template']->assign('chatid',$chatid); $GLOBALS['template']->assign('operatorname',$operatorname); $GLOBALS['template']->assign('dname',$dname); $GLOBALS['template']->assign('xajax_live',$xajax_live->getJavascript('')); $GLOBALS['template']->display('mainbox.htm'); ?>
* Support, News, Updates at: http://www.cmseasy.cn ** * This program is not free software; you can't may redistribute it and modify it under ** * This file contains configuration settings that need to altered * in order for CE Live to work, and other settings that **/ include('../include/config.inc.php'); include_once(CE_ROOT.'/include/celive.class.php'); $ac=addslashes($_GET['action']); if($ac=='1'){ $live = new celive(); $live->template(); $live->xajax_live(); $result=$db->query("SELECT COUNT(*) FROM `activity` WHERE `status`='2'"); $status=$result[0]['COUNT(*)']; if($status == 0){ $GLOBALS['template']->assign('offline','<?php echo $lang[not_online]?>'); $GLOBALS['template']->assign('status',$status); $GLOBALS['template']->assign('gotocmseasy','<a href="../../index.php?case=guestbook&act=index"><?php echo $lang[right_to_shout]?></a>'); }else{ if(isset($_GET['departmentid'])){ $departmentid=addslashes($_GET['departmentid']); }else{ $sql = "SELECT `departmentid` FROM `".$config['prefix']."assigns` WHERE 1"; @$result = $GLOBALS['db']->my_fetch_array($sql);