当前位置: 首页 > 工具软件 > awesome-ci > 使用案例 >

【ci框架】ci框架引入ueditor编辑器

牟稳
2023-12-01
<!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">
<link rel="stylesheet" href="http://www.kuxiu.net/public/css/common.css" type="text/css" />

<body>
{literal}
<script type="text/javascript" src="http://www.kuxiu.net/public/js/ueditor/editor_config.js"></script>
<script type="text/javascript" src="http://www.kuxiu.net/public/js/ueditor/editor_all.js"></script>
<script type="text/javascript">
var ue = new UE.ui.Editor({initialFrameWidth:750,initialContent:'',imagePath:"/"});
ue.render('content')//渲染一个编辑器
</script>
{/literal}


<div id="man_zone">
<table width="99%" border="0" align="center"  cellpadding="3" cellspacing="1" class="table_style">
<tr><td cols=2>添加商品品牌</td></tr>
</table>
<form name="form1" method="post" enctype="multipart/form-data" action="/index.php/brand/add/">
<input type="hidden" name="key" value="add" />
<fieldset>
<legend>添加商品品牌</legend>
  <table width="99%" border="0" align="center"  cellpadding="3" cellspacing="1" class="table_style">
    <tr>
      <td class="left_title_1">品牌名称:</td>
      <td><input type="text" name="brand_name" value="" /></td>
    </tr>
    <tr>
      <td class="left_title_1">品牌中文名:</td>
      <td><input type="text" name="brand_name_second" value="" /></td>
    </tr>
	<tr>
      <td class="left_title_1">字母标签:</td>
      <td>
	  <select name="nature">
	  <option value="">--请选择--</option>
	  </select>
	  </td>
    </tr>
	<tr>
      <td class="left_title_1">汉字拼音标签:</td>
      <td>
	  <select name="chinese_nature">
	  <option value="">--请选择--</option>
	  </select>
	  </td>
    </tr>
    <tr>
      <td class="left_title_1">品牌中文名拼音:</td>
      <td><input type="text" name="brand_pinyin" value="" /></td>
    </tr>
	<tr>
      <td class="left_title_1">是否为顶级品牌:</td>
      <td><input name="is_top" value="1" type="checkbox"/>是</td>
    </tr>
	<tr>
	<tr>
      <td class="left_title_1">网址参数:</td>
      <td><input type="text" name="url_path" value="" /></td>
    </tr>
    <tr>
      <td class="left_title_1">CMS品牌路径:</td>
      <td><input type="text" name="cms_brand_path" value="" /></td>
    </tr>
	<tr>
      <td class="left_title_1">品牌模板文件:</td>
      <td><input type="text" name="brand_css_path" value="" /></td>
    </tr>
	<tr>
      <td class="left_title_1">品牌图片:</td>
      <td><input type="file" name="brand_img" value="" /></td>
    </tr>
	<input type="hidden" name="brand_img_url" value="" />
    <tr>
      <td class="left_title_1">品牌介绍:</td>
      <td>
	  <textarea name="brand_intro" style="width:400px;height:100px;"></textarea>
	  </td>
    </tr>

	<tr>
      <td class="left_title_1">品牌介绍:</td>
      <td>
	  <textarea  name="content" id="content" ></textarea>
	  </td>
    </tr>

	<tr>
      <td class="left_title_1">品牌简介:</td>
      <td><input type="text" name="brand_simple_intro" value="" class="text"/></td>
    </tr>
	<tr>
      <td class="left_title_1">SEO信息:</td>
      <td><input type="text" name="seo_info" value="" /></td>
    </tr>
      <td colspan="2">
		<input type="submit" name="sub" value="添加" />
		<input type="reset" name="res" value="重置" />
	  </td>
    </tr>
  </table>
 </fieldset>
</form>
</div>
</body>
</html>

 类似资料: