<?php
$this->load_template('_header.php');
$this->load_template('_top.php');
?>
<script type="text/javascript" src="<?php echo $C->SITE_URL?>themes/default/js/js_admin.js"></script>
<div id="generalspace">
<div id="container">
<div id="column1-admin"><?php $this->load_template('_verticalmenu-admin.php'); ?></div>
<div id="column2-admin">
<div id="dashboard-admin2">
<div class="title"><?php echo $this->lang('admin_general_title'); ?></div>
<div class="editarea">
<div class="subtitle"><?php echo $this->lang('admin_general_subtitle1');?></div>
<hr />
<div id="form01">
<form id="form1" name="form1" method="post" action="">
<div class="mrg10T grey1"><?php echo $this->lang('admin_general_txt_title')?></div>
<div><input name="titlesite" type="text" id="titlesite" value="<?php echo $D->SITE_TITLE?>" class="boxinput withbox" /></div>
<div class="mrg10T grey1"><?php echo $this->lang('admin_general_txt_site_description')?></div>
<div><input name="descsite" type="text" id="descsite" value="<?php echo $D->SITE_DESCRIPTION?>" class="boxinput withbox" /></div>
<div class="mrg10T grey1"><?php echo $this->lang('admin_general_txt_site_keywords')?></div>
<div><input name="keywsite" type="text" id="keywsite" value="<?php echo $D->SITE_KEYWORDS?>" class="boxinput withbox" /></div>
<div class="mrg10T grey1"><?php echo $this->lang('admin_general_txt_protected')?></div>
<div class="mrg5T">
<select name="protected" id="protected" class="combobox">
<option value="1" <?php echo(1==$D->PROTECT_OUTSIDE_PAGES?'selected="selected"':'')?>><?php echo $this->lang('admin_general_txt_protected_opc01')?></option>
<option value="0" <?php echo(0==$D->PROTECT_OUTSIDE_PAGES?'selected="selected"':'')?>><?php echo $this->lang('admin_general_txt_protected_opc02')?></option>
</select>
</div>
<div class="mrg10T grey1"><?php echo $this->lang('admin_general_txt_languages')?></div>
<div class="mrg5T">
<select name="language" id="language" class="combobox">
<option value="1" <?php echo(1==$D->SHOW_MENU_LANGUAJE?'selected="selected"':'')?>><?php echo $this->lang('admin_general_txt_languages_opc01')?></option>
<option value="0" <?php echo(0==$D->SHOW_MENU_LANGUAJE?'selected="selected"':'')?>><?php echo $this->lang('admin_general_txt_languages_opc02')?></option>
</select>
</div>
<div class="mrg10T grey1"><?php echo $this->lang('admin_general_txt_pages')?></div>
<div class="mrg5T">
<select name="spages" id="spages" class="combobox">
<option value="1" <?php echo(1==$D->SHOW_MENU_PAGES?'selected="selected"':'')?>><?php echo $this->lang('admin_general_txt_pages_opc01')?></option>
<option value="0" <?php echo(0==$D->SHOW_MENU_PAGES?'selected="selected"':'')?>><?php echo $this->lang('admin_general_txt_pages_opc02')?></option>
</select>
</div>
<div id="msgerror1" class="redbox"></div>
<div id="msgok1" class="yellowbox"></div>
<div class="mrg10T mrg5B">
<input type="submit" name="bsave1" id="bsave1" value="<?php echo $this->lang('admin_txt_bsave')?>" class="bblue hand"/>
</div>
</form>
</div>
</div>
<div class="editarea">
<div class="subtitle"><?php echo $this->lang('admin_general_subtitle2');?></div>
<hr />
<div id="form01">
<form id="form2" name="form2" method="post" action="">
<div class="mrg10T grey1"><?php echo $this->lang('admin_general_ntf_events')?></div>
<div class="mrg5T">
<select name="notievents" id="notievents" class="combobox">
<?php for($i=3; $i<=12; $i=$i+3) { ?>
<option value="<?php echo $i?>" <?php echo($i==$D->NUM_NOTIFICATIONS_ALERT?'selected="selected"':'')?>><?php echo $i.' '.$this->lang('admin_general_ntf_txt')?></option>
<?php } ?>
</select>
</div>
<div class="mrg10T grey1"><?php echo $this->lang('admin_general_ntf_interval_events')?></div>
<div class="mrg5T">
<select name="notieventsinterval" id="notieventsinterval" class="combobox">
<option value="10000" <?php echo(10000==$D->INTERVAL_NOTIFICATIONS_EVENTS?'selected="selected"':'')?>>10 <?php echo $this->lang('admin_general_ntf_txt_seconds')?></option>
<option value="20000" <?php echo(20000==$D->INTERVAL_NOTIFICATIONS_EVENTS?'selected="selected"':'')?>>20 <?php echo $this->lang('admin_general_ntf_txt_seconds')?></option>
<option value="30000" <?php echo(30000==$D->INTERVAL_NOTIFICATIONS_EVENTS?'selected="selected"':'')?>>30 <?php echo $this->lang('admin_general_ntf_txt_seconds')?></option>
<option value="60000" <?php echo(60000==$D->INTERVAL_NOTIFICATIONS_EVENTS?'selected="selected"':'')?>>1 <?php echo $this->lang('admin_general_ntf_txt_minute')?></option>
<option value="120000" <?php echo(120000==$D->INTERVAL_NOTIFICATIONS_EVENTS?'selected="selected"':'')?>>2 <?php echo $this->lang('admin_general_ntf_txt_minutes')?></option>
<option value="300000" <?php echo(300000==$D->INTERVAL_NOTIFICATIONS_EVENTS?'selected="selected"':'')?>>5 <?php echo $this->lang('admin_general_ntf_txt_minutes')?></option>
<option value="600000" <?php echo(600000==$D->INTERVAL_NOTIFICATIONS_EVENTS?'selected="selected"':'')?>>10 <?php echo $this->lang('admin_general_ntf_txt_minutes')?></option>
</select>
</div>
<div class="mrg10T grey1"><?php echo $this->lang('admin_general_ntf_msgs')?></div>
<div class="mrg5T">
<select name="notimsg" id="notimsg" class="combobox">
<?php for($i=3; $i<=12; $i=$i+3) { ?>
<option value="<?php echo $i?>" <?php echo($i==$D->NUM_NOTIFICATIONSMSG_ALERT?'selected="selected"':'')?>><?php echo $i.' '.$this->lang('admin_general_ntf_txt')?></option>
<?php } ?>
</select>
</div>
<div class="mrg10T grey1"><?php echo $this->lang('admin_general_ntf_interval_msgs')?></div>