当前位置: 首页>>代码示例>>PHP>>正文


PHP Activity::SMActivity方法代码示例

本文整理汇总了PHP中Activity::SMActivity方法的典型用法代码示例。如果您正苦于以下问题:PHP Activity::SMActivity方法的具体用法?PHP Activity::SMActivity怎么用?PHP Activity::SMActivity使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Activity的用法示例。


在下文中一共展示了Activity::SMActivity方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: array

    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";
开发者ID:Akshayf444,项目名称:BIP,代码行数:31,代码来源:Activity_list.php

示例2: isset

</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>
开发者ID:Akshayf444,项目名称:BIP,代码行数:31,代码来源:SMDashboard.php

示例3: isset

</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>
开发者ID:Akshayf444,项目名称:BIP,代码行数:31,代码来源:SBHDashboard.php


注:本文中的Activity::SMActivity方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。