<!-- Mainer --> <div class="wrap"> <div class="mc clearfix"> <!-- Sidebar --> <?php echo $sidebar; ?> <!-- Sidebar end --> <!-- Mainer right --> <div class="mcr"> <!-- Mainer nav --> <div class="mc-header"> <ul class="mnv nl clearfix"> <?php $type = Env::getRequest('type'); ?> <li <?php if ($type == 'arrange') { ?> class="active"<?php } ?> > <a href="<?php echo $this->createUrl('resume/index', array('type' => 'arrange')); ?> "> <i class="o-rsm-arrange"></i> <?php echo $lang['To be arranged'];
" class="btn <?php $date = Env::getRequest('date'); if ($date == 'yesterday' || !isset($date)) { ?> active<?php } ?> "><?php echo $lang['Yesterday']; ?> </a> <a href="<?php echo $this->createUrl('attention/index', array('date' => 'today')); ?> " class="btn <?php $date = Env::getRequest('date'); if ($date == 'today') { ?> active<?php } ?> "><?php echo $lang['Today']; ?> </a> </div> <div class="btn-group pull-right"> <a href="<?php echo $this->createUrl('attention/index', array('date' => $prevAndNextDate['prev'])); ?> " class="btn">
$curDate = Env::getRequest('date'); if ($curDate == 'yesterday' || !isset($curDate)) { ?> active<?php } ?> "><?php echo $lang['Yesterday']; ?> </a> <a href="<?php echo $this->createUrl('review/index', array('date' => 'today')); ?> " class="btn <?php if (Env::getRequest('date') == 'today') { ?> active<?php } ?> "><?php echo $lang['Today']; ?> </a> </div> <div class="btn-group pull-right"> <a href="<?php echo $this->createUrl('review/index', array('date' => $prevAndNextDate['prev'], 'uid' => $subUids)); ?> " class="btn">
require_once $defines; require_once $yii; require_once '../../login.php'; Yii::setPathOfAlias('application', PATH_ROOT . DIRECTORY_SEPARATOR . 'system'); Yii::createApplication('application\\core\\components\\Application', $mainConfig); $signature = Env::getRequest('signature'); $aeskey = Setting::model()->fetchSettingValueByKey('aeskey'); $userId = Env::getRequest('userid'); if (strcmp($signature, md5($aeskey . $userId)) != 0) { Env::iExit("签名错误"); } if (!empty($userId)) { $uid = UserBinding::model()->fetchUidByValue($userId, 'wxqy'); if ($uid) { dologin($uid); if (!Ibos::app()->user->isGuest) { $redirect = Env::getRequest('redirect'); $url = base64_decode($redirect); $parse = parse_url($url); if (isset($parse['scheme'])) { header('Location:' . $url, true); exit; } else { header('Location:../../../' . $url, true); exit; } } Env::iExit(Ibos::app()->user->isGuest ? 'fail' : 'success'); } } Env::iExit('用户验证失败,尝试以下步骤的操作:<br/>' . '1、在“微信企业号->通讯录”,找到并删除该用户<br/>' . '2、在“IBOS后台->微信->部门及用户同步”,同步该用户<br/>' . '3、邀请该用户关注企业号<br/>' . '如果还存在此提示,请将问题反馈给我们的工作人员');
} ?> </ul> </li> <?php } ?> <?php } ?> </ul> </div> <script> Ibos.app.setPageParam({ 'currentSubUid': "<?php echo Env::getRequest('uid') ? Env::getRequest('uid') : 0; ?> " }); </script> <script> $(function(){ // 侧栏伸缩 var $mngList = $("#mng_list"); $mngList.on("click", ".g-sub", function() { var $el = $(this), $item = $el.parents(".mng-item").eq(0), $next = $item.next(); if (!$el.attr('data-init')) { $.get(Ibos.app.url("report/review/index", { op: "getsubordinates", act: "stats" }), {
?> </a> <div class="rp-cycle"> <div class="rp-cycle-header"> <a href="javascript:;" class="o-setup pull-right" id="rp_type_setup"></a> <strong><?php echo $lang['Report type']; ?> </strong> </div> <ul class="aside-list" id="rp_type_aside_list"> <?php foreach ($reportTypes as $reportType) { ?> <?php $typeid = Env::getRequest('typeid'); ?> <li <?php if ($reportType['typeid'] == $typeid) { ?> class="active"<?php } ?> data-id="<?php echo $reportType['typeid']; ?> "> <a href="<?php echo $this->createUrl('default/index', array('typeid' => $reportType['typeid'])); ?> ">
</div> <?php } else { ?> <div class="no-data-tip"></div> <?php } ?> </div> </div> </div> </div> <script> Ibos.app.setPageParam({ "deptid": "<?php echo intval(Env::getRequest('deptid')); ?> " }); <?php if (Cloud::getInstance()->isOpen()) { ?> $('#cl_rolling_sidebar').delegate("#call_land",'click', function() { var phone = $('#care_mobile').html(); if (phone !== '' && U.regex(phone, 'mobile')) { var info = Ibos.app.g("formatdata"), param = {data: info}; var url = Ibos.app.url('main/call/unidirec', param); Ui.openFrame(url, {width: '580px', height: '523px', title: false, skin: 'call-dialog'}); } else { Ui.tip('手机号码格式错误', 'error')
" id="edit_corporation"></i> </a> </li> </ul> </div> <ul id="utree" class="ztree org-utree"> </ul> </div> </div> <div class="mcr"> <div class="page-list"> <div class="page-list-header"> <div class="pull-left"> <div class="btn-group"> <button type="button" onclick="location.href = '<?php echo $this->createUrl('user/add') . "&deptid=" . Env::getRequest('deptid'); ?> ';" class="btn btn-primary"><?php echo $lang['Add user']; ?> </button> </div> <div class="btn-group mlm"> <button type="button" data-action="batchImport" class="btn btn-primary">批量导入</button> </div> <div class="btn-group mlm"> <button type="button" data-action="checkRelationship" class="btn">查看上下级关系</button> </div> <div class="btn-group mlm"> <button type="button" class="btn dropdown-toggle" data-toggle="dropdown"><?php echo $lang['More operation'];
// callback参数 $param = Env::getRequest('param'); $config = @(include PATH_ROOT . '/system/config/config.php'); if (empty($config)) { close(Ibos::Lang('Config not found', 'error')); } else { define('IN_MOBILE', Env::checkInMobile()); $global = array('clientip' => Env::getClientIp(), 'config' => $config, 'timestamp' => time()); Ibos::app()->setting->copyFrom($global); // 加载系统缓存以初始化用户组件 LoadSysCache(); if (!Ibos::app()->user->isGuest) { switch ($type) { case 'attach': $userId = Env::getRequest('userid'); $appId = Env::getRequest('appid'); doAttachDownload($userId, $appId, $param); break; case 'todo': completeTodo($param); break; case 'quicklogin': doquicklogin($param); break; default: break; } } else { close('身份信息已经过期,请重新请求'); } }
?> <span class="badge pull-right"><?php echo $noSignCount; ?> </span> <?php } ?> <i class="o-art-unsign-m"></i> <?php echo Ibos::lang('No sign'); ?> </a> </li> <li <?php if (Env::getRequest('space') != 'top') { ?> class="active"<?php } ?> > <a href="<?php echo $this->createUrl('officialdoc/index'); ?> "> <i class="o-art-doc"></i> <?php echo Ibos::lang('Officialdoc'); ?> </a> <ul id="tree" class="ztree">
<div class="stand"> <i class="o-comment"></i> <?php echo $lang['Need receipt']; ?> <div class="pull-right"> <input type="checkbox" name="emailbody[isneedreceipt]" value="1" data-toggle="switch" /> </div> </div> </div> <?php if ($isInstallThread) { ?> <div class="span4"> <select name="threadid" id="thread_select"> <?php $threadId = intval(Env::getRequest('threadid')); ?> <option value="0"><?php echo $lang['Not associated']; ?> </option> <?php foreach ($threadList as $thread) { ?> <option value="<?php echo $thread['threadid']; ?> " <?php if ($thread['threadid'] == $threadId) { ?> selected<?php
/css/report.css?<?php echo VERHASH; ?> "> <link rel="stylesheet" href="<?php echo $statAssetUrl; ?> /css/statistics.css?<?php echo VERHASH; ?> "> <div class="mc clearfix"> <!-- Sidebar --> <?php $getUid = Env::getRequest('uid'); $getUser = Env::getRequest('user'); ?> <?php echo $this->getSidebar(); ?> <div class="mcr"> <?php if ($type == 'personal') { ?> <div class="mc-header"> <div class="mc-header-info clearfix"> <div class="usi-terse"> <a href="<?php echo Ibos::app()->user->space_url; ?> " class="avatar-box">
<?php } ?> </div> </div> <script src='<?php echo $assetUrl; ?> /js/lang/zh-cn.js?<?php echo VERHASH; ?> '></script> <script> (function () { var threadId = '<?php echo intval(Env::getRequest('threadid')); ?> '; $("[data-toggle='tooltip']").tooltip(); Ibos.events.add({ 'new': function (param, $elem) { var flowId = $elem.data('id'), text = $elem.data('text'), url = Ibos.app.url('workflow/new/add', {flowid: flowId,threadid:threadId}), dialogOpt = { id: 'd_start_work', title: text, width: '400px', ok: function () { if (newFlowSubmitCheck()) { $('#new_form').waiting(U.lang('IN_SUBMIT'), "mini");
<div id="submit_bar" class="fill clearfix"> <div class="pull-right"> <button type="submit" class="btn btn-large btn-submit btn-primary" id="save_resume"><?php echo $lang['Save']; ?> </button> </div> </div> </form> </div> </div> </div> <script> Ibos.app.setPageParam({ RSM_ADD_OP : "<?php echo Env::getRequest('op'); ?> ", RSM_ADD_IMPINFO: '<?php echo addslashes(isset($importInfo) ? $importInfo : ""); ?> ', // 各字段验证规则 "resumeFieldRule": '<?php echo $dashboardConfigToJson; ?> ', // 各验证规则详情 "resumeFieldRuleRegex": '<?php echo $regulars; ?>
?> data-uid="<?php echo $user['uid']; ?> "><?php if ($user['hasSub']) { ?> <i class="caret"></i><?php } ?> </span> <a href="<?php echo $this->createUrl('review/index', array('op' => 'personal', 'uid' => $user['uid'], 'typeid' => $typeid)); ?> " <?php if (Env::getRequest('uid') == $user['uid']) { ?> style="color:#3497DB;"<?php } ?> > <img src="static.php?type=avatar&uid=<?php echo $user['uid']; ?> &size=middle&engine=<?php echo ENGINE; ?> " alt=""> <?php echo $user['realname']; ?>
<span class="dib"><?php echo $lang['Selected modules']; ?> </span> <select class="span2 at-moduel-select" id="module_select"> <?php foreach ($modulesList as $module) { ?> <option data-module="<?php echo $module['module']; ?> " value="<?php echo $this->createUrl('permissions/setup', array('module' => $module['module'])); ?> " <?php if ($module['module'] == Env::getRequest('module')) { ?> selected<?php } ?> ><?php echo $module['name']; ?> </option> <?php } ?> </select> </div> <div> <table class="table table-striped" id="limit_table">
$defines = PATH_ROOT . '/system/defines.php'; define('TIMESTAMP', time()); define('YII_DEBUG', true); define('CALLBACK', true); $yii = PATH_ROOT . '/library/yii.php'; $mainConfig = (require_once PATH_ROOT . '/system/config/common.php'); require_once $defines; require_once $yii; require_once '../login.php'; Yii::setPathOfAlias('application', PATH_ROOT . DIRECTORY_SEPARATOR . 'system'); Yii::createApplication('application\\core\\components\\Application', $mainConfig); // 接收的参数 $msgSignature = rawurldecode(Env::getRequest('msgSignature')); $timestamp = rawurldecode(Env::getRequest('timestamp')); $aeskey = WxApi::getInstance()->getAeskey(); $echoStr = rawurldecode(Env::getRequest('echoStr')); if (strcmp($msgSignature, md5($aeskey . $timestamp)) != 0) { Env::iExit('access denied'); } if (!empty($echoStr)) { WxApi::getInstance()->resetCorp(); Env::iExit($echoStr); } // 接收信息处理 $result = trim(file_get_contents("php://input"), " \t\n\r"); // 解析 if (!empty($result)) { $msg = json_decode($result, true); if (!empty($msg)) { $uid = UserBinding::model()->fetchUidByValue($msg['properties']['userId'], 'wxqy'); if ($uid) {
</a> </td> </tr> <?php $str = "\r\n\t\t\t\t\t\t<tr data-id='\$deptid' data-pid='\$pid'>\r\n\t\t\t\t\t\t\t<td>\r\n\t\t\t\t\t\t\t\t \$spacer<a href='" . $this->createUrl("default/index&op={$op}&deptid=") . "\$deptid' class='org-dep-name'><i class='os-department'></i>\$deptname</a>\r\n\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t</tr>"; $categorys = String::getTree($dept, $str); echo $categorys; ?> </tbody> </table> </div> </li> </ul> </div> </div> <script> $(function() { var deptid = "<?php echo Env::getRequest('deptid'); ?> ", controller = "<?php echo $this->id; ?> "; if (!deptid && controller == "default"){ deptid = 0; } $('tr[data-id="' + deptid + '"]').addClass("dep-active"); }); </script>
</a> <div class="aside-sub"> <ul class="da-share-user-list"> <?php foreach ($data as $diary) { ?> <li> <img src="<?php echo $diary['user']['avatar_middle']; ?> " alt=""> <a href="<?php echo $this->createUrl('share/index', array('op' => 'personal', 'uid' => $diary['uid'])); ?> " <?php if (Env::getRequest('uid') == $diary['uid']) { ?> style="color:#3497DB;"<?php } ?> ><?php echo $diary['user']['realname']; ?> </a> <span><?php echo $diary['diarytime']; ?> </span> </li> <?php }
echo $user['deptname']; ?> </span> </div> </div> </div> <div class="page-list"> <div class="page-list-header"> <form action="<?php echo $this->createUrl('share/index', array('op' => 'personal', 'param' => 'search', 'uid' => $user['uid'])); ?> " method="post"> <div class="search search-config pull-right span3"> <input type="text" name="keyword" placeholder="Search" id="mn_search" nofocus value="<?php if (Env::getRequest('param') == 'search') { echo Main::getCookie('keyword'); } ?> "> <a href="javascript:;">search</a> <input type="hidden" name="type" value="normal_search"> </div> </form> </div> <div class="page-list-mainer"> <?php if (count($data) > 0) { ?> <ul class="da-list" id="da_list"> <?php
</li> </ul> </div> <div class="page-list"> <div class="page-list-header"> <div class="btn-toolbar pull-left"> <button class="btn btn-primary pull-left" data-action="verifyArticle">审核通过</button> <button class="btn pull-left" data-action="backArticle">退回</button> </div> <form action="<?php echo $this->createUrl('default/index', array('param' => 'search')); ?> " method="post"> <div class="search search-config pull-right span3"> <input type="text" placeholder="输入标题查询" name="keyword" id="mn_search" nofocus <?php if (Env::getRequest('param')) { ?> value="<?php echo Main::getCookie('keyword'); ?> "<?php } ?> > <a href="javascript:;">search</a> <input type="hidden" name="type" value="normal_search"> </div> </form> </div> <div class="page-list-mainer art-list"> <?php
</div> <div class="span3"> <div class="datepicker input-group" id="end_time"> <span class="input-group-addon">至</span> <a href="javascript:;" class="datepicker-btn"></a> <input type="text" value="<?php echo date('Y-m-d', $time['end']); ?> " class="datepicker-input" id="range_end"> </div> </div> </div> <script> Ibos.app.setPageParam({ curUid: '<?php echo Env::getRequest('uid'); ?> ' }); </script> <script type="text/javascript"> //时间类型选择点击效果 $("#time_type_select li").on("click", function() { $(this).addClass("active").siblings().removeClass("active"); }); //初始化时间范围选择 $("#start_time").datepicker({ target: $("#end_time") }); //选择开始时间操作,发送开始时间和结束时间到后台 //选择结束时间操作,发送开始时间和结束时间到后台