📄 config_index.tpl.php
字号:
<html>
<head>
<title>系统后台</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link href="../../images/admin/public.css" rel="stylesheet" type="text/css" />
<link href="../../images/admin/style.css" rel="stylesheet" type="text/css" />
<script src="<?php echo $this->basedir;?>js/jquery.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#ta tr").mouseover(function(){
$(this).addClass("over");
});
$("#ta tr").mouseout(function(){
$(this).removeClass("over");
});
$("#ta tr:even").addClass("double");
});
</script>
<body>
<table border="0" cellspacing="0" cellpadding="0" width="100%" id="ta">
<tr align="center" valign="top">
<td width="*" align="center" valign="top"><!-- ######### begin ######### -->
<div class="Block">
<div class="BlockBar">系统全局设置 <a href="javascript:window.scrollTo(0,document.body.scrollHeight)">置底</a></div>
<table cellspacing="1" cellpadding="4" class="tab">
<form id="form1" name="form1" method="post" action="">
<tr class="row">
<td width="124"><strong>站点标题</strong>:</td>
<td width="538" class="row"><label>
<input name="title" type="text" id="title" size="60" value="<?php echo stripslashes($this->config['title']);?>" />
</label> </td>
</tr>
<tr class="row">
<td><strong>站点名称:</strong></td>
<td class="row"><input name="sitename" type="text" id="sitename" value="<?php echo stripslashes($this->config['sitename']);?>" size="60"></td>
</tr>
<tr class="row">
<td><strong>SEO关键词:</strong></td>
<td class="row"><textarea name="keywords" cols="60" rows="3" id="keywords" style=" font-size:12px"><?php echo stripslashes($this->config['keywords']);?></textarea></td>
</tr>
<tr class="row">
<td><strong>网站描述:</strong></td>
<td class="row"><textarea name="contents" cols="60" rows="3" id="contents"><?php echo stripslashes($this->config['contents']);?></textarea></td>
</tr>
<tr class="row">
<td><strong>访问域名</strong>:</td>
<td class="row"><label>
<input name="domain" type="text" id="domain" size="60" value="<?php echo stripslashes($this->config['domain']);?>" />
</label></td>
</tr>
<tr class="row">
<td><strong>运行状态</strong>:</td>
<td class="row"><input name="run" type="radio" class="radio" value="2" <?php if((string)$this->config['run'] == 2) {echo 'checked="checked"';} ?> />
运行中
<input name="run" type="radio" class="radio" value="1" <?php if($this->config['run'] == 1) {echo 'checked="checked"';} ?> />
暂停服务
<input name="run" type="radio" class="radio" value="0" <?php if($this->config['run'] == 0) {echo 'checked="checked"';} ?> />
关闭服务</td>
</tr>
<tr class="row">
<td><strong>数据缓存</strong>:<br />
控制是否采用静态页面缓存(推荐开启)</td>
<td class="row"><input name="cache" type="radio" class="radio" value="1" <?php if((int)$this->config['cache'] == 1) {echo 'checked="checked"';} ?> />
开启缓存
<input name="cache" type="radio" class="radio" value="0" <?php if((int)$this->config['cache'] == 0) {echo 'checked="checked"';} ?> />
关闭缓存</td>
</tr>
<tr class="row">
<td><strong>页面压缩</strong>:<br/>
控制是否压缩页面内容输出</td>
<td class="row"><input name="gzip" type="radio" class="radio" value="1" <?php if((int)$this->config['gzip'] == 1) {echo 'checked="checked"';} ?> />
开启压缩
<input name="gzip" type="radio" class="radio" value="0" <?php if((int)$this->config['gzip'] == 0) {echo 'checked="checked"';} ?> />
关闭压缩</td>
</tr>
<tr class="row">
<td><strong>搜索优化</strong>:</td>
<td class="row"><input name="rewrite" type="radio" class="radio" value="default" <?php if((string)$this->config['rewrite'] == 'default') {echo 'checked="checked"';} ?> />
默认模式
<input name="rewrite" type="radio" class="radio" value="rewrite" <?php if((string)$this->config['rewrite'] == 'rewrite') {echo 'checked="checked"';} ?> />
伪静态
<input name="rewrite" type="radio" class="radio" value="html" <?php if((string)$this->config['rewrite'] == 'html') {echo 'checked="checked"';} ?> />
纯静态</td>
</tr>
<tr class="row">
<td><strong>点播窗口</strong>:<br />
点播页面窗口模式</td>
<td class="row"><input name="target" type="radio" class="radio" value="openwindow" <?php if($this->config['target'] == 'openwindow') {echo 'checked="checked"';} ?> />
弹出窗口
<input name="target" type="radio" class="radio" value="_blank" <?php if($this->config['target'] == '_blank') {echo 'checked="checked"';} ?> />
新开页面</td>
</tr>
<tr class="row">
<td><strong>窗口大小</strong>:<br />
弹出窗口的大小</td>
<td class="row">宽:
<input name="width" type="text" id="width" size="5" maxlength="3" value="<?php echo (int)$this->config['width'];?>" />
高:
<input name="height" type="text" id="height" size="5" maxlength="3" value="<?php echo (int)$this->config['height'];?>" />
默认500X400</td>
</tr>
<tr class="row">
<td><strong>点播模式</strong>:</td>
<td class="row">
<select name="auth" id="auth" style="width:200px">
<option value="0" <?php if($this->config['auth'] ==0) {echo ' selected="selected" ';} ?>>免登录</option>
<option value="1" <?php if($this->config['auth'] ==1) {echo ' selected="selected" ';} ?>>登录认证</option>
<option value="2" <?php if($this->config['auth'] ==2) {echo ' selected="selected" ';} ?>>时间段免费</option>
<option value="3"<?php if($this->config['auth'] ==3) {echo ' selected="selected" ';} ?> >登陆免费点播</option>
</select></td>
</tr>
<tr class="row">
<td><strong>免费时间段</strong>:</td>
<td class="row"><input name="freetime" type="text" id="freetime" value="<?php echo $this->config['freetime'];?>" size="10" maxlength="8" />
例如:24/04 表示晚上12点到凌晨4点之间免费点播</td>
</tr>
<tr class="row">
<td><strong>点播人数</strong>:<br />
统计正在点播人数的刷新时间</td>
<td class="row"><select name="refreshplayer" id="refreshplayer" style="width:200px">
<option value="0" <?php if((int)$this->config['refreshplayer'] == 0) {echo 'selected="selected" ';} ?> >不统计点播用户</option>
<option value="5" <?php if((int)$this->config['refreshplayer'] == 5) {echo 'selected="selected" ';} ?> >5秒</option>
<option value="10" <?php if((int)$this->config['refreshplayer'] == 10) {echo 'selected="selected" ';} ?> >10秒</option>
<option value="30" <?php if((int)$this->config['refreshplayer'] == 30) {echo 'selected="selected" ';} ?> >30秒</option>
<option value="60" <?php if((int)$this->config['refreshplayer'] == 60) {echo 'selected="selected" ';} ?>>1分钟</option>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -