首页 新闻 搜索 专区 学院

我使用SVN更新后的项目出现了一千多个重复定义等错误,不知道为什么

0
[已解决问题] 解决于 2016-12-08 14:50

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="Index" %>

<%@ Register Src="control/Search.ascx" TagName="Search" TagPrefix="uc7" %>
<%@ Register Src="control/Bottom.ascx" TagName="Bottom" TagPrefix="uc2" %>
<%@ Register Src="control/ParamSearchButton.ascx" TagName="ParamSearchButton" TagPrefix="uc6" %>
<%@ Register Src="control/Top.ascx" TagName="Top" TagPrefix="uc1" %>
<!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="css/website.css" rel="stylesheet" type="text/css" />
<script src="js/swfobject_source.js" type="text/javascript"></script>
<script src="js/jquery-1.5.2.min.js" type="text/javascript"></script>
<script language="javascript" type="text/javascript">
function changeValidateImage(id, url) {
document.getElementById(id).src = url + "?id=" + Math.random();

}

$(function () {
$(".im_tab_cur").hover(function () {
$(".c1").show();
$(".c2").hide();

})

$(".im_tab").hover(function () {
$(".c1").hide();
$(".c2").show();
})

$(".i_tab_cur").hover(function () {
$(".c3").show();
$(".c4").hide();
})

$(".i_tab").hover(function () {
$(".c3").hide();
$(".c4").show();
})

})

</script>
</head>
<body>
<form id="Form1" runat="server">
<uc1:Top ID="top1" runat="server" />
<uc7:Search ID="Search1" runat="server" />
<div class="wrapB clear">
<div class="hei10"></div>
<div class="f_l w1">
<!--start:左列-->
<div class="f_l w3">
<div class="box2Header">
<img src="images/icon_user.png" /><strong>用户登录</strong>
</div>
<div class="box1Body userLogin he134">
<%if (false==readCookiesToAutoLogin())
{%>
<table border="0" cellpadding="2" cellspacing="0">
<tr>
<td>用户名:</td>
<td>
<asp:TextBox ID="txtUserName" runat="server" style="width:120px;"> </asp:TextBox>
</td>
</tr>
<tr>
<td>密&nbsp;&nbsp;码:</td>
<td>
<asp:TextBox ID="txtPwd" TextMode="Password" runat="server" style="width:120px"></asp:TextBox>
</td>
</tr>
<tr id="validateTab" visible="false" runat="server">
<td>验证码:</td>
<td>
<asp:TextBox ID="validateCode" runat="server" style="width:64px"> </asp:TextBox>
<img id="imgValidate" src="control/ValidateCode.aspx?random=<%=random %>" alt="验证码,看不清楚?请点击刷新验证码" height="21" align="absmiddle" style="cursor : pointer;" onClick="changeValidateImage(this.id,'control/ValidateCode.aspx')" contenteditable="false" start=""/>
</td>
</tr>
<tr>
<td colspan="2" style=" text-align:center">
<table border="0" cellpadding="2" cellspacing="0">
<tr>
<td>
<asp:CheckBox ID="CheckBoxAutoSave" runat="server" /><label for="CheckBoxAutoSave">两周内自动登录</label>
</td>
<td>
<asp:ImageButton ID="ImageButton2" ImageUrl="images/btnLogin.jpg" OnClick="btnLogin_Click" runat="server"/>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2" style=" text-align:center">
<table border="0" cellpadding="2" cellspacing="0">
<tr>
<td><a href="regist/mima.aspx">忘记密码?</a></td>
<td><a href="regist/user_reg1.aspx">用户注册</a></td>
</tr>
</table>
</td>
</tr>
</table>
<%}else{%>
<table border="0" cellpadding="2" cellspacing="0" width="100%">
<tr>
<td style="text-align:center; padding-top:30px; padding-bottom:20px;">
<span style="color:Red"><% =l.UserName %></span> 您好!
</td>
</tr>
<tr>
<td style="text-align:center">
<a href="manager/Default.aspx">进入管理页面</a>
&nbsp;&nbsp;&nbsp;&nbsp;
<a href="logout.aspx">注销</a>
</td>
</tr>
</table>
<%}%>
</div>
<div class="mgt5"><a href="lcsb.aspx"><img src="images/ad1.jpg" /></a></div>
<!----start:通知公告-------->
<div class="box1Header mgt10">
<div class="t_tzgg f_l"></div>
<div class="f_r"><a href="List.aspx?newsType=2" class="more1">更多>></a></div>
</div>
<div class="box1Body">
<%-- <div id="tz">
<ul id="tz1"> --%>
<ul id="tz1"class="boxHome2 he200" style="height:200px;">
<asp:Repeater ID="Repeater通知公告" runat="server">
<ItemTemplate>
<li><a href="Info.aspx?newsID=<%#Eval("ID")%>" title="<%#Eval("Title")%>" target="_blank"><%#Eval("Title")%></a></li>
</ItemTemplate>
</asp:Repeater>
</ul>
<%-- </ul>
<ul id="tz2"></ul>
</div>--%>
</div>
<!----end:通知公告-------->
<!----start:下载中心-------->
<div class="box1Header mgt10">
<div class="t_xzzx f_l"></div>
<div class="f_r"><a href="List.aspx?newsType=7" class="more1">更多>></a></div>
</div>
<div class="box1Body">
<ul class="boxHome2 he200">
<asp:Repeater ID="Repeater下载中心" runat="server">
<ItemTemplate>
<li><a href="Info.aspx?newsID=<%#Eval("ID")%>" title="<%#Eval("Title")%>" target="_blank"><%#Eval("Title")%></a></li>
</ItemTemplate>
</asp:Repeater>
</ul>
</div>
<!----end:下载中心-------->
</div>
<!--end:左列-->
<!--start:中列-->
<div class="f_r w4">
<div id="picnews" class="picnews"></div><!--------图片尺寸:450*235px----------->
<!-----start:项目动态--------->
<div class="box1Header mgt10">
<div class="t_xmdt f_l"></div>
<div class="f_l imtab_title" style="width:308px;">
<div id="tab02">
<%-- <div class="im_tab_cur test"><span>在研项目</span></div>
<div class="im_tab test"><span>科研获奖</span></div>--%>
</div>
<div class="f_r c1" style="float:right"><a href="List.aspx?newsType=4" class="more1">更多>></a></div>
<div class="f_r c2" style="float:right;display:none"><a href="List.aspx?newsType=3" class="more1">更多>></a></div>
</div>
</div>
<div class="box1Body clear">
<div id="tabCon02">
<ul class="boxList33 he200" style="margin-top:0;height:458px;padding-top:0;">
<asp:Repeater ID="Repeater在研项目" runat="server">
<ItemTemplate>
<li><span class="f_r time1"><%#com.tt.util.common.DataConvert.getDbValueToShortDate(Eval("FWSJ"))%></span><a href="Info.aspx?newsID=<%#Eval("ID")%>" title="<%#Eval("Title")%>" target="_blank"><%#Eval("Title")%></a></li>
</ItemTemplate>
</asp:Repeater>
</ul>
<%--<ul class="boxList33 he200" style="display:none;margin-top:0;height:206px;padding-top:0;">
<asp:Repeater ID="Repeater科研获奖" runat="server">
<ItemTemplate>
<li><span class="f_r time1"><%#com.tt.util.common.DataConvert.getDbValueToShortDate(Eval("FWSJ"))%></span><a href="Info.aspx?newsID=<%#Eval("ID")%>" title="<%#Eval("Title")%>" target="_blank"><%#Eval("Title")%></a></li>
</ItemTemplate>
</asp:Repeater>
</ul>--%>
</div>
</div>
<!-----end:项目动态--------->
<!-----start:公示信息--------->
<%--<div class="box1Header mgt10">
<div class="t_kjbd f_l"></div>
<div class="f_r"><a href="List.aspx?newsType=5" class="more1">更多>></a></div>
</div>
<div class="box1Body clear">
<ul class="boxList33 he200" style="margin-top:0;height:206px;padding-top:0;">
<asp:Repeater ID="Repeater公示信息" runat="server">
<ItemTemplate>
<li><span class="f_r time1"><%#com.tt.util.common.DataConvert.getDbValueToShortDate(Eval("FWSJ"))%></span><a href="Info.aspx?newsID=<%#Eval("ID")%>" title="<%#Eval("Title")%>" target="_blank"><%#Eval("Title")%></a></li>
</ItemTemplate>
</asp:Repeater>
</ul>
</div>--%>
<!-----end:公示信息--------->
</div>
<!--end:中列-->
</div>
<!--start:右列-->
<div class="f_r w2">
<!-----start:行业动态--------->
<div class="box1Header">
<div class="t_kyxw f_l"></div>
<div class="f_r"><a href="List.aspx?newsType=1" class="more1">更多>></a></div>
</div>
<div class="box1Body">
<ul class="boxHome he192">
<asp:Repeater ID="Repeater行业动态" runat="server">
<ItemTemplate>
<li><a href="Info.aspx?newsID=<%#Eval("ID")%>" title="<%#Eval("Title")%>" target="_blank"><%#Eval("Title")%></a></li>
</ItemTemplate>
</asp:Repeater>
</ul>
</div>
<!-----end:行业动态--------->
<!-----start:政策法规--------->
<div class="box1Header mgt10">
<div class="t_kyzd f_l"></div>
<div class="f_r"><a href="List.aspx?newsType=6" class="more1">更多>></a></div>
</div>
<div class="box1Body">
<ul class="boxHome he144">
<asp:Repeater ID="Repeater政策法规" runat="server">
<ItemTemplate>
<li><a href="Info.aspx?newsID=<%#Eval("ID")%>" title="<%#Eval("Title")%>" target="_blank"><%#Eval("Title")%></a></li>
</ItemTemplate>
</asp:Repeater>
</ul>
</div>
<!----end:政策法规--------->
<!----start:科技互动--------->
<div class="mgt5">
<div class="itab_title">
<div class="f_l" id="tab01">
<div class="i_tab_cur"><span>成果转让</span></div>
<div class="i_tab"><span>科研求助</span></div>
</div>
<div class="f_r c3"><a href="List.aspx?newsType=99" class="more1">更多>></a></div>
<div class="f_r c4" style="display:none"><a href="manager/keyancg/kybz.aspx" class="more1">更多>></a></div>
</div>
<div class="box1Body">
<div id="tabCon01">
<ul class="boxHome he123">
<asp:Repeater ID="Repeater成果转让" runat="server">
<ItemTemplate>
<li><a href="Info.aspx?newsID=<%#Eval("ID")%>" title="<%#Eval("Title")%>" target="_blank"><%#Eval("Title")%></a></li>
</ItemTemplate>
</asp:Repeater>
</ul>
<ul class="boxHome he123" style="display:none">
<asp:Repeater ID="Repeater2" runat="server">
<ItemTemplate>
<li><a href="./manager/keyancg/Kyqz_ll.aspx?id=<%#Eval("Kyqz_lbID")%>" title="<%#Eval("Kyqz_title")%>" target="_blank"><%#Eval("Kyqz_title")%></a></li>
</ItemTemplate>
</asp:Repeater>
</ul>
</div>
</div>
</div>
<%if(this.getLoginUser().UserID>0){%>
<!----end:科技互动--------->
<div class="mgt5">
<div><a href="manager/Default.aspx?menu1=1&menu2=2"><img src="images/btnXmsb.jpg" /></a></div>
<div><a href="manager/Default.aspx?menu1=4&menu2=1"><img src="images/btnCgsb.jpg" /></a></div>
<div><a href="manager/Default.aspx?menu1=4&menu2=2"><img src="images/btnCgtg.jpg" /></a></div>
</div>
<%}else{ %>
<div><a href="javascript:alert('请先登录!');"><img src="images/btnXmsb.jpg" /></a></div>
<div><a href="javascript:alert('请先登录!');"><img src="images/btnCgsb.jpg" /></a></div>
<div><a href="javascript:alert('请先登录!')"><img src="images/btnCgtg.jpg" /></a></div>
<%} %>
</div>
<!--end:右列-->
</div>

<uc2:Bottom id="Bottom1" runat="server"/>
<script language="javascript" type="text/javascript"> //获取焦点图

var titles = '<%=title %>';
var imgs = '<%=imgs %>';
var urls = '<%=urls %>';
var pw = 448;
var ph = 233;
var sizes = 12;
var Times = 4000;
var umcolor = 0xFFFFFF;
var btnbg = 0xFF7E00;
var txtcolor = 0xFFFFFF;
var txtoutcolor = 0x000000;
var flash = new SWFObject('images/focus1.swf', 'mymovie', pw, ph, '3', '');
flash.addParam('allowFullScreen', 'true');
flash.addParam('allowScriptAccess', 'always');
flash.addParam('quality', 'high');
flash.addParam('wmode', 'Transparent');
flash.addVariable('pw', pw);
flash.addVariable('ph', ph);
flash.addVariable('sizes', sizes);
flash.addVariable('umcolor', umcolor);
flash.addVariable('btnbg', btnbg);
flash.addVariable('txtcolor', txtcolor);
flash.addVariable('txtoutcolor', txtoutcolor);
flash.addVariable('urls', urls);
flash.addVariable('Times', Times);
flash.addVariable('titles', titles);
flash.addVariable('imgs', imgs);
flash.write('picnews');
</script>

<!--无缝滚动-->

<script type="text/javascript"> //Tab
function tabAction1(parNode, parCon) {
var tabs = document.getElementById(parNode).getElementsByTagName("div");
var tabLength = tabs.length;
var tabCon = document.getElementById(parCon).getElementsByTagName("ul");
var tabConLength = tabCon.length;
//初始化tab和tab content
function initTab() {
for (var i = 0; i < tabLength; i++) {
tabs[i].className = "i_tab";
}
tabs[tabLength - 1].className = "i_tab";
}
function initTabCon() {
for (var i = 0; i < tabConLength; i++) {
tabCon[i].style.display = "none";
}
}
for (var i = 0; i < tabLength; i++) {
tabs[i].theI = i;
tabs[i].onmouseover = function () {
var theI = this.theI;
//被点击的tab显示为选中状态,同时显示相应的content
initTab();
initTabCon();
this.className = "i_tab_cur";
tabCon[theI].style.display = "block";
//判断被点击tab的前一个tab,在非IE中可能为文本节点
if (this.previousSibling) {
var preObj = this.previousSibling;
if (this.previousSibling.nodeType == 1) {
preObj.className = "i_tab";
}
else if (this.previousSibling.nodeType == 3 && this.previousSibling.previousSibling) {
preObj = this.previousSibling.previousSibling;
preObj.className = "i_tab";
}
}
//去掉锚点的虚线框
this.childNodes[0].blur();
}
}
}
tabAction1("tab01", "tabCon01");

function tabAction(parNode, parCon) {
var tabs = document.getElementById(parNode).getElementsByTagName("div");
var tabLength = tabs.length;
var tabCon = document.getElementById(parCon).getElementsByTagName("ul");
var tabConLength = tabCon.length;
//初始化tab和tab content
function initTab() {
for (var i = 0; i < tabLength; i++) {
tabs[i].className = "im_tab";
}
tabs[tabLength - 1].className = "im_tab";
}
function initTabCon() {
for (var i = 0; i < tabConLength; i++) {
tabCon[i].style.display = "none";
}
}
for (var i = 0; i < tabLength; i++) {
tabs[i].theI = i;
tabs[i].onmouseover = function () {
var theI = this.theI;
//被点击的tab显示为选中状态,同时显示相应的content
initTab();
initTabCon();
this.className = "im_tab_cur";
tabCon[theI].style.display = "block";
//判断被点击tab的前一个tab,在非IE中可能为文本节点
if (this.previousSibling) {
var preObj = this.previousSibling;
if (this.previousSibling.nodeType == 1) {
preObj.className = "im_tab";
}
else if (this.previousSibling.nodeType == 3 && this.previousSibling.previousSibling) {
preObj = this.previousSibling.previousSibling;
preObj.className = "im_tab";
}
}
//去掉锚点的虚线框
this.childNodes[0].blur();
}
}
}
tabAction("tab02", "tabCon02");
//tabAction("tab03","tabCon03");
</script>
</form>
</body>
</html>

姚刘乐的主页 姚刘乐 | 初学一级 | 园豆:70
提问于:2016-11-16 13:48
< >
分享
最佳答案
0

实话说你这个代码不知道有什么意义,建议

1. 还原一下

2. 删掉本地库,重新检出

奖励园豆:5
浴子风 | 小虾三级 |园豆:523 | 2016-11-16 13:55
其他回答(1)
0

team clean 如果还不行就重新检出吧

长东 | 园豆:202 (菜鸟二级) | 2016-11-16 23:08
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册