Exemplo n.º 1
0
?>
>10天</option>
         <option value="30" <?php 
echo set_selected(30, $option['history_save_days']);
?>
>30天</option>
         <option value="90" <?php 
echo set_selected(90, $option['history_save_days']);
?>
>90天</option>
         <option value="180" <?php 
echo set_selected(180, $option['history_save_days']);
?>
>180天</option>
         <option value="360" <?php 
echo set_selected(360, $option['history_save_days']);
?>
>360天</option>
        </select>
        <span class="help-inline"></span>
    </div>
   </div>

  <div class="control-group">
    <div class="controls">
      <button type="submit" class="btn btn-success">保 存</button> 
    </div>
  </div>

<small>注:修改配置后,需要重启后台进程才能生效:./redisMM_ctl.sh</small>                                    
</form>
Exemplo n.º 2
0
?>
  <?php 
echo $this->lang->line('alarm');
?>
</label>
    <div class="controls">
        <select name="alarm_tablespace" id="alarm_tablespace" class="input-small">
         <option value="1" <?php 
echo set_selected(1, $record['alarm_tablespace']);
?>
 ><?php 
echo $this->lang->line('on');
?>
</option>
         <option value="0" <?php 
echo set_selected(0, $record['alarm_tablespace']);
?>
><?php 
echo $this->lang->line('off');
?>
</option>
        </select>
        &nbsp;&nbsp;<?php 
echo $this->lang->line('threshold_warning');
?>
&nbsp;<input type="text" id="threshold_warning_tablespace" class="input-small" placeholder="" name="threshold_warning_tablespace" value="<?php 
echo $record['threshold_warning_tablespace'];
?>
" >%
        &nbsp;&nbsp;<?php 
echo $this->lang->line('threshold_critical');
Exemplo n.º 3
0
echo set_value('nickname');
?>
">
					<a href="#info" role="button" class="btn btn-info" data-toggle="modal">详细信息</a>
					<span class="help-inline"></span>
				</div>
			</div>

			<div class="control-group">
				<label class="control-label" for="gid">所属用户组</label>
				<div class="controls">
					<select name="gid" id="gid" class='bselect'>
						<?php 
foreach ($groups as $c) {
    //echo '<option value="'.$c['id'].'"'. check_switch(set_value('gid',2),$c['id'],'selected="selected"') .'>';
    echo '<option value="' . $c['id'] . '"' . set_selected('gid', 2, $c['id']) . '>';
    echo $c['title'];
    echo '</option>';
}
?>
     
					</select>
					<span class="help-inline"></span>
				</div>
			</div>

			<div class="control-group">
				<label class="control-label" for="pwd">密码</label>
				<div class="controls">
					<input type="password" id="pwd" name="pwd" value="<?php 
echo set_value('pwd');
Exemplo n.º 4
0
        }
    }
    ?>
        </div>
        <div class="col-sm-6">    
             
<?php 
    if ($size_records % 2 == 0) {
        for ($i = $size_records / 2; $i < $size_records; $i++) {
            $temp = printButton($db_schools[$i], $school);
            $selected = set_selected($selected, $temp);
        }
    } else {
        for ($i = (int) ($size_records / 2) + 1; $i < $size_records; $i++) {
            $temp = printButton($db_schools[$i], $school);
            $selected = set_selected($selected, $temp);
        }
    }
} else {
    echo "No School";
}
?>
            <p><button type="submit" 
                       name="school" 
                       id="school" 
                       value="Andere" 
                       class="btn btn-lg btn-block 
                    <?php 
if ($selected == true) {
    echo "btn-warning";
} elseif ($school != false && $andere == true) {
Exemplo n.º 5
0
?>
 <?php 
echo $this->lang->line('alarm');
?>
</label>
    <div class="controls">
        <select name="alarm_blocked_clients" id="alarm_blocked_clients" class="input-small">
         <option value="1" <?php 
echo set_selected(1, $record['alarm_blocked_clients']);
?>
  ><?php 
echo $this->lang->line('on');
?>
</option>
         <option value="0" <?php 
echo set_selected(0, $record['alarm_blocked_clients']);
?>
  ><?php 
echo $this->lang->line('off');
?>
</option>
        </select>
        &nbsp;&nbsp;<?php 
echo $this->lang->line('threshold_warning');
?>
&nbsp;<input type="text" id="threshold_warning_blocked_clients" class="input-small" placeholder="" name="threshold_warning_blocked_clients" value="<?php 
echo $record['threshold_warning_blocked_clients'];
?>
" >
        &nbsp;&nbsp;<?php 
echo $this->lang->line('threshold_critical');
Exemplo n.º 6
0
				<label class="control-label" for="major"> 专业要求 </label>
				<div class="controls">
					<input type="text" name="major" value="<?php 
echo set_value('major', $it['major']);
?>
" id="major">
				</div>
			</div>

			<div class="control-group">
				<label for="gender" class="control-label"> 性别要求 </label>
				<div class="controls">
					<select name="gender" id="gender" class='bselect show-tick '>
						<?php 
foreach (lang('recruit_gender') as $k => $o) {
    echo '<option value="' . $k . '"' . set_selected('gender', $k, $it['gender'], ' selected="selected" class="option-select" ') . '>';
    echo $o;
    echo '</option>';
}
?>
					</select>
					<span class="help-inline"></span>
				</div>
			</div>

            <!-- <div class="control-group">
				<label class="control-label" for="gender"> 性别要求 </label>
				<div class="controls">
					<div class="btn-group ui-radio" data-toggle="buttons-radio">
						<label class="btn <?php 
echo set_checked('gender', '0', $it['gender'], 'active');
Exemplo n.º 7
0
?>
 <?php 
echo $this->lang->line('alarm');
?>
</label>
    <div class="controls">
        <select name="alarm_repl_delay" id="alarm_repl_delay" class="input-small">
         <option value="1" <?php 
echo set_selected(1, $record['alarm_repl_delay']);
?>
 ><?php 
echo $this->lang->line('on');
?>
</option>
         <option value="0" <?php 
echo set_selected(0, $record['alarm_repl_delay']);
?>
 ><?php 
echo $this->lang->line('off');
?>
</option>
        </select>
        &nbsp;&nbsp;<?php 
echo $this->lang->line('threshold_warning');
?>
&nbsp;<input type="text" id="threshold_warning_repl_delay" class="input-small" placeholder="" name="threshold_warning_repl_delay" value="<?php 
echo $record['threshold_warning_repl_delay'];
?>
" >
        &nbsp;&nbsp;<?php 
echo $this->lang->line('threshold_critical');
Exemplo n.º 8
0
        <select name="menu_id" id="menu_id" >
         <option value="0"  ><?php 
echo $this->lang->line('select');
?>
</option>
          <?php 
if (!empty($menu_record_tree)) {
    ?>
          <?php 
    foreach ($menu_record_tree as $item) {
        ?>
          <option value="<?php 
        echo $item['menu_id'];
        ?>
" <?php 
        echo set_selected($record['menu_id'], $item['menu_id']);
        ?>
  ><?php 
        echo $item['str_repeat'] . $item['menu_title'];
        ?>
</option>
          <?php 
    }
    ?>
          <?php 
}
?>
        </select>
    </div>
   </div>
    <div class="control-group">
Exemplo n.º 9
0
</h2>
<hr>

	<div class="control-group error">
    <label class="control-label" for="">*<?php 
echo $this->lang->line('sms_type');
?>
</label>
    <div class="controls">
        <select name="smstype" id="smstype" class="input-medium">
         <option value="fetion" <?php 
echo set_selected('fetion', $settings['smstype']);
?>
>Fetion</option>
         <option value="api" <?php 
echo set_selected('api', $settings['smstype']);
?>
>Api</option>
        </select>
    </div>
   </div>

   <div class="control-group info">
    <label class="control-label" for="">*<?php 
echo $this->lang->line('fetion_user');
?>
</label>
    <div class="controls">
      <input type="text" id="sms_fetion_user"  name="sms_fetion_user" value="<?php 
echo $settings['sms_fetion_user'];
?>
Exemplo n.º 10
0
?>
 <?php 
echo $this->lang->line('alarm');
?>
</label>
    <div class="controls">
        <select name="alarm_current_queue" id="alarm_current_queue" class="input-small">
         <option value="1" <?php 
echo set_selected(1, $record['alarm_current_queue']);
?>
  ><?php 
echo $this->lang->line('on');
?>
</option>
         <option value="0" <?php 
echo set_selected(0, $record['alarm_current_queue']);
?>
  ><?php 
echo $this->lang->line('off');
?>
</option>
        </select>
        &nbsp;&nbsp;<?php 
echo $this->lang->line('threshold_warning');
?>
&nbsp;<input type="text" id="threshold_warning_current_queue" class="input-small" placeholder="" name="threshold_warning_current_queue" value="<?php 
echo $record['threshold_warning_current_queue'];
?>
" >
        &nbsp;&nbsp;<?php 
echo $this->lang->line('threshold_critical');
Exemplo n.º 11
0
                    <label><?php 
echo $this->lang->line('system_language');
?>
</label>
                    <select name="language" id="language" class="input-large">
                    
                    <option value="zh-hans" <?php 
echo set_selected($this->input->cookie('lang_current'), "zh-hans");
?>
 >简体中文</option>
                    <option value="english" <?php 
echo set_selected($this->input->cookie('lang_current'), "english");
?>
 >English</option>
                    <!--<option value="zh-hant" <?php 
echo set_selected($this->input->cookie('lang_current'), "zh-hant");
?>
 >繁體中文</option>-->
                    </select>
                    <hr/>
                    <label><?php 
echo $this->lang->line('username');
?>
</label>
                    <input type="text" id="username" name="username" value="<?php 
echo set_value('username');
?>
" class="span12">
                    <label><?php 
echo $this->lang->line('password');
?>
Exemplo n.º 12
0
?>
" >
      <span class="help-inline">个,磁盘空间有限,建议不要超过5个</span>
    </div>
   </div>
   
    <div class="control-group">
    <label class="control-label" for="">发送告警</label>
    <div class="controls">
        <select name="alarm_flag" id="alarm_flag" class="input-small">
         <option value="y" <?php 
echo set_selected('y', $record['alarm_flag']);
?>
 >开启</option>
         <option value="n" <?php 
echo set_selected('n', $record['alarm_flag']);
?>
 >关闭</option>
        </select>
    </div>
   </div>
 
    <div class="control-group" style="display:none">
    <label class="control-label" for="">大小波动</label>
    <div class="controls">
      <input type="text" id=""  name="change_max" value="<?php 
echo $record['change_max'];
?>
" >
      <span class="help-inline">%,同昨天对比,超过此阈值告警</span>
    </div>
Exemplo n.º 13
0
				<label class="control-label" for="msg"> 消息 </label>
				<div class="controls">
					<input type="text" name="msg" value="<?php 
echo set_value('msg');
?>
" id="msg">
				</div>
			</div>

			<div class="control-group">
				<label for="level" class="control-label">级别:</label>
				<div class="controls">
						<select name="level" id="level" class='bselect'>
						<?php 
foreach ($this->config->item('msgs_level') as $k => $v) {
    echo '<option value="' . $k . '"' . set_selected('level', $k) . '>';
    echo $v;
    echo '</option>';
}
?>
     
					</select>
					<span class="help-inline"></span>
				</div>
			</div>


		</div>

		<div class="boxed-footer">
			<input type="submit" value=" <?php 
Exemplo n.º 14
0
   <div class="control-group">
    <label class="control-label" for=""><?php 
echo $this->lang->line('send_mail');
?>
</label>
    <div class="controls">
        <select name="send_mail" id="send_mail" class="input-small">
         <option value="1" <?php 
echo set_selected(1, $record['send_mail']);
?>
 ><?php 
echo $this->lang->line('on');
?>
</option>
         <option value="0" <?php 
echo set_selected(0, $record['send_mail']);
?>
 ><?php 
echo $this->lang->line('off');
?>
</option>
        </select>
    </div>
   </div>
    <div class="control-group">
    <label class="control-label" for=""><?php 
echo $this->lang->line('mail_to_list');
?>
</label>
    <div class="controls">
      <input type="text" id="mail_to_list"  name="mail_to_list" value="<?php 
Exemplo n.º 15
0
?>
>120s</option>
         <option value="180" <?php 
echo set_selected(180, $option['frequency_alarm']);
?>
>180s</option>
         <option value="300" <?php 
echo set_selected(300, $option['frequency_alarm']);
?>
>300s</option>
         <option value="600" <?php 
echo set_selected(600, $option['frequency_alarm']);
?>
>600s</option>
         <option value="1200" <?php 
echo set_selected(1200, $option['frequency_alarm']);
?>
>1200s</option>
        </select>
        <span class="help-inline">报警频率设置时间请大于监控频率</span>
    </div>
   </div>
   
  
    

  <div class="control-group">
    <div class="controls">
      <button type="submit" class="btn btn-success">保 存</button> 
    </div>
  </div>
Exemplo n.º 16
0
    </div>
    <div class="control-group">
    <label class="control-label" for="">*<?php 
echo $this->lang->line('status');
?>
</label>
    <div class="controls">
        <select name="status" id="status" class="input-small">
         <option value="1" <?php 
echo set_selected(1, $record['status']);
?>
 ><?php 
echo $this->lang->line('enabled');
?>
</option>
         <option value="0" <?php 
echo set_selected(0, $record['status']);
?>
 ><?php 
echo $this->lang->line('disable');
?>
</option>
        </select>
    </div>
   </div> 
   
</div>

</form>

Exemplo n.º 17
0
?>
 <?php 
echo $this->lang->line('alarm');
?>
</label>
    <div class="controls">
        <select name="alarm_os_memory" id="alarm_os_memory" class="input-small">
         <option value="1" <?php 
echo set_selected(1, $record['alarm_os_memory']);
?>
   ><?php 
echo $this->lang->line('on');
?>
</option>
         <option value="0" <?php 
echo set_selected(0, $record['alarm_os_memory']);
?>
   ><?php 
echo $this->lang->line('off');
?>
</option>
        </select>
        &nbsp;&nbsp;<?php 
echo $this->lang->line('threshold_warning');
?>
&nbsp;<input type="text" id="threshold_warning_os_memory" class="input-small" placeholder="" name="threshold_warning_os_memory" value="<?php 
echo $record['threshold_warning_os_memory'];
?>
" >%
        &nbsp;&nbsp;<?php 
echo $this->lang->line('threshold_critical');