Exemple #1
0
        </ul></td>
      <td>实版块:可发布内容,虚版块:可用以虚链接与索引链接,不能发布内容</td>
    </tr>
    <tr>
      <td class="td80">副版块名称:</td>
      <td class="vtop rowform"><input name="subname" id="subname" value="<?php 
echo $rs['subname'];
?>
" type="text" class="txt"  /></td>
      <td>副版块名称</td>
    </tr>
    <tr>
      <td class="td80">所属模型:</td>
      <td class="vtop rowform"><select name="modelid" id="modelid">
          <?php 
echo model::select($rs['mid']);
?>
        </select></td>
      <td>本版块的上级版块或分类</td>
    </tr>
    <tr>
      <td class="td80">显示版块:</td>
      <td class="vtop rowform"><ul onmouseover="altStyle(this);">
          <li<?php 
if ($rs['status'] == '1') {
    echo ' class="checked"';
}
?>
>
            <input class="radio" type="radio" name="status" value="1" <?php 
if ($rs['status'] == '1') {
Exemple #2
0
<?php

require_once "../model/model.php";
$first = $_GET['first'] ? $_GET['first'] : 0;
$news = new model("news");
echo $news->select($first);
Exemple #3
0
?>
" style="width:80px">
        <select name="st" id="st">
          <option value="title"<?php 
$_GET['st'] == 'title' && (print ' selected="selected"');
?>
>标题</option>
          <option value="contents"<?php 
$_GET['st'] == 'contents' && (print ' selected="selected"');
?>
>评论内容</option>
        </select>
    	模型
    	<select name="mid" id="mid">
          <?php 
echo model::select($_GET['mid']);
?>
        </select>
        <input type="text" name="keywords" class="txt" id="keywords" value="<?php 
echo $_GET['keywords'];
?>
" size="30" />
        每页显示
        <input type="text" name="perpage" class="txt" id="perpage" value="<?php 
echo $_GET['perpage'] ? $_GET['perpage'] : 20;
?>
" style="width:30px;" />
        <select name="status" id="status">
          <option value="-1">状态</option>
          <option value="1"<?php 
$_GET['status'] == '1' && (print ' selected="selected"');
?>
" />
  <table class="adminlist">
    <thead>
      <tr>
        <th colspan="3"><?php 
echo empty($fid) ? '添加' : '编辑';
?>
字段</th>
      </tr>
    </thead>
    <tr>
      <td class="td80">所属模块:</td>
      <td class="rowform"><select name="mid" id="mid" disabled="disabled">
    	 <?php 
echo model::select($mid);
?>
        </select></td>
      <td class="tips2"></td>
    </tr>
    <tr>
      <td class="td80">名称:</td>
      <td class="rowform"><input name="name" type="text" id="name" value="<?php 
echo $rs['name'];
?>
" class="txt" style="width:160px;"/>
        <input name="hidden" type="checkbox" id="hidden" value="1" class="checkbox" />
        隐藏字段</td>
      <td class="tips2">隐藏字段 将不会在表单上显示</td>
    </tr>
    <tr>
Exemple #5
0
        </ul></td>
      <td>实版块:可发布内容,虚版块:可用以虚链接与索引链接,不能发布内容</td>
    </tr>
    <tr>
      <td class="td80">副版块名称:</td>
      <td class="rowform"><input name="subname" id="subname" value="<?php 
echo $rs['subname'];
?>
" type="text" class="txt"  /></td>
      <td>副版块名称</td>
    </tr>
    <tr>
      <td class="td80">所属模型:</td>
      <td class="rowform"><select name="modelid" id="modelid">
          <?php 
echo model::select($rs['modelid'], true);
?>
        </select></td>
      <td>本版块的上级版块或分类</td>
    </tr>
    <tr>
      <td class="td80">显示版块:</td>
      <td class="rowform"><ul onmouseover="altStyle(this);">
          <li<?php 
if ($rs['status'] == '1') {
    echo ' class="checked"';
}
?>
>
            <input class="radio" type="radio" name="status" value="1" <?php 
if ($rs['status'] == '1') {