Example #1
0
    exit;
}
$sqlshow = $conn->selectall("" . DB_EXT . "lanmu", "where kq_uuid='" . $id . "'");
$show_r = dell_slashes($conn->result($sqlshow));
$bid = $show_r['kq_fid'];
//本页配置信息
$pagename = "栏目";
$backurl = "class_list";
$addname = '';
$ctionmd5 = md5("class_update");
$btnaction = "";
//提交状态
$actionurl = "action/ac_update.php";
$message = "权限不够不能添加信息";
//游客提示语
$classarr = get_class_array();
$cofig = get_config();
$setlanmu = array();
if ($cofig['kq_setlanmu']) {
    $setlanmu = json_decode($cofig['kq_setlanmu'], true);
}
?>
<div id="urHere"> 管理中心<b>&gt;</b><strong><?php 
echo $pagename;
?>
添加</strong> </div> 
<div id="mainBox">
	<h3><a href="index.php?name=<?php 
echo $backurl;
?>
" class="actionBtn"><span class="iconfont">&#xe609;</span> 返回<?php 
Example #2
0
                <td colspan="3">
                  <input name="kq_name" size="40" class="inpMain" type="text" id="kq_name"></td>
              </tr>
              <tr>
                <td align="right">英文名字</td>
                <td colspan="2">
                  <input name="kq_ename" type="text" class="inpMain" id="kq_ename" size="30" />
                </td>
              </tr>
              <tr>
                <td align="right">所属目录:</td>
                <td colspan="2">
                  <select name="kq_fid" id="kq_fid">
                    <option value="0">根目录</option>
                    <?php 
get_tree_class(0, 0, get_class_array());
?>
                  </select>
                </td>
                 <td></td>
              </tr>
              <tr>
                <td align="right">特殊设置</td>
                <td colspan="2">
                <?php 
if (count($setlanmu) > 0) {
    foreach ($setlanmu as $key => $value) {
        echo '<label for="' . $key . '">' . $value . '</label><input name="kq_type" type="radio" id="' . $key . '" value="' . $key . '"  />';
    }
}
?>