exit; } require_once "../includes/initialize.php"; require_once 'header.php'; if (isset($_GET['report'])) { $report = $_GET['report']; if ($report == 'TM Report') { $condition = array("GROUP BY bmp.TM_Emp_Id"); $check = Activity::TMActivity($condition); } elseif ($report == 'BM Report') { $condition = array("GROUP BY bmp.BM_Emp_Id"); $check = Activity::BMActivity($condition); } else { $condition = array("GROUP BY t_union.SM_Emp_Id"); $condition2 = array("GROUP BY bmp.SM_Emp_Id"); $check = Activity::SMActivity($condition, $condition2); } } ?> <div class="col-lg-12" style="margin-bottom: 1em;"> <a href="adminDashBoard.php" class="badge">GO Back</a> </div> <script src="http://instacom.in/jardiance/js/excellentexport.min.js" type="text/javascript"></script> <script src="http://instacom.in/jardiance/js/jquery.dataTables.min.js" type="text/javascript"></script> <form action="Activity_list.php" method="GET" > <div class="col-xs-3" > <select class="form-control" name="report"> <option value="TM Report" <?php if (isset($report) && $report == 'TM Report') { echo "selected";
</div> <br /> <div id="dv_tm3Region" u="caption" t="RTT|10" style="position: absolute;background-color: #7e9e49;left:0px; top: 120px; width: 100%; height: 40px; font-size: 36px; color: #fff; line-height: 40px;"><?php echo isset($topper->chemist_meet) ? $topper->chemist_meet : '-'; ?> </div> <br /> <div id="dv_tm3Rx" u="caption" t="RTT|10" style="position: absolute;background-color: #7e9e49;left:0px;top: 170px; width: 100%; height: 20px; font-size: 36px;font-weight:600; color:#fff; line-height: 40px;"><?php echo isset($topper->Region) ? $topper->Region : 'NA'; ?> </div> </div> <div> <?php $condition = array('GROUP BY t_union.SM_Emp_Id ORDER BY visibility DESC LIMIT 1'); $topper = Activity::SMActivity($condition, array('GROUP BY bmp.SM_Emp_Id')); if (!empty($topper)) { $topper = array_shift($topper); } ?> <!-- <img u="image" src="Images/darkback.jpg" />--> <div id="Div2" style="position: absolute; top: 10px;background-color: #7e9e49;width: 100%; height: 20px; font-size: 23px; color: #fff; line-height: 30px;">Most No. Of Visibility At Clinics</div> <div id="dv_tm3name" u="caption" t="RTT|10" style="position: absolute;background-color: #7e9e49;left:0px; top: 70px; width: 100%; height: 40px; font-size: 43px; color: #fff; line-height: 40px;"><?php echo isset($topper->SM_Name) ? $topper->SM_Name : 'NA'; ?> </div> <br /> <div id="dv_tm3Region" u="caption" t="RTT|10" style="position: absolute;background-color: #7e9e49;left:0px; top: 120px; width: 100%; height: 40px; font-size: 36px; color: #fff; line-height: 40px;"><?php echo isset($topper->visibility) ? $topper->visibility : '-'; ?> </div>
</div> <br /> <div id="dv_tm3Region" u="caption" t="RTT|10" style="position: absolute;background-color: #7e9e49;left:0px; top: 120px; width: 100%; height: 40px; font-size: 36px; color: #fff; line-height: 40px;"><?php echo isset($topper->chemist_meet) ? $topper->chemist_meet : '-'; ?> </div> <br /> <div id="dv_tm3Rx" u="caption" t="RTT|10" style="position: absolute;background-color: #7e9e49;left:0px;top: 170px; width: 100%; height: 20px; font-size: 36px;font-weight:600; color:#fff; line-height: 40px;"><?php echo isset($topper->Territory) ? $topper->Territory : 'NA'; ?> </div> </div> <div> <?php $condition = array('GROUP BY bmp.TM_Emp_Id ORDER BY visibility DESC LIMIT 1'); $topper = Activity::SMActivity($condition); if (!empty($topper)) { $topper = array_shift($topper); } ?> <!-- <img u="image" src="../Images/darkback.jpg" />--> <div id="Div2" style="position: absolute; top: 10px;width: 100%; background-color: #7e9e49;height: 20px; font-size: 23px; color: #fff; line-height: 30px;">Most No. Of Visibility At Clinics(TM)</div> <div id="dv_tm3name" u="caption" t="RTT|10" style="position: absolute;background-color: #7e9e49;left:0px; top: 70px; width: 100%; height: 40px; font-size: 43px; color: #fff; line-height: 40px;"><?php echo isset($topper->TM_Name) ? $topper->TM_Name : 'NA'; ?> </div> <br /> <div id="dv_tm3Region" u="caption" t="RTT|10" style="position: absolute;background-color: #7e9e49;left:0px; top: 120px; width: 100%; height: 40px; font-size: 36px; color: #fff; line-height: 40px;"><?php echo isset($topper->visibility) ? $topper->visibility : '-'; ?> </div>