//  echo '<br>stf : '.$staffid. 'avg '. $avgSatffTime;
        }
        //if ends
        $arrDataAuto[$count][0] = $stf_value;
        $arrDataAuto[$count][1] = $avgSatffTime;
        $count++;
    }
    ?>

     <tr>
                <td colspan="2">
                    <?php 
    $staffperfomance_auto = TEXT_REPORTS_STAFF_SUMMARY_AUTO;
    $graphObj3 = new graph(8, 900, 350);
    $graphObj3->setChartParams($staffperfomance_auto, 1, 1, 0);
    $graphObj3->addChartData($arrDataAuto);
    $graphObj3->renderChart();
    ?>
                </td>
            </tr>
            <tr><td colspan="2" align="center">
                    <div class="pagination_links">
                    <?php 
    $st = 0;
    $end = $limitst;
    $pageCount = 0;
    $totalStaff = getStaffCount();
    if ($totalStaff > 0) {
        do {
            $pageCount++;
            $link = "repstaffperfomance.php?start={$st}&end={$end}&startdate={$var_sdate}&enddate={$var_edate}";
            ?>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <?php 
            $count = 0;
            foreach ($dataArray as $key => $value) {
                $arrData[$count][0] = $key;
                $arrData[$count][1] = $value;
                $count++;
            }
            //print_r($arrData);
            $graphObj3 = new graph(8);
            $graphObj3->setChartParams("Ticket Statistics", 1, 1, 0);
            $graphObj3->addChartData($arrData);
            $graphObj3->renderChart();
            ?>
                </td>
            </tr>

        <?php 
        } else {
            ?>
            <tr><td colspan="2" align="center"><?php 
            echo TEXT_NO_RECORDS;
            ?>
</td></tr>
            <?php 
        }
    }
Esempio n. 3
0
?>

        </div>
    </div>
   <!--  <div class="DB_container_contentbox1"><h2>Closed Incidents by Month</h2>
        <div class="DB_container_content"></div>
    </div> -->
   <div class="DB_container_contentbox5"><h2><?php 
echo STAFF_RATING_CUSTOMER;
?>
</h2>
        <div class="DB_container_content">
            <?php 
$graphObj3 = new graph(8, 400, 200);
$graphObj3->setChartParams('', '', '', 0);
$graphObj3->addChartData($arrData_rating);
$graphObj3->renderChart();
?>
</div>
    </div>
</div>

<div class="DB_container_2" >
    <h2><?php 
echo TRENDING_INFO;
?>
</h2>
    <div class="DB_container_content">
        <?php 
$m = date('m', strtotime('-365days'));
$y = date('Y', strtotime('-365days'));