|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /home/queenjbs/xe/files/cache/template_compiled/ |
Upload File : |
<?php if(!defined("__ZBXE__")) exit();?>
<?php
require_once("./classes/xml/XmlJsFilter.class.php");
$oXmlFilter = new XmlJSFilter("modules/point/tpl/filter/","insert_config.xml");
$oXmlFilter->compile();
?>
<?php
$oTemplate = &TemplateHandler::getInstance();
print $oTemplate->compile('./modules/point/tpl/','header.html');
?>
<form action="./" method="get" onsubmit="return procFilter(this, insert_config);">
<div class="adminLeftContent">
<h4 class="xeAdmin"><?php @print($__Context->lang->max_level);?></h4>
<table cellspacing="0" class="rowTable">
<tr>
<td colspan="2">
<input type="text" class="inputTypeText w80" value="<?php @print($__Context->config->max_level);?>" name="max_level" />
<p><?php @print($__Context->lang->about_max_level);?></p>
</td>
</tr>
</table>
<h4 class="xeAdmin"><?php @print($__Context->lang->point_name);?></h4>
<table cellspacing="0" class="rowTable">
<tr>
<td colspan="2">
<input type="text" class="inputTypeText w80" value="<?php @print($__Context->config->point_name);?>" name="point_name" />
<p><?php @print($__Context->lang->about_point_name);?></p>
</td>
</tr>
</table>
<h4 class="xeAdmin"><?php @print($__Context->lang->is_default);?></h4>
<table cellspacing="0" class="rowTable">
<tr class="row2">
<td><div><?php @print($__Context->lang->point_signup);?></div></td>
<td>
<input type="text" class="inputTypeText w80" value="<?php @print($__Context->config->signup_point);?>" name="signup_point" /> <?php @print($__Context->config->point_name);?>
<p><?php @print($__Context->lang->about_point_signup);?></p>
</td>
</tr>
<tr>
<td><div><?php @print($__Context->lang->cmd_login);?></div></td>
<td><input type="text" class="inputTypeText w80" value="<?php @print($__Context->config->login_point);?>" name="login_point" /> <?php @print($__Context->config->point_name);?></td>
</tr>
<tr class="row2">
<td><div><?php @print($__Context->lang->point_insert_document);?></div></td>
<td><input type="text" name="insert_document" value="<?php @print($__Context->config->insert_document);?>" class="inputTypeText w80" /> <?php @print($__Context->config->point_name);?></td>
</tr>
<tr>
<td><div><?php @print($__Context->lang->point_insert_comment);?></div></td>
<td><input type="text" name="insert_comment" value="<?php @print($__Context->config->insert_comment);?>" class="inputTypeText w80" /> <?php @print($__Context->config->point_name);?></td>
</tr>
<tr class="row2">
<td><div><?php @print($__Context->lang->point_upload_file);?></div></td>
<td><input type="text" name="upload_file" value="<?php @print($__Context->config->upload_file);?>" class="inputTypeText w80" /> <?php @print($__Context->config->point_name);?></td>
</tr>
<tr>
<td><div><?php @print($__Context->lang->point_download_file);?></div></td>
<td><input type="text" name="download_file" value="<?php @print($__Context->config->download_file);?>" class="inputTypeText w80" /> <?php @print($__Context->config->point_name);?></td>
</tr>
<tr class="row2">
<td><div><?php @print($__Context->lang->point_read_document);?></div></td>
<td><input type="text" name="read_document" value="<?php @print($__Context->config->read_document);?>" class="inputTypeText w80" /> <?php @print($__Context->config->point_name);?></td>
</tr>
<tr>
<td><div><?php @print($__Context->lang->point_voted);?></div></td>
<td><input type="text" name="voted" value="<?php @print($__Context->config->voted);?>" class="inputTypeText w80" /> <?php @print($__Context->config->point_name);?></td>
</tr>
<tr class="row2">
<td><div><?php @print($__Context->lang->point_blamed);?></div></td>
<td><input type="text" name="blamed" value="<?php @print($__Context->config->blamed);?>" class="inputTypeText w80" /> <?php @print($__Context->config->point_name);?></td>
</tr>
</table>
<h4 class="xeAdmin"><?php @print($__Context->lang->level_icon);?></h4>
<table cellspacing="0" class="rowTable">
<tr>
<td colspan="2">
<select name="level_icon" class="fullWidth">
<?php $Context->__idx[0]=0;if(count($__Context->level_icon_list)) foreach($__Context->level_icon_list as $__Context->key => $__Context->val){$__Context->__idx[1]=($__Context->__idx[1]+1)%2; $__Context->cycle_idx = $__Context->__idx[1]+1; ?>
<option value="<?php @print($__Context->val);?>" <?php if($__Context->config->level_icon == $__Context->val){ ?>selected="selected"<?php } ?>><?php @print($__Context->val);?></option>
<?php } ?>
</select>
<p><?php @print($__Context->lang->about_level_icon);?></p>
</td>
</tr>
</table>
<h4 class="xeAdmin"><?php @print($__Context->lang->disable_download);?></h4>
<table cellspacing="0" class="rowTable">
<tr>
<td colspan="2">
<input type="checkbox" name="disable_download" value="Y" <?php if($__Context->config->disable_download=='Y'){ ?>checked="checked"<?php } ?> />
<p><?php @print($__Context->lang->about_disable_download);?></p>
</td>
</tr>
</table>
<h4 class="xeAdmin"><?php @print($__Context->lang->disable_read_document);?></h4>
<table cellspacing="0" class="rowTable">
<tr>
<td colspan="2">
<input type="checkbox" name="disable_read_document" value="Y" <?php if($__Context->config->disable_read_document=='Y'){ ?>checked="checked"<?php } ?> />
<p><?php @print($__Context->lang->about_disable_read_document);?></p>
</td>
</tr>
</table>
<table cellspacing="0" class="rowTable">
<tr>
<th colspan="2" class="button">
<span class="button black strong"><input type="submit" value="<?php @print($__Context->lang->cmd_save);?>" accesskey="s" /></span>
</th>
</tr>
</table>
<h4 class="xeAdmin"><?php @print($__Context->lang->point_link_group);?></h4>
<table cellspacing="0" class="rowTable">
<thead>
<tr>
<th class="half_wide"><div><?php @print($__Context->lang->group);?><div></th>
<th class="half_wide"><div><?php @print($__Context->lang->level);?><div></th>
</tr>
</thead>
<tbody>
<?php $Context->__idx[1]=0;if(count($__Context->group_list)) foreach($__Context->group_list as $__Context->key => $__Context->val){$__Context->__idx[2]=($__Context->__idx[2]+1)%2; $__Context->cycle_idx = $__Context->__idx[2]+1; ?>
<tr class="row<?php @print($__Context->cycle_idx);?>">
<td class="center"><div><?php @print($__Context->val->title);?></div></td>
<td class="center"><input type="text" class="inputTypeText w80" value="<?php @print($__Context->config->point_group[$__Context->key]);?>" name="point_group_<?php @print($__Context->key);?>" /></td>
</tr>
<?php } ?>
<tr class="row<?php @print($__Context->cycle_idx);?>">
<td colspan="2">
<select name="group_reset">
<option value="Y"<?php if($__Context->config->group_reset != 'N'){ ?> selected="selected"<?php } ?>><?php @print($__Context->lang->point_group_reset_and_add);?></option>
<option value="N"<?php if($__Context->config->group_reset == 'N'){ ?> selected="selected"<?php } ?>><?php @print($__Context->lang->point_group_add_only);?></option>
</select>
</td>
</tr>
<tr>
<td colspan="2"><p><?php @print($__Context->lang->about_point_link_group);?></p></td>
</tr>
<tr>
<th colspan="2" class="button">
<span class="button black strong"><input type="submit" value="<?php @print($__Context->lang->cmd_save);?>" accesskey="s" /></span>
</th>
</tr>
</tbody>
</table>
</div>
<div class="adminRightExtra">
<h4 class="xeAdmin"><?php @print($__Context->lang->level_point_calc);?></h4>
<table cellspacing="0" class="rowTable">
<tr>
<td><input name="expression" value="<?php @print($__Context->config->expression);?>" size="4" class="inputTypeText w100"/> <input type="button" onclick="exp_calc(this.form)" value="<?php @print($__Context->lang->cmd_exp_calc);?>" /> <input type="button" onclick="exp_calc(this.form, true)" value="<?php @print($__Context->lang->cmd_exp_reset);?>" /><p><?php @print($__Context->lang->expression);?></p>
</td>
</tr>
</table>
<h4 class="xeAdmin"><?php @print($__Context->lang->level_point);?></h4>
<table cellspacing="0" class="rowTable">
<tr>
<td>1</td>
<td><img src="<?php @print(getUrl());?>/modules/point/icons/<?php @print($__Context->config->level_icon);?>/1.gif" alt="" /></td>
<td><input type="text" name="level_step_1" value="<?php @print($__Context->config->level_step[1]);?>" class="inputTypeText w80" /> <?php @print($__Context->config->point_name);?></td>
</tr>
<?php for($__Context->i=2;$__Context->i<=$__Context->config->max_level;$__Context->i++){ ?>
<tr class="row<?php @print((($__Context->i-1)%2+1));?>">
<td><?php @print($__Context->i);?></td>
<td><img src="<?php @print(getUrl());?>/modules/point/icons/<?php @print($__Context->config->level_icon);?>/<?php @print($__Context->i);?>.gif" alt="" /></td>
<td><input type="text" id="level_step_<?php @print($__Context->i);?>" name="level_step_<?php @print($__Context->i);?>" value="<?php @print($__Context->config->level_step[$__Context->i]);?>" class="inputTypeText w80" /> <?php @print($__Context->config->point_name);?></td>
</tr>
<?php } ?>
<tr>
<th colspan="4" class="button">
<span class="button black strong"><input type="submit" value="<?php @print($__Context->lang->cmd_save);?>" accesskey="s" /></span>
</th>
</tr>
</table>
<h4 class="xeAdmin"><?php @print($__Context->lang->cmd_point_recal);?></h4>
<table cellspacing="0" class="rowTable">
<tr>
<td>
<p><?php @print($__Context->lang->about_cmd_point_recal);?></p>
<p id="pointReCal"></p>
</td>
</tr>
<tr>
<th class="button">
<span class="button black strong"><input type="button" value="<?php @print($__Context->lang->cmd_point_recal);?>" onclick="doPointRecal(); return false;"/></span>
</td>
</tr>
</table>
</div>
</form>