Index: temp/trunk/html/admin/total/line.php
===================================================================
--- temp/trunk/html/admin/total/line.php	(revision 5934)
+++ 	(revision )
@@ -1,183 +1,0 @@
-<?php
-/*
- * Copyright(c) 2000-2006 LOCKON CO.,LTD. All Rights Reserved.
- *
- * http://www.lockon.co.jp/
- */
-require_once("./class/SC_GraphPie.php");
-require_once("./class/SC_GraphLine.php");
-
-class LC_Page {
-	function LC_Page($arrData) {
-		$this->arrData = $arrData;
-	}
-}
-
-
-$objGraphPie = new SC_GraphPie();
-$objGraphLine = new SC_GraphLine();
-
-$arrData1 = array(
-	3250,
-	423,
-	533,
-	1158,
-	1120,
-	1300,
-	2223,
-	100,
-	250,
-	23,
-	33,
-	58,
-	120,
-	3300,
-	4223,
-	5120,
-	2300,
-	3223,
-	100,
-	4250,
-	100
-);
-
-$arrData2 = array(
-	3300,
-	4223,
-	5120,
-	2300,
-	3223,
-	100,
-	4250,
-	23,
-	3250,
-	423,
-	533,
-	1158,
-	1120,
-	1300,
-	2223,
-	100,
-	250,
-	23,
-	33,
-	58,
-	120,
-	100
-);
-
-$arrData3 = array(
-	6223,
-	6223,
-	6223,
-	6300,
-	3223,
-	2223,
-	6300,
-	6223,
-	5120,
-	2300,
-	3223,
-	6223,
-	6223,
-	3300,
-	4223,
-	5120,
-	6300,
-	3223,
-	2223,
-	3223,
-	2223,
-	3223,
-	2223,
-	3223,
-	2223,
-	3223,
-	2223,
-	3223,
-	2223,
-	3223,
-	2223,
-	3223,
-	2223,
-);
-
-$arrXLabel = array(
-	'1·î',
-	'2·î',
-	'3·î',
-	'4·î',
-	'5·î',
-	'6·î',
-	'7·î',
-	'1·î',
-	'2·î',
-	'3·î',
-	'4·î',
-	'5·î',
-	'6·î',
-	'7·î',	
-	'1·î',
-	'2·î',
-	'3·î',
-	'4·î',
-	'5·î',
-	'6·î',
-	'7·î',
-	'1·î',
-	'2·î',
-	'3·î',
-	'4·î',
-	'5·î',
-	'6·î',
-	'7·î',
-	'8·î',
-	'5·î',
-	'6·î',
-	'7·î',
-	'8·î',
-	'5·î',
-	'6·î',
-	'7·î',
-	'8·î'
-
-);
-$arrYLabel = array(
-	1000,
-	2000,
-	3000,
-	4000,
-	5000,
-	6000,
-	7000,
-	8000,
-	9000,
-	10000
-);
-
-$arrLegend = array(
-	'»î¸³1',
-	'»î¸³2',
-	'»î¸³3',
-	'»î¸³4',
-	'»î¸³5',
-	'»î¸³6',
-	'»î¸³7'
-);
-
-// ¥°¥é¥ÕÉÁ²è
-$objGraphLine->setXLabel($arrXLabel);
-//$objGraphLine->setYScale($arrYLabel);
-$objGraphLine->setXTitle("´ü´Ö(·î)");
-$objGraphLine->setYTitle("Çä¾å¤²(±ß)");
-$objGraphLine->setData($arrData1);
-//$objGraphLine->setData($arrData1);
-//$objGraphLine->setData($arrData3);
-
-// ËÞÎã¤ò¥»¥Ã¥È¤¹¤ë
-//$objGraphLine->setLegend($arrLegend);
-$objGraphLine->drawGraph();
-
-$objGraphLine->outputGraph(false, "/home/web/os-test.lockon.co.jp/html/upload/graph_image/test.png");
-
-?>
Index: temp/trunk/html/admin/system/csv.php
===================================================================
--- temp/trunk/html/admin/system/csv.php	(revision 1328)
+++ 	(revision )
@@ -1,8 +1,0 @@
-"¥¢¥Ã¥×¥Ç¡¼¥Èµ¡Ç½ID","¥Õ¥¡¥¤¥ëÌ¾","µ¡Ç½Ì¾","µ¡Ç½ÀâÌÀ","¥Ð¡¼¥¸¥ç¥ó","ºÇ½ª¹¹¿·Æü»þ"
-"1","DB.tgz","DB´ÉÍýµ¡Ç½","DB¤ò´ÉÍý¤¹¤ëµ¡Ç½¤Ç¤¹¡£","1.0","2006Ç¯£µ·î£±£¶Æü"
-"2","Smarty.tar.gz","¥¹¥Þ¡¼¥Æ¥£¡¼µ¡Ç½","¥¹¡¼¥Þ¡¼¥Æ¥£¡¼µ¡Ç½¤Ç¤¹","2.3","£²£°£°£¶Ç¯£µ·î£±£¶Æü"
-"3","Mail.tgz","¥á¡¼¥ë","¤³¤ì¤Þ¤¿¥Û¥²µ¡Ç½¤Î¥ê¥ê¡¼¥¹¤Ç¤¹","3.5","2006Ç¯5·î£²£³Æü"
-"4","PEAR.tgz","PEARµ¡Ç½","Íü¤Ç¤Ï¤Ê¤¤¤è¤ó","2.2","2006Ç¯8·î1Æü"
-"5","upload_file.tgz","¥¢¥Ã¥×¥í¡¼¥É¥Õ¥¡¥¤¥ë·²","¤­¤ç¡¼¤ì¤Ä¤Ñ¤Ã¤±¡¼¤¸¡ª","10.3","2006/4/5"
-"6","Mail_Mime.tgz","¤á¡¼¤ë¤Þ¤¤¤à","¤­¤ç¡¼¤ì¤Ä¤Ñ¤Ã¤±¡¼¤¸¡ª¤á¡¼¤ë¤Þ¤¤¤à","10.3","2006/4/5"
-"7","point.tgz","¥Ý¥¤¥ó¥ÈÉÕÍ¿µ¡Ç½","¾¦ÉÊ¤Ë¥Ý¥¤¥ó¥È¤òÉÕÍ¿¤¹¤ë¤³¤È¤¬½ÐÍè¤Þ¤¹¡£","10.3","2006/4/5"
Index: temp/trunk/html/admin/products/index_csv.php
===================================================================
--- temp/trunk/html/admin/products/index_csv.php	(revision 6085)
+++ temp/trunk/html/admin/products/index_csv.php	(revision 8438)
@@ -139,4 +139,3 @@
 }
 
-
 ?>
Index: temp/trunk/html/admin/products/review_show.php
===================================================================
--- temp/trunk/html/admin/products/review_show.php	(revision 7180)
+++ 	(revision )
@@ -1,77 +1,0 @@
-¡¡
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
-<!--{*
- * Copyright(c) 2000-2006 LOCKON CO.,LTD. All Rights Reserved.
- *
- * http://www.lockon.co.jp/
- *}-->
-<head>
-<meta http-equiv="content-type" content="application/xhtml+xml; charset=<!--{$smarty.const.CHAR_CODE}-->" />
-<meta http-equiv="content-script-type" content="text/javascript" />
-<meta http-equiv="content-style-type" content="text/css" />
-<link rel="stylesheet" href="/admin/css/contents.css" type="text/css" />
-<script type="text/javascript" src="<!--{$smarty.const.URL_DIR}-->js/css.js"></script>
-<title>EC¥µ¥¤¥È´ÉÍý¼Ô¥Ú¡¼¥¸</title>
-<script type="text/javascript">
-<!--
-self.moveTo(20,20);self.focus();
-//-->
-</script>
-</head>
-
-<body bgcolor="#ffffff" text="#666666" link="#007bb7" vlink="#007bb7" alink="#cc0000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
-<noscript>
-<link rel="stylesheet" href="/admin/css/common.css" type="text/css" />
-</noscript>
-
-<div align="center">
-<!--¢§MAIN CONTENTS-->
-<table width="400" border="0" cellspacing="0" cellpadding="0" summary=" ">
-	<tr>
-		<td class="fs14n"><strong>¢¡¥ì¥Ó¥å¡¼</strong></td>
-	</tr>
-	<tr><td height="15"></td></tr>
-</table>
-<table width="400" bgcolor="#cccccc" border="0" cellspacing="1" cellpadding="5" summary=" ">
-	<tr class="fs12">
-		<td width="90" bgcolor="#f0f0f0">Åê¹ÆÆü</td>
-		<td width="287" bgcolor="#ffffff">2005/06/29</td>
-	</tr>
-	<tr class="fs12">
-		<td width="90" bgcolor="#f0f0f0">Åê¹Æ¼ÔÌ¾</td>
-		<td width="287" bgcolor="#ffffff">»³ÅÄÂÀÏº</td>
-	</tr>
-	<tr class="fs12">
-		<td width="90" bgcolor="#f0f0f0">¾¦ÉÊÌ¾</td>
-		<td width="287" bgcolor="#ffffff">RAKUWA¥Í¥Ã¥¯</td>
-	</tr>
-	<tr class="fs12">
-		<td width="90" bgcolor="#f0f0f0">¤ª¤¹¤¹¤á¥ì¥Ù¥ë</td>
-		<td width="287" bgcolor="#ffffff">¡ú¡ú¡ú¡ú¡ú</td>
-	</tr>
-	<tr class="fs12">
-		<td width="90" bgcolor="#f0f0f0">¥¿¥¤¥È¥ë</td>
-		<td width="287" bgcolor="#ffffff">ËèÆü¤ÎÄÌ¶Ð¤¬¤³¤ì¤Ç¤é¤¯¤Ë¤Ê¤ê¤Þ¤·¤¿¡Á</td>
-	</tr>
-	<tr class="fs12">
-		<td width="90" bgcolor="#f0f0f0">¥³¥á¥ó¥È</td>
-		<td width="287" bgcolor="#ffffff">¤³¤ì¤¬ËÍ¤Ë¤È¤Ã¤ÆºÇ½é¤ÎNSX¤Ê¤ó¤Ç¤¹¤¬¡¢°ÊÁ°¤«¤éÍß¤·¤¯¤Æ¤º¤Ã¤ÈÁÀ¤Ã¤Æ¤¤¤Þ¤·¤¿¡£¥ê¡¼¥¹¤Î¿·¤·¤¤¥×¥í¥°¥é¥à¤¬½Ð¤¿¤Î¤Ç¡¢¤³¤ì¤Ï¥Á¥ã¥ó¥¹¤È¤Ð¤«¤ê¤Ë¹ØÆþ¤·¤¿¤ó¤Ç¤¹¡£ËÍ¤Ï¡¢¤³¤Î¿·¤·¤¤¥¹¥¿¥¤¥ê¥ó¥°¤¬¤¹¤´¤¯µ¤¤ËÆþ¤Ã¤Æ¤¤¤Þ¤¹¡£ºÇ¿·¤Ç¤¹¤«¤é¤Í¡£NSX¤Î¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹¤Î¤¤¤¤¤È¤³¤í¤Ï¡¢¥Ï¥ó¥É¥ê¥ó¥°¤Î¤è¤µ¤È¥³¡¼¥Ê¥ê¥ó¥°Ãæ¤Î¥Ð¥é¥ó¥¹¤Î¤è¤µ¤Ç¤¹¤Í¡£¤¹¤´¤¯¥Ð¥é¥ó¥¹¤¬¼è¤ì¤Æ¤¤¤ë¤Î¤Ç¡¢¾¯¤·ÌµÍý¤ò¤·¤Æ¤â¤¢¤Þ¤ê¥ê¥¢¤¬Î®¤ì¤Ê¤¤¤ó¤Ç¤¹¡£¥µ¥¹¥Ú¥ó¥·¥ç¥ó¤â¤¤¤¤¤Ç¤¹¤Í¡£¥É¥¤¥Ä¤Î¥¹¥Ý¡¼¥Ä¥µ¥ë¡¼¥ó¤Î¥µ¥¹¥Ú¥ó¥·¥ç¥ó¤¬¹¥¤­¤Ç10Ç¯°Ê¾å¾è¤Ã¤Æ¤¤¤¿¤ó¤Ç¤¹¤±¤É¡¢NSX¤Ï¤½¤ì°Ê¾å¤Ç¤¹¡£¤è¤¯Áö¤ê¹þ¤ó¤Ç¥Á¥å¡¼¥Ë¥ó¥°¤·¤¿¤ó¤À¤Ê¡¦¡¦¤È¤¤¤¦¤³¤È¤¬Áö¤ê¤Ê¤¬¤éÅÁ¤ï¤Ã¤Æ¤­¤Þ¤¹¡£²¿¤È¸À¤¦¤«¡¢¥É¥é¥¤¥Ð¡¼¤Ë¸ì¤ê¤«¤±¤Æ¤¯¤ë´¶¤¸¤Ê¤ó¤Ç¤¹¤è¡£¼Á¤Î¹â¤µ¤È¤¤¤¦¤«¡¢²¹¤â¤ê¤È¤¤¤¦¤«¡¢¤ª¸ß¤¤Ê¬¤«¤ê¹ç¤¨¤ë¤è¤¦¤Ê¤Ä¤Ê¤¬¤ê¤ò´¶¤¸¤ë¤ó¤Ç¤¹¡£</td>
-	</tr>
-</table>
-
-<br />
-
-<table width="400" border="0" cellspacing="0" cellpadding="0" summary=" ">
-	<tr>
-		<td align="center">
-		<form name="form1" id="form1" method="post" action="">
-		<input type="button" name="close" value="¥¦¥¤¥ó¥É¥¦¤òÊÄ¤¸¤ë" onClick="window.close()" />
-		</form></td>
-	</tr>
-</table>
-<!--¢¥MAIN CONTENTS-->
-</div>
-
-</body>
-</html>
Index: temp/trunk/html/admin/products/bak_upload_csv.php
===================================================================
--- temp/trunk/html/admin/products/bak_upload_csv.php	(revision 7180)
+++ 	(revision )
@@ -1,243 +1,0 @@
-<?php
-/*
- * Copyright(c) 2000-2006 LOCKON CO.,LTD. All Rights Reserved.
- *
- * http://www.lockon.co.jp/
- */
-require_once("../require.php");
-
-// 1¹Ô¤¢¤¿¤ê¤ÎºÇÂçÊ¸»ú¿ô
-define("CSV_LINE_MAX", 10000);
-
-class LC_Page {
-	var $arrSession;
-	var $arrCSVErr;
-	function LC_Page() {
-		$this->tpl_mainpage = 'products/upload_csv.tpl';
-		$this->tpl_subnavi = 'products/subnavi.tpl';
-		$this->tpl_mainno = 'products';
-		$this->tpl_subno = 'upload_csv';
-	}
-}
-
-$conn = new SC_DBConn();
-$objPage = new LC_Page();
-$objView = new SC_AdminView();
-$objSess = new SC_Session();
-
-// Ç§¾Ú²ÄÈÝ¤ÎÈ½Äê
-sfIsSuccess($objSess);
-
-// ¥Õ¥¡¥¤¥ë´ÉÍý¥¯¥é¥¹
-$objUpFile = new SC_UploadFile(IMAGE_TEMP_DIR, IMAGE_SAVE_DIR);
-// ¥Õ¥¡¥¤¥ë¾ðÊó¤Î½é´ü²½
-lfInitFile();
-// ¥Ñ¥é¥á¡¼¥¿´ÉÍý¥¯¥é¥¹
-$objFormParam = new SC_FormParam();
-// ¥Ñ¥é¥á¡¼¥¿¾ðÊó¤Î½é´ü²½
-lfInitParam();
-$colmax = $objFormParam->getCount();
-$objPage->arrTitle = $objFormParam->getTitleArray();
-
-switch($_POST['mode']) {
-case 'csv_upload':
-	$err = false;
-	// ¥¨¥é¡¼¥Á¥§¥Ã¥¯
-	$objPage->arrErr['csv_file'] = $objUpFile->makeTempFile('csv_file');
-	
-	if($objPage->arrErr['css_file'] == "") {
-		$objPage->arrErr = $objUpFile->checkEXISTS();
-	}
-	
-	if($objPage->arrErr['csv_file'] == "") {
-		// °ì»þ¥Õ¥¡¥¤¥ëÌ¾¤Î¼èÆÀ
-		$filepath = $objUpFile->getTempFilePath('csv_file');
-		// ¥¨¥ó¥³¡¼¥É
-		$enc_filepath = sfEncodeFile($filepath, CHAR_CODE, CSV_TEMP_DIR);
-		$fp = fopen($enc_filepath, "r");
-		$line = 0;		// ¹Ô¿ô
-		$regist = 0;	// ÅÐÏ¿¿ô
-		
-		$objQuery = new SC_Query();
-		$objQuery->begin();
-		
-		while(!feof($fp) && !$err) {
-			$arrCSV = fgetcsv($fp, CSV_LINE_MAX);
-						
-			// ¹Ô¥«¥¦¥ó¥È
-			$line++;
-			
-			if($line <= 1) {
-				continue;
-			}			
-							
-			// ¹àÌÜ¿ô¥«¥¦¥ó¥È
-			$max = count($arrCSV);
-			
-			// ¹àÌÜ¿ô¤¬1°Ê²¼¤Î¾ì¹ç¤ÏÌµ»ë¤¹¤ë
-			if($max <= 1) {
-				continue;			
-			}
-			
-			// ¹àÌÜ¿ô¥Á¥§¥Ã¥¯
-			if($max != $colmax) {
-				$objPage->arrCSVErr['blank'] = "¢¨ ¹àÌÜ¿ô¤¬" . $max . "¸Ä¸¡½Ð¤µ¤ì¤Þ¤·¤¿¡£¹àÌÜ¿ô¤Ï" . $colmax . "¸Ä¤Ë¤Ê¤ê¤Þ¤¹¡£";
-				$err = true;
-			} else {
-				// ¥·¡¼¥±¥ó¥¹ÇÛÎó¤ò³ÊÇ¼¤¹¤ë¡£
-				$objFormParam->setParam($arrCSV, true);
-				$arrRet = $objFormParam->getHashArray();
-				// ÃÍ¤ò¥Õ¥©¡¼¥Þ¥Ã¥ÈÊÑ´¹¤·¤Æ³ÊÇ¼¤¹¤ë¡£
-				$arrRet = lfConvFormat($arrRet);
-				$objFormParam->setParam($arrRet);
-				// ÆþÎÏÃÍ¤ÎÊÑ´¹
-				$objFormParam->convParam();
-				// <br>¤Ê¤·¤Ç¥¨¥é¡¼¼èÆÀ¤¹¤ë¡£
-				$objPage->arrCSVErr = lfCheckError();
-			}
-			
-			// ÆþÎÏ¥¨¥é¡¼¥Á¥§¥Ã¥¯
-			if(count($objPage->arrCSVErr) > 0) {
-				$objPage->tpl_errtitle = "¢£" . $line . "¹ÔÌÜ¤Ç¥¨¥é¡¼¤¬È¯À¸¤·¤Þ¤·¤¿¡£";
-				$objPage->arrParam = $objFormParam->getHashArray();
-				$err = true;
-			}
-			
-			if(!$err) {
-				lfInsertProduct($objQuery);
-				$regist++;
-			}
-		}
-		fclose($fp);
-		
-		if(!$err) {
-			$objQuery->commit();
-			$objPage->tpl_oktitle = "¢£" . $regist . "·ï¤Î¥ì¥³¡¼¥É¤òÅÐÏ¿¤·¤Þ¤·¤¿¡£";
-		} else {
-			$objQuery->rollback();
-		}
-	}
-	break;
-default:
-	break;
-}
-
-$objView->assignobj($objPage);
-$objView->display(MAIN_FRAME);
-
-//--------------------------------------------------------------------------------------------------------------------------
-
-/* ¥Õ¥¡¥¤¥ë¾ðÊó¤Î½é´ü²½ */
-function lfInitFile() {
-	global $objUpFile;
-	$objUpFile->addFile("CSV¥Õ¥¡¥¤¥ë", 'csv_file', array('csv'), CSV_SIZE, true, 0, 0, false);
-}
-
-/* ¥Ñ¥é¥á¡¼¥¿¾ðÊó¤Î½é´ü²½ */
-function lfInitParam() {
-	global $objFormParam;
-	
-	$objFormParam->addParam("¾¦ÉÊÌ¾", "name", STEXT_LEN, "KVa", array("EXIST_CHECK","SPTAB_CHECK","MAX_LENGTH_CHECK"));
-	$objFormParam->addParam("¥«¥Æ¥´¥êID", "category_id", INT_LEN, "n", array("EXIST_CHECK","MAX_LENGTH_CHECK","NUM_CHECK"));
-	$objFormParam->addParam("¾¦ÉÊ¥¹¥Æ¡¼¥¿¥¹", "product_flag", INT_LEN, "n", array("EXIST_CHECK","MAX_LENGTH_CHECK","NUM_CHECK"));
-	$objFormParam->addParam("¾¦ÉÊ¥³¡¼¥É", "product_code", STEXT_LEN, "KVa", array("SPTAB_CHECK","MAX_LENGTH_CHECK"));
-	$objFormParam->addParam("¾¦ÉÊ²Á³Ê", "price01", PRICE_LEN, "n", array("EXIST_CHECK","MAX_LENGTH_CHECK","NUM_CHECK"));
-	$objFormParam->addParam("¾¦ÉÊ²Á³Ê", "price02", PRICE_LEN, "n", array("MAX_LENGTH_CHECK","NUM_CHECK"));
-	$objFormParam->addParam("¥Ý¥¤¥ó¥ÈÉÕÍ¿Î¨", "point_rate", PERCENTAGE_LEN, "n", array("EXIST_CHECK","MAX_LENGTH_CHECK","NUM_CHECK"));
-	$objFormParam->addParam("ºß¸Ë¿ô", "stock", INT_LEN, "n", array("EXIST_CHECK","MAX_LENGTH_CHECK","NUM_CHECK"));
-	$objFormParam->addParam("¹ØÆþÀ©¸Â", "sale_limit", INT_LEN, "n", array("EXIST_CHECK","MAX_LENGTH_CHECK","NUM_CHECK"));
-	$objFormParam->addParam("¥á¥¤¥ó°ìÍ÷¥³¥á¥ó¥È", "main_list_comment", LTEXT_LEN, "KVa", array("EXIST_CHECK","SPTAB_CHECK","MAX_LENGTH_CHECK"));
-	$objFormParam->addParam("¥á¥¤¥ó¥³¥á¥ó¥È", "main_comment", LTEXT_LEN, "KVa", array("EXIST_CHECK","SPTAB_CHECK","MAX_LENGTH_CHECK"));
-	$objFormParam->addParam("¾ÜºÙ-¥µ¥Ö¥¿¥¤¥È¥ë(1)", "sub_title1", LTEXT_LEN, "KVa", array("SPTAB_CHECK","MAX_LENGTH_CHECK"));
-	$objFormParam->addParam("¾ÜºÙ-¥µ¥Ö¥³¥á¥ó¥È(1)", "sub_comment1", LTEXT_LEN, "KVa", array("SPTAB_CHECK","MAX_LENGTH_CHECK"));
-	$objFormParam->addParam("¾ÜºÙ-¥µ¥Ö¥¿¥¤¥È¥ë(2)", "sub_title2", LTEXT_LEN, "KVa", array("SPTAB_CHECK","MAX_LENGTH_CHECK"));
-	$objFormParam->addParam("¾ÜºÙ-¥µ¥Ö¥³¥á¥ó¥È(2)", "sub_comment2", LTEXT_LEN, "KVa", array("SPTAB_CHECK","MAX_LENGTH_CHECK"));
-	$objFormParam->addParam("¾ÜºÙ-¥µ¥Ö¥¿¥¤¥È¥ë(3)", "sub_title3", LTEXT_LEN, "KVa", array("SPTAB_CHECK","MAX_LENGTH_CHECK"));
-	$objFormParam->addParam("¾ÜºÙ-¥µ¥Ö¥³¥á¥ó¥È(3)", "sub_comment3", LTEXT_LEN, "KVa", array("SPTAB_CHECK","MAX_LENGTH_CHECK"));
-	$objFormParam->addParam("¾ÜºÙ-¥µ¥Ö¥¿¥¤¥È¥ë(4)", "sub_title4", LTEXT_LEN, "KVa", array("SPTAB_CHECK","MAX_LENGTH_CHECK"));
-	$objFormParam->addParam("¾ÜºÙ-¥µ¥Ö¥³¥á¥ó¥È(4)", "sub_comment4", LTEXT_LEN, "KVa", array("SPTAB_CHECK","MAX_LENGTH_CHECK"));
-	$objFormParam->addParam("¾ÜºÙ-¥µ¥Ö¥¿¥¤¥È¥ë(5)", "sub_title5", LTEXT_LEN, "KVa", array("SPTAB_CHECK","MAX_LENGTH_CHECK"));
-	$objFormParam->addParam("¾ÜºÙ-¥µ¥Ö¥³¥á¥ó¥È(5)", "sub_comment5", LTEXT_LEN, "KVa", array("SPTAB_CHECK","MAX_LENGTH_CHECK"));
-	$objFormParam->addParam("¾ÜºÙ-¥µ¥Ö¥¿¥¤¥È¥ë(6)", "sub_title6", LTEXT_LEN, "KVa", array("SPTAB_CHECK","MAX_LENGTH_CHECK"));
-	$objFormParam->addParam("¾ÜºÙ-¥µ¥Ö¥³¥á¥ó¥È(6)", "sub_comment6", LTEXT_LEN, "KVa", array("SPTAB_CHECK","MAX_LENGTH_CHECK"));
-}
-
-/* ÆÃ¼ì¹àÌÜ¤ÎÊÑ´¹ */
-function lfConvFormat($array) {
-	global $arrDISP;
-	foreach($array as $key => $val) {
-		switch($key) {
-		case 'status':
-			$arrRet[$key] = sfSearchKey($arrDISP, $val, 1);
-			break;
-		default:
-			$arrRet[$key] = $val;
-			break;
-		}
-	}
-	return $arrRet;
-}
-
-/* ¾¦ÉÊ¤Î¿·µ¬ÄÉ²Ã */
-function lfInsertProduct($objQuery) {
-	global $objFormParam;
-	$arrRet = $objFormParam->getHashArray();
-	
-	// µ¬³Ê¤ËÅÐÏ¿¤µ¤ì¤ëÃÍ¤ò½ü³°¤¹¤ë¡£
-	foreach($arrRet as $key => $val) {
-		switch($key) {
-		case 'product_code':
-		case 'price01':
-		case 'price02':
-		case 'point_rate':
-		case 'stock':
-			break;
-		default:
-			$sqlval[$key] = $val;
-			break;
-		}
-	}
-	
-	if (DB_TYPE == "pgsql") {
-		$product_id = $objQuery->nextval("dtb_products", "product_id");
-		$sqlval['product_id'] = $product_id;
-	}
-	$sqlval['status'] = 2;	// ÈóÉ½¼¨¤ËÀßÄê¤¹¤ë¡£
-	$sqlval['update_date'] = "Now()";
-	$sqlval['create_date'] = "Now()";
-	$sqlval['creator_id'] = $_SESSION['member_id'];
-	$sqlval['rank'] = $objQuery->max("dtb_products", "rank", "del_flg = 0 AND category_id = ?", array($sqlval['category_id'])) + 1;
-	
-	// µ¬³ÊÅÐÏ¿
-	sfInsertProductClass($objQuery, $arrRet, $product_id);
-	
-	// INSERT¤Î¼Â¹Ô
-	$objQuery->insert("dtb_products", $sqlval);
-	
-	if (DB_TYPE == "mysql") {
-		$product_id = $objQuery->nextval("dtb_products", "product_id");
-		$sqlval['product_id'] = $product_id;
-	}
-}
-
-/* ÆþÎÏÆâÍÆ¤Î¥Á¥§¥Ã¥¯ */
-function lfCheckError() {
-	global $objFormParam;
-	// ÆþÎÏ¥Ç¡¼¥¿¤òÅÏ¤¹¡£
-	$arrRet =  $objFormParam->getHashArray();
-	$objErr = new SC_CheckError($arrRet);
-	$objErr->arrErr = $objFormParam->checkError(false);
-	
-	if(!isset($objErr->arrErr['category_id'])) {
-		$objQuery = new SC_Query();
-		$col = "level";
-		$table = "dtb_category";
-		$where = "category_id = ?";
-		$level = $objQuery->get($table, $col, $where, array($arrRet['category_id']));
-		if($level != LEVEL_MAX) {
-			$objErr->arrErr['category_id'] = "¢¨ ¤³¤Î¥«¥Æ¥´¥êID¤Ë¤Ï¾¦ÉÊ¤òÅÐÏ¿¤Ç¤­¤Þ¤»¤ó¡£";
-		}
-	}
-	return $objErr->arrErr;
-}
-?>
Index: temp/trunk/html/admin/products/edit.php
===================================================================
--- temp/trunk/html/admin/products/edit.php	(revision 7180)
+++ 	(revision )
@@ -1,177 +1,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
-<!--{*
- * Copyright(c) 2000-2006 LOCKON CO.,LTD. All Rights Reserved.
- *
- * http://www.lockon.co.jp/
- *}-->
-<head>
-<meta http-equiv="content-type" content="application/xhtml+xml; charset=<!--{$smarty.const.CHAR_CODE}-->" />
-<meta http-equiv="content-script-type" content="text/javascript" />
-<meta http-equiv="content-style-type" content="text/css" />
-<link rel="stylesheet" href="../css/contents.css" type="text/css" />
-<script type="text/javascript" src="../js/css.js"></script>
-<script type="text/javascript" src="../js/navi.js"></script>
-<title>EC¥µ¥¤¥È´ÉÍý¼Ô¥Ú¡¼¥¸</title>
-</head>
-
-<body bgcolor="#f3f3f3" text="#666666" link="#007bb7" vlink="#007bb7" alink="#cc0000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="preLoadImg()">
-<noscript>
-<link rel="stylesheet" href="../css/common.css" type="text/css" />
-</noscript>
-
-
-<div align="center">
-<!--¢§HEADER-->
-<table width="780" border="0" cellspacing="0" cellpadding="0" summary=" ">
-	<tr><td bgcolor="#bfbf9f" height="3" colspan="2"></td></tr>
-	<tr bgcolor="#dedecd">
-		<td height="40" width="365"><a href="../home.php"><img src="../misc/logo.gif" width="365" height="16" alt="EC¥µ¥¤¥È´ÉÍý¼Ô¥Ú¡¼¥¸" border="0" /></a></td>
-		<td width="415" align="right"><a href="../home.php" onmouseover="chgImg('../misc/home_on.gif','home');" onmouseout="chgImg('../misc/home.gif','home');"><img src="../misc/home.gif" width="70" height="20" alt="HOME" border="0" name="home" id="home" /></a><img src="../misc/_.gif" width="3" height="1" alt="" />
-		<a href="#" onmouseover="chgImg('../misc/hp_on.gif','hp');" onmouseout="chgImg('../misc/hp.gif','hp');" target="_blank"><img src="../misc/hp.gif" width="70" height="20" alt="HP¤ò¸«¤ë" border="0" name="hp" id="hp" /></a><img src="../misc/_.gif" width="3" height="1" alt="" />
-		<a href="../index.html" onmouseover="chgImg('../misc/logout_on.gif','logout');" onmouseout="chgImg('../misc/logout.gif','logout');"><img src="../misc/logout.gif" width="70" height="20" alt="¥í¥°¥¢¥¦¥È" border="0" name="logout" id="logout" /></a><img src="../misc/_.gif" width="20" height="1" alt="" /></td>
-	</tr>
-	<tr><td bgcolor="#ffffff" height="1" colspan="3"></td></tr>
-</table>
-<!--¢¥HEADER-->
-
-<!--¢§MAIN NAVI-->
-<table width="780" border="0" cellspacing="0" cellpadding="0" summary=" ">
-	<tr>
-		<td><a href="../basis/index.php" onmouseover="chgImg('../misc/basis_on.gif','basis');" onmouseout="chgImg('../misc/basis.gif','basis');"><img src="../misc/basis.gif" width="108" height="26" alt="´ðËÜ¾ðÊó" border="0" name="basis" id="basis" /></a></td>
-		<td><a href="../product/index.php"><img src="../misc/product_on.gif" width="108" height="26" alt="¾¦ÉÊ´ÉÍý" border="0" /></a></td>
-		<td><a href="../customer/index.php" onmouseover="chgImg('../misc/customer_on.gif','customer');" onmouseout="chgImg('../misc/customer.gif','customer');"><img src="../misc/customer.gif" width="108" height="26" alt="¸ÜµÒ´ÉÍý" border="0" name="customer" id="customer" /></a></td>
-		<td><a href="../order/index.php" onmouseover="chgImg('../misc/order_on.gif','order');" onmouseout="chgImg('../misc/order.gif','order');"><img src="../misc/order.gif" width="108" height="26" alt="¼õÃí´ÉÍý" border="0" name="order" id="order" /></a></td>
-		<td><a href="../sales/index.php" onmouseover="chgImg('../misc/sales_on.gif','sales');" onmouseout="chgImg('../misc/sales.gif','sales');"><img src="../misc/sales.gif" width="108" height="26" alt="Çä¾å´ÉÍý" border="0" name="sales" id="sales" /></a></td>
-		<td><a href="../mail/index.php" onmouseover="chgImg('../misc/mail_on.gif','mail');" onmouseout="chgImg('../misc/mail.gif','mail');"><img src="../misc/mail.gif" width="108" height="26" alt="¥á¡¼¥ëÇÛ¿®" border="0" name="mail" id="mail" /></a></td>
-		<td><a href="../contents/index.php" onmouseover="chgImg('../misc/contents_on.gif','contents');" onmouseout="chgImg('../misc/contents.gif','contents');"><img src="../misc/contents.gif" width="132" height="26" alt="¥³¥ó¥Æ¥ó¥Ä´ÉÍý" border="0" name="contents" id="contents" /></a></td>
-	</tr>
-	<tr><td colspan="7" height="1" bgcolor="#dedecd"></td></tr>
-	<tr><td colspan="7" bgcolor="#ffffff" height="15"></td></tr>
-</table>
-<!--¢¥MAIN NAVI-->
-
-<!--¢§CONTENTS-->
-<table width="780" border="0" cellspacing="0" cellpadding="0" summary=" ">
-	<tr>
-		<td bgcolor="#ffffff" align="center" valign="top" height="400">
-		<table width="740" border="0" cellspacing="0" cellpadding="0" summary=" ">
-			<tr>
-				<!--¢§SUB NAVI-->
-				<td class="fs12n"><span class="over">¢£¾¦ÉÊ¥Þ¥¹¥¿</span>¡¡<a href="./csv.php">¢£CSV¥¢¥Ã¥×¥í¡¼¥É</a>¡¡<a href="./input.php">¢£¾¦ÉÊÅÐÏ¿</a>¡¡<a href="./standard_input.php">¢£µ¬³ÊÅÐÏ¿</a>¡¡<a href="./category.php">¢£¥«¥Æ¥´¥êÀßÄê</a>¡¡<a href="./review.php">¢£¥ì¥Ó¥å¡¼´ÉÍý</a></td>
-				<!--¢¥SUB NAVI-->
-			</tr><tr><td height="25"></td></tr>
-		</table>
-		
-		<!--¢§MAIN CONTENTS-->
-		<table width="740" border="0" cellspacing="0" cellpadding="0" summary=" ">
-			<tr>
-				<td class="fs14n"><strong>¢£¾¦ÉÊ¥Þ¥¹¥¿¡§¾¦ÉÊÊÔ½¸</strong></td>
-			</tr>
-		</table>
-		
-		<!--¢§ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤«¤é-->
-		<form name="form1" id="form1" method="post" action="">
-		<table width="740" border="0" cellspacing="1" cellpadding="5" summary=" " bgcolor="#cccccc">
-			<tr>
-				<td bgcolor="#f0f0f0" width="160" class="fs12n">¾¦ÉÊ¥³¡¼¥É<span class="red"> *</span></td>
-				<td bgcolor="#ffffff" width="557" class="fs10n"><input type="text" name="code" size="60" class="box60" /><span class="red"> ¡Ê¾å¸Â50Ê¸»ú¡Ë</span></td>
-			</tr>
-			<tr>
-				<td bgcolor="#f0f0f0" width="160" class="fs12n">¾¦ÉÊÌ¾<span class="red"> *</span></td>
-				<td bgcolor="#ffffff" width="557" class="fs10n"><input type="text" name="name" size="60" class="box60" /><span class="red"> ¡Ê¾å¸Â50Ê¸»ú¡Ë</span></td>
-			</tr>
-			<tr>
-				<td bgcolor="#f0f0f0" width="160" class="fs12n">¥«¥Æ¥´¥ê<span class="red"> *</span></td>
-				<td bgcolor="#ffffff" width="557"><select name="category">
-				<option value="" selected="selected">ÁªÂò¤·¤Æ¤¯¤À¤µ¤¤</option>
-				<option value="¥À¥ß¡¼">¥À¥ß¡¼</option>
-				</select></td>
-			</tr>
-			<tr class="fs12n">
-				<td bgcolor="#f0f0f0" width="160">¾¦ÉÊ²Á³Ê<span class="red"> *</span></td>
-				<td bgcolor="#ffffff" width="557">¡ï<input type="text" name="price" size="6" class="box6" /><span class="red10"> ¡ÊÈ¾³Ñ¿ô»ú¤ÇÆþÎÏ Îã¡§28800¡Ë</span></td>
-			</tr>
-			<tr>
-				<td bgcolor="#f0f0f0" width="160" class="fs12n">À½Â¤¸µ</td>
-				<td bgcolor="#ffffff" width="557" class="fs10n"><input type="text" name="maker" size="60" class="box60" /><span class="red"> ¡Ê¾å¸Â50Ê¸»ú¡Ë</span></td>
-			</tr>
-			<tr>
-				<td bgcolor="#f0f0f0" width="160" class="fs12n">ÈÎÇä¸µ</td>
-				<td bgcolor="#ffffff" width="557" class="fs10n"><input type="text" name="dealer" size="60" class="box60" /><span class="red"> ¡Ê¾å¸Â50Ê¸»ú¡Ë</span></td>
-			</tr>
-			<tr class="fs12n">
-				<td bgcolor="#f0f0f0" width="160">¾¦ÉÊ¥¹¥Æ¡¼¥¿¥¹<span class="red"> *</span></td>
-				<td bgcolor="#ffffff" width="557"><input type="radio" name="status" value="Ìµ¤·" checked="checked" />Ìµ¤·¡¡<input type="radio" name="status" value="NEW" />NEW¡¡<input type="radio" name="status" value="¥ª¥¹¥¹¥á" />¥ª¥¹¥¹¥á¡¡<input type="radio" name="status" value="ÃíÌÜ" />ÃíÌÜ¡¡<input type="radio" name="status" value="¸ÂÄê" />¸ÂÄê</td>
-			</tr>
-			<tr>
-				<td bgcolor="#f0f0f0" width="160" class="fs12n">°ìÍ÷²èÌÌ¥³¥á¥ó¥È<span class="red"> *</span></td>
-				<td bgcolor="#ffffff" width="557" class="fs10n"><textarea name="textfield01" cols="60" rows="8" class="area60"></textarea><span class="red"> ¡Ê¾å¸Â200Ê¸»ú¡Ë</span></td>
-			</tr>
-			<tr>
-				<td bgcolor="#f0f0f0" width="160" class="fs12n">¤ª¤¹¤¹¤á¥Ý¥¤¥ó¥È<span class="red"> *</span></td>
-				<td bgcolor="#ffffff" width="557" class="fs10n"><textarea name="textfield02" cols="60" rows="8" class="area60"></textarea><span class="red"> ¡Ê¾å¸Â3000Ê¸»ú¡Ë</span></td>
-			</tr>
-			<tr>
-				<td bgcolor="#f0f0f0" width="160" class="fs12n">À½ÉÊ¾Ò²ð<span class="red"> *</span></td>
-				<td bgcolor="#ffffff" width="557" class="fs10n"><textarea name="textfield03" cols="60" rows="8" class="area60"></textarea><span class="red"> ¡Ê¾å¸Â3000Ê¸»ú¡Ë</span></td>
-			</tr>
-			<tr class="fs12n">
-				<td bgcolor="#f0f0f0" width="160">ºß¸Ë¿ô<span class="red"> *</span></td>
-				<td bgcolor="#ffffff" width="557"><input type="text" name="stock" size="6" class="box6" /> Ã±°Ì¡¡<input type="checkbox" name="nostock" value="ºß¸ËÀ©¸ÂÌµ¤·" />ºß¸ËÀ©¸ÂÌµ¤·</td>
-			</tr>
-			<tr class="fs12n">
-				<td bgcolor="#f0f0f0" width="160">¹ØÆþÀ©¸Â¿ô<span class="red"> *</span></td>
-				<td bgcolor="#ffffff" width="557"><input type="text" name="purchase" size="6" class="box6" /> Ã±°Ì¤Þ¤Ç</td>
-			</tr>
-			<tr class="fs12">
-				<td bgcolor="#f0f0f0" width="160">ÇÛÁ÷¶È¼Ô<span class="red"> *</span></td>
-				<td bgcolor="#ffffff" width="557"><input type="checkbox" name="delivery01" value="¥ä¥Þ¥È±¿Í¢" />¥ä¥Þ¥È±¿Í¢<br />
-				<input type="checkbox" name="delivery02" value="º´ÀîµÞÊØ" />º´ÀîµÞÊØ<br />
-				<input type="checkbox" name="delivery03" value="ÆüËÜÍ¹À¯¸ø¼Ò" />ÆüËÜÍ¹À¯¸ø¼Ò</td>
-			</tr>
-			<tr>
-				<td bgcolor="#f0f0f0" width="160" class="fs12n">°ìÍ÷ÍÑ²èÁü</td>
-				<td bgcolor="#ffffff" width="557"><input type="file" name="image00" size="60" class="box60" /></td>
-			</tr>
-			<tr>
-				<td bgcolor="#f0f0f0" width="160" class="fs12n">¾ÜºÙÍÑ²èÁü¡Ê1¡Ë<span class="red"> *</span></td>
-				<td bgcolor="#ffffff" width="557"><input type="file" name="image01" size="60" class="box60" /></td>
-			</tr>
-			<tr>
-				<td bgcolor="#f0f0f0" width="160" class="fs12n">¾ÜºÙÍÑ²èÁü¡Ê2¡Ë</td>
-				<td bgcolor="#ffffff" width="557"><input type="file" name="image02" size="60" class="box60" /></td>
-			</tr>
-			<tr>
-				<td bgcolor="#f0f0f0" width="160" class="fs12n">¾ÜºÙÍÑ²èÁü¡Ê3¡Ë</td>
-				<td bgcolor="#ffffff" width="557"><input type="file" name="image03" size="60" class="box60" /></td>
-			</tr>
-			<tr>
-				<td bgcolor="#f0f0f0" width="160" class="fs12n">ÊÌ¥¦¥¤¥ó¥É¥¦ÍÑ²èÁü</td>
-				<td bgcolor="#ffffff" width="557"><input type="file" name="image_window" size="60" class="box60" /></td>
-			</tr>
-			<tr>
-				<td bgcolor="#f0f0f0" width="160" class="fs12n">¾¦ÉÊ¾ÜºÙ¥Õ¥¡¥¤¥ë</td>
-				<td bgcolor="#ffffff" width="557" class="fs10n"><input type="file" name="product_file" size="60" class="box60" /><span class="red"> ¡Ê¡û¡û·Á¼°¡Ë</span></td>
-			</tr>
-		</table>
-		<!--¢¥ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤Þ¤Ç-->
-		<br />
-		<input type="button" name="subm" value="¤³¤ÎÆâÍÆ¤ÇÅÐÏ¿¤¹¤ë" />
-		</form>
-		
-		<!--¢¥MAIN CONTENTS-->
-		</td>
-	</tr>
-</table>
-<!--¢¥CONTENTS-->
-
-<!--¢§FOOTER-->
-<table width="780" border="0" cellspacing="0" cellpadding="0" summary=" ">
-	<tr><td bgcolor="#ffffff" height="60"></td></tr>
-	<tr><td bgcolor="#e5e5df" height="5"></td></tr>
-</table>
-<!--¢¥FOOTER-->
-</div>
-</body>
-</html>
