$backurl = "nav_list"; $btnaction = ""; //提交状态 $actionurl = "action/ac_update.php"; $actionmd5 = md5("nav_update"); //导航调用 $navarray = array(); $navclassql = $conn->selectall("" . DB_EXT . "nav", ""); while ($class_r = $conn->result($navclassql)) { $navarray[] = array($class_r['id'], $class_r['kq_fid'], $class_r['kq_name']); } $sqlshow = $conn->selectall("" . DB_EXT . "nav", "where kq_uuid='" . $id . "'"); $show_r = dell_slashes($conn->result($sqlshow)); $bid = $show_r['kq_fid']; $lmbid = $show_r['kq_url']; $classarr = get_class_array2(); ?> <div id="urHere"> 管理中心<b>></b><strong><?php echo $pagename; ?> 添加</strong> </div> <div id="mainBox"> <h3><a href="index.php?name=<?php echo $backurl; ?> " class="actionBtn"><span class="iconfont"></span> 返回<?php echo $addname == '' ? $pagename : $addname; ?> </a><?php echo $pagename; ?>
<img src="images/nopic.gif" height="100" /> </td> </tr> <tr> <td align="right"> <?php echo $pagename; ?> 位置:</td> <td colspan="2"> <label for="a_position"></label> <select name="kq_position" id="a_position"> <?php if (ADVLANMU) { echo '<option value="index">首页</option>'; get_tree_class(0, 0, get_class_array2()); } else { $listpostion = array('1' => '首页', '2' => '列表页', '3' => '内容页', '4' => '头部', '5' => '底部'); foreach ($listpostion as $key => $value) { echo '<option value="' . $key . '">' . $value . '</option>'; } } ?> </select> </td> </tr> </tbody> </table> <table class="tableBasic" border="0" cellpadding="8" cellspacing="0" width="100%"> <tbody> <tr>
<tr> <td width="90">QQ:</td> <td> <input name="kq_qq" size="40" class="inpMain" id="kq_qq" type="text"></td> </tr> <tr> <td width="90">微信:</td> <td> <input name="kq_weixin" size="40" class="inpMain" id="kq_weixin" type="text"></td> </tr> <tr> <td width="90">项目分类:</td> <td> <select name="kq_lmid" id="kq_fid"> <?php get_tree_class(0, 0, get_class_array2("where id=1")); ?> </select> </td> </tr> <tr> <td width="80">封面图片:</td> <td> <input name="kq_picurl" size="40" class="inpMain" id="kq_picurl" type="text"> <input name="submit" class="btn" onclick="updatepic('kq_picurl','ylpic','','','710','410',1)" value="上传图片" type="button"> </td> </tr> <tr> <td width="80">封面预览:</td> <td id="ylpic"></td> </tr>
" id="kq_qq" type="text"></td> </tr> <tr> <td width="90">微信:</td> <td> <input name="kq_weixin" size="40" class="inpMain" value="<?php echo $show_r['kq_weixin']; ?> " id="kq_weixin" type="text"></td> </tr> <tr> <td width="80">项目分类:</td> <td> <select name="kq_lmid" id="kq_fid"> <?php get_tree_class(0, 0, get_class_array2("where id=1"), $show_r['kq_lmid']); ?> </select> </td> </tr> <tr> <td width="80">封面图片:</td> <td> <input name="kq_picurl" size="40" value="<?php echo $show_r['kq_picurl']; ?> " class="inpMain" id="kq_picurl" type="text"> <input name="submit" class="btn" onclick="updatepic('kq_picurl','ylpic','','','710','410',1)" value="上传图片" type="button"> </td> </tr> <tr>