123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120 |
- <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TopicEdit.aspx.cs" Inherits="CB.Admin.Plugins.Basic.TopicEdit" %>
- <!DOCTYPE html >
- <html>
- <head>
- <title>文章详细信息</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <link href="../../static/css/main.css" rel="stylesheet" type="text/css" />
- <script src="../../static/js/jquery.js" type="text/javascript"></script>
- <script src="../../Static/editor/kindeditor.js" type="text/javascript"></script>
- <script type="text/javascript">
- KindEditor.ready(function (k)
- {
- k.create('#txtContent',{
- resizeType: 1,
- filterMode: true,
- allowImageUpload: true,
- allowFlashUpload: false,
- allowMediaUpload: false,
- allowFileManager: false,
- shadowMode: false,
- uploadJson: '../../Ajax/uploadphoto_ajax.aspx',
- themeType: 'default',
- newlineTag: 'p',
- pasteType: 2,
- items: [
- 'source','|','undo','redo','|','preview','cut','copy','paste',
- 'plainpaste','wordpaste','|','justifyleft','justifycenter','justifyright',
- 'justifyfull','insertorderedlist','insertunorderedlist','indent','outdent','subscript',
- 'superscript','clearhtml','quickformat','selectall','|','fullscreen','/',
- 'formatblock','fontname','fontsize','|','forecolor','hilitecolor','bold',
- 'italic','underline','strikethrough','lineheight','removeformat','|','table','hr','emoticons','link','unlink','image','multiimage','|','flash','media']
- });
- });
- </script>
- </head>
- <body>
- <form id="form1" runat="server">
- <div class="box">
- <div class="title">
- <span>
- @文章详细信息</span>
- </div>
- <div class="content">
- <div class="listtable">
- <table style="margin-top: 3px" width="98%" border="0" align="center" cellpadding="0"
- cellspacing="0">
- <tr>
- <td width="100">
- 分类:
- </td>
- <td>
- <div class="left">
- <asp:DropDownList ID="dpCid" runat="server">
- <asp:ListItem Value="0">==请选择==</asp:ListItem>
- </asp:DropDownList>
- <span style="color: Red;">(必填)</span></div>
- </td>
- <td rowspan="3"><div class="left"><asp:Image ID="Image1" runat="server" Width="200px" Height="200px" Visible="false" /></div></td>
- </tr>
- <tr>
- <td>
- 标题:
- </td>
- <td>
- <div class="left">
- <asp:TextBox ID="txtTitle" runat="server" Width="700px"></asp:TextBox> <span
- style="color: Red;">(必填)</span></div>
- </td>
- </tr>
- <tr>
- <td>
- 缩略图信息
- </td>
- <td>
- <div class="left">
- <asp:FileUpload ID="FileUpload1" runat="server" />
-
- <asp:Button ID="btn_UploadImg" runat="server" Style="color: Red;" Text="上传图片" OnClick="Button1_Click" /> <asp:Button
- ID="btn_ClearImg" runat="server" Text="清空图片" OnClick="btn_ClearImg_Click" />
- <br />
- <span style="color: Red;">(如果存在缩略则选择,电视实景展示功能再此处上传图片)</span>
- <asp:HiddenField runat="server" ID="txb_thumbsURL" Value="" />
- <asp:HiddenField runat="server" ID="txb_thumbsSize" Value="" />
- <asp:HiddenField runat="server" ID="txb_FileName" Value="" />
- <asp:HiddenField runat="server" ID="txb_FilteType" Value="" />
- <asp:HiddenField runat="server" ID="txb_FileSize" Value="" />
- <asp:HiddenField runat="server" ID="txb_FileUrl" Value="" />
- </div>
- </td>
- </tr>
- <tr>
- <td>
- 内容:
- </td>
- <td colspan="2">
- <div class="left">
- <textarea runat="server" id="txtContent" name="txtContent" cols="45" rows="3" style="width: 850px;
- height: 450px;"></textarea>
- </div>
- </td>
- </tr>
- <tr>
- <td>
- 操作:
- </td>
- <td colspan="2">
- <div class="left">
- <asp:Button ID="btnEdit" runat="server" Text=" 保 存 " OnClick="btnEdit_Click" />
- </div>
- <asp:Label ID="labID" runat="server" Text="0" Visible="false"></asp:Label>
- </td>
- </tr>
- </table>
- </div>
- </div>
- </div>
- </form>
- </body>
- </html>
|