public function teleconfStatisticsDetail($request, $response)
    {/*{{{*/
        DBC::requireTrue(false == empty($_SERVER['HTTP_REFERER']), "无效的请求");
    	$fromdate = $request->fromdate;
        $todate = $request->todate;
        $response->fromdate = $fromdate;
        $response->todate = $todate;

    	$confid= $request->confid;
        $response->confid= $confid;
        $rows = array();
        $page = $request->page?$request->page:1;
        $pageCount = 21;//一个会议id通常为3行
        $pageLink = "";
        $res = MeetingClient::getInstance()->getTeleconferenceStatisticsDetail($fromdate,$todate,$confid,$page,$pageCount);
        $rows = $res['teleconfpartners'];
        $pageLink = PageNav::getNavLink(PageNav::getPageNavTemplate("?fromdate=$fromdate&todate=$todate&page="), $res['pageInfo']['nowpage'], $res['pageInfo']['pagesize'], $res['pageInfo']['total']);
    	$response->rows = $rows;
    	$response->pageLink= $pageLink;
    }/*}}}*/
Пример #2
0
<table>
<tr>
<td>RID</td>
<td>索引(CMDIndex)</td>
<td>命令(CMD)</td>
<td>呼叫(Called)</td>
<td>权限(Role)</td>
<td>提示音(VoxIndex)</td>
<td>操作时间(OPTime)</td>
<td>会议室ID(ConfID)</td>
<td>结果(Result)</td>
<td>电话线路(Line)</td>
<td>操作</td>
</tr>
<?php 
$rows = MeetingClient::getInstance()->queryTop50Row(10);
if(!empty($rows)){
	$html = '';
	foreach ($rows as $key=>$row){
		$html .='<form name="form1" method="post" >';
		$html .= '<tr>';
		$html .= "<td>{$row['rid']}<input type='hidden' name='rid' value='{$row['rid']}' /></td>";
		$html .= "<td>{$row['cmdindex']}</td>";
		$html .= "<td>{$row['cmd']}</td>";
		$html .= "<td>{$row['called']}</td>";
		$html .= "<td>{$row['role']}</td>";
		$html .= "<td>{$row['playindex']}</td>";
		$html .= "<td>{$row['optime']}</td>";
		$html .= "<td><input class='inp' type='text' name='confid' size=20 value='{$row['confid']}' /></td>";
		$html .= "<td><input class='inp' type='text' name='result' size='8' value='{$row['result']}' /></td>";
		$html .= "<td><input class='inp' type='text' name='line' size='8' value='{$row['line']}' /></td>";
Пример #3
0
 private function addTimerToCloseConf($confid)
 {/*{{{*/
     $count = 3;
     while ($count > 0)
     {
         $res = MeetingClient::getInstance()->addEndConfTimer($confid, 60);
         if ($res)
         {
             return true;
         }
         $count--;
     }
     return false;
 }/*}}}*/
Пример #4
0
    public function teleconfStatisticsDetail($request, $response)
    {/*{{{*/
    	$fromdate = $request->fromdate;
        $todate = $request->todate;
        $response->fromdate = $fromdate;
        $response->todate = $todate;

    	$confid= $request->confid;
        $response->confid= $confid;
        $rows = array();
        $errorMsg = "";
        $page = $request->page?$request->page:1;
        $pageCount = 21;//一个会议id通常为3行
        $pageLink = "";
        $res = MeetingClient::getInstance()->getTeleconferenceStatisticsDetail($fromdate,$todate,$confid,$page,$pageCount);
        $rows = $res['teleconfpartners'];
        $pageLink = PageNav::getNavLink(PageNav::getPageNavTemplate("?fromdate=$fromdate&todate=$todate&page="), $res['pageInfo']['nowpage'], $res['pageInfo']['pagesize'], $res['pageInfo']['total']);
       	$response->errorMsg = $errorMsg;
    	$response->rows = $rows;
    	$response->pageLink= $pageLink;
    }/*}}}*/