<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>栏目管理</title>
<link href="__PUBLIC__/Admin/css/style.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="__PUBLIC__/FCKeditor/fckeditor.js"></script>
<script type="text/javascript" src="__PUBLIC__/Admin/js/jquery.js"></script>
<script type="text/javascript" src="__PUBLIC__/Admin/js/jquery.validate.js"></script>
<script type="text/javascript" src="__PUBLIC__/Admin/js/jquery.metadata.js"></script>
</head>
<body>
 <div class="page_tilte">
       &nbsp;&nbsp;<a href="<?php echo U('Help/index');?>">返回帮助列表</a> | &nbsp;&nbsp;编辑帮助
    </div>
    <br />
    <form method="post" action="" id="form1">
    <table id="htmlTable" width="95%" align="center" cellpadding="1" cellspacing="1" bgcolor="#dee7ff" border="0">
  <tr bgcolor="white">
    <td class="sTitle4" align="right">
                标题名称：
            </td>
    <td style="padding-left: 5px;">
                <input name="title" type="text" id="title" value="<?php echo ($data["title"]); ?>" style="width:300px;" />
            </td>
  </tr> 
  <tr bgcolor="white">
    <td class="sTitle4" align="right">
                信息类型：
            </td>
    <td style="padding-left: 5px;">
     <select name="type" id="type">
      <?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): ++$i;$mod = ($i % 2 )?><option value="<?php echo ($vo["id"]); ?>" <?php if($vo['id'] == $data['type'] ): ?>selected="selected" <?php else: ?><?php endif; ?> ><?php echo ($vo["name"]); ?></option><?php endforeach; endif; else: echo "" ;endif; ?>
    </select>
            </td>
  </tr>
  <tr bgcolor="white">
    <td class="sTitle4" align="right">
                详细内容：
            </td>
    <td class="rightItem">
                <textarea name="content"><?php echo ($data["content"]); ?></textarea>
        <script>
    var oFCKeditor = new FCKeditor('content') ;
    oFCKeditor.BasePath = '__PUBLIC__/FCKeditor/';
    oFCKeditor.Width = '100%';
    oFCKeditor.Height = '350';
    oFCKeditor.ToolbarSet = 'Default';
    oFCKeditor.ReplaceTextarea();
        </script> 
            </td>
  </tr>
  <tr bgcolor="white">
    <td class="sTitle4">
            </td>
    <td height="40" class="rightItem">
                <input type="hidden" name="id" value="<?php echo ($data["id"]); ?>" id="id" class="btn" />
                <input type="submit" name="sSubmit" value="提交" id="sSubmit" class="btn" />
                <input type="button" class="btn" value="取消" onclick="javascript:history.back(-1)" />
            </td>
  </tr>
</table>

    </form>

</body>
</html>