<?PHP
/*
#
#(ӣ)áݣ£ϣңĥƥץ졼
#
#̤եǤ
#̾Σȣԣ̤ͣƱФԽ뤳Ȥޤ
#ʤˤ$פϤ줾ץˤäǤդʸ
#֤ޤ
#
*/

if(!class_exists('ETC')) {
  require_once './cmd/etc.php';
}

class DESIGN_NMB extends DESIGN {

/*
#
#   ֹɽإå
#
*/

  function number_head() {
    print <<< HTML
<table border=0 cellpadding=2 cellspacing=0 width={$GLOBALS['CNFSTY']['bse']['width']}>
HTML;
  }
//#ޤǨ

/*
#
#   ֹɽեå
#
*/
  function number_foot() {
    print <<< HTML
</table>

HTML;
  }
//#ޤǨ


/*
#
#   ȥԥåɽ
#
*/
  function number() {
    $_ = func_get_args();
    $MSG		 = array_shift($_); //# Ƶ
    $type		 = array_shift($_); //# 
    $r_no		 = array_shift($_); //# ֹ
    $r_genre_icon	 = array_shift($_); //# 륢
    $r_clip		 = array_shift($_); //# åץ
    $r_new		 = array_shift($_); //# Σţץ
    $r_reply		 = array_shift($_); //# ֿ
    $r_read		 = array_shift($_); //# ̤ɥ
    $master = ETC::name_matching($MSG['name'],$GLOBALS['CNF']['master']['name'],$GLOBALS['CNF']['master']['name']) ? 'Master' : '';

	print <<< HTML
 <tr bgcolor="{$GLOBALS['CNFSTY']['nmb']['table']['back'][$type]}">
  <td width="50%" nowrap>
   <a class=NumberSubject href="{$GLOBALS['CNF']['place']['this']['path']}?cmd=one&amp;no={$MSG['no']}&amp;id={$GLOBALS['FORM']['id']}"><b>{$r_no}{$MSG['subject']}</b></a>
  </td>
  <td nowrap>{$r_genre_icon}</td>
  <td nowrap>{$r_clip}</td>
    <td nowrap><span class=Number{$master}Name>{$MSG['name']}</span></td>
  <td nowrap><span class=NumberDate>{$MSG['date']}</span></td>
  <td nowrap>{$r_new}</td>
  <td nowrap>{$r_read}</td>
 </tr>

HTML;
  }
//#ޤǨ

}
//1;

//# $Id: nmb.txt,v 1.5 2006/03/09 09:19:39 susumu Exp $;
?>