代码修改后的版本,全部提交
This commit is contained in:
86
Mtxfw.shop/_Admin/admin_ads_eadd.aspx
Normal file
86
Mtxfw.shop/_Admin/admin_ads_eadd.aspx
Normal file
@@ -0,0 +1,86 @@
|
||||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="admin_ads_eadd.aspx.cs" Inherits="Mtxfw.shop._Admin.admin_ads_eadd" %>
|
||||
|
||||
<!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 runat="server">
|
||||
<title></title>
|
||||
<link href="css/style.css" rel="stylesheet" type="text/css" />
|
||||
<link href="css/Burgundy.css" rel="stylesheet" type="text/css" />
|
||||
<script src="/scripts/jquery-1.7.2.js" type="text/javascript"></script>
|
||||
<script src="/artDialog/artDialog.js?skin=default" type="text/javascript"></script>
|
||||
<script src="/artDialog/iframeTools.js" type="text/javascript"></script>
|
||||
<script type="text/javascript">
|
||||
var open = function (url) {
|
||||
art.dialog.open(url, {
|
||||
title: '插入图片',
|
||||
width: '600px',
|
||||
height: '400px',
|
||||
lock: true,
|
||||
id: 'dg_test34243'
|
||||
});
|
||||
};
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
|
||||
var DeletePic = function (pic, i) {
|
||||
$("#inputTips2 #picli" + i).hide(300);
|
||||
if ($("#hiddenphoto").val() != "") {
|
||||
$("#hiddenphoto").val($("#hiddenphoto").val().replace(pic, ""));
|
||||
|
||||
}
|
||||
};
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<div class="main">
|
||||
<div class="bt1">广告管理 - <%=TitName %></div>
|
||||
<div class="bt2">
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="bt3">
|
||||
<table width="100%" class="addtable">
|
||||
|
||||
<tr>
|
||||
<th width="10%"> 广告名称:</th>
|
||||
<td>
|
||||
<asp:TextBox ID="Text_AdsName" Columns="40" runat="server"></asp:TextBox>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th> 广告地址:</th>
|
||||
<td>
|
||||
<asp:TextBox ID="Text_AdsUrl" Text="http://" Columns="40" runat="server"></asp:TextBox>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th> 默认图片:</th>
|
||||
<td>
|
||||
<input name="hiddenphoto" id="hiddenphoto" type="hidden" value="" runat="server" />
|
||||
|
||||
<div id="inputTips2"><%=strimg %></div><br><br><a href="javascript:open('insertimage.aspx')" class="selectpica">插入图片</a> <span id="spanImg">较好的效果长宽比例为:720*720像素</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th> 广告排序</th>
|
||||
<td>
|
||||
<asp:TextBox ID="Text_AdsSort" Width="60" Text="0" runat="server"></asp:TextBox>
|
||||
<font color="red">匹配数字 越大越排后</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th></th>
|
||||
<td>
|
||||
<asp:Button ID="Btn_Insert" runat="server" CssClass="savebtn" Text="添加" />
|
||||
<asp:Button ID="Btn_Update" runat="server" CssClass="savebtn" Text="更新" />
|
||||
<input id="btn_back" type="button" value="返回" class="returnbtn" onclick="history.go(-1)" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user