} ?> </div> <?php } ?> <div class="tpclg"> <?php if (empty($hiddensubmit)) { ?> <h4 class="cl"><a onclick="showselect(this, 'reason', 'reasonselect')" class="dpbtn" href="javascript:;">^</a><span>操作原因:</span></h4> <p> <textarea id="reason" name="reason" class="pt" onkeyup="seditor_ctlent(event, '$(\'modsubmit\').click();')" rows="3"></textarea> </p> <ul id="reasonselect" style="display: none"><?php echo modreasonselect(); ?> </ul> <?php } ?> </div> </div> <?php if (empty($hiddensubmit)) { ?> <p class="o pns"> <?php if ($_GET['optgroup'] == 3 && $operation == 'delete') { ?> <label for="crimerecord"><input type="checkbox" name="crimerecord" id="crimerecord" class="pc" />违规登记</label>
} if (isset($filter) && $filter == 'ignore') { $displayorder = -3; $filteroptions = '<option value="normal">' . $lang['moderate_none'] . '</option><option value="ignore" selected>' . $lang['moderate_ignore'] . '</option>'; } else { $displayorder = -2; $filter = 'normal'; $filteroptions = '<option value="normal" selected>' . $lang['moderate_none'] . '</option><option value="ignore">' . $lang['moderate_ignore'] . '</option>'; } $forumoptions = '<option value="all"' . (empty($modfid) ? ' selected' : '') . '>' . $lang['moderate_all_fields'] . '</option>'; foreach ($forumlist as $fid => $forumname) { $selected = $modfid == $fid ? ' selected' : ''; $forumoptions .= '<option value="' . $fid . '" ' . $selected . '>' . $forumname . '</option>' . "\n"; } require_once libfile('function/misc'); $modreasonoptions = '<option value="">' . $lang['none'] . '</option><option value="">--------</option>' . modreasonselect(1); echo <<<EOT <style type="text/css"> \t.mod_validate td{ background: #FFFFFF !important; } \t.mod_delete td{\tbackground: #FFEBE7 !important; } \t.mod_ignore td{\tbackground: #EEEEEE !important; } </style> <script type="text/JavaScript"> \tfunction mod_setbg(tid, value) { \t\t\$('mod_' + tid + '_row1').className = 'mod_' + value; \t\t\$('mod_' + tid + '_row2').className = 'mod_' + value; \t\t\$('mod_' + tid + '_row3').className = 'mod_' + value; \t} \tfunction mod_setbg_all(value) { \t\tcheckAll('option', \$('cpform'), value); \t\tvar trs = \$('cpform').getElementsByTagName('TR');
<li><label><input type="checkbox" name="operations[]" class="pc" value="sightml" />清除签名</label></li> <li><label><input type="checkbox" name="operations[]" class="pc" value="customstatus" />清除自定义头衔</label></li> </ul> <br /> <?php if($crimenum_avatar > 0) { ?> <div style="clear: both; text-align: right;">用户 <?php echo $crimeauthor;?> 已被清除头像 <?php echo $crimenum_avatar;?> 次</div> <?php } if($crimenum_sightml > 0) { ?> <div style="clear: both; text-align: right;">用户 <?php echo $crimeauthor;?> 已被清除签名 <?php echo $crimenum_sightml;?> 次</div> <?php } if($crimenum_customstatus > 0) { ?> <div style="clear: both; text-align: right;">用户 <?php echo $crimeauthor;?> 已被清除自定义头衔 <?php echo $crimenum_customstatus;?> 次</div> <?php } ?> <div class="tpclg"> <h4 class="cl"><a onclick="showselect(this, 'reason', 'reasonselect')" class="dpbtn" href="javascript:;">^</a><span>操作原因:</span></h4> <p> <textarea id="reason" name="reason" class="pt" onkeyup="seditor_ctlent(event, '$(\'modsubmit\').click();')" rows="3"></textarea> <ul id="reasonselect" style="display: none"><?php echo modreasonselect(); ?></ul> </p> </div> </div> <p class="o"> <label for="sendreasonpm"><input type="checkbox" name="sendreasonpm" id="sendreasonpm" class="pc"<?php if($_G['group']['reasonpm'] == 2 || $_G['group']['reasonpm'] == 3) { ?> checked="checked" disabled="disabled"<?php } ?> />通知作者</label> <button type="submit" name="modsubmit" id="modsubmit" class="pn pnc" value="true" tabindex="2"><strong>提交</strong></button> </p> </form> </div> <?php } elseif($_GET['action'] == 'setnav') { ?> <div class="tm_c"> <h3 class="flb"> <em id="return_<?php echo $_GET['handlekey'];?>"><?php echo $navtitle;?></em> <span>
private function _renderTemplates($tid, $pid, $errorMsg = '') { global $_G; require_once libfile('function/misc'); //今日剩余积分 $maxratetoday = $this->_getratingleft($_G['group']['raterange']); //评分栏目列表 $ratelist = $this->_getratelist($_G['group']['raterange']); $ratelist = WebUtils::emptyHtml($ratelist); //评分理由 $selectreason = explode("\n", modreasonselect(0, 'userreasons')); $selectreason = str_replace('</li>', '', $selectreason); $selectreason = explode('<li>', $selectreason[0]); $this->getController()->renderPartial('topicRate', array('formUrl' => WebUtils::createUrl_oldVersion('forum/topicrate', array('tid' => $tid, 'pid' => $pid)), 'errorMsg' => $errorMsg, 'ratelist' => $ratelist, 'maxratetoday' => $maxratetoday, 'selectreason' => $selectreason)); }