Example #1
0
"/></td>
</tr>
<tr>
<td class="tl"><span class="f_hid">*</span> 内容收费</td>
<td><input name="post[fee]" type="text" size="5" value="<?php 
echo $fee;
?>
"/><?php 
tips('不填或填0表示继承模块设置价格,-1表示不收费<br/>大于0的数字表示具体收费价格');
?>
</td>
</tr>
<tr>
<td class="tl"><span class="f_hid">*</span> 内容模板</td>
<td><?php 
echo tpl_select('show', $module, 'post[template]', '默认模板', $template, 'id="template"');
tips('如果没有特殊需要,一般不需要选择<br/>系统会自动继承分类或模块设置');
?>
</td>
</tr>
<?php 
if ($MOD['show_html']) {
    ?>
<tr>
<td class="tl"><span class="f_hid">*</span> 自定义文件路径</td>
<td><input type="text" size="50" name="post[filepath]" value="<?php 
    echo $filepath;
    ?>
" id="filepath"/>&nbsp;<input type="button" value="重名检测" onclick="ckpath(<?php 
    echo $moduleid;
    ?>
Example #2
0
<td><input type="text" size="22" name="post[addtime]" value="<?php 
echo $addtime;
?>
"/></td>
</tr>
<tr>
<td class="tl"><span class="f_hid">*</span> 投票模板</td>
<td><?php 
echo tpl_select('vote', 'chip', 'post[template_vote]', '默认模板', $template_vote);
?>
</td>
</tr>
<tr>
<td class="tl"><span class="f_hid">*</span> 结果模板</td>
<td><?php 
echo tpl_select('vote', $module, 'post[template]', '默认模板', $template);
?>
</td>
</tr>
<?php 
if ($DT['city']) {
    ?>
<tr>
<td class="tl"><span class="f_hid">*</span> 地区(分站)</td>
<td><?php 
    echo ajax_area_select('post[areaid]', '请选择', $areaid);
    ?>
</td>
</tr>
<?php 
}
Example #3
0
<td><?php 
echo tpl_select('show', $module, 'setting[template_show]', '默认模板', $template_show);
?>
</td>
</tr>
<tr>
<td class="tl">搜索默认模板</td>
<td><?php 
echo tpl_select('search', $module, 'setting[template_search]', '默认模板', $template_search);
?>
</td>
</tr>
<tr>
<td class="tl">信息发布模板</td>
<td><?php 
echo tpl_select('my_' . $module, 'member', 'setting[template_my]', '默认模板', $template_my);
?>
</td>
</tr>
<tr>
<td class="tl">默认缩略图[宽X高]</td>
<td>
<input type="text" size="3" name="setting[thumb_width]" value="<?php 
echo $thumb_width;
?>
"/>
X
<input type="text" size="3" name="setting[thumb_height]" value="<?php 
echo $thumb_height;
?>
"/> px
Example #4
0
<td><?php 
echo tpl_select('search', $module, 'setting[template_search]', '默认模板', $template_search);
?>
</td>
</tr>
<tr>
<td class="tl">信息发布模板</td>
<td><?php 
echo tpl_select('my_' . $module, 'member', 'setting[template_my]', '默认模板', $template_my);
?>
</td>
</tr>
<tr>
<td class="tl">留言默认模板</td>
<td><?php 
echo tpl_select('message', $module, 'setting[template_message]', '默认模板', $template_message);
?>
</td>
</tr>
<tr>
<td class="tl">默认缩略图[宽X高]</td>
<td>
<input type="text" size="3" name="setting[thumb_width]" value="<?php 
echo $thumb_width;
?>
"/>
X
<input type="text" size="3" name="setting[thumb_height]" value="<?php 
echo $thumb_height;
?>
"/> px
Example #5
0
<td class="tl"><span class="f_hid">*</span> 缓存时间</td>
<td><input type="text" name="setting[expires]" size="10" id="expires"/>
<select onchange="Dd('expires').value=this.value">
<option value="">默认缓存</option>
<option value="-1">不缓存</option>
<option value="-2">SQL缓存</option>
<option value="600">自定义时间(秒)</option>
</select>
</td>
<td>expires</td>
</tr>
<tr>
<td class="tl"><span class="f_red">*</span> 标签模板</td>
<td>
<?php 
echo tpl_select('', 'tag', 'setting[template]', '请选择', '0', 'id="template"');
?>
</td>
<td>template</td>
</tr>
<tr>
<td class="tl" height="40">

</td>
<td>
<input type="button" value="生成标签" class="btn" onclick="mk_tag();"/>&nbsp;&nbsp;
<input type="button" value="重新设置" class="btn" onclick="Go('?file=<?php 
echo $file;
?>
');"/>
</td>
Example #6
0
<td><?php 
echo tpl_select('search', $module, 'setting[template_search]', '默认模板', $template_search);
?>
</td>
</tr>
<tr>
<td class="tl">信息发布模板</td>
<td><?php 
echo tpl_select('my_' . $module, 'member', 'setting[template_my]', '默认模板', $template_my);
?>
</td>
</tr>
<tr>
<td class="tl">报价默认模板</td>
<td><?php 
echo tpl_select('price', $module, 'setting[template_price]', '默认模板', $template_price);
?>
</td>
</tr>
<tr>
<td class="tl">默认缩略图[宽X高]</td>
<td>
<input type="text" size="3" name="setting[thumb_width]" value="<?php 
echo $thumb_width;
?>
"/>
X
<input type="text" size="3" name="setting[thumb_height]" value="<?php 
echo $thumb_height;
?>
"/> px
Example #7
0
}
?>
<tr>
<td class="tl"><span class="f_hid">*</span> 分组标识</td>
<td><input name="post[item]" type="text" size="10" value="<?php 
echo $item;
?>
"/><?php 
tips('单页的分组标识,如果不理解含义,请勿修改');
?>
</td>
</tr>
<tr>
<td class="tl"><span class="f_hid">*</span> 内容模板</td>
<td><?php 
echo tpl_select('webpage', $module, 'post[template]', '默认模板', $template);
?>
</td>
</tr>
</table>
<div class="sbt"><input type="submit" name="submit" value=" 确 定 " class="btn"/>&nbsp;&nbsp;&nbsp;&nbsp;<input type="reset" name="reset" value=" 重 置 " class="btn"/></div>
</form>
<?php 
load('clear.js');
?>
<script type="text/javascript">
function check() {
	var l;
	var f;
	f = 'title';
	l = Dd(f).value.length;
</td>
</tr>
<tr>
<td class="tl"><span class="f_hid">*</span> 分类模板</td>
<td><?php 
echo tpl_select('list', $MODULE[$mid]['module'], 'category[template]', '默认模板', $template);
?>
</td>
</tr>
<tr style="display:<?php 
echo $mid == 18 ? 'none' : '';
?>
;">
<td class="tl"><span class="f_hid">*</span> 内容模板</td>
<td><?php 
echo tpl_select('show', $MODULE[$mid]['module'], 'category[show_template]', '默认模板', $show_template);
?>
</td>
</tr>
<tr>
<td class="tl"><span class="f_hid">*</span> Title(SEO标题)</td>
<td><input name="category[seo_title]" type="text" id="seo_title" value="<?php 
echo $seo_title;
?>
" size="61"></td>
</tr>
<tr>
<td class="tl"><span class="f_hid">*</span> Meta Keywords<br/>&nbsp; (网页关键词)</td>
<td><textarea name="category[seo_keywords]" cols="60" rows="3" id="seo_keywords"><?php 
echo $seo_keywords;
?>
Example #9
0
<td><input name="post[letter]" type="text" id="letter" size="4" value="<?php 
echo $letter;
?>
"/></td>
</tr>
<tr>
<td class="tl"><span class="f_hid">*</span> 排序</td>
<td><input name="post[listorder]" type="text" id="listorder" size="4" value="<?php 
echo $listorder;
?>
"/></td>
</tr>
<tr>
<td class="tl"><span class="f_hid">*</span> 分站首页模板</td>
<td><?php 
echo tpl_select('index', 'city', 'post[template]', '默认模板', $template);
tips('请在模板目录city目录里建立index-xxx.htm规则的模板,然后在此选择。模板内容请参考网站首页模板。如果不选择,系统默认使用网站首页模板。');
?>
</td>
</tr>

<tr>
<td class="tl"><span class="f_hid">*</span> Title(SEO标题)</td>
<td><input name="post[seo_title]" type="text" id="seo_title" value="<?php 
echo $seo_title;
?>
" size="61"></td>
</tr>
<tr>
<td class="tl"><span class="f_hid">*</span> Meta Keywords<br/>&nbsp;&nbsp;(网页关键词)</td>
<td><textarea name="post[seo_keywords]" cols="60" rows="3" id="seo_keywords"><?php 
Example #10
0
</td>
</tr>
<?php 
}
?>
<tr title="请保持时间格式">
<td class="tl"><span class="f_hid">*</span> 添加时间</td>
<td><input type="text" size="22" name="post[addtime]" value="<?php 
echo $addtime;
?>
"/></td>
</tr>
<tr>
<td class="tl"><span class="f_hid">*</span> 内容模板</td>
<td><?php 
echo tpl_select('announce', $module, 'post[template]', '默认模板', $template);
?>
</td>
</tr>
</tbody>
</table>
<div class="sbt"><input type="submit" name="submit" value=" 确 定 " class="btn"/>&nbsp;&nbsp;&nbsp;&nbsp;<input type="reset" name="reset" value=" 重 置 " class="btn"/></div>
</form>
<?php 
load('clear.js');
?>
<script type="text/javascript">
function check() {
	var l;
	var f;
	f = 'typeid';
Example #11
0
echo $reason;
?>
</textarea><br/><span id="dreason" class="f_red"></span>
</td>
</tr>
<tr>
<td class="tl"><span class="f_hid">*</span> 商圈模板</td>
<td><?php 
echo tpl_select('group', $module, 'post[template]', '默认模板', $template, 'id="template"');
?>
</td>
</tr>
<tr>
<td class="tl"><span class="f_hid">*</span> 帖子模板</td>
<td><?php 
echo tpl_select('show', $module, 'post[show_template]', '默认模板', $show_template, 'id="show_template"');
?>
</td>
</tr>
<?php 
if ($MOD['list_html'] && $action == 'edit') {
    ?>
<tr>
<td class="tl"><span class="f_hid">*</span> 静态目录</td>
<td><input type="text" size="22" name="post[filepath]" value="<?php 
    echo $filepath;
    ?>
"/> <?php 
    echo tips('限英文、数字、中划线、下划线、斜线,该商圈相关的html文件将保存在此目录');
    ?>
</td>
Example #12
0
<td class="tl"><span class="f_hid">*</span> 默认广告代码</td>
<td><textarea name="place[code]" id="code" style="width:98%;height:50px;overflow:visible;font-family:Fixedsys,verdana;"></textarea><br/>
<input type="button" value=" 运行代码 " class="btn" onclick="runcode();"/><span class="f_gray">&nbsp;当广告位下无广告时,显示此代码,支持html、css、js 如果广告位采用js调用,此处不建议使用js代码</span><span id="dcode" class="f_red"></span></td>
</tr>
<tr>
<td class="tl"><span class="f_hid">*</span> 网站前台显示</td>
<td>
<input type="radio" name="place[open]" value="1" checked/> 是&nbsp;&nbsp;&nbsp;&nbsp;
<input type="radio" name="place[open]" value="0"/> 否
<span class="f_gray">如果选择否,将不在前台广告列表里显示,此时会员不能在线订购,并非不显示广告</span>
</td>
</tr>
<tr>
<td class="tl"><span class="f_hid">*</span> 广告代码模板</td>
<td><?php 
echo tpl_select('ad_code', $module, 'place[template]', '默认模板', '', 'id="template"');
?>
</td>
</tr>
</table>
<div class="sbt"><input type="submit" name="submit" value=" 确 定 " class="btn"/>&nbsp;&nbsp;&nbsp;&nbsp;<input type="reset" name="reset" value=" 重 置 " class="btn"/></div>
</form>
<?php 
load('clear.js');
?>
<script type="text/javascript">
function sh(id) {
	if(id == 6 || id == 7) {
		Ds('md');Dh('wh');
	} else if(id == 3 || id == 4 || id == 5) {
		Dh('md');Ds('wh');
Example #13
0
<td><?php 
echo tpl_select('my_' . $module, 'member', 'setting[template_my]', '默认模板', $template_my);
?>
</td>
</tr>
<tr>
<td class="tl">对比默认模板</td>
<td><?php 
echo tpl_select('compare', $module, 'setting[template_compare]', '默认模板', $template_compare);
?>
</td>
</tr>
<tr>
<td class="tl">询价默认模板</td>
<td><?php 
echo tpl_select('inquiry', $module, 'setting[template_inquiry]', '默认模板', $template_inquiry);
?>
</td>
</tr>
<tr>
<td class="tl">默认缩略图[宽X高]</td>
<td>
<input type="text" size="3" name="setting[thumb_width]" value="<?php 
echo $thumb_width;
?>
"/>
X
<input type="text" size="3" name="setting[thumb_height]" value="<?php 
echo $thumb_height;
?>
"/> px
Example #14
0
</tr>
<tr>
<td class="tl"><span class="f_hid">*</span> 查询条件</td>
<td><input type="text" size="60" name="sql" value="<?php 
echo $sql;
?>
"/> <?php 
tips('附加的SQL查询条件 以AND开头');
?>
</td>
</tr>
<tr>
<td class="tl"><span class="f_red">*</span> 排序方式</td>
<td><input type="text" size="20" name="ord" value="<?php 
echo $ord;
?>
"/></td>
</tr>
<tr>
<td class="tl"><span class="f_hid">*</span> 选择模板</td>
<td><?php 
echo tpl_select('alert', 'mail', 'template', '默认模板', '');
?>
</td>
</tr>
</table>
<div class="sbt"><input type="submit" name="submit" value=" 开始发送 " class="btn"/></div>
</form>
<script type="text/javascript">Menuon(0);</script>
<?php 
include tpl('footer');
Example #15
0
?>
"/></td>
</tr>
<tr>
<td class="tl"><span class="f_red">*</span> 邮件正文</td>
<td>
<textarea name="content" id="content" class="dsn"></textarea><?php 
echo deditor($moduleid, 'content', 'Destoon', '98%', 350);
?>
<span id="dcontent" class="f_red"></span>
</td>
</tr>
<tr>
<td class="tl"><span class="f_hid">*</span> 选择模板</td>
<td><?php 
echo tpl_select('email', 'mail', 'template', '请选择', '', 'id="template" onchange="Ds(\'fd\');"');
?>
<span id="dtemplate" class="f_red"></span><br/>
<span class="f_gray">
- 模板为模板目录/mail/目录下的email模板系列,请在发送之前设置模板内容<br/>
- 模板支持系统变量和会员资料,会员资料保存于$user数组,例如{$user[username]}表示会员名<br/>
- 如果选择了模板,邮件地址必须是已存在会员的邮件地址,此时邮件标题支持插入变量<br/>
- 如果是给非会员发送邮件,请不要使用变量<br/>
</span>
</td>
</tr>
<tr id="fd" style="display:none;">
<td class="tl"><span class="f_hid">*</span> 邮件字段</td>
<td><input type="text" size="5" name="fields" value="email"/> 需要和邮件导出时一致,默认为email</td>
</tr>
</table>