<?
session_start();

$document = array();
$script = "";
$init = "";

require "../lib/getnpost.php";
require "../lib/config.php";
require "../lib/dbconnect.php";
require "../lib/auth.php";
require "../lib/common.php";

require "products_common.php";

function mkProducts(&$document, &$script, &$init) {
	$document['main'] .= <<<EOS
          <table width="748" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td>&nbsp;</td>
              </tr>
            </table>
            <table width="748" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td width="412" height="55" background="/images/subtitlebox_pat.gif" style="padding-left:30px"><img src="/products/images/title_01.gif" width="137" height="26"></td>
                <td width="336" background="/images/subtitlebox_pat.gif" ><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td height="30" align="right" style="padding-right:10px"><img src="/images/locationbar_title.gif" width="65" height="11" align="absmiddle"><font color="E25561">È¨ 
                        &gt; Á¦Ç°¼Ò°³</font></td>
                    </tr>
                  </table></td>
              </tr>
            </table> 
            <br>
            
             <table width="710" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><img src="/products/images/title_edusw.gif" width="710" height="288" border="0" usemap="#Map"></td>
              </tr>
              <tr>
                <td height="10"></td>
              </tr>
              <tr>
                <td><a href="http://www.engwiz.co.kr" target="_blank"><img src="/products/images/title_dd.gif" width="710" height="152"  border="0"></td>
              </tr>
            </table>
            <br>
            <table width="710" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td align="center"><a href="prodview.php?pdid=5"><img src="/products/images/title_multi.gif" width="345" height="168" border="0"></a></td>
                <td align="center"><a href="prodview.php?pdid=6"><img src="/products/images/title_life.gif" width="345" height="168" border="0"></a></td>
              </tr>
            </table>
            <br>
            <br>
            <table width="710" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td width="377" height="25" style="padding-left:10px"><img src="/products/images/title_usb.gif" width="99" height="15"></td>
                <td width="333"><img src="/products/images/caption_01.gif" width="323" height="12"></td>
              </tr>
              <tr> 
                <td height="9" colspan="2"  background="/products/images/titlebar_pat.gif"></td>
              </tr>
            </table>
            <br>
            <table width="710" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="293" align="right"><a href="prodview.php?pdid=7"><img src="/products/images/usb_product01.gif" width="185" height="191" border="0"></a></td>
                <td width="397" align="center"><a href="prodview.php?pdid=8"><img src="/products/images/usb_product02.gif" width="185" height="191" border="0"></a></td>
                <td width="20">&nbsp;</td>
              </tr>
            </table>

<map name="Map">
  <area shape="rect" coords="184,23,432,138" href="prodview.php?pdid=1">
  <area shape="rect" coords="444,24,693,138" href="prodview.php?pdid=2">
  <area shape="rect" coords="184,151,432,266" href="prodview.php?pdid=3">
  <area shape="rect" coords="442,150,693,264" href="prodview.php?pdid=4">
</map>

EOS;

	$script .= <<<EOS
EOS;
}

## Start

mkProducts($document, $script, $init);

require "products_template.php";
?>
