File name: welboard2/skin/gradation2/board.fom (6,532 bytes) Text file viewer v1.2
    1 : {&
    2 :   /* file: board.fom
    3 :      author: 서광현
    4 : 
    5 :      Copyright (c) 2001/03/25 by Wesoft
    6 :      All Rights Reserved.
    7 :   */
    8 : 
    9 :   WIDTH= board_width;
   10 :   if(viewboard_flag=="")
   11 :    {
   12 :       BARCOLOR= "background='" ~ skin ~ "water.gif'";
   13 :       ARG= strform("db={$db}&pg={$pg}&bp={$bp}&sk={$sk}&no={$no}&k={$k}&cn={$cn}&cs={$cs}&cc={$cc}");
   14 :    }
   15 : }{?*viewboard_flag,{!goto skip_html}}{&}
   16 : <!-- {$PROGRAM_NAME} {$PROGRAM_VERSION} -->
   17 : <html>{:skip_html}
   18 : <head>
   19 : <meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
   20 : <title>{$board_name}</title>
   21 : <link rel=stylesheet type="text/css" href="jscss/board.css">
   22 : <style type="text/css">
   23 : <!--
   24 :  #lh { height:16px; text-align:center; font-size:9pt;
   25 :        color:{$list_head_color}; vertical-align:bottom;
   26 :        border-width:1px; border-color:#b8b8b8; border-style:solid;
   27 :        border-left:none; border-top:none }
   28 : -->
   29 : </style>
   30 : <script src="jscss/board.js" language="javascript"></script>
   31 : <script src="jscss/image.js" language="javascript"></script>
   32 : <script language="javascript">
   33 : <!--
   34 :  mover_color= "{$list_mover_bgcolor}";
   35 :  com_argument= "{$ARG}";
   36 :  now_page= "{$pg}";
   37 :  before_page= "{$bp}";
   38 :  preload_backhome_image();
   39 : //-->
   40 : </script>
   41 : </head>{?*viewboard_flag,{!goto skip_title}}{?*system_htskip,{$board_header}{!goto skip_title}}
   42 : <body {$background} topmargin=2>
   43 : {$scenter}
   44 : <table border=0 cellspacing=0 cellpadding=1 width={$WIDTH}>
   45 : <tr>
   46 :  <td width=1>
   47 :  <table border=1 cellspacing=0>
   48 :  <tr>
   49 :  <td nowrap id=tdb bgcolor={$titlebgcolor}>
   50 :  <font size=3 color={$titlecolor}><b>&nbsp;{$board_name}&nbsp;</b></font></td>
   51 :  </tr>
   52 :  </table></td>
   53 :  <td valign=bottom id=tdb>{$board_comment}</td>
   54 : </tr>
   55 : </table>{:skip_title}
   56 : <table border=1 cellspacing=0 cellpadding=0 width={$WIDTH} {$BARCOLOR}
   57 :        style="border-width:1px; border-color:#000000">
   58 : <form method="get" name="search" action="board.wel" onSubmit="store_bp()">
   59 : <input type=hidden name="db" value="{$db}">
   60 : <input type=hidden name="pg" value="">
   61 : <input type=hidden name="bp" value="{$bp}">
   62 : <input type=hidden name="sk" value="{$sk}">
   63 : <input type=hidden name="no" value="{$no}">
   64 : <tr>
   65 :  <td align=left valign=bottom id=tdb>
   66 :    [ {$now_recnt} / <font color=#0000f0><b>{$tot_recnt}</b></font> ]
   67 :    &nbsp;&nbsp;스킨: <select onchange="goselected(this)">
   68 : {&
   69 :   for(i=0; i<skin_cnt; i++)
   70 :    {
   71 :        print("<option value='", i, "'");
   72 :        if(i==sk) print(" selected");
   73 :        print(">", skin_desc[i], "</option>\n");
   74 :    }
   75 :   print("</select>&nbsp;\n");
   76 :   if(us_class=="A")
   77 :     {
   78 :        print("<input type=text value='관리자모드' size=9 readonly id=iadm>");
   79 :     }
   80 :    else if(list_admin_help==1)
   81 :     {
   82 :        button(1,"gomail('','')","(?) 문의하기","width:80;margin:0 0 1 0");
   83 :     }
   84 :  }</td>
   85 :  <td align=right id=tdb>
   86 :   이름<input type="checkbox" name="cn" value=1{$cn_chked}>
   87 :   제목<input type="checkbox" name="cs" value=1{$cs_chked}>
   88 :   내용<input type="checkbox" name="cc" value=1{$cc_chked}>
   89 :   <input type="text" name="k" value="{$keyword}" size=12 maxlength=40
   90 :          onmouseover="document.search.k.focus()" id=it>
   91 : {&
   92 :    button(1,"store_bp(); document.search.submit()", " 찾기 ","");
   93 :    if(k!="") button(1,"gobefore()", " 복귀 ", "");
   94 :    if(read_only==0)
   95 :     {
   96 :        print("&nbsp;");
   97 :        button(1,"gowrite()", " 쓰기 ", "");
   98 :     }
   99 :  }</td>
  100 : </tr>
  101 : </table>
  102 : <table border=1 cellspacing=0 cellpadding=0 width={$WIDTH}
  103 :  style="border-width:1px; border-color:#000000;border-top:none;">
  104 : <tr bgcolor={$list_head_bgcolor}>{?*file_upload_flag,{!goto download_list}}
  105 :  <td nowrap id=lh width=8%>번호</td>
  106 :  <td nowrap id=lh width=60%>제 목</td>
  107 :  <td nowrap id=lh width=12%>이름</td>
  108 :  <td nowrap id=lh width=12%>작성일</td>
  109 :  <td nowrap id=lh width=8%>조회</td>{!goto end_listhead}
  110 : 
  111 : {:download_list}
  112 :  <td nowrap id=lh width=7%>번호</td>
  113 :  <td nowrap id=lh width=57%>제 목</td>
  114 :  <td nowrap id=lh width=10%>이름</td>
  115 :  <td nowrap id=lh width=10%>작성일</td>
  116 :  <td nowrap id=lh width=6%>조회</td>
  117 :  <td nowrap id=lh width=4%>ⓓ</td>
  118 :  <td nowrap id=lh width=6%>다운</td>{:end_listhead}
  119 : </tr>
  120 : {&
  121 :   bgcnt=0, range= 100, base= 128;
  122 :   if(getrecord_recnt==0) max_rec= 1; else max_rec= getrecord_recnt;
  123 :  }
  124 : {!repeat}{&
  125 :    bgcnt++;
  126 :    if(selno==focus_line) BGC= list_focus_bgcolor;
  127 :     else
  128 :      {
  129 :         rate= fix(real(bgcnt) / max_rec * range);
  130 :         bgcolor= sprintf("%02X", rate+base);
  131 :         bgcolor2= sprintf("%02X", range-rate+base);
  132 :         BGC= "#" ~ bgcolor2 ~ bgcolor2 ~ bgcolor;
  133 :      }
  134 :    if(wname=="") vname= "&nbsp;";
  135 :     else if(wemail=="") vname= edit_wname;
  136 :      else vname= "<a href=\"javascript:gomail('" ~ wname ~ "','"
  137 :                ~ wemail ~ "')\">" ~ edit_wname ~ "</a>";
  138 :    if(subject=="") vsubject= "&nbsp;";
  139 :     else vsubject= "<a href='javascript:goview(" ~ selno ~ "," ~ vno
  140 :                  ~ ")' title='" ~ fcontent ~ "'>" ~ subject ~ "</a>";
  141 :  }
  142 : <tr bgcolor='{$BGC}' onmouseover="mover(this)" onmouseout="mout(this,'{$BGC}')">
  143 :  <td nowrap id=lb align=right>{$vno}</td>
  144 :  <td nowrap id=lb>{$indent}{$icon}{$vsubject}</td>
  145 :  <td nowrap id=lb align=center>{$vname}</td>
  146 :  <td nowrap id=lb align=center>{$wdtime}</td>
  147 :  <td nowrap id=lb align=right>{$readcnt}</td>{?*!file_upload_flag,{!goto skip_down}}
  148 :  <td nowrap id=lb align=center>{$downicon}</td>
  149 :  <td nowrap id=lb align=right>{$downcnt}</td>{:skip_down}
  150 : </tr>
  151 : {!endrep}
  152 : </table>
  153 : <table border=1 cellspacing=0 cellpadding=0 width={$WIDTH} {$BARCOLOR}
  154 :        style="border-width:1px; border-color:#000000;border-top:none;border-bottom:none">
  155 :  <tr>
  156 : {& today= mid(date(3),8) ~ "(" ~ week_str[iweek()] ~ ")"; }
  157 :   <td id=tdb width=16%>총 <font color=#f00000>{$tot_page}</font> 페이지</td>
  158 :   <td align=center id=tdb width=68%>{&include("include/pagebar.sub")}</td>
  159 :   <td align=right nowrap id=tdb width=16%>{$today}</td>
  160 :  </tr>
  161 : </table>
  162 : <table border=1 cellspacing=0 cellpadding=0 width={$WIDTH} {$BARCOLOR}
  163 :        style="border-width:1px; border-color:#000000">
  164 :  <tr>
  165 :   <td nowrap width=25% id=tdb>
  166 : {&
  167 :   if(us_class!="A") button(1,"gologin()","관리자로그인","width:90");
  168 :    else
  169 :     {
  170 :        button(1,"gologout()","로그아웃","width:60");
  171 :        print("&nbsp;");
  172 :        button(1,"goboardcfg()","환경설정","width:60");
  173 :     }
  174 :  }</td>
  175 :   <td nowrap align=center width=50% id=tdb>{$cpright}</td>
  176 :   <td align=right width=25% id=tdb>{$logo_img}{$back_link}{$home_link}</td>
  177 :  </tr>
  178 : </form>{?*viewboard_flag,{!goto skip_focus}}
  179 : <script language="javascript">
  180 : <!--
  181 :   document.search.k.focus();
  182 : //-->
  183 : </script>{:skip_focus}
  184 : </table>
  185 : {?*viewboard_flag,{!goto end_form2}}{?*system_htskip,{$board_tailer}{!goto end_form}}
  186 : <font size=2><b>{$board_cpright}</b></font>
  187 : {$ecenter}
  188 : </body>{:end_form}
  189 : </html>
  190 : {:end_form2}
File name: welboard2/skin/gradation2/board.fom (6,532 bytes) Wesoft Corp. ⓒ 2001 All rights reserved.