<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>修改链接</title>
        <link rel="stylesheet" type="text/css" href="<?php echo ADMIN_PUC ?>css/common.css"/>
        <script type="text/javascript" charset="utf-8" src="/chuangyi/Public/ueditor/ueditor.config.js" ></script>
        <script type="text/javascript" charset="utf-8" src="/chuangyi/Public/ueditor/ueditor.all.min.js" ></script>
        <script type="text/javascript" charset="utf-8" src="/chuangyi/Public/ueditor/lang/zh-cn/zh-cn.js"></script>
		  <style type="text/css">
			table{
			width: 100%;
			text-align: center;
			border: solid #bdccd2;
			border-width: 1px 0px 0px 1px;
		         }	
		   	td{
			border: solid #bdccd2;
			border-width:0px 1px 1px 0px;
			padding: 5px;
			height: 30px;
			text-align: right;
		     }
		    .lanmu-title{
		     	width: 20%;
		     	background:#def6ff;
		     	color: #272727;
		     }
		     .lanmu-luru input{
		     	float: left;
		     	width: 300px;
		     	height: 30px;
				outline: none;
		     }
		     .lanmu-luru select{
		     	float: left;
		     	width: 300px;
		     	height: 30px;
				outline: none;
		     }
			  .column-name{
			    width: 100%;
			    height: 30px;
			    background: #00455D;
			    line-height: 30px;
			    color: #ffffff;
			    padding-left: 20px;
			    font-size: 14px;
		      }
			   .lanmu-content textarea{
             	float: left;
             	width: 800px;
             	height: 500px;
             	outline: none;
           }
		</style>
	</head>
	<body>
		<div class="content">
			<div class="column-name">
				<div class="lmlb">修改链接</div>
				<div class="caozuo-title">
					<div class="quanxuan caozuo-lanmu"><input type="checkbox" name="" id="" value="" />全选</div>
				    <div class="caozuo-lanmu"><a href="/chuangyi/index.php/Admin/Category/add" target="right" style="color:#ffffff;text-decoration:none;" >添加</a></div>
				    <div class="caozuo-lanmu"><a href="__CONTORLLER__/del">删除</a></div>
				    <div class="caozuo-lanmu"><a href="/chuangyi/index.php/Admin/Conf/edt" target="right">编辑</a></div>
			    </div>				
		</div>
	   <form method="post" action="" enctype="multipart/form-data">
        <input type="hidden" name="cf_id" value="<?php echo ($conf["cf_id"]); ?>"/> 
		<table border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td class="lanmu-title">配置名称</td>
				<td class="lanmu-luru"><input type="text" name="cf_name" id="" value="<?php echo ($conf["cf_name"]); ?>" /></td>
			</tr>
			<tr>
				<td class="lanmu-title">英文名称</td>
				<td class="lanmu-luru"><input type="text" name="cf_ename" id="" value="<?php echo ($conf["cf_ename"]); ?>" /></td>
			</tr>
             <tr>
				<td class="lanmu-title">字段类型</td>
				<td  style="text-align:left;">
                   <input type="radio"  style="width:15px; text-align:left" name="cf_type" value="text" <?php if($conf[cf_type] == text): ?>checked="checked"<?php endif; ?>/> 单行文本
                   <input type="radio" style="width:15px;"   name="cf_type" value="radio" <?php if($conf[cf_type] == radio): ?>checked="checked"<?php endif; ?> />单选按钮
                   <input type="radio" style="width:15px;" name="cf_type"  value="textarea" <?php if($conf[cf_type] == textarea): ?>checked="checked"<?php endif; ?>/>多行文本
                </td>
			</tr>
            <tr>
				<td class="lanmu-title">可选值</td>
				<td class="lanmu-luru"><textarea style="float:left;" name="cf_values" cols="30" rows="5"><?php echo ($conf["cf_values"]); ?></textarea></td>
			</tr>
            <tr>
				<td class="lanmu-title">默认值</td>
				<td class="lanmu-luru"><textarea style="float:left;" name="cf_value" cols="30" rows="5"><?php echo ($conf["cf_value"]); ?></textarea></td>
			</tr>
            <tr>
				<td colspan="2" class="tijiao" style="text-align:center;">
                  <input id="inp_name" class="input_out" type="submit" value="确定修改"  onmousemove="this.className='input_move'" 
onmouseout="this.className='input_out'"></input>
                </td>
		   </tr>
		</table>
      </form>
	</body>
</html>
 <script type="text/javascript">
     UE.getEditor('content',{initialFrameWidth:1200,initialFrameHeight:400,});
 </script>