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