File name: welboard2/skin/skycloud/board.fom (6,244 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 ~ "rug.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 :  background="{$skin}skycloud.jpg"
  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 :    if(selno==focus_line) BGC= list_focus_bgcolor; else BGC= "";
  123 :    if(wname=="") vname= "&nbsp;";
  124 :     else if(wemail=="") vname= edit_wname;
  125 :      else vname= "<a href=\"javascript:gomail('" ~ wname ~ "','"
  126 :                ~ wemail ~ "')\">" ~ edit_wname ~ "</a>";
  127 :    if(subject=="") vsubject= "&nbsp;";
  128 :     else vsubject= "<a href='javascript:goview(" ~ selno ~ "," ~ vno
  129 :                  ~ ")' title='" ~ fcontent ~ "'>" ~ subject ~ "</a>";
  130 :  }
  131 : <tr{?*BGC, bgcolor=}{$BGC} onmouseover="mover(this)" onmouseout="mout(this,'{$BGC}')">
  132 :  <td nowrap id=lb align=right>{$vno}</td>
  133 :  <td nowrap id=lb>{$indent}{$icon}{$vsubject}</td>
  134 :  <td nowrap id=lb align=center>{$vname}</td>
  135 :  <td nowrap id=lb align=center>{$wdtime}</td>
  136 :  <td nowrap id=lb align=right>{$readcnt}</td>{?*!file_upload_flag,{!goto skip_down}}
  137 :  <td nowrap id=lb align=center>{$downicon}</td>
  138 :  <td nowrap id=lb align=right>{$downcnt}</td>{:skip_down}
  139 : </tr>
  140 : {!endrep}
  141 : </table>
  142 : <table border=1 cellspacing=0 cellpadding=0 width={$WIDTH} {$BARCOLOR}
  143 :        style="border-width:1px; border-color:#000000;border-top:none;border-bottom:none">
  144 :  <tr>
  145 : {& today= mid(date(3),8) ~ "(" ~ week_str[iweek()] ~ ")"; }
  146 :   <td id=tdb width=16%>총 <font color=#f00000>{$tot_page}</font> 페이지</td>
  147 :   <td align=center id=tdb width=68%>{&include("include/pagebar.sub")}</td>
  148 :   <td align=right nowrap id=tdb width=16%>{$today}</td>
  149 :  </tr>
  150 : </table>
  151 : <table border=1 cellspacing=0 cellpadding=0 width={$WIDTH} {$BARCOLOR}
  152 :        style="border-width:1px; border-color:#000000">
  153 :  <tr>
  154 :   <td nowrap width=25% id=tdb>
  155 : {&
  156 :   if(us_class!="A") button(1,"gologin()","관리자로그인","width:90");
  157 :    else
  158 :     {
  159 :        button(1,"gologout()","로그아웃","width:60");
  160 :        print("&nbsp;");
  161 :        button(1,"goboardcfg()","환경설정","width:60");
  162 :     }
  163 :  }</td>
  164 :   <td nowrap align=center width=50% id=tdb>{$cpright}</td>
  165 :   <td align=right width=25% id=tdb>{$logo_img}{$back_link}{$home_link}</td>
  166 :  </tr>
  167 : </form>{?*viewboard_flag,{!goto skip_focus}}
  168 : <script language="javascript">
  169 : <!--
  170 :   document.search.k.focus();
  171 : //-->
  172 : </script>{:skip_focus}
  173 : </table>
  174 : {?*viewboard_flag,{!goto end_form2}}{?*system_htskip,{$board_tailer}{!goto end_form}}
  175 : <font size=2><b>{$board_cpright}</b></font>
  176 : {$ecenter}
  177 : </body>{:end_form}
  178 : </html>
  179 : {:end_form2}
File name: welboard2/skin/skycloud/board.fom (6,244 bytes) Wesoft Corp. ⓒ 2001 All rights reserved.