foreach ($history as $log) { ?> <?php $row = json_decode($log['message'], true); ?> <tr> <td> <?php echo Convert::formatDate($log['logtime'], 'u'); ?> </td> <td> <?php echo String::cutStr(!empty($row['address']) ? $row['address'] : Convert::convertIp($row['ip']), 7); ?> </td> <td> <?php echo $row['ip']; ?> </td> <td> <?php echo $terminal[$row['terminal']]; ?> </td> </tr> <?php }
?> " class="avatar-circle"> <img src="<?php echo $comment['user_info']['avatar_middle']; ?> " width="60" height="60"> </a> </div> <div class="cmt-body"> <p class="mbs xcm"> <strong class="xcn"><?php echo $comment['user_info']['realname']; ?> :</strong> <?php echo String::parseHtml($comment['content']); ?> </p> <div class="mbs fss"> <span><?php echo Convert::formatDate($comment['ctime'], 'u'); ?> </span> <div class="pull-right"> <a href="javascript:;" data-act="getreply" data-param='{"type":"reply","module":"message","table":"comment","rowid":"<?php echo $comment['cid']; ?> ","name":"<?php echo $comment['user_info']['realname']; ?> ","type":"reply"}'><?php
if (!empty($followState['user']['posname'])) { ?> <span> · </span><span><?php echo $followState['user']['posname']; ?> </span><?php } ?> </div> <div class="wb-fans-from"> <span title="<?php echo $followState['user']['bio']; ?> "><?php if (!empty($followState['user']['bio'])) { echo String::cutStr($followState['user']['bio'], 18); } else { ?> 这家伙很懒,什么都没有写<?php } ?> </span> </div> </div> <div class="rdb wbc-box2"> <span class="wb-cb followedboth"> <?php if (!$followState['following']) { ?> <a href="javascript:;" class="btn btn-small btn-warning" data-action="follow" data-param='{"fid": <?php echo $followState['user']['uid'];
echo $lang['Comment']; ?> </h4> <div id="load_comment_<?php echo $report['repid']; ?> " data-id="<?php echo $report['repid']; ?> " data-url="<?php echo Ibos::app()->urlManager->createUrl('message/comment/getcomment'); ?> " > <?php $sourceUrl = Ibos::app()->urlManager->createUrl('report/default/show', array('repid' => $report['repid'])); $this->widget('application\\modules\\report\\widgets\\ReportComment', array('module' => 'report', 'table' => 'report', 'attributes' => array('rowid' => $report['repid'], 'moduleuid' => Ibos::app()->user->uid, 'touid' => $report['uid'], 'module_rowid' => $report['repid'], 'module_table' => 'report', 'api' => 'reviewSubordinate', 'allowComment' => $allowComment, 'showStamp' => $fromController == 'review' && $this->issetStamp(), 'url' => $sourceUrl, 'detail' => Ibos::lang('Comment my report', '', array('{url}' => $sourceUrl, '{title}' => String::cutStr($report['subject'], 50)))))); ?> </div> </div> <div class="cti"> <!--阅读人员--> <?php if (!empty($readers)) { ?> <h4><?php echo $lang['Reading']; echo $lang['Staff']; ?>
echo $email['fromName']; ?> <?php echo $lang['At']; ?> <?php echo $email['dateTime']; ?> ( <?php echo $lang['Week'] . $weekDay; ?> ) <?php echo $lang['Send to']; ?> <?php echo String::cutStr(implode('、', $allUsers), 45); ?> <?php if (count($allUsers) > 1) { echo $lang['Such as']; echo count($allUsers); echo $lang['People']; } ?> 。 </p> <div id="mal_info_detail" style="display:none;"> <div><?php echo $lang['Sender']; ?> :<?php
</div> <div class="main-list-item-body"> <div class="msg-box" id="msgbox_<?php echo $key; ?> "> <span class="msg-box-arrow"><i></i></span> <div class="msg-box-body"> <p class="xcm mbm"> <?php echo String::parseHtml($at['source_content']); ?> </p> <p class="tcm mb"> <?php echo String::replaceExpression($at['detail']); ?> </p> <div> <span class="tcm fss"><?php if ($at['source_table'] == 'comment') { echo date('n月j日H:i', $at['ctime']); } else { echo $at['ctime']; } ?> </span> <!--<div class="pull-right"> <a href="javascript:;" data-act="reply" data-act-data="id=<?php echo $key; ?>
<?php echo $lang['Now the situation']; ?> </a> </li> </ul> <div class="tab-content"> <!-- 是否使用AJAX Tab --> <!-- 评论 --> <?php if ($data['commentstatus'] && $dashboardConfig['articlecommentenable']) { ?> <div id="comment" class="comment fill-zn tab-pane active"> <?php $sourceUrl = Ibos::app()->urlManager->createUrl('article/default/index', array('op' => 'show', 'articleid' => $data['articleid'])); $this->widget('application\\modules\\article\\core\\ArticleComment', array('module' => 'article', 'table' => 'article', 'attributes' => array('rowid' => $data['articleid'], 'moduleuid' => Ibos::app()->user->uid, 'touid' => $data['author'], 'module_rowid' => $data['articleid'], 'module_table' => 'article', 'url' => $sourceUrl, 'detail' => Ibos::lang('Comment my article', '', array('{url}' => $sourceUrl, '{title}' => String::cutStr($data['subject'], 50)))))); ?> </div> <?php } ?> <!-- 查阅情况 --> <div id="isread" class="tab-pane"> <table class="table table-striped"> <tbody> <tr> <td colspan="2"><img src='<?php echo STATICURL; ?> /image/common/loading.gif'/></td> </tr>
?> <?php foreach ($setting['emailroleallocation'] as $key => $value) { ?> <div class="mbs"> <input type="text" name="role[<?php echo $key; ?> ][positionid]" data-id="<?php echo $key; ?> " id="roleallocation_<?php echo $key; ?> " value="<?php echo String::wrapId($key, 'p'); ?> "> <div id="roleallocation_<?php echo $key; ?> _box"></div> </div> <div class="input-group mbs"> <input type="text" name="role[<?php echo $key; ?> ][size]" value="<?php echo $value; ?> ">
,您可以 <a href="javascript:;" class="b-anchor" data-click="inputAuthCode">输入授权码</a> 或 <a href='http://ibos.com.cn/product' class="o-anchor" target="_blank">立即申请授权码</a> </div> <?php } else { ?> <div class="license licensed" data-click="showAuthInfo"> <span>授权企业:</span> <!-- 公司全称 --> <strong title="<?php echo LICENCE_FULLNAME; ?> "><?php echo String::cutStr(LICENCE_FULLNAME, 30); ?> </strong> <span><?php echo $lang['The number of users']; ?> </span> <em><?php echo LICENCE_LIMIT; ?> </em> <?php if (LICENCE_VER == 'Standard') { ?> <span class="label pull-right"><?php
echo $value['id']; ?> ]" type="text" value="<?php echo $value['sort']; ?> " /></td> <td><?php echo $value['author']; ?> </td> <td><?php echo $value['subject']; ?> </td> <td><?php echo String::cutStr($value['message'], 50); ?> </td> <td><?php echo $typeDesc[$value['type']]; ?> </td> <td><?php echo date('Y-m-d H:i', $value['starttime']); ?> </td> <td><?php echo date('Y-m-d H:i', $value['endtime']); ?> </td> <td>
&random=<?php echo $random; ?> " alt="<?php echo $user['realname']; ?> " width="180" height="180" /> </span> <?php } ?> <?php if (Ibos::app()->user->uid !== $user['uid']) { ?> <a href="javascript:Ibos.showPmDialog('<?php echo String::wrapId($user['uid'], 'u'); ?> ');void(0);" class="private-letter" title="<?php echo $lang['Send message']; ?> "> <i class="o-private-letter <?php echo $onlineIcon; ?> "></i> </a> <?php } ?> <div class="pc-usi-name"> <?php
</a> </span> </div> </td> <td align="left"> <div> <a title="<?php echo $subReport['subject']; ?> " href="<?php echo Ibos::app()->urlManager->createUrl('report/review/show', array('repid' => $subReport['repid'])); ?> " ><?php echo $subReport['userInfo']['realname'] . ' ' . String::cutStr($subReport['subject'], 40); ?> </a> </div> </td> <td width="60" style="text-align:right;"> <?php if (!empty($subReport['iconUrl'])) { ?> <img src="<?php echo $subReport['iconUrl']; ?> " alt=""><?php } ?> </td>
<?php foreach ($stamp->getSeries() as $series) { ?> <?php $count = explode(',', trim($series['count'], ',')); ?> { name:'<?php echo $series['name']; ?> ', type:'bar', stack: '总量', itemStyle : dataStyle, data:[<?php echo String::iImplode($count); ?> ] }, { name:'<?php echo $series['name']; ?> ', type:'bar', stack: '总量', itemStyle: placeHoledStyle, data:[<?php foreach ($count as $number) { echo $stamp->getMax() - $number; ?>
</div> <div class="main-list-item-body"> <div class="msg-box" id="msgbox_<?php echo $comment['cid']; ?> "> <span class="msg-box-arrow"><i></i></span> <div class="msg-box-body"> <p class="xcm mbm"> <?php echo $comment['content']; ?> </p> <p class="tcm mb"> <?php echo String::replaceExpression(!empty($comment['replyInfo']) ? $comment['replyInfo'] : $comment['detail']); ?> </p> <div> <label class="checkbox checkbox-inline mbz"> <input type="checkbox" name="comment" value="<?php echo $comment['cid']; ?> "> </label> <span class="tcm fss"><?php echo Convert::formatDate($comment['ctime'], 'u'); ?> </span> <div class="pull-right"> <?php
<div class="wb-info-picword clearfix"> <p> <?php $sourceInfo = $oldInfo; ?> <?php if (!empty($shareInfo['shareHtml'])) { ?> <?php echo $shareInfo['shareHtml']; ?> <?php } else { ?> <?php echo String::parseHtml($sourceInfo['source_content']); ?> <?php } ?> </p> </div> <!--转载的内容 E--> <?php } ?> </div> <!--微博盒子 S--> <div data-node-type="feedForwardComment"> <form action="javascript:;"> <div class="wb-pub-box wb-forword-pub">
<input type="checkbox" name="id[]" value="<?php echo $run['runid']; ?> "/> </label> </td> <td> <div class="com-list-name"> <em class="text-nowrap"><a class="xcm" title="<?php echo $run['runName']; ?> " href="<?php echo Ibos::app()->createUrl('workflow/preview/print', array('key' => $run['key'])); ?> " target="_blank"><?php echo String::cutStr($run['runName'], 50); ?> </a></em> <span class="fss tcm posa">[<?php echo $run['runid']; ?> ]<?php echo $run['typeName']; ?> </span> </div> </td> <td> <span class="fss"><?php echo $run['user']['realname']; ?>
echo $row['ip']; ?> </td> <td><?php echo date('y-n-j H:i', $value['logtime']); ?> </td> <td><?php echo $actionDesc; ?> </td> <td><span title="<?php echo $row['param']; ?> "><?php echo String::cutStr($row['param'], 100); ?> </span></td> </tr> <?php } ?> <?php break; case 'illegal': ?> <?php foreach ($log as $key => $value) { ?> <?php $row = json_decode($value['message'], true);
$sqlData = file_get_contents(PATH_ROOT . './install/data/installExtra.sql'); $search = array('{time}', '{time1}', '{time2}', '{date}', '{date+1}'); $replace = array(time(), strtotime('-1 hour'), strtotime('+1 hour'), strtotime(date('Y-m-d')), strtotime('-1 day', strtotime(date('Y-m-d')))); $sql = str_replace($search, $replace, $sqlData); executeSql($sql); unset($_SESSION['extData']); } // 安装工作流数据 if (getIsInstall('workflow')) { $sqlFlowData = file_get_contents(PATH_ROOT . './install/data/installFlow.sql'); executeSql($sqlFlowData); } // 为用户添加GUID $users = User::model()->fetchAll(); foreach ($users as $user) { $guid = String::createGuid(); Yii::app()->db->createCommand()->update("{{user}}", array('guid' => $guid), "`uid` = '{$user['uid']}'"); } $cacheArr = array('AuthItem', 'CreditRule', 'Department', 'Ipbanned', 'Nav', 'NotifyNode', 'Role', 'Position', 'PositionCategory', 'Setting', 'UserGroup'); foreach ($cacheArr as $cache) { Cache::update($cache); } Cache::load('usergroup'); // 要注意小写 Cache::update('Users'); // 因为用户缓存要依赖usergroup缓存,所以放在最后单独更新 file_put_contents(PATH_ROOT . 'data/install.lock', ''); $configfile = CONFIG_PATH . 'config.php'; $config = (require $configfile); $host = getHostInfo(); //设置aeskey并保存
</div> <!-- 应聘岗位 --> <div class="span4" data-expand-target="recruittargetposition" <?php if (!$dashboardConfig['recruittargetposition']['visi']) { ?> style="display: none;"<?php } ?> > <div class="control-group"> <label for=""><?php echo $lang['Job candidates']; ?> </label> <input type="text" name="positionid" id="recruittargetposition" value="<?php echo String::wrapId($resumeDetail['positionid'], 'p'); ?> "> </div> </div> <!-- 期望月薪 --> <div class="span4" data-expand-target="recruitexpectsalary" <?php if (!$dashboardConfig['recruitexpectsalary']['visi']) { ?> style="display: none;"<?php } ?> > <div class="control-group"> <label for=""><?php echo $lang['Salary expectations'];
<input type="checkbox" name="runid[]" value="<?php echo $run['runid']; ?> "/> </label> </td> <td> <div class="com-list-name"> <em class="text-nowrap"><a class="xcm" title="<?php echo $run['runName']; ?> " target="_blank" href="<?php echo $this->createUrl('preview/print', array('key' => $run['key'])); ?> "><?php echo String::cutStr($run['runName'], 25); ?> </a></em> <span class="fss tcm posa">[<?php echo $run['runid']; ?> ]<?php echo $run['typeName']; ?> </span> </div> </td> <td> <a data-toggle="usercard" data-param="uid=<?php echo $run['user']['uid']; ?>
"}'> <i class="o-wbi-frow"></i> 评论( <?php echo $fd['commentcount']; ?> ) </a> </div> </div> </div> <?php if ($fd['module'] == 'weibo') { ?> <?php $sourceUrl = Ibos::app()->urlManager->createUrl('weibo/personal/feed', array('feedid' => $fd['feedid'])); $this->widget('application\\modules\\weibo\\core\\WeiboComment', array('module' => $fd['module'], 'table' => 'feed', 'attributes' => array('rowid' => $fd['feedid'], 'moduleuid' => $fd['uid'], 'module_rowid' => $fd['rowid'], 'module_table' => $fd['table'], 'tocid' => 0, 'touid' => $fd['uid'], 'showlist' => 1, 'url' => $sourceUrl, 'detail' => Ibos::lang('Comment my weibo', '', array('{url}' => $sourceUrl, '{title}' => String::cutStr(preg_replace("/[\\s]{2,}/", "", String::filterCleanHtml($fd['body'])), 50)))))); ?> <?php } ?> </div> </div> </div> </div> <!--微博模块 左 E--> </div> <!--微博模块 E--> </div> <!-- 赞过的人 --> <div class="wb-digg-box popover fade bottom in" id="menu_digg_box" data-node-type="feedDiggBox" style="display: none; "> <div class="arrow"></div>
/** * 执行快速登录触发操作:写入内容给监听的txt文件,然后前端可触发事件 * @param string $code * @return void */ function doquicklogin($code) { $file = PATH_ROOT . './data/temp/login_' . $code . '.txt'; $uid = Ibos::app()->user->uid; file_put_contents($file, String::authCode($uid, 'ENCODE', $code)); return close('登录成功,请关闭窗口'); }
</span> <a href="<?php echo Ibos::app()->urlManager->createUrl('article/default/index', array('op' => 'show', 'articleid' => $article['articleid'])); ?> " class="title xcm"><?php echo $article['subject']; ?> </a> <?php if ($index == 0) { ?> <div class="content mbs"><a href="<?php echo Ibos::app()->urlManager->createUrl('article/default/index', array('op' => 'show', 'articleid' => $article['articleid'])); ?> "><?php echo String::cutStr(String::filterCleanHtml($article['content']), 114); ?> </a></div> <?php } ?> </div> </td> </tr> <?php } ?> </tbody> </table> <div class="mbox-base"> <div class="fill-hn xac">
} ?> <?php } ?> </div> <?php } ?> <!-- Nav end --> <div class="usi"> <div class="btn-group"> <a href="javascript:;" data-toggle="dropdown" id="user_login_ctrl"> <?php echo String::cutStr(Ibos::app()->user->realname, 6); ?> <i class="caret caret-small"></i> </a> </div> <a href="<?php echo Ibos::app()->createUrl('message/mention/index'); ?> " class="cbtn o-message" id="user_fun_ctrl"> <?php echo Ibos::lang('Message', 'default'); ?> </a> </div> <div class="posr"> <div id="message_container" class="reminder" style="display: none;">
" /> </form> </div> <div class="page-list-footer"> <?php $this->widget('application\\core\\widgets\\Page', array('pages' => $pages)); ?> </div> </div> <!-- Mainer content --> </div> </div> <script> Ibos.app.setPageParam({ 'dataUid': '<?php echo String::wrapId(Ibos::app()->user->uid); ?> ' }) </script> <script src='<?php echo $assetUrl; ?> /js/message.js?<?php echo VERHASH; ?> '></script> <script src='<?php echo $assetUrl; ?>
<div class="cti bdbs"> <!-- 点评 --> <h4><?php echo $lang['Review']; ?> </h4> <div id="load_comment_<?php echo $diary['diaryid']; ?> " data-id="<?php echo $diary['diaryid']; ?> " > <?php $sourceUrl = Ibos::app()->urlManager->createUrl('diary/default/show', array('diaryid' => $diary['diaryid'])); $this->widget('application\\modules\\diary\\widgets\\DiaryComment', array('module' => 'diary', 'table' => 'diary', 'attributes' => array('rowid' => $diary['diaryid'], 'moduleuid' => Ibos::app()->user->uid, 'touid' => $diary['uid'], 'module_rowid' => $diary['diaryid'], 'module_table' => "diary", 'api' => "reviewSubordinate", 'allowComment' => $allowComment, 'showStamp' => $fromController == 'review' && $this->issetStamp(), 'url' => $sourceUrl, 'detail' => Ibos::lang('Comment my diray', '', array('{url}' => $sourceUrl, '{title}' => String::cutStr(String::filterCleanHtml($diary['content']), 50)))))); ?> </div> </div> <div class="cti"> <!-- 阅读人员 --> <?php if (!empty($readers)) { ?> <h4><?php echo $lang['Read']; echo $lang['Personnel']; ?> </h4> <div> <div class="da-reviews-count"><?php
<th><?php echo $lang['Volume']; ?> </th> <th><?php echo $lang['Operation']; ?> </th> </tr> </thead> <?php foreach ($list['exportLog'] as $key => $value) { ?> <?php $info = $value[1]; $random = String::random(5); $info['method'] = $info['type'] != 'zip' ? $info['method'] == 'multivol' ? $lang['DBMultivol'] : $lang['DBShell'] : ''; $info['volume'] = count($value); ?> <tbody> <tr> <td> <label class="checkbox"> <input type="checkbox" data-check='key' value="<?php echo $key; ?> " name="key[<?php echo $key; ?> ]"> </label>
</td> </tr> <tr data-id='0' data-pid='0'> <td> <a href='<?php echo $this->createUrl('default/index', array('op' => $op)); ?> ' class='org-dep-name'><i class='os-company'></i><?php echo isset($unit['fullname']) ? $unit['fullname'] : ''; ?> </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'); ?> ",
</select> </div> </div> <div class="control-group" id="custom_department" <?php if (!$custom) { ?> style="display:none;"<?php } ?> > <div class="controls"> <input type="text" name="scopedept" <?php if ($custom) { ?> value="<?php echo String::wrapId($per['scope'], 'd'); ?> "<?php } ?> id="custom_department_select"> </div> </div> </form> </div> <script> (function() { var $wrap = $("#auth_rule_setting"); $wrap.find(".radio input").label(); $("#auth_for").userSelect({ data: Ibos.data.get(),
<div class="mcr"> <div class="page-list"> <div class="ctform"> <div class="mb"> <input type="text" name="subject" id="" value="<?php echo $report['subject']; ?> "> </div> <div> <label><?php echo $lang['Reporting to']; ?> </label> <input type="text" name="toid" id="rp_to" value="<?php echo String::wrapId($report['toid']); ?> "> <div id="rp_to_box"></div> </div> </div> <div class="page-list-mainer"> <table class="rp-detail-table"> <!-- 工作小结 --> <tbody id="rp_complete"> <tr> <td colspan="3"> <div class="fill-ss"> <div class="pull-right"> <div class="calendar-group pull-left"> <div class="datepicker form_datetime" id="date_summary_start" data-value="<?php