<%@ LANGUAGE = "VBScript.Encode" codepage="65001" %>
<!--
'##################################################################                                                                 
'★         web08.net - 威博购物系统                                              
'★  版权所有: web08.net                                                                                                       
'★  程序制作: 威博网络技术公司                                     
'★           email:web08net@hotmail.com                           
'★            Q Q :645095280,475980829 
'★	       电话:021-55520018                                                                                                         
'★  相关网址: [产品介绍] http://www.021web.com.cn/gwxt.html
'★            [支持论坛] http://bbs.web08.net/                                                                                     
'★  主页地址: http://www.web08.net/  
'★		http://www.021web.com.cn/			                                                                 
'###################################################################
-->
<html>
<head>
<title>其他系统-威博多用户商城后台管理系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="../css/css.css" rel="stylesheet" type="text/css">
</head>
<style>
body{
font-size:12px;
}
</style>
<div id="mytips" style="position:absolute;border:1px solid #FF9900;padding:0px 3px;color:#FF9900;display:none;height:20px;line-height:20px;background:#FFCC80; color:#00000"></div>
<!--#include file=../include2.asp-->
<%#@~^DwAAAA==v&/)9:bx`rF+{J*/wMAAA==^#~@%>
<body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 class="background" onLoad="LoadFinish()">
<!-- #include file="../loading2.asp" -->
<center>
<!--#include file="../other/web_other_include.asp"-->
<div class="div-top">
<span class="right-span"><a href="javascript:history.go(-1);"><font color="#990000">返回友情链接管理</font></a>&nbsp;&nbsp;</span>
<span class="left-span">&nbsp;&nbsp;<strong>管理中心</strong>  - 添加友情链接 </span>
</div>
<div class="tab-div">
<form name="myform" method="post" action="wothersave.asp?action=addlinks">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr bgcolor="#FFFFFF">
  <td width="20%" height="20" align="right" bgcolor="#FFFFFF">&nbsp;</td>
  <td height="20" bgcolor="#FFFFFF">&nbsp;</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="20%" height="30" align="right" bgcolor="#FFFFFF">链接名称：</td>
<td width="80%" bgcolor="#FFFFFF">&nbsp;&nbsp;<input name="name" type="text" id="name" size="50" maxlength="25"></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="30" align="right" bgcolor="#FFFFFF">链接地址：</td>
<td bgcolor="#FFFFFF">&nbsp;&nbsp;<input name="url" type="text"  id="url" size="50"  maxlength="180"></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="30" align="right" bgcolor="#FFFFFF">图片类型：</td>
<td  bgcolor="#FFFFFF">&nbsp;&nbsp;<input name="pictype" type="radio"  onClick="typepic.style.display='';typepic2.style.display='none'" value="1" checked>
本地上传                      </label>
<input type="radio" name="pictype" value="0" onClick="typepic.style.display='none';typepic2.style.display=''" >
远程连接                  </label>                  </td>
</tr>
<tr id="typepic">
<td height="30" align="right" bgcolor="#FFFFFF">本地上传：</td>
<td bgcolor="#FFFFFF">&nbsp;&nbsp;<input name="picurl" type="text" id="picurl" size="50" value="" maxlength="60">
<input type="button" name="Submit4" value="上 传" onClick="javascript:uppic('one','picurl');">

</label></td>
</tr>
<tr style="display:none" id="typepic2">
<td height="30" align="right" bgcolor="#FFFFFF">连接地址：</td>
<td bgcolor="#FFFFFF">&nbsp;&nbsp;<input name="photourl" type="text" id="photourl" size="30" value="" maxlength="60">
</label></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="30" align="right" valign="top" bgcolor="#FFFFFF">站点介绍：</td>
<td bgcolor="#FFFFFF">&nbsp;&nbsp;<textarea name="intro" cols="50" rows="4" id="intro"  ></textarea>                  </td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="30" align="right" valign="top" bgcolor="#FFFFFF">备　　注：</td>
<td bgcolor="#FFFFFF">&nbsp;&nbsp;<textarea name="content" cols="50" rows="4" id="content"  ></textarea></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="30" align="right" bgcolor="#FFFFFF">链接类型：</td>
<td bgcolor="#FFFFFF">&nbsp;&nbsp;<select name="type" class="input11b" id="type">
<option value="0">文字链接</option>
<option value="1">图片链接</option>
</select></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="30" align="right" bgcolor="#FFFFFF">排　　序 
：</td>
<td bgcolor="#FFFFFF">&nbsp;&nbsp;<input name="order" type="text" id="order" value="0" size="8"  ONKEYPRESS="event.returnValue=IsDigit();" maxlength="5">                  </td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="30" align="right" bgcolor="#FFFFFF">&nbsp;</td>
<td height="30" align="left" bgcolor="#FFFFFF"><input type="submit" name="Submit3" value=" 确 定 " onClick="return check()">
  <input type="submit" name="Submit" value=" 取 消 "></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="30" colspan="2" align="center" bgcolor="#FFFFFF">&nbsp;</td>
</tr>
</table></form>
</div>
</center>
<!-- #include file="../bottom2.asp" -->
<script>
function IsDigit()
{
return ((event.keyCode >= 48) && (event.keyCode <= 57));
}
</script>
<script language="JavaScript" type="text/JavaScript">
var oCalendarEn=new PopupCalendar("oCalendarEn");
oCalendarEn.Init();
var oCalendarChs=new PopupCalendar("oCalendarChs");
oCalendarChs.weekDaySting=new Array("日","一","二","三","四","五","六");
oCalendarChs.monthSting=new Array("一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月");
oCalendarChs.oBtnTodayTitle="今天";
oCalendarChs.oBtnCancelTitle="取消";
oCalendarChs.Init();
function uppic(model,frmname) 
{
window.open("../upload/upload.asp?uppath=links&ProdId="+model+"&frmname="+frmname,"upload", " width=550, height=280, resizable=no,menubar=1,scrollbars=1")
}
</script>
<script language=javascript>
<!--
function check()
{
if(document.myform.name.value=="")
{
alert('链接名称不能为空!');
myform.name.focus();
return false;
}
if(document.myform.url.value=="")
{
alert('网站地址不能为空!');
document.myform.url.focus();
return false;
}
if(document.myform.intro.value.length>200)
{
alert('站点介绍的长度不可以超过200字符!');
document.myform.intro.focus();
return false;
}	
}
-->
</script>
</body>
</html>





