LgcCatalogsEdit.jsp 54.6 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917
<%@ page import="weaver.general.Util" %>
<%@ page import="java.util.*" %>

<%@ page language="java" contentType="text/html; charset=UTF-8" %> <%@ include file="/systeminfo/init_wev8.jsp" %>
<jsp:useBean id="RecordSet" class="weaver.conn.RecordSet" scope="page"/>
<jsp:useBean id="ResourceComInfo" class="weaver.hrm.resource.ResourceComInfo" scope="page"/>
<jsp:useBean id="CountryComInfo" class="weaver.hrm.country.CountryComInfo" scope="page"/>
<HTML><HEAD>
<LINK href="/css/Weaver_wev8.css" type=text/css rel=STYLESHEET>
<SCRIPT language="javascript" src="../../js/weaver_wev8.js"></script>
</HEAD>
<%
String id = Util.null2String(request.getParameter("id"));
RecordSet.executeProc("LgcCatalogs_SelectByID",id);
RecordSet.next();
	
	
String catalogname = RecordSet.getString("catalogname") ;
String catalogdesc = RecordSet.getString("catalogdesc") ;
String catalogorder = Util.null2String(RecordSet.getString("catalogorder")) ;
String perpage = Util.null2String(RecordSet.getString("perpage")) ;
String seclevelfrom = Util.null2String(RecordSet.getString("seclevelfrom")) ;
String seclevelto = Util.null2String(RecordSet.getString("seclevelto")) ;
String navibardsp = Util.null2String(RecordSet.getString("navibardsp")) ;
String navibarbgcolor = Util.null2String(RecordSet.getString("navibarbgcolor")) ;
String navibarfontcolor = Util.null2String(RecordSet.getString("navibarfontcolor")) ;
String navibarfontsize = Util.null2String(RecordSet.getString("navibarfontsize")) ;
String navibarfonttype = Util.null2String(RecordSet.getString("navibarfonttype")) ;
String toolbardsp = Util.null2String(RecordSet.getString("toolbardsp")) ;
String toolbarwidth = Util.null2String(RecordSet.getString("toolbarwidth")) ;
String toolbarbgcolor = Util.null2String(RecordSet.getString("toolbarbgcolor")) ;
String toolbarfontcolor = Util.null2String(RecordSet.getString("toolbarfontcolor")) ;
String toolbarlinkbgcolor = Util.null2String(RecordSet.getString("toolbarlinkbgcolor")) ;
String toolbarlinkfontcolor = Util.null2String(RecordSet.getString("toolbarlinkfontcolor")) ;
String toolbarfontsize = Util.null2String(RecordSet.getString("toolbarfontsize")) ;
String toolbarfonttype = Util.null2String(RecordSet.getString("toolbarfonttype")) ;
String countrydsp = Util.null2String(RecordSet.getString("countrydsp")) ;
String countrydeftype = Util.null2String(RecordSet.getString("countrydeftype")) ;
String countryid = Util.null2String(RecordSet.getString("countryid")) ;
String searchbyname = Util.null2String(RecordSet.getString("searchbyname")) ;
String searchbycrm = Util.null2String(RecordSet.getString("searchbycrm")) ;
String searchadv = Util.null2String(RecordSet.getString("searchadv")) ;
String assortmentdsp = Util.null2String(RecordSet.getString("assortmentdsp")) ;
String assortmentname = RecordSet.getString("assortmentname") ;
String assortmentsql = RecordSet.getString("assortmentsql") ;
String attributedsp = Util.null2String(RecordSet.getString("attributedsp")) ;
String attributecol = Util.null2String(RecordSet.getString("attributecol")) ;
String attributefontsize = Util.null2String(RecordSet.getString("attributefontsize")) ;
String attributefonttype = Util.null2String(RecordSet.getString("attributefonttype")) ;
String assetsql =RecordSet.getString("assetsql") ;
String assetcol1 = Util.null2String(RecordSet.getString("assetcol1")) ;
String assetcol2 = Util.null2String(RecordSet.getString("assetcol2")) ;
String assetcol3 = Util.null2String(RecordSet.getString("assetcol3")) ;
String assetcol4 = Util.null2String(RecordSet.getString("assetcol4")) ;
String assetcol5 = Util.null2String(RecordSet.getString("assetcol5")) ;
String assetcol6 = Util.null2String(RecordSet.getString("assetcol6")) ;
String assetfontsize = Util.null2String(RecordSet.getString("assetfontsize")) ;
String assetfonttype = Util.null2String(RecordSet.getString("assetfonttype")) ;
String webshopdap = Util.null2String(RecordSet.getString("webshopdap")) ;
String webshoptype = Util.null2String(RecordSet.getString("webshoptype")) ;
String webshopreturn = Util.null2String(RecordSet.getString("webshopreturn")) ;
String webshopmanageid = Util.null2String(RecordSet.getString("webshopmanageid")) ;
String createrid = Util.toScreenToEdit(RecordSet.getString("createrid"),user.getLanguage()) ;					/*创建人id*/
String createdate = Util.toScreenToEdit(RecordSet.getString("createdate"),user.getLanguage()) ;					/*创建日期*/
String lastmodid = Util.toScreenToEdit(RecordSet.getString("lastmoderid"),user.getLanguage()) ;					/*最后修改人id*/
String lastmoddate = Util.toScreenToEdit(RecordSet.getString("lastmoddate"),user.getLanguage()) ;

boolean canedit = HrmUserVarify.checkUserRight("LgcCatalogsEdit:Edit",user) ;


String temStr="";
temStr+="<B>"+SystemEnv.getHtmlLabelName(125,user.getLanguage())+":&nbsp;</B>"+createdate+"&nbsp;&nbsp;<b>"+SystemEnv.getHtmlLabelName(271,user.getLanguage())+":&nbsp;</b>"+Util.toScreen(ResourceComInfo.getResourcename(createrid),user.getLanguage())+"&nbsp;&nbsp;<B>"+SystemEnv.getHtmlLabelName(103,user.getLanguage())+":&nbsp;</B>"+lastmoddate+"&nbsp;&nbsp;<B>"+SystemEnv.getHtmlLabelName(424,user.getLanguage())+":&nbsp;</B>"+Util.toScreen(ResourceComInfo.getResourcename(lastmodid),user.getLanguage())+"&nbsp;&nbsp;";

String imagefilename = "/images/hdLOG_wev8.gif";
String titlename = SystemEnv.getHtmlLabelName(92,user.getLanguage())+" : "+Util.toScreen(catalogname,user.getLanguage())+"&nbsp;&nbsp;&nbsp;&nbsp;"+temStr;
String needfav ="1";
String needhelp ="";
%>
<BODY>

<%@ include file="/systeminfo/TopTitle_wev8.jsp" %>
<%@ include file="/systeminfo/RightClickMenuConent_wev8.jsp" %>


<table width=100% height=100% border="0" cellspacing="0" cellpadding="0">
<colgroup>
<col width="10">
<col width="">
<col width="10">
<tr>
	<td height="10" colspan="3"></td>
</tr>
<tr>
	<td ></td>
	<td valign="top">
		<TABLE class=Shadow>
		<tr>
		<td valign="top">



<FORM id=frmmain name=frmmain action=LgcCatalogsOperation.jsp  method=post>
 <DIV style="display:none">
  <% if(canedit) {%>
<%
RCMenu += "{"+SystemEnv.getHtmlLabelName(86,user.getLanguage())+",javascript:onEdit(),_top} " ;
RCMenuHeight += RCMenuHeightStep ;
%>
<BUTTON class=BtnSave id=saveB accessKey=S name=SaveB onclick="onEdit()"><U>S</U>-<%=SystemEnv.getHtmlLabelName(86,user.getLanguage())%></BUTTON>
<%}
if(HrmUserVarify.checkUserRight("LgcCatalogsAdd:Add",user)) {%>
<%
RCMenu += "{"+SystemEnv.getHtmlLabelName(365,user.getLanguage())+",javascript:location.href='LgcCatalogsAdd.jsp',_top} " ;
RCMenuHeight += RCMenuHeightStep ;
%>
<BUTTON class=BtnNew id=AddNew accessKey=N onclick='location.href="LgcCatalogsAdd.jsp"'><U>N</U>-<%=SystemEnv.getHtmlLabelName(365,user.getLanguage())%></BUTTON>
<%}
if(HrmUserVarify.checkUserRight("LgcCatalogsEdit:Delete",user)) {%>
<%
RCMenu += "{"+SystemEnv.getHtmlLabelName(91,user.getLanguage())+",javascript:onDelete(),_top} " ;
RCMenuHeight += RCMenuHeightStep ;
%>
<BUTTON class=BtnDelete id=Delete accessKey=D onclick="onDelete()"><U>D</U>-<%=SystemEnv.getHtmlLabelName(91,user.getLanguage())%></BUTTON>
<%}
if(HrmUserVarify.checkUserRight("LgcCatalogs:Log",user)) {%>
<%
RCMenu += "{"+SystemEnv.getHtmlLabelName(83,user.getLanguage())+",javascript:location='/systeminfo/SysMaintenanceLog.jsp?sqlwhere=where operateitem =52 and relatedid="+id+"',_top} " ;
RCMenuHeight += RCMenuHeightStep ;
%>
<BUTTON class=BtnLog accessKey=L name=button2 onclick="location='/systeminfo/SysMaintenanceLog.jsp?sqlwhere=where operateitem =52 and relatedid=<%=id%>'"><U>L</U>-<%=SystemEnv.getHtmlLabelName(83,user.getLanguage())%></BUTTON>
<%}%>
  </div>
  <input type=hidden name=operation>
  <input type=hidden name=id value="<%=id%>">
  <TABLE class=ViewForm>
    <COLGROUP> <COL width="49%"> <COL width=10> <COL width="49%"> <TBODY> 
    <TR class=Title> 
      <TH colSpan=3>基本信息</TH>
    </TR>
    <TR class=Spacing> 
      <TD class=Line1 colSpan=3></TD>
    </TR>
    <TR> 
      <TD vAlign=top> 
        <TABLE class=ViewForm>
          <COLGROUP> <COL width=150> <TBODY> 
          <TR> 
            <TD>名称</TD>
            <TD class=Field> 
			<% if(canedit) {%>
              <INPUT  class=InputStyle maxLength=30 onchange='checkinput("catalogname","catalognameimage")'
            size=30 name=catalogname value="<%=Util.toScreenToEdit(catalogname,user.getLanguage())%>">
              <SPAN id=catalognameimage></SPAN>
			 <%} else {%> <%=Util.toScreen(catalogname,user.getLanguage())%><%}%>
			  </TD>
          </TR><tr><td class=Line colspan=4></td></tr>
          <TR> 
            <TD>说明</TD>
            <TD class=Field> <nobr> 
              <% if(canedit) {%>
              <INPUT class=InputStyle maxLength=60 onchange='checkinput("catalogdesc","catalogdescimage")'
            size=40 name=catalogdesc value="<%=Util.toScreenToEdit(catalogdesc,user.getLanguage())%>">
              <SPAN id=catalogdescimage></SPAN>
              <%} else {%>
              <%=Util.toScreen(catalogdesc,user.getLanguage())%> 
              <%}%>
              </TD>
          </TR><tr><td class=Line colspan=4></td></tr>
          <TR> 
            <TD>顺序</TD>
            <TD class=Field> 
              <% if(canedit) {%>
              <INPUT class=InputStyle id=catalogorder size=4 value=<%=catalogorder%> name=catalogorder onKeyPress="ItemCount_KeyPress()" onBlur='checknumber("catalogorder")'>
              <%} else {%>
              <%=catalogorder%>
              <%}%>
            </TD>
          </TR><tr><td class=Line colspan=4></td></tr>
          <TR> 
            <TD>每页记录</TD>
            <TD class=Field> 
              <% if(canedit) {%>
              <INPUT class=InputStyle id=perpage size=10 value=<%=perpage%> name=perpage onKeyPress="ItemCount_KeyPress()" onBlur='checknumber("perpage")'>
              <%} else {%>
              <%=perpage%> 
              <%}%>
            </TD>
          </TR><tr><td class=Line colspan=4></td></tr>
          </TBODY> 
        </TABLE>
      </TD>
      <TD></TD>
      <TD vAlign=top> 
        <TABLE class=ViewForm>
          <tr> 
            <td width="65">安全级别,从</td>
            <td class=Field width="187"> 
              <% if(canedit) {%>
              <input class=InputStyle id=seclevelfrom size=10 value=<%=seclevelfrom%> name=seclevelfrom onKeyPress="ItemCount_KeyPress()" onBlur='checknumber("seclevelfrom");checkinput("seclevelfrom","seclevelfromimage")'>
              <span id=seclevelfromimage>
              <%} else {%>
              <%=seclevelfrom%> 
              <%}%>
              </span> </td>
          </TR><tr><td class=Line colspan=4></td></tr>
          <tr> 
            <td width="65">安全级别,到</td>
            <td class=Field width="187"> 
              <% if(canedit) {%>
              <input class=InputStyle id=seclevelto size=10 value=<%=seclevelto%> name=seclevelto onKeyPress="ItemCount_KeyPress()" onBlur='checknumber("seclevelto");checkinput("seclevelto","secleveltoimage")'>
              <span id=secleveltoimage>
              <%} else {%>
              <%=seclevelto%> 
              <%}%>
              </span> </td>
          </TR><tr><td class=Line colspan=4></td></tr>
          <COLGROUP> <COL width=150> <TBODY> </TBODY> 
        </TABLE>
      </TD>
    </TR>
    <!-- Color & Layout -->
    <TR class=Title> 
      <TH>导航条</TH>
      <TH>&nbsp;</TH>
      <TH>工具条</TH>
    </TR>
    <TR class=Spacing> 
      <TD class=Line1 colSpan=3></TD>
    </TR>
    <TR> 
      <TD vAlign=top> 
        <table class=ViewForm>
          <tr> 
            <td>显示</td>
            <td class=Field colSpan=3> 
              <% if(canedit) {%>
              <select class=InputStyle id=navibardsp  name=navibardsp>
                <option value="1" <%if(navibardsp.equals("1")) {%> selected <%}%>>最高</option>
                <option value="2" <%if(navibardsp.equals("2")) {%> selected <%}%>>工具条</option>
                <option value="3" <%if(navibardsp.equals("3")) {%> selected <%}%>>隐藏</option>
              </select>
              <%} else {
			  if(navibardsp.equals("1")) {%> 最高
			  <%} else if(navibardsp.equals("2")) {%> 工具条
			  <%} else if(navibardsp.equals("3")) {%> 隐藏
              <%}}%>
            </td>
          </TR><tr><td class=Line colspan=4></td></tr>
          <tr> 
            <td>背景颜色</td>
            <td class=Field>
              <table border=0 cellspacing=0 cellpadding=0>
                <tr> 
                  <td><% if(canedit) {%><button class=Browser id=SelectColor onClick="SelectTheColor(navibarbgcolorspan,navibarbgcolor)"></button><%}%></td>
                  <td> 
                    <table border=1 cellspacing=0 cellpadding=0 bordercolor=black>
                      <tr>
                        <td style="border:1px" id=navibarbgcolorspan bgcolor="#<%=navibarbgcolor%>">&nbsp;&nbsp;&nbsp;&nbsp;</td>
                      </tr>
                    </table>
                  </td>
                </TR><tr><td class=Line colspan=4></td></tr>
              </table>
			  <input type=hidden id=navibarbgcolor name="navibarbgcolor" value="<%=navibarbgcolor%>">
            </td>
            <td>字体颜色</td>
            <td class=Field><table border=0 cellspacing=0 cellpadding=0>
                <tr> 
                  <td><% if(canedit) {%><button class=Browser id=SelectColor onClick="SelectTheColor(navibarfontcolorspan,navibarfontcolor)"></button><%}%></td>
                  <td> 
                    <table border=1 cellspacing=0 cellpadding=0 bordercolor=black>
                      <tr>
                        <td style="border:1px" id=navibarfontcolorspan bgcolor="#<%=navibarfontcolor%>">&nbsp;&nbsp;&nbsp;&nbsp;</td>
                      </tr>
                    </table>
                  </td>
                </TR><tr><td class=Line colspan=4></td></tr>
              </table>
			  <input type=hidden id=navibarfontcolor name="navibarfontcolor" value="<%=navibarfontcolor%>">
            </td>
          </TR><tr><td class=Line colspan=4></td></tr>
          <tr> 
            <td>字体大小</td>
            <td class=Field> 
              <% if(canedit) {%>
              <select class=InputStyle id=navibarfontsize name=navibarfontsize>
                <option value=10pt <%if(navibarfontsize.equals("10pt")) {%> selected <%}%>>medium</option>
                <option value=9pt <%if(navibarfontsize.equals("9pt")) {%> selected <%}%>>x-small</option>
                <option value=8pt <%if(navibarfontsize.equals("8pt")) {%> selected <%}%>>xx-small</option>
              </select>
              <%} else {
			  if(navibarfontsize.equals("10pt")) {%>medium
              <%} else if(navibarfontsize.equals("9pt")) {%>x-small
              <%} else if(navibarfontsize.equals("8pt")) {%>xx-small
              <%}}%>
            </td>
            <td>类型</td>
            <td class=Field> 
              <% if(canedit) {%>
              <select class=InputStyle id=navibarfonttype name=navibarfonttype>
                <option value=normal <%if(navibarfonttype.equals("normal")) {%> selected <%}%>>正常</option>
                <option value=bold <%if(navibarfonttype.equals("bold")) {%> selected <%}%>>粗体</option>
              </select>
			  <%} else {
			  if(navibarfonttype.equals("normal")) {%>正常
              <%} else if(navibarfonttype.equals("bold")) {%>粗体
              <%}}%>
            </td>
          </TR><tr><td class=Line colspan=4></td></tr>
        </table>
      </TD>
      <TD></TD>
      <TD vAlign=top> 
        <table class=ViewForm>
          <colgroup> <col width=150> <tbody> 
          <tr> 
            <td>显示</td>
            <td class=Field colspan=3> 
              <% if(canedit) {%>
              <select class=InputStyle id=toolbardsp name=toolbardsp>
                <option value="1" <%if(toolbardsp.equals("1")) {%> selected <%}%>>左页</option>
                <option value="2" <%if(toolbardsp.equals("2")) {%> selected <%}%>>右页</option>
                <option value="3" <%if(toolbardsp.equals("3")) {%> selected <%}%>>隐藏</option>
              </select>
              <%} else {
			  if(toolbardsp.equals("1")) {%>左页 
              <%} else if(toolbardsp.equals("2")) {%>右页 
              <%} else if(toolbardsp.equals("3")) {%>隐藏 
              <%}}%>
            </td>
          </TR><tr><td class=Line colspan=4></td></tr>
          <tr> 
            <td>宽度</td>
            <td class=Field colspan=3> 
              <% if(canedit) {%>
              <input class=InputStyle id=toolbarwidth size=10 value=<%=toolbarwidth%> name=toolbarwidth onKeyPress="ItemCount_KeyPress()" onBlur='checknumber("toolbarwidth")'>
              <%} else {%>
              <%=toolbarwidth%> 
              <%}%>
            </td>
          </TR><tr><td class=Line colspan=4></td></tr>
          <tr> 
            <td>背景颜色</td>
            <td class=Field><table border=0 cellspacing=0 cellpadding=0>
                <tr> 
                  <td><% if(canedit) {%><button class=Browser id=SelectColor onClick="SelectTheColor(toolbarbgcolorspan,toolbarbgcolor)"></button><%}%></td>
                  <td> 
                    <table border=1 cellspacing=0 cellpadding=0 bordercolor=black>
                      <tr>
                        <td style="border:1px" id=toolbarbgcolorspan bgcolor="#<%=toolbarbgcolor%>">&nbsp;&nbsp;&nbsp;&nbsp;</td>
                      </tr>
                    </table>
                  </td>
                </TR><tr><td class=Line colspan=4></td></tr>
              </table>
			  <input type=hidden id=toolbarbgcolor name="toolbarbgcolor" value="<%=toolbarbgcolor%>">
            </td>
            <td>字体颜色</td>
            <td class=Field><table border=0 cellspacing=0 cellpadding=0>
                <tr> 
                  <td><% if(canedit) {%><button class=Browser id=SelectColor onclick="SelectTheColor(toolbarfontcolorspan,toolbarfontcolor)"></button><%}%></td>
                  <td> 
                    <table border=1 cellspacing=0 cellpadding=0 bordercolor=black>
                      <tr>
                        <td style="border:1px" id=toolbarfontcolorspan bgcolor="#<%=toolbarfontcolor%>">&nbsp;&nbsp;&nbsp;&nbsp;</td>
                      </tr>
                    </table>
                  </td>
                </TR><tr><td class=Line colspan=4></td></tr>
              </table>
			  <input type=hidden id=toolbarfontcolor name="toolbarfontcolor" value="<%=toolbarfontcolor%>">
            </td>
          </TR><tr><td class=Line colspan=4></td></tr>
          <tr> 
            <td>链接背景颜色</td>
            <td class=Field>
			<table border=0 cellspacing=0 cellpadding=0>
                <tr> 
                  <td><% if(canedit) {%><button class=Browser id=SelectColor onclick="SelectTheColor(toolbarlinkbgcolorspan,toolbarlinkbgcolor)"></button><%}%></td>
                  <td> 
                    <table border=1 cellspacing=0 cellpadding=0 bordercolor=black>
                      <tr>
                        <td style="border:1px" id=toolbarlinkbgcolorspan bgcolor="#<%=toolbarlinkbgcolor%>">&nbsp;&nbsp;&nbsp;&nbsp;</td>
                      </TR><tr><td class=Line colspan=4></td></tr>
                    </table>
                  </td>
                </TR><tr><td class=Line colspan=4></td></tr>
              </table>
			  <input type=hidden id=toolbarlinkbgcolor name="toolbarlinkbgcolor" value="<%=toolbarlinkbgcolor%>">
            </td>
            <td>链接字体颜色</td>
            <td class=Field><table border=0 cellspacing=0 cellpadding=0>
                <tr> 
                  <td><% if(canedit) {%><button class=Browser id=SelectColor onclick="SelectTheColor(toolbarlinkfontcolorspan,toolbarlinkfontcolor)"></button><%}%></td>
                  <td> 
                    <table border=1 cellspacing=0 cellpadding=0 bordercolor=black>
                      <tr>
                        <td style="border:1px" id=toolbarlinkfontcolorspan bgcolor="#<%=toolbarlinkfontcolor%>">&nbsp;&nbsp;&nbsp;&nbsp;</td>
                      </TR><tr><td class=Line colspan=4></td></tr>
                    </table>
                  </td>
                </TR><tr><td class=Line colspan=4></td></tr>
              </table>
			  <input type=hidden id=toolbarlinkfontcolor name="toolbarlinkfontcolor" value="<%=toolbarlinkfontcolor%>">
            </td>
          </TR><tr><td class=Line colspan=4></td></tr>
          <tr> 
            <td>字体大小</td>
            <td class=Field> 
              <% if(canedit) {%>
              <select class=InputStyle id=toolbarfontsize name=toolbarfontsize>
                <option value=10pt <%if(toolbarfontsize.equals("10pt")) {%> selected <%}%>>medium</option>
                <option value=9pt <%if(toolbarfontsize.equals("9pt")) {%> selected <%}%>>x-small</option>
                <option value=8pt <%if(toolbarfontsize.equals("8pt")) {%> selected <%}%>>xx-small</option>
              </select>
              <%} else {
			  if(toolbarfontsize.equals("10pt")) {%>
              medium 
              <%} else if(toolbarfontsize.equals("9pt")) {%>
              x-small 
              <%} else if(toolbarfontsize.equals("8pt")) {%>
              xx-small 
              <%}}%>
            </td>
            <td>类型</td>
            <td class=Field> 
              <% if(canedit) {%>
              <select class=InputStyle id=toolbarfonttype name=toolbarfonttype>
                <option value=normal <%if(toolbarfonttype.equals("normal")) {%> selected <%}%>>正常</option>
                <option value=bold <%if(toolbarfonttype.equals("bold")) {%> selected <%}%>>粗体</option>
              </select>
              <%} else {
			  if(toolbarfonttype.equals("normal")) {%>
              正常 
              <%} else if(toolbarfonttype.equals("bold")) {%>
              粗体 
              <%}}%>
            </td>
          </TR><tr><td class=Line colspan=4></td></tr>
          </tbody> 
        </table>
      </TD>
    </TR>
    <TR class=Title> 
      <TH>链接显示</TH>
      <TH></TH>
      <TH>属性</TH>
    </TR>
    <TR class=Spacing> 
      <TD class=Line1 colSpan=3></TD>
    </TR>
    <TR> 
      <TD vAlign=top> 
        <table class=ViewForm>
          <colgroup> <col width=150> <tbody> 
          <tr> 
            <td>国家</td>
            <td class=Field colspan="3"> 
              <input class=InputStyle id=countrydsp type=checkbox name="countrydsp" value="1" <%if(countrydsp.equals("1")) {%> checked <%} if(!canedit) {%> disabled <%}%> >
            </td>
          </TR><tr><td class=Line colspan=4></td></tr>
          <tr> 
            <td>- 默认</td>
            <td class=Field colspan=3> 
              <% if(canedit) {%>
              <select class=InputStyle id=countrydeftype name=countrydeftype>
                <option value=0 <%if(countrydeftype.equals("0")) {%> selected <%}%>>人力资源</option>
                <option value=1 <%if(countrydeftype.equals("1")) {%> selected <%}%>>固定</option>
              </select>
              <%} else {
			  if(countrydeftype.equals("0")) {%>
              人力资源 
              <%} else if(countrydeftype.equals("1")) {%>
              固定 
              <%}}%>
              &nbsp;<% if(canedit) {%><BUTTON class=Browser id=SelectCountryID onclick="onShowCountryID(countryidspan,countryid)"></BUTTON><%}%> 
              <SPAN id=countryidspan><%=Util.toScreen(CountryComInfo.getCountrydesc(countryid),user.getLanguage())%></SPAN> 
              <INPUT id=countryid type=hidden name=countryid value="<%=countryid%>">
            </td>
          </TR><tr><td class=Line colspan=4></td></tr>
          <tr> 
            <td>按名称搜索</td>
            <td class=Field colspan="3"> 
              <input class=InputStyle 
            id=searchbyname type=checkbox name="searchbyname" value="1" <%if(searchbyname.equals("1")) {%> checked <%} if(!canedit) {%> disabled <%}%> >
            </td>
          </TR><tr><td class=Line colspan=4></td></tr>
          <tr> 
            <td>按CRM搜索</td>
            <td class=Field colspan="3"> 
              <input class=InputStyle id=searchbycrm type=checkbox name="searchbycrm" value="1" <%if(searchbycrm.equals("1")) {%> checked <%} if(!canedit) {%> disabled <%}%> >
            </td>
          </TR><tr><td class=Line colspan=4></td></tr>
          <tr> 
            <td>高级搜索</td>
            <td class=Field colspan="3"> 
              <input class=InputStyle 
            id=searchadv type=checkbox name="searchadv" value="1" <%if(searchadv.equals("1")) {%> checked <%} if(!canedit) {%> disabled <%}%> >
            </td>
          </TR><tr><td class=Line colspan=4></td></tr>
          <tr> 
            <td>种类列表</td>
            <td class=Field colspan="3"> 
              <input class=InputStyle id=assortmentdsp type=checkbox name="assortmentdsp" value="1" <%if(assortmentdsp.equals("1")) {%> checked <%} if(!canedit) {%> disabled <%}%> >
            </td>
          </TR><tr><td class=Line colspan=4></td></tr>
          <tr> 
            <td>列表名称</td>
            <td class=Field colspan="3"> 
              <% if(canedit) {%>
              <input class=InputStyle maxlength=20 name=assortmentname value="<%=Util.toScreenToEdit(assortmentname,user.getLanguage())%>">
              <%} else {%>
              <%=Util.toScreen(assortmentname,user.getLanguage())%>
              <%}%>
            </td>
          </TR><tr><td class=Line colspan=4></td></tr>
          <tr> 
            <td>列表条件</td>
            <td class=Field colspan="3"> 
              <% if(canedit) {%>
              <input class=InputStyle size=40 name=assortmentsql value="<%=Util.toScreenToEdit(assortmentsql,user.getLanguage())%>">
              <%} else {%>
              <%=Util.toScreen(assortmentsql,user.getLanguage())%> 
              <%}%>
            </td>
          </TR><tr><td class=Line colspan=4></td></tr>
          <tr> 
            <td colspan="4"><span class=Mini>例子: a.Assortment IN (13, 20)</span></td>
          </TR><tr><td class=Line colspan=4></td></tr>
          </tbody> 
        </table>
      </TD>
      <TD></TD>
      <TD vAlign=top> 
        <table class=ViewForm>
          <colgroup> <col width=150> <tbody> 
          <tr> 
            <td>显示</td>
            <td class=Field colspan=3> 
              <input class=InputStyle id=attributedsp type=checkbox name="attributedsp" value="1" <%if(attributedsp.equals("1")) {%> checked <%} if(!canedit) {%> disabled <%}%> >
            </td>
          </TR><tr><td class=Line colspan=4></td></tr>
          <tr> 
            <td>列</td>
            <td class=Field colspan=3> 
              <% if(canedit) {%>
              <input class=InputStyle id=attributecol size=6 value=<%=attributecol%> name=attributecol onKeyPress="ItemCount_KeyPress()" onBlur='checknumber("attributecol")'>
              <%} else {%>
              <%=attributecol%> 
              <%}%>
            </td>
          </TR><tr><td class=Line colspan=4></td></tr>
          <tr> 
            <td>字体大小</td>
            <td class=Field> 
              <% if(canedit) {%>
              <select class=InputStyle id=attributefontsize name=attributefontsize>
                <option value=10pt <%if(attributefontsize.equals("10pt")) {%> selected <%}%>>medium</option>
                <option value=9pt <%if(attributefontsize.equals("9pt")) {%> selected <%}%>>x-small</option>
                <option value=8pt <%if(attributefontsize.equals("8pt")) {%> selected <%}%>>xx-small</option>
              </select>
              <%} else {
			  if(attributefontsize.equals("10pt")) {%>
              medium 
              <%} else if(attributefontsize.equals("9pt")) {%>
              x-small 
              <%} else if(attributefontsize.equals("8pt")) {%>
              xx-small 
              <%}}%>
            </td>
            <td>类型</td>
            <td class=Field> 
              <% if(canedit) {%>
              <select class=InputStyle id=attributefonttype name=attributefonttype>
                <option value=normal <%if(attributefonttype.equals("normal")) {%> selected <%}%>>正常</option>
                <option value=bold <%if(attributefonttype.equals("bold")) {%> selected <%}%>>粗体</option>
              </select>
              <%} else {
			  if(attributefonttype.equals("normal")) {%>
              正常 
              <%} else if(attributefonttype.equals("bold")) {%>
              粗体 
              <%}}%>
            </td>
          </TR><tr><td class=Line colspan=4></td></tr>
          </tbody> 
        </table>
      </TD>
    </TR>
    <!-- Attributes -->
    <TR class=Title> 
      <TH>资产</TH>
      <TH></TH>
      <TH>网上购物</TH>
    </TR>
    <TR class=Spacing> 
      <TD class=Line1 colSpan=3></TD>
    </TR>
    <TR> 
      <TD vAlign=top> 
        <table class=ViewForm>
          <colgroup> <col width=150> <tbody> 
          <tr> 
            <td>显示条件</td>
            <td class=Field colspan=3> 
              <% if(canedit) {%>
              <input class=InputStyle size=40  name=assetsql value="<%=Util.toScreenToEdit(assetsql,user.getLanguage())%>">
              <%} else {%>
              <%=Util.toScreen(assetsql,user.getLanguage())%> 
              <%}%>
            </td>
          </TR><tr><td class=Line colspan=4></td></tr>
          <tr> 
            <td colspan=4><span class=Mini>例子: i.IsSalesItem = 1</span></td>
          </TR><tr><td class=Line colspan=4></td></tr>
          <tr> 
            <td>列 1</td>  
            <td class=Field> 
             <select  class=InputStyle  style="WIDTH: 98%" id=assetcol1  name=assetcol1 <% if(!canedit) {%> disabled <%}%> >
				<option value="" ></option>
                <option value="714|assetmark" <% if(assetcol1.equals("714|assetmark")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(714,user.getLanguage())%></option>
				<option value="195|assetname" <% if(assetcol1.equals("195|assetname")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(195,user.getLanguage())%></option>
				<option value="124|departmentid" <% if(assetcol1.equals("124|departmentid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(124,user.getLanguage())%></option>
				<option value="179|resourceid" <% if(assetcol1.equals("179|resourceid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(179,user.getLanguage())%></option>
				<option value="377|assetcountyid" <% if(assetcol1.equals("377|assetcountyid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(377,user.getLanguage())%></option>
				<option value="717|startdate" <% if(assetcol1.equals("717|startdate")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(717,user.getLanguage())%></option>
				<option value="718|enddate" <% if(assetcol1.equals("718|enddate")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(718,user.getLanguage())%></option>
				<option value="406|currencyid" <% if(assetcol1.equals("406|currencyid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(406,user.getLanguage())%></option>
				<option value="719|costprice" <% if(assetcol1.equals("719|costprice")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(719,user.getLanguage())%></option>
				<option value="721|salesprice" <% if(assetcol1.equals("721|salesprice")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(721,user.getLanguage())%></option>
				<option value="74|assetimageid" <% if(assetcol1.equals("74|assetimageid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(74,user.getLanguage())%></option>
				<option value="63|assettypeid" <% if(assetcol1.equals("63|assettypeid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(63,user.getLanguage())%></option>
				<option value="271|createrid" <% if(assetcol1.equals("271|createrid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(271,user.getLanguage())%></option>
				<option value="722|createdate" <% if(assetcol1.equals("722|createdate")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(722,user.getLanguage())%></option>
				<option value="424|lastmoderid" <% if(assetcol1.equals("424|lastmoderid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(424,user.getLanguage())%></option>
				<option value="723|lastmoddate" <% if(assetcol1.equals("723|lastmoddate")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(723,user.getLanguage())%></option>
				<option value="454|assetremark" <% if(assetcol1.equals("454|assetremark")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(454,user.getLanguage())%></option>
				<option value="683|seclevel" <% if(assetcol1.equals("683|seclevel")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(683,user.getLanguage())%></option>
                <option value="705|assetunitid" <% if(assetcol1.equals("705|assetunitid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(705,user.getLanguage())%></option>
			  </select>
            </td>
            <td>列 2</td>
            <td class=Field> 
              <select  class=InputStyle  style="WIDTH: 98%" id=assetcol2  name=assetcol2 <% if(!canedit) {%> disabled <%}%>>
                <option value="" ></option>
                <option value="714|assetmark" <% if(assetcol2.equals("714|assetmark")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(714,user.getLanguage())%></option>
                <option value="195|assetname" <% if(assetcol2.equals("195|assetname")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(195,user.getLanguage())%></option>
				<option value="124|departmentid" <% if(assetcol2.equals("124|departmentid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(124,user.getLanguage())%></option>
                <option value="179|resourceid" <% if(assetcol2.equals("179|resourceid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(179,user.getLanguage())%></option>
                <option value="377|assetcountyid" <% if(assetcol1.equals("377|assetcountyid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(377,user.getLanguage())%></option>
				<option value="717|startdate" <% if(assetcol2.equals("717|startdate")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(717,user.getLanguage())%></option>
                <option value="718|enddate" <% if(assetcol2.equals("718|enddate")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(718,user.getLanguage())%></option>
                <option value="406|currencyid" <% if(assetcol2.equals("406|currencyid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(406,user.getLanguage())%></option>
                <option value="719|costprice" <% if(assetcol2.equals("719|costprice")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(719,user.getLanguage())%></option>
                <option value="721|salesprice" <% if(assetcol2.equals("721|salesprice")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(721,user.getLanguage())%></option>
                <option value="74|assetimageid" <% if(assetcol2.equals("74|assetimageid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(74,user.getLanguage())%></option>
                <option value="63|assettypeid" <% if(assetcol2.equals("63|assettypeid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(63,user.getLanguage())%></option>
                <option value="271|createrid" <% if(assetcol2.equals("271|createrid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(271,user.getLanguage())%></option>
                <option value="722|createdate" <% if(assetcol2.equals("722|createdate")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(722,user.getLanguage())%></option>
                <option value="424|lastmoderid" <% if(assetcol2.equals("424|lastmoderid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(424,user.getLanguage())%></option>
                <option value="723|lastmoddate" <% if(assetcol2.equals("723|lastmoddate")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(723,user.getLanguage())%></option>
                <option value="454|assetremark" <% if(assetcol2.equals("454|assetremark")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(454,user.getLanguage())%></option>
                <option value="683|seclevel" <% if(assetcol2.equals("683|seclevel")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(683,user.getLanguage())%></option>
                <option value="705|assetunitid" <% if(assetcol2.equals("705|assetunitid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(705,user.getLanguage())%></option>
			  </select>
            </td>
          </TR><tr><td class=Line colspan=4></td></tr>
          <tr> 
            <td>列 3</td>
            <td class=Field> 
              <select  class=InputStyle style="WIDTH: 98%" id=assetcol3  name=assetcol3 <% if(!canedit) {%> disabled <%}%>>
                <option value="" ></option>
                <option value="714|assetmark" <% if(assetcol3.equals("714|assetmark")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(714,user.getLanguage())%></option>
                <option value="195|assetname" <% if(assetcol3.equals("195|assetname")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(195,user.getLanguage())%></option>
				<option value="124|departmentid" <% if(assetcol3.equals("124|departmentid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(124,user.getLanguage())%></option>
                <option value="179|resourceid" <% if(assetcol3.equals("179|resourceid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(179,user.getLanguage())%></option>
                <option value="377|assetcountyid" <% if(assetcol1.equals("377|assetcountyid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(377,user.getLanguage())%></option>
				<option value="717|startdate" <% if(assetcol3.equals("717|startdate")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(717,user.getLanguage())%></option>
                <option value="718|enddate" <% if(assetcol3.equals("718|enddate")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(718,user.getLanguage())%></option>
                <option value="406|currencyid" <% if(assetcol3.equals("406|currencyid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(406,user.getLanguage())%></option>
                <option value="719|costprice" <% if(assetcol3.equals("719|costprice")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(719,user.getLanguage())%></option>
                <option value="721|salesprice" <% if(assetcol3.equals("721|salesprice")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(721,user.getLanguage())%></option>
                <option value="74|assetimageid" <% if(assetcol3.equals("74|assetimageid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(74,user.getLanguage())%></option>
                <option value="63|assettypeid" <% if(assetcol3.equals("63|assettypeid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(63,user.getLanguage())%></option>
                <option value="271|createrid" <% if(assetcol3.equals("271|createrid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(271,user.getLanguage())%></option>
                <option value="722|createdate" <% if(assetcol3.equals("722|createdate")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(722,user.getLanguage())%></option>
                <option value="424|lastmoderid" <% if(assetcol3.equals("424|lastmoderid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(424,user.getLanguage())%></option>
                <option value="723|lastmoddate" <% if(assetcol3.equals("723|lastmoddate")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(723,user.getLanguage())%></option>
                <option value="454|assetremark" <% if(assetcol3.equals("454|assetremark")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(454,user.getLanguage())%></option>
                <option value="683|seclevel" <% if(assetcol3.equals("683|seclevel")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(683,user.getLanguage())%></option>
                <option value="705|assetunitid" <% if(assetcol3.equals("705|assetunitid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(705,user.getLanguage())%></option>
			  </select>
            </td>
            <td>列 4</td>
            <td class=Field> 
              <select  class=InputStyle  style="WIDTH: 98%" id=assetcol4  name=assetcol4 <% if(!canedit) {%> disabled <%}%>>
                <option value="" ></option>
                <option value="714|assetmark" <% if(assetcol4.equals("714|assetmark")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(714,user.getLanguage())%></option>
                <option value="195|assetname" <% if(assetcol4.equals("195|assetname")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(195,user.getLanguage())%></option>
				<option value="124|departmentid" <% if(assetcol4.equals("124|departmentid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(124,user.getLanguage())%></option>
                <option value="179|resourceid" <% if(assetcol4.equals("179|resourceid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(179,user.getLanguage())%></option>
                <option value="377|assetcountyid" <% if(assetcol1.equals("377|assetcountyid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(377,user.getLanguage())%></option>
				<option value="717|startdate" <% if(assetcol4.equals("717|startdate")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(717,user.getLanguage())%></option>
                <option value="718|enddate" <% if(assetcol4.equals("718|enddate")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(718,user.getLanguage())%></option>
                <option value="406|currencyid" <% if(assetcol4.equals("406|currencyid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(406,user.getLanguage())%></option>
                <option value="719|costprice" <% if(assetcol4.equals("719|costprice")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(719,user.getLanguage())%></option>
                <option value="721|salesprice" <% if(assetcol4.equals("721|salesprice")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(721,user.getLanguage())%></option>
                <option value="74|assetimageid" <% if(assetcol4.equals("74|assetimageid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(74,user.getLanguage())%></option>
                <option value="63|assettypeid" <% if(assetcol4.equals("63|assettypeid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(63,user.getLanguage())%></option>
                <option value="271|createrid" <% if(assetcol4.equals("271|createrid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(271,user.getLanguage())%></option>
                <option value="722|createdate" <% if(assetcol4.equals("722|createdate")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(722,user.getLanguage())%></option>
                <option value="424|lastmoderid" <% if(assetcol4.equals("424|lastmoderid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(424,user.getLanguage())%></option>
                <option value="723|lastmoddate" <% if(assetcol4.equals("723|lastmoddate")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(723,user.getLanguage())%></option>
                <option value="454|assetremark" <% if(assetcol4.equals("454|assetremark")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(454,user.getLanguage())%></option>
                <option value="683|seclevel" <% if(assetcol4.equals("683|seclevel")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(683,user.getLanguage())%></option>
                <option value="705|assetunitid" <% if(assetcol4.equals("705|assetunitid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(705,user.getLanguage())%></option>
			  </select>
            </td>
          </TR><tr><td class=Line colspan=4></td></tr>
          <tr> 
            <td>列 5</td>
            <td class=Field> 
              <select  class=InputStyle  style="WIDTH: 98%" id=assetcol5  name=assetcol5 <% if(!canedit) {%> disabled <%}%>>
                <option value="" ></option>
                <option value="714|assetmark" <% if(assetcol5.equals("714|assetmark")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(714,user.getLanguage())%></option>
                <option value="195|assetname" <% if(assetcol5.equals("195|assetname")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(195,user.getLanguage())%></option>
				<option value="124|departmentid" <% if(assetcol5.equals("124|departmentid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(124,user.getLanguage())%></option>
                <option value="179|resourceid" <% if(assetcol5.equals("179|resourceid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(179,user.getLanguage())%></option>
                <option value="377|assetcountyid" <% if(assetcol1.equals("377|assetcountyid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(377,user.getLanguage())%></option>
				<option value="717|startdate" <% if(assetcol5.equals("717|startdate")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(717,user.getLanguage())%></option>
                <option value="718|enddate" <% if(assetcol5.equals("718|enddate")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(718,user.getLanguage())%></option>
                <option value="406|currencyid" <% if(assetcol5.equals("406|currencyid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(406,user.getLanguage())%></option>
                <option value="719|costprice" <% if(assetcol5.equals("719|costprice")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(719,user.getLanguage())%></option>
                <option value="721|salesprice" <% if(assetcol5.equals("721|salesprice")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(721,user.getLanguage())%></option>
                <option value="74|assetimageid" <% if(assetcol5.equals("74|assetimageid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(74,user.getLanguage())%></option>
                <option value="63|assettypeid" <% if(assetcol5.equals("63|assettypeid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(63,user.getLanguage())%></option>
                <option value="271|createrid" <% if(assetcol5.equals("271|createrid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(271,user.getLanguage())%></option>
                <option value="722|createdate" <% if(assetcol5.equals("722|createdate")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(722,user.getLanguage())%></option>
                <option value="424|lastmoderid" <% if(assetcol5.equals("424|lastmoderid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(424,user.getLanguage())%></option>
                <option value="723|lastmoddate" <% if(assetcol5.equals("723|lastmoddate")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(723,user.getLanguage())%></option>
                <option value="454|assetremark" <% if(assetcol5.equals("454|assetremark")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(454,user.getLanguage())%></option>
                <option value="683|seclevel" <% if(assetcol5.equals("683|seclevel")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(683,user.getLanguage())%></option>
                <option value="705|assetunitid" <% if(assetcol5.equals("705|assetunitid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(705,user.getLanguage())%></option>
              </select>
            </td>
            <td>列 6</td>
            <td class=Field> 
              <select  class=InputStyle  style="WIDTH: 98%" id=assetcol6  name=assetcol6 <% if(!canedit) {%> disabled <%}%>>
                <option value="" ></option>
                <option value="714|assetmark" <% if(assetcol6.equals("714|assetmark")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(714,user.getLanguage())%></option>
                <option value="195|assetname" <% if(assetcol6.equals("195|assetname")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(195,user.getLanguage())%></option>
				<option value="124|departmentid" <% if(assetcol6.equals("124|departmentid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(124,user.getLanguage())%></option>
                <option value="179|resourceid" <% if(assetcol6.equals("179|resourceid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(179,user.getLanguage())%></option>
                <option value="377|assetcountyid" <% if(assetcol1.equals("377|assetcountyid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(377,user.getLanguage())%></option>
				<option value="717|startdate" <% if(assetcol6.equals("717|startdate")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(717,user.getLanguage())%></option>
                <option value="718|enddate" <% if(assetcol6.equals("718|enddate")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(718,user.getLanguage())%></option>
                <option value="406|currencyid" <% if(assetcol6.equals("406|currencyid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(406,user.getLanguage())%></option>
                <option value="719|costprice" <% if(assetcol6.equals("719|costprice")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(719,user.getLanguage())%></option>
                <option value="721|salesprice" <% if(assetcol6.equals("721|salesprice")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(721,user.getLanguage())%></option>
                <option value="74|assetimageid" <% if(assetcol6.equals("74|assetimageid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(74,user.getLanguage())%></option>
                <option value="63|assettypeid" <% if(assetcol6.equals("63|assettypeid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(63,user.getLanguage())%></option>
                <option value="271|createrid" <% if(assetcol6.equals("271|createrid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(271,user.getLanguage())%></option>
                <option value="722|createdate" <% if(assetcol6.equals("722|createdate")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(722,user.getLanguage())%></option>
                <option value="424|lastmoderid" <% if(assetcol6.equals("424|lastmoderid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(424,user.getLanguage())%></option>
                <option value="723|lastmoddate" <% if(assetcol6.equals("723|lastmoddate")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(723,user.getLanguage())%></option>
                <option value="454|assetremark" <% if(assetcol6.equals("454|assetremark")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(454,user.getLanguage())%></option>
                <option value="683|seclevel" <% if(assetcol6.equals("683|seclevel")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(683,user.getLanguage())%></option>
                <option value="705|assetunitid" <% if(assetcol6.equals("705|assetunitid")) {%> selected <%}%>><%=SystemEnv.getHtmlLabelName(705,user.getLanguage())%></option>
              </select>
            </td>
          </TR><tr><td class=Line colspan=4></td></tr>
          <tr> 
            <td>字体大小</td>
            <td class=Field> 
              <% if(canedit) {%>
              <select class=InputStyle id=assetfontsize name=assetfontsize>
                <option value=10pt <%if(assetfontsize.equals("10pt")) {%> selected <%}%>>medium</option>
                <option value=9pt <%if(assetfontsize.equals("9pt")) {%> selected <%}%>>x-small</option>
                <option value=8pt <%if(assetfontsize.equals("8pt")) {%> selected <%}%>>xx-small</option>
              </select>
              <%} else {
			  if(assetfontsize.equals("10pt")) {%>
              medium 
              <%} else if(assetfontsize.equals("9pt")) {%>
              x-small 
              <%} else if(assetfontsize.equals("8pt")) {%>
              xx-small 
              <%}}%>
            </td>
            <td>类型</td>
            <td class=Field> 
              <% if(canedit) {%>
              <select class=InputStyle id=assetfonttype name=assetfonttype>
                <option value=normal <%if(assetfonttype.equals("normal")) {%> selected <%}%>>正常</option>
                <option value=bold <%if(assetfonttype.equals("bold")) {%> selected <%}%>>粗体</option>
              </select>
              <%} else {
			  if(assetfonttype.equals("normal")) {%>
              正常 
              <%} else if(assetfonttype.equals("bold")) {%>
              粗体 
              <%}}%>
            </td>
          </TR><tr><td class=Line colspan=4></td></tr>
          </tbody> 
        </table>
      </TD>
      <TD></TD>
      <TD vAlign=top> 
        <table class=ViewForm>
          <colgroup> <col width=150> <tbody> 
          <tr> 
            <td>使用</td>
            <td class=Field> 
              <input class=InputStyle id=webshopdap 
            type=checkbox name="webshopdap" value="1" <%if(webshopdap.equals("1")) {%> checked <%} if(!canedit) {%> disabled <%}%> >
            </td>
          </TR><tr><td class=Line colspan=4></td></tr>
          <tr> 
            <td>类型</td>
            <td class=Field> 
              <% if(canedit) {%>
              <select class=InputStyle id=webshoptype name=webshoptype>
                <option value="1" <%if(webshoptype.equals("1")) {%> selected <%}%>>特定客户</option>
                <option value="0" <%if(webshoptype.equals("0")) {%> selected <%}%>>一般访问者</option>
              </select>
              <%} else {
			  if(webshoptype.equals("1")) {%>
              特定客户 
              <%} else if(webshoptype.equals("0")) {%>
              一般访问者 
              <%}}%>
            </td>
          </TR><tr><td class=Line colspan=4></td></tr>
          <tr> 
            <td>返回</td>
            <td class=Field> 
              <input class=InputStyle 
            id=webshopreturn type=checkbox name="webshopreturn" value="1" <%if(webshopreturn.equals("1")) {%> checked <%} if(!canedit) {%> disabled <%}%> >
            </td>
          </TR><tr><td class=Line colspan=4></td></tr>
          <tr> 
            <td>人力资源</td>
            <td class=Field><% if(canedit) {%><BUTTON class=Browser id=SelectResourceID onClick="onShowResourceID(webshopmanageidspan,webshopmanageid)"></BUTTON><%}%> <span 
            id=webshopmanageidspan><%=Util.toScreen(ResourceComInfo.getResourcename(webshopmanageid),user.getLanguage())%></span> 
              <INPUT class=InputStyle id=webshopmanageid type=hidden name=webshopmanageid value="<%=webshopmanageid%>"> </td>
          </TR><tr><td class=Line colspan=4></td></tr>
          </tbody> 
        </table>
      </TD>
    </TR>
    </TBODY> 
  </TABLE>
</FORM>

		</td>
		</tr>
		</TABLE>
	</td>
	<td></td>
</tr>
<tr>
	<td height="10" colspan="3"></td>
</tr>
</table>
<%@ include file="/systeminfo/RightClickMenu_wev8.jsp" %>
<script language=VBS>
sub SelectTheColor(spanname,inputname)
	id = window.showModalDialog("/systeminfo/ColorBrowser.jsp")
   if (Not IsEmpty(id)) then
	  inputname.value = id
	  spanname.bgColor = id
   end if
end sub

sub onShowCountryID(spanname,inputname)
	id = window.showModalDialog("/systeminfo/BrowserMain.jsp?url=/hrm/country/CountryBrowser.jsp")
	if (Not IsEmpty(id)) then
	if id(0)<> 0 then
	spanname.innerHtml = id(1)
	inputname.value=id(0)
	else 
	spanname.innerHtml = ""
	inputname.value=""
	end if
	end if
end sub

sub onShowResourceID(spanname,inputname)
	id = window.showModalDialog("/systeminfo/BrowserMain.jsp?url=/hrm/resource/ResourceBrowser.jsp")
	if (Not IsEmpty(id)) then
	if id(0)<> "" then
	spanname.innerHtml = "<A href='/hrm/resource/HrmResource.jsp?id="&id(0)&"'>"&id(1)&"</A>"
	inputname.value=id(0)
	else 
	spanname.innerHtml = "<IMG src='/images/BacoError_wev8.gif' align=absMiddle>"
	inputname.value=""
	end if
	end if
end sub

</script>
<Script language=javascript>
function onEdit() {
	if(check_form(frmmain,"catalogname,catalogdesc,seclevelfrom,seclevelto")) {
		frmmain.operation.value="editcatalog";
		frmmain.submit();
	}
}
 function onDelete(){
		if(confirm("<%=SystemEnv.getHtmlNoteName(7,user.getLanguage())%>")) {
			frmmain.operation.value="deletecatalog";
			frmmain.submit();
		}
}
</script>
</BODY></HTML>