Index: /branches/dev/html/test/naka/conf.php
===================================================================
--- /branches/dev/html/test/naka/conf.php	(revision 12329)
+++ /branches/dev/html/test/naka/conf.php	(revision 12329)
@@ -0,0 +1,1081 @@
+<?php
+/**
+ * 
+ * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
+ *
+ * http://www.lockon.co.jp/
+ * 
+ */
+
+$CONF_PHP_PATH = realpath( dirname( __FILE__) );
+require_once($CONF_PHP_PATH ."/../install.php");
+require_once($CONF_PHP_PATH ."/core.php" );
+
+//--------------------------------------------------------------------------------------------------------
+/** ¥¨¥é¡¼¥ì¥Ù¥ëÀßÄê
+/*
+ *	'E_ERROR'             => Âç¤Ê¼Â¹Ô»þ¥¨¥é¡¼¡£¤³¤ì¤Ï¡¢¥á¥â¥ê³ÎÊÝ¤Ë´Ø¤¹¤ëÌäÂê¤Î¤è¤¦¤ËÉüµ¢¤Ç ¤­¤Ê¤¤¥¨¥é¡¼¤ò¼¨¤·¤Þ¤¹¡£¥¹¥¯¥ê¥×¥È¤Î¼Â¹Ô¤ÏÃæÃÇ¤µ¤ì¤Þ¤¹¡£ 
+ *	'E_WARNING'           => ¼Â¹Ô»þ¤Î·Ù¹ð (Ã×Ì¿Åª¤Ê¥¨¥é¡¼¤Ç¤Ï¤Ê¤¤)¡£¥¹¥¯¥ê¥×¥È¤Î¼Â¹Ô¤ÏÃæÃÇ¤µ ¤ì¤Þ¤»¤ó
+ *	'E_PARSE'             => ¥³¥ó¥Ñ¥¤¥ë»þ¤Î¥Ñ¡¼¥¹¥¨¥é¡¼¡£¥Ñ¡¼¥¹¥¨¥é¡¼¤Ï¥Ñ¡¼¥µ¤Ç¤Î¤ßÀ¸À®¤µ¤ì¤Þ ¤¹¡£ 
+ *	'E_NOTICE'            => ¼Â¹Ô»þ¤Î·Ù¹ð¡£¥¨¥é¡¼¤òÈ¯¤·¤¦¤ë¾õ¶·¤ËÁø¶ø¤·¤¿¤³¤È¤ò¼¨¤¹¡£ ¤¿¤À¤·ÄÌ¾ï¤Î¥¹¥¯¥ê¥×¥È¼Â¹Ô¤Î¾ì¹ç¤Ë¤â¤³¤Î·Ù¹ð¤òÈ¯¤¹¤ë¤³¤È¤¬¤¢¤ê¤¦¤ë¡£
+ *	'E_CORE_ERROR'        => PHP¤Î½é´ü»ÏÆ°»þÅÀ¤Ç¤ÎÃ×Ì¿Åª¤Ê¥¨¥é¡¼¡£E_ERROR¤Ë »÷¤Æ¤¤¤ë¤¬PHP¤Î¥³¥¢¤Ë¤è¤Ã¤ÆÈ¯¹Ô¤µ¤ì¤ëÅÀ¤¬°ã¤¦¡£ 
+ *	'E_CORE_WARNING'      => ¡ÊÃ×Ì¿Åª¤Ç¤Ï¤Ê¤¤¡Ë·Ù¹ð¡£PHP¤Î½é´ü»ÏÆ°»þ¤ËÈ¯À¸¤¹¤ë¡£ E_WARNING¤Ë»÷¤Æ¤¤¤ë¤¬PHP¤Î¥³¥¢¤Ë¤è¤Ã¤ÆÈ¯¹Ô¤µ¤ì¤ë ÅÀ¤¬°ã¤¦¡£ 
+ *	'E_COMPILE_ERROR'     => ¥³¥ó¥Ñ¥¤¥ë»þ¤ÎÃ×Ì¿Åª¤Ê¥¨¥é¡¼¡£E_ERROR¤Ë »÷¤Æ¤¤¤ë¤¬Zend¥¹¥¯¥ê¥×¥Æ¥£¥ó¥°¥¨¥ó¥¸¥ó¤Ë¤è¤Ã¤ÆÈ¯¹Ô¤µ¤ì¤ëÅÀ¤¬°ã¤¦¡£ 
+ *	'E_COMPILE_WARNING'   => ¥³¥ó¥Ñ¥¤¥ë»þ¤Î·Ù¹ð¡ÊÃ×Ì¿Åª¤Ç¤Ï¤Ê¤¤¡Ë¡£E_WARNING¤Ë »÷¤Æ¤¤¤ë¤¬Zend¥¹¥¯¥ê¥×¥Æ¥£¥ó¥°¥¨¥ó¥¸¥ó¤Ë¤è¤Ã¤ÆÈ¯¹Ô¤µ¤ì¤ëÅÀ¤¬°ã¤¦¡£ 
+ *	'E_USER_ERROR'        => ¥æ¡¼¥¶¡¼¤Ë¤è¤Ã¤ÆÈ¯¹Ô¤µ¤ì¤ë¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸¡£E_ERROR ¤Ë»÷¤Æ¤¤¤ë¤¬PHP¥³¡¼¥É¾å¤Çtrigger_error()´Ø¿ô¤ò »ÈÍÑ¤·¤¿¾ì¹ç¤ËÈ¯¹Ô¤µ¤ì¤ëÅÀ¤¬°ã¤¦¡£ 
+ *	'E_USER_WARNING'      => ¥æ¡¼¥¶¡¼¤Ë¤è¤Ã¤ÆÈ¯¹Ô¤µ¤ì¤ë·Ù¹ð¥á¥Ã¥»¡¼¥¸¡£E_WARNING ¤Ë»÷¤Æ¤¤¤ë¤¬PHP¥³¡¼¥É¾å¤Çtrigger_error()´Ø¿ô¤ò »ÈÍÑ¤·¤¿¾ì¹ç¤ËÈ¯¹Ô¤µ¤ì¤ëÅÀ¤¬°ã¤¦¡£ 
+ *	'E_USER_NOTICE'       => ¥æ¡¼¥¶¡¼¤Ë¤è¤Ã¤ÆÈ¯¹Ô¤µ¤ì¤ëÃí°Õ¥á¥Ã¥»¡¼¥¸¡£E_NOTICE¤Ë ¤Ë»÷¤Æ¤¤¤ë¤¬PHP¥³¡¼¥É¾å¤Çtrigger_error()´Ø¿ô¤ò »ÈÍÑ¤·¤¿¾ì¹ç¤ËÈ¯¹Ô¤µ¤ì¤ëÅÀ¤¬°ã¤¦¡£ 
+ *	'E_ALL'               => ¥µ¥Ý¡¼¥È¤µ¤ì¤ëÁ´¤Æ¤Î¥¨¥é¡¼¤È·Ù¹ð¡£PHP < 6 ¤Ç¤Ï E_STRICT ¥ì¥Ù¥ë¤Î¥¨¥é¡¼¤Ï½ü¤¯¡£ 
+ *	'E_STRICT'            => ¢¨PHP5¤«¤é¥µ¥Ý¡¼¥È ¼Â¹Ô»þ¤ÎÃí°Õ¡£¥³¡¼¥É¤ÎÁê¸ß±¿ÍÑÀ­¤ä¸ß´¹À­¤ò°Ý»ý¤¹¤ë¤¿¤á¤Ë PHP ¤¬¥³¡¼¥É¤ÎÊÑ¹¹¤òÄó°Æ¤¹¤ë¡£
+ *	'E_RECOVERABLE_ERROR' => ¢¨PHP5¤«¤é¥µ¥Ý¡¼¥È ¥­¥ã¥Ã¥Á¤Ç¤­¤ëÃ×Ì¿Åª¤Ê¥¨¥é¡¼¡£´í¸±¤Ê¥¨¥é¡¼¤¬È¯À¸¤·¤¿¤¬¡¢ ¥¨¥ó¥¸¥ó¤¬ÉÔ°ÂÄê¤Ê¾õÂÖ¤Ë¤Ê¤ë¤Û¤É¤Ç¤Ï¤Ê¤¤¤³¤È¤òÉ½¤¹¡£ ¥æ¡¼¥¶ÄêµÁ¤Î¥Ï¥ó¥É¥é¤Ç¥¨¥é¡¼¤¬¥­¥ã¥Ã¥Á¤µ¤ì¤Ê¤«¤Ã¤¿¾ì¹ç (set_error_handler() ¤â»²¾È¤¯¤À¤µ¤¤) ¤Ï¡¢ E_ERROR ¤È¤·¤Æ°Û¾ï½ªÎ»¤¹¤ë¡£ 
+ */
+error_reporting(E_ALL & ~E_NOTICE);
+//error_reporting(E_ALL);
+
+//--------------------------------------------------------------------------------------------------------
+
+//--------------------------------------------------------------------------------------------------------
+/** ¥Õ¥í¥ó¥ÈÉ½¼¨´ØÏ¢ **/
+define("SAMPLE_ADDRESS1", "»Ô¶èÄ®Â¼Ì¾¡ÊÎã¡§ÅìµþÅÔÀéÂåÅÄ¶è¿ÀÅÄ¿ÀÊÝÄ®¡Ë");
+define("SAMPLE_ADDRESS2", "ÈÖÃÏ¡¦¥Ó¥ëÌ¾¡ÊÎã¡§1-3-5¡Ë");
+//--------------------------------------------------------------------------------------------------------
+
+//--------------------------------------------------------------------------------------------------------
+/** ¥Ñ¥¹´ØÏ¢ **/
+// ¥æ¡¼¥¶¥Õ¥¡¥¤¥ëÊÝÂ¸Àè
+define("USER_DIR", "user_data/");
+define("USER_PATH", HTML_PATH . USER_DIR);
+
+// ¥æ¡¼¥¶¥¤¥ó¥¯¥ë¡¼¥É¥Õ¥¡¥¤¥ëÊÝÂ¸Àè
+define("USER_INC_PATH", USER_PATH . "include/");
+
+// ¥Ö¥í¥Ã¥¯¥Õ¥¡¥¤¥ëÊÝÂ¸Àè
+define("BLOC_DIR", "include/bloc/");
+define("BLOC_PATH", USER_PATH . BLOC_DIR);
+
+// ¥­¥ã¥ó¥Ú¡¼¥ó¥Õ¥¡¥¤¥ëÊÝÂ¸Àè
+define("CAMPAIGN_DIR", "cp/");
+define("CAMPAIGN_URL", URL_DIR . CAMPAIGN_DIR);
+define("CAMPAIGN_PATH", HTML_PATH . CAMPAIGN_DIR);
+define("CAMPAIGN_TEMPLATE_DIR", "include/campaign/");
+define("CAMPAIGN_TEMPLATE_PATH", USER_PATH . CAMPAIGN_TEMPLATE_DIR);
+define("CAMPAIGN_BLOC_DIR", "bloc/");
+define("CAMPAIGN_BLOC_PATH", CAMPAIGN_TEMPLATE_PATH . CAMPAIGN_BLOC_DIR);
+define("CAMPAIGN_TEMPLATE_ACTIVE", "active/");
+define("CAMPAIGN_TEMPLATE_END", "end/");
+
+// ¥Æ¥ó¥×¥ì¡¼¥È¥Õ¥¡¥¤¥ëÊÝÂ¸Àè
+define("USER_TEMPLATE_DIR", "templates/");
+define("USER_TEMPLATE_PATH", USER_PATH . USER_TEMPLATE_DIR);
+// ¥Æ¥ó¥×¥ì¡¼¥È¥Õ¥¡¥¤¥ë°ì»þÊÝÂ¸Àè
+define("TEMPLATE_TEMP_DIR", HTML_PATH . "upload/temp_template/");
+
+// ¥æ¡¼¥¶¡¼ºîÀ®²èÌÌ¤Î¥Ç¥Õ¥©¥ë¥ÈPHP¥Õ¥¡¥¤¥ë
+define("USER_DEF_PHP", HTML_PATH . "__default.php");
+
+// ¤½¤ÎÂ¾²èÌÌ¤Î¥Ç¥Õ¥©¥ë¥È¥Ú¡¼¥¸¥ì¥¤¥¢¥¦¥È
+define("DEF_LAYOUT", "products/list.php");
+
+// ¥À¥¦¥ó¥í¡¼¥É¥â¥¸¥å¡¼¥ëÊÝÂ¸¥Ç¥£¥ì¥¯¥È¥ê
+define("MODULE_DIR", "downloads/module/");
+define("MODULE_PATH", DATA_PATH . MODULE_DIR);
+
+// HotFixÊÝÂ¸¥Ç¥£¥ì¥¯¥È¥ê
+define("UPDATE_DIR", "downloads/update/");
+define("UPDATE_PATH", DATA_PATH . UPDATE_DIR);
+//--------------------------------------------------------------------------------------------------------
+
+//--------------------------------------------------------------------------------------------------------
+/** ¥¢¥Ã¥×¥Ç¡¼¥È´ÉÍýÍÑ **/
+// ¥¢¥Ã¥×¥Ç¡¼¥È´ÉÍýÍÑ¥Õ¥¡¥¤¥ë³ÊÇ¼¾ì½ê¡¡
+define("UPDATE_HTTP", "http://www.lockon.co.jp/share/");
+
+// ¥¢¥Ã¥×¥Ç¡¼¥È´ÉÍýÍÑCSV1¹ÔÊÕ¤ê¤ÎºÇÂçÊ¸»ú¿ô
+define("UPDATE_CSV_LINE_MAX", 4096);
+// ¥¢¥Ã¥×¥Ç¡¼¥È´ÉÍýÍÑCSV¥«¥é¥à¿ô
+define("UPDATE_CSV_COL_MAX", 13);
+// ¥â¥¸¥å¡¼¥ë´ÉÍýÍÑCSV¥«¥é¥à¿ô
+define("MODULE_CSV_COL_MAX", 16);
+//--------------------------------------------------------------------------------------------------------
+
+//--------------------------------------------------------------------------------------------------------
+/** ¥â¥¸¥å¡¼¥ë´ÉÍýÍÑ **/
+// ¥¨¥Ó¥¹¥¿¥°µ¡Ç½¤Î¥â¥¸¥å¡¼¥ëID
+define("EBIS_TAG_MID", 1);
+// ¥¢¥Õ¥£¥ê¥¨¥¤¥È¥¿¥°µ¡Ç½¤Î¥â¥¸¥å¡¼¥ëID
+define("AFF_TAG_MID", 3);
+// ¾¦ÉÊ¹ØÆþ´°Î»
+define("AFF_SHOPPING_COMPLETE", 1);
+// ¥æ¡¼¥¶ÅÐÏ¿´°Î»
+define("AFF_ENTRY_COMPLETE", 2);
+// ·èºÑ¼õ¿®ÍÑURL
+define("CREDIT_HTTP_DOMAIN", "http://rcv.ec-cube.net/");
+define("CREDIT_HTTP_ANALYZE_PROGRAM", "rcv_credit.php");
+define("CREDIT_HTTP_ANALYZE_URL", CREDIT_HTTP_DOMAIN . CREDIT_HTTP_ANALYZE_PROGRAM);
+//--------------------------------------------------------------------------------------------------------
+
+// Ê¸»ú¥³¡¼¥É
+define("CHAR_CODE", "EUC-JP");
+
+// EC-CUBE¥Ð¡¼¥¸¥ç¥ó¾ðÊó
+define("ECCUBE_VERSION", "1.3.0");
+
+// ·èºÑ¥â¥¸¥å¡¼¥ëÉÕÍ¿Ê¸¸À
+define("ECCUBE_PAYMENT", "EC-CUBE");
+
+// PEAR::DB¤Î¥Ç¥Ð¥Ã¥°¥â¡¼¥É
+define('PEAR_DB_DEBUG', 9);
+
+//¥Ð¥Ã¥Á¤ò¼Â¹Ô¤¹¤ëºÇÃ»¤Î´Ö³Ö(ÉÃ)
+define("LOAD_BATCH_PASS", 3600);
+
+define("CLOSE_DAY", 31);	// Äù¤áÆü¤Î»ØÄê(ËöÆü¤Î¾ì¹ç¤Ï¡¢31¤ò»ØÄê¤·¤Æ¤¯¤À¤µ¤¤¡£)
+
+//°ìÈÌ¥µ¥¤¥È¥¨¥é¡¼
+define("FAVORITE_ERROR", 13);
+
+/** ¥°¥é¥Õ´ØÏ¢ **/
+	
+define("LIB_DIR", DATA_PATH . "lib/");						// ¥é¥¤¥Ö¥é¥ê¤Î¥Ñ¥¹
+define("TTF_DIR", DATA_PATH . "fonts/");					// ¥Õ¥©¥ó¥È¤Î¥Ñ¥¹
+define("GRAPH_DIR", HTML_PATH . "upload/graph_image/");		// ¥°¥é¥Õ³ÊÇ¼¥Ç¥£¥ì¥¯¥È¥ê
+define("GRAPH_URL", URL_DIR . "upload/graph_image/");		// ¥°¥é¥ÕURL
+define("GRAPH_PIE_MAX", 10);								// ±ß¥°¥é¥ÕºÇÂçÉ½¼¨¿ô
+define("GRAPH_LABEL_MAX", 40);								// ¥°¥é¥Õ¤Î¥é¥Ù¥ë¤ÎÊ¸»ú¿ô
+
+/** ¥Ñ¥¹´ØÏ¢ **/
+
+define("PDF_DIR", DATA_PATH . "pdf/");	// PDF³ÊÇ¼¥Ç¥£¥ì¥¯¥È¥ê
+
+/** Çä¾å¤²½¸·× **/
+
+define("BAT_ORDER_AGE", 70);		// ²¿ºÐ¤Þ¤Ç½¸·×¤ÎÂÐ¾Ý¤È¤¹¤ë¤«
+define("PRODUCTS_TOTAL_MAX", 15);	// ¾¦ÉÊ½¸·×¤Ç²¿°Ì¤Þ¤ÇÉ½¼¨¤¹¤ë¤«
+
+/** ¥Ç¥Õ¥©¥ë¥ÈÃÍ **/
+define("DEFAULT_PRODUCT_DISP", 2);	// 1:¸ø³« 2:Èó¸ø³«
+
+/** ¥ª¥×¥·¥ç¥óÀßÄê **/
+define("DELIV_FREE_AMOUNT", 0);				// Á÷ÎÁÌµÎÁ¹ØÆþ¸Ä¿ô¡Ê0¤Î¾ì¹ç¤Ï¡¢²¿¸ÄÇã¤Ã¤Æ¤âÌµÎÁ¤Ë¤Ê¤é¤Ê¤¤)
+define("INPUT_DELIV_FEE", 1);				// ÇÛÁ÷ÎÁ¤ÎÀßÄê²èÌÌÉ½¼¨(Í­¸ú:1 Ìµ¸ú:0)
+define("OPTION_PRODUCT_DELIV_FEE", 0);		// ¾¦ÉÊ¤´¤È¤ÎÁ÷ÎÁÀßÄê(Í­¸ú:1 Ìµ¸ú:0)
+define("OPTION_DELIV_FEE", 1);				// ÇÛÁ÷¶È¼Ô¤´¤È¤ÎÇÛÁ÷ÎÁ¤ò²Ã»»¤¹¤ë(Í­¸ú:1 Ìµ¸ú:0)
+define("OPTION_RECOMMEND", 1);		// ¤ª¤¹¤¹¤á¾¦ÉÊÅÐÏ¿(Í­¸ú:1 Ìµ¸ú:0)
+define("OPTION_CLASS_REGIST", 1);	// ¾¦ÉÊµ¬³ÊÅÐÏ¿(Í­¸ú:1 Ìµ¸ú:0)
+
+define("TV_IMAGE_WIDTH",170);		//TVÏ¢Æ°¾¦ÉÊ²èÁü²£
+define("TV_IMAGE_HEIGHT",95);		//TVÏ¢Æ°¾¦ÉÊ²èÁü½Ä
+define("TV_PRODUCTS_MAX",10);		//TVÏ¢Æ°¾¦ÉÊºÇÂçÅÐÏ¿¿ô
+
+/** ¥ª¥×¥·¥ç¥óÀßÄê **/
+//²ñ°÷ÅÐÏ¿ÊÑ¹¹(¥Þ¥¤¥Ú¡¼¥¸)¥Ñ¥¹¥ï¡¼¥ÉÍÑ
+define("DEFAULT_PASSWORD", "UAhgGR3L");
+//¤ª¤¹¤¹¤á¾¦ÉÊ¿ô
+define ("RECOMMEND_PRODUCT_MAX", 5);
+
+//ÊÌ¤Î¤ªÆÏ¤±ÀèºÇÂçÅÐÏ¿¿ô
+define("DELIV_ADDR_MAX", 20);
+//±ÜÍ÷ÍúÎòÊÝÂ¸¿ô
+define("CUSTOMER_READING_MAX",30);
+//SSLURLÈ½Äê
+define("SSLURL_CHECK", 0);
+//´ÉÍý²èÌÌ¥¹¥Æ¡¼¥¿¥¹°ìÍ÷É½¼¨·ï¿ô
+define("ORDER_STATUS_MAX", 50);
+//¥Õ¥í¥ó¥È¥ì¥Ó¥å¡¼½ñ¤­¹þ¤ßºÇÂç¿ô
+define("REVIEW_REGIST_MAX", 5);
+
+/*
+ * ¥µ¥¤¥ÈÄêµÁÄê¿ô
+ */
+/* ¥·¥¹¥Æ¥à´ØÏ¢ */
+define ("ADMIN_ID", "1");								// ´ÉÍý¥æ¡¼¥¶ID(¥á¥ó¥Æ¥Ê¥ó¥¹ÍÑÉ½¼¨¤µ¤ì¤Ê¤¤¡£)
+define ("CUSTOMER_CONFIRM_MAIL", false);				// ²ñ°÷ÅÐÏ¿»þ¤Ë²¾²ñ°÷³ÎÇ§¥á¡¼¥ë¤òÁ÷¿®¤¹¤ë¤«¡Êtrue:²¾²ñ°÷¡¢false:ËÜ²ñ°÷¡Ë
+define ("MELMAGA_SEND", true);							// ¥á¥ë¥Þ¥¬ÇÛ¿®ÍÞÀ©(false:OFF¡¢true:ON)
+define ("MELMAGA_BATCH_MODE", false);					// ¥á¥¤¥ë¥Þ¥¬¥¸¥ó¥Ð¥Ã¥Á¥â¡¼¥É(true:¥Ð¥Ã¥Á¤ÇÁ÷¿®¤¹¤ë ¢¨Í×cronÀßÄê¡¢false:¥ê¥¢¥ë¥¿¥¤¥à¤ÇÁ÷¿®¤¹¤ë)
+define ("LOGIN_FRAME", "login_frame.tpl");				// ¥í¥°¥¤¥ó²èÌÌ¥Õ¥ì¡¼¥à
+define ("MAIN_FRAME", "main_frame.tpl");				// ´ÉÍý²èÌÌ¥Õ¥ì¡¼¥à
+define ("SITE_FRAME", "site_frame.tpl");				// °ìÈÌ¥µ¥¤¥È²èÌÌ¥Õ¥ì¡¼¥à
+define ("CERT_STRING", "7WDhcBTF");						// Ç§¾ÚÊ¸»úÎó
+define ("DUMMY_PASS", "########");						// ¥À¥ß¡¼¥Ñ¥¹¥ï¡¼¥É
+define ("UNLIMITED", "++");								// ºß¸Ë¿ô¡¢ÈÎÇäÀ©¸ÂÌµ¸Â¤ò¼¨¤¹¡£
+define ("BIRTH_YEAR", 1901);							// À¸Ç¯·îÆüÅÐÏ¿³«»ÏÇ¯
+define ("RELEASE_YEAR", 2005);							// ËÜ¥·¥¹¥Æ¥à¤Î²ÔÆ¯³«»ÏÇ¯
+define ("CREDIT_ADD_YEAR", 10);							// ¥¯¥ì¥¸¥Ã¥È¥«¡¼¥É¤Î´ü¸Â¡Ü²¿Ç¯
+define ("PARENT_CAT_MAX", 12);							// ¿Æ¥«¥Æ¥´¥ê¤Î¥«¥Æ¥´¥êID¤ÎºÇÂç¿ô¡Ê¤³¤ì°Ê²¼¤Ï¿Æ¥«¥Æ¥´¥ê¤È¤¹¤ë¡£)
+define ("NUMBER_MAX", 1000000000);						// GETÃÍÊÑ¹¹¤Ê¤É¤Î¤¤¤¿¤º¤é¤òËÉ¤°¤¿¤áºÇÂç¿ôÀ©¸Â¤òÀß¤±¤ë¡£
+define ("POINT_RULE", 2);								// ¥Ý¥¤¥ó¥È¤Î·×»»¥ë¡¼¥ë(1:»Í¼Î¸ÞÆþ¡¢2:ÀÚ¤ê¼Î¤Æ¡¢3:ÀÚ¤ê¾å¤²)
+define ("POINT_VALUE", 1);								// 1¥Ý¥¤¥ó¥ÈÅö¤¿¤ê¤ÎÃÍÃÊ(±ß)
+define ("ADMIN_MODE", 0);								// ´ÉÍý¥â¡¼¥É 1:Í­¸ú¡¡0:Ìµ¸ú(Ç¼ÉÊ»þ)
+define ("DAILY_BATCH_MODE", false);						// Çä¾å½¸·×¥Ð¥Ã¥Á¥â¡¼¥É(true:¥Ð¥Ã¥Á¤Ç½¸·×¤¹¤ë ¢¨Í×cronÀßÄê¡¢false:¥ê¥¢¥ë¥¿¥¤¥à¤Ç½¸·×¤¹¤ë)
+define ("MAX_LOG_QUANTITY", 5);							// ¥í¥°¥Õ¥¡¥¤¥ëºÇÂç¿ô(¥í¥°¥Æ¡¼¥·¥ç¥ó)
+define ("MAX_LOG_SIZE", "1000000");						// 1¤Ä¤Î¥í¥°¥Õ¥¡¥¤¥ë¤ËÊÝÂ¸¤¹¤ëºÇÂçÍÆÎÌ(byte)
+
+define ("FORGOT_MAIL", 0);								// ¥Ñ¥¹¥ï¡¼¥ÉËº¤ì¤Î³ÎÇ§¥á¡¼¥ë¤òÁ÷ÉÕ¤¹¤ë¤«ÈÝ¤«¡£(0:Á÷¿®¤·¤Ê¤¤¡¢1:Á÷¿®¤¹¤ë)
+define ("HTML_TEMPLATE_SUB_MAX", 12);					// ÅÐÏ¿¤Ç¤­¤ë¥µ¥Ö¾¦ÉÊ¤Î¿ô
+define ("LINE_LIMIT_SIZE", 60);							// Ê¸»ú¿ô¤¬Â¿¤¹¤®¤ë¤È¤­¤Ë¶¯À©²þ¹Ô¤¹¤ë¥µ¥¤¥º(È¾³Ñ)
+define ("BIRTH_MONTH_POINT", 0);						// ÃÂÀ¸Æü·î¥Ý¥¤¥ó¥È
+
+/* ¥¯¥ì¥¸¥Ã¥È¥í¡¼¥ó(¥»¥ó¥È¥é¥ë¥Õ¥¡¥¤¥Ê¥ó¥¹) */
+define ("CF_HOMEADDR", "https://cf.ufit.ne.jp/dotcredit");					// ¥Û¡¼¥à¥¢¥É¥ì¥¹
+define ("CF_STORECODE", "");												// ²ÃÌÁÅ¹¥³¡¼¥É(¥Ï¥¤¥Õ¥ó¤Ê¤·¤Ç¡Ë
+// define ("CF_HOMEADDR", "https://cf.ufit.ne.jp/dotcredittest");				// ¥Û¡¼¥à¥¢¥É¥ì¥¹(¥Æ¥¹¥ÈÍÑ)
+// define ("CF_STORECODE", "111111111111111");									// ²ÃÌÁÅ¹¥³¡¼¥É(¥Æ¥¹¥ÈÍÑ)
+
+define ("CF_SIMULATE", "/simulate/simulate.cgi");							// ¥·¥å¥ß¥ì¡¼¥·¥ç¥ó¸Æ¤Ó½Ð¤·
+// define ("CF_RETURNURL", SSL_URL . "shopping/loan.php");					// Ìá¤êÀè ¥·¥ç¥Ã¥Ô¥ó¥°¥í¡¼¥ó¤Ï¼¡´ü³«È¯
+// define ("CF_CANCELURL", SSL_URL . "shopping/loan_cancel.php");			// Ìá¤êÀè ¥·¥ç¥Ã¥Ô¥ó¥°¥í¡¼¥ó¤Ï¼¡´ü³«È¯
+define ("CF_CONTINUE", "1");												// ¸Æ¤Ó½Ð¤·¶èÊ¬(0:¥·¥å¥ß¥ì¡¼¥·¥ç¥ó¤Î¤ß¡¢1:¥·¥å¥ß¥ì¡¼¥·¥ç¥ó+¿½¹þ)
+define ("CF_LABOR", "0");													// ÌòÌ³Í­Ìµ¶èÊ¬(0:Ìµ¡¢1:Í­)
+define ("CF_RESULT", "1");													// ·ë²Ì±þÅú(1:·ë²Ì¤¢¤ê¡¢2:·ë²Ì¤Ê¤·)
+
+/* ¥¯¥ì¥¸¥Ã¥È¥«¡¼¥É(¥Ù¥ê¥È¥é¥ó¥¹) */
+define ("CGI_DIR", HTML_PATH . "../cgi-bin/");									// ¥â¥¸¥å¡¼¥ë³ÊÇ¼¥Ç¥£¥ì¥¯¥È¥ê
+define ("CGI_FILE", "mauthonly.cgi");										// ¥³¥¢CGI
+
+// ¥ë¡¼¥È¥«¥Æ¥´¥êID
+define ("ROOT_CATEGORY_1", 2);
+define ("ROOT_CATEGORY_2", 3);
+define ("ROOT_CATEGORY_3", 4);
+define ("ROOT_CATEGORY_4", 5);
+define ("ROOT_CATEGORY_5", 6);
+define ("ROOT_CATEGORY_6", 7);
+define ("ROOT_CATEGORY_7", 8);
+
+// ¤ª»ÙÊ§¤¤ÊýË¡ÆÃ¼ìID
+//define ("PAYMENT_DAIBIKI_ID",1);		// Âå¶â°ú´¹
+//define ("PAYMENT_GINFURI_ID", 2);		// ¶ä¹Ô¿¶¹þ
+//define ("PAYMENT_KAKITOME_ID", 3);		// ¸½¶â½ñÎ±
+//define ("PAYMENT_LOAN_ID", 5);			// ¥·¥ç¥Ã¥Ô¥ó¥°¥í¡¼¥ó
+define ("PAYMENT_CREDIT_ID",1);			// ¥¯¥ì¥¸¥Ã¥È¥«¡¼¥É
+define ("PAYMENT_CONVENIENCE_ID", 2);	// ¥³¥ó¥Ó¥Ë·èºÑ
+
+define("LARGE_IMAGE_WIDTH",  500);						// ³ÈÂç²èÁü²£
+define("LARGE_IMAGE_HEIGHT", 500);						// ³ÈÂç²èÁü½Ä
+define("SMALL_IMAGE_WIDTH",  130);						// °ìÍ÷²èÁü²£
+define("SMALL_IMAGE_HEIGHT", 130);						// °ìÍ÷²èÁü½Ä
+define("NORMAL_IMAGE_WIDTH",  260);						// ÄÌ¾ï²èÁü²£
+define("NORMAL_IMAGE_HEIGHT", 260);						// ÄÌ¾ï²èÁü½Ä
+define("NORMAL_SUBIMAGE_WIDTH", 200);					// ÄÌ¾ï¥µ¥Ö²èÁü²£
+define("NORMAL_SUBIMAGE_HEIGHT", 200);					// ÄÌ¾ï¥µ¥Ö²èÁü½Ä
+define("LARGE_SUBIMAGE_WIDTH", 500);					// ³ÈÂç¥µ¥Ö²èÁü²£
+define("LARGE_SUBIMAGE_HEIGHT", 500);					// ³ÈÂç¥µ¥Ö²èÁü½Ä
+define("DISP_IMAGE_WIDTH",  65);						// °ìÍ÷É½¼¨²èÁü²£
+define("DISP_IMAGE_HEIGHT", 65);						// °ìÍ÷É½¼¨²èÁü½Ä
+define("OTHER_IMAGE1_WIDTH", 500);						// ¤½¤ÎÂ¾¤Î²èÁü1
+define("OTHER_IMAGE1_HEIGHT", 500);						// ¤½¤ÎÂ¾¤Î²èÁü1
+define("HTMLMAIL_IMAGE_WIDTH",  110);					// HTML¥á¡¼¥ë¥Æ¥ó¥×¥ì¡¼¥È¥á¡¼¥ëÃ´Åö²èÁü²£
+define("HTMLMAIL_IMAGE_HEIGHT", 120);					// HTML¥á¡¼¥ë¥Æ¥ó¥×¥ì¡¼¥È¥á¡¼¥ëÃ´Åö²èÁü½Ä
+
+define("IMAGE_SIZE", 1000);								// ²èÁü¥µ¥¤¥ºÀ©¸Â(KB)
+define("CSV_SIZE", 2000);								// CSV¥µ¥¤¥ºÀ©¸Â(KB)
+define("CSV_LINE_MAX", 10000);							// CSV¥¢¥Ã¥×¥í¡¼¥É1¹Ô¤¢¤¿¤ê¤ÎºÇÂçÊ¸»ú¿ô
+define("PDF_SIZE", 5000);								// PDF¥µ¥¤¥ºÀ©¸Â(KB):¾¦ÉÊ¾ÜºÙ¥Õ¥¡¥¤¥ëÅù
+define("FILE_SIZE", 10000);								// ¥Õ¥¡¥¤¥ë´ÉÍý²èÌÌ¥¢¥Ã¥×À©¸Â(KB)
+define("TEMPLATE_SIZE", 10000);							// ¥¢¥Ã¥×¤Ç¤­¤ë¥Æ¥ó¥×¥ì¡¼¥È¥Õ¥¡¥¤¥ëÀ©¸Â(KB)
+define("LEVEL_MAX", 5);									// ¥«¥Æ¥´¥ê¤ÎºÇÂç³¬ÁØ
+define("CATEGORY_MAX", 1000);							// ºÇÂç¥«¥Æ¥´¥êÅÐÏ¿¿ô
+
+/* É½¼¨´ØÏ¢ */
+define ("ADMIN_TITLE", "EC¥µ¥¤¥È´ÉÍý¥Ú¡¼¥¸");			// ´ÉÍý¥Ú¡¼¥¸¥¿¥¤¥È¥ë
+define ("SELECT_RGB", "#ffffdf");						// ÊÔ½¸»þ¶¯Ä´É½¼¨¿§
+define ("DISABLED_RGB", "#C9C9C9");						// ÆþÎÏ¹àÌÜÌµ¸ú»þ¤ÎÉ½¼¨¿§
+define ("ERR_COLOR", "#ffe8e8");						// ¥¨¥é¡¼»þÉ½¼¨¿§
+define ("CATEGORY_HEAD", ">");							// ¿Æ¥«¥Æ¥´¥êÉ½¼¨Ê¸»ú
+define ("START_BIRTH_YEAR", 1901);						// À¸Ç¯·îÆüÁªÂò³«»ÏÇ¯
+// ²Á³ÊÌ¾¾Î
+define("NORMAL_PRICE_TITLE","ÄÌ¾ï²Á³Ê");
+define("SALE_PRICE_TITLE","ÈÎÇä²Á³Ê");
+
+/* ¥·¥¹¥Æ¥à¥Ñ¥¹ */
+define ("LOG_PATH", DATA_PATH . "logs/site.log");							// ¥í¥°¥Õ¥¡¥¤¥ë
+define ("CUSTOMER_LOG_PATH", DATA_PATH . "logs/customer.log");				// ²ñ°÷¥í¥°¥¤¥ó ¥í¥°¥Õ¥¡¥¤¥ë
+define ("TEMPLATE_ADMIN_DIR", DATA_PATH . "Smarty/templates/admin");		// SMARTY¥Æ¥ó¥×¥ì¡¼¥È
+define ("TEMPLATE_DIR", DATA_PATH . "Smarty/templates");					// SMARTY¥Æ¥ó¥×¥ì¡¼¥È
+define ("COMPILE_ADMIN_DIR", DATA_PATH . "Smarty/templates_c/admin");		// SMARTY¥³¥ó¥Ñ¥¤¥ë
+define ("COMPILE_DIR", DATA_PATH . "Smarty/templates_c");					// SMARTY¥³¥ó¥Ñ¥¤¥ë
+
+define ("TEMPLATE_FTP_DIR", USER_PATH . "templates/");			// SMARTY¥Æ¥ó¥×¥ì¡¼¥È(FTPµö²Ä)
+define ("COMPILE_FTP_DIR", DATA_PATH . "Smarty/templates_c/user_data/");	// SMARTY¥³¥ó¥Ñ¥¤¥ë
+
+define ("IMAGE_TEMP_DIR", HTML_PATH . "upload/temp_image/");				// ²èÁü°ì»þÊÝÂ¸
+define ("IMAGE_SAVE_DIR", HTML_PATH . "upload/save_image/");				// ²èÁüÊÝÂ¸Àè
+define ("IMAGE_TEMP_URL", URL_DIR . "upload/temp_image/");					// ²èÁü°ì»þÊÝÂ¸URL
+define ("IMAGE_SAVE_URL", URL_DIR . "upload/save_image/");					// ²èÁüÊÝÂ¸ÀèURL
+define ("IMAGE_TEMP_URL_RSS", SITE_URL . "upload/temp_image/");				// RSSÍÑ²èÁü°ì»þÊÝÂ¸URL
+define ("IMAGE_SAVE_URL_RSS", SITE_URL . "upload/save_image/");				// RSSÍÑ²èÁüÊÝÂ¸ÀèURL
+define ("CSV_TEMP_DIR", HTML_PATH . "upload/csv/");							// ¥¨¥ó¥³¡¼¥ÉCSV¤Î°ì»þÊÝÂ¸Àè
+define ("NO_IMAGE_URL", URL_DIR . "misc/blank.gif");						// ²èÁü¤¬¤Ê¤¤¾ì¹ç¤ËÉ½¼¨
+define ("NO_IMAGE_DIR", HTML_PATH . "misc/blank.gif");						// ²èÁü¤¬¤Ê¤¤¾ì¹ç¤ËÉ½¼¨
+
+/* URL¥Ñ¥¹ */
+define ("URL_SYSTEM_TOP", URL_DIR . "admin/system/index.php");			// ¥·¥¹¥Æ¥à´ÉÍý¥È¥Ã¥×
+define ("URL_CLASS_REGIST", URL_DIR . "admin/products/class.php");		// µ¬³ÊÅÐÏ¿
+define ("URL_INPUT_ZIP", URL_DIR . "input_zip.php");					// Í¹ÊØÈÖ¹æÆþÎÏ
+define ("URL_DELIVERY_TOP", URL_DIR . "admin/basis/delivery.php");		// ÇÛÁ÷¶È¼ÔÅÐÏ¿
+define ("URL_PAYMENT_TOP", URL_DIR . "admin/basis/payment.php");		// »ÙÊ§¤¤ÊýË¡ÅÐÏ¿
+define ("URL_CONTROL_TOP", URL_DIR . "admin/basis/control.php");		// ¥µ¥¤¥È´ÉÍý¾ðÊóÅÐÏ¿
+define ("URL_HOME", URL_DIR . "admin/home.php");						// ¥Û¡¼¥à
+define ("URL_LOGIN", URL_DIR . "admin/index.php");						// ¥í¥°¥¤¥ó¥Ú¡¼¥¸
+define ("URL_SEARCH_TOP", URL_DIR . "admin/products/index.php");		// ¾¦ÉÊ¸¡º÷¥Ú¡¼¥¸
+define ("URL_ORDER_EDIT", URL_DIR . "admin/order/edit.php");			// ÃíÊ¸ÊÔ½¸¥Ú¡¼¥¸
+define ("URL_SEARCH_ORDER", URL_DIR . "admin/order/index.php");			// ÃíÊ¸ÊÔ½¸¥Ú¡¼¥¸
+define ("URL_ORDER_MAIL", URL_DIR . "admin/order/mail.php");			// ÃíÊ¸ÊÔ½¸¥Ú¡¼¥¸
+define ("URL_LOGOUT", URL_DIR . "admin/logout.php");					// ¥í¥°¥¢¥¦¥È¥Ú¡¼¥¸
+define ("URL_SYSTEM_CSV", URL_DIR . "admin/system/member_csv.php");		// ¥·¥¹¥Æ¥à´ÉÍýCSV½ÐÎÏ¥Ú¡¼¥¸
+define ("URL_ADMIN_CSS", URL_DIR . "admin/css/");						// ´ÉÍý¥Ú¡¼¥¸ÍÑCSSÊÝ´É¥Ç¥£¥ì¥¯¥È¥ê
+define ("URL_CAMPAIGN_TOP", URL_DIR . "admin/contents/campaign.php");	// ¥­¥ã¥ó¥Ú¡¼¥óÅÐÏ¿¥Ú¡¼¥¸
+define ("URL_CAMPAIGN_DESIGN", URL_DIR . "admin/contents/campaign_design.php");		// ¥­¥ã¥ó¥Ú¡¼¥ó¥Ç¥¶¥¤¥óÀßÄê¥Ú¡¼¥¸
+
+/* Ç§¾Ú¥¨¥é¡¼ */
+define ("SUCCESS", 0);			// ¥¢¥¯¥»¥¹À®¸ù
+define ("LOGIN_ERROR", 1);		// ¥í¥°¥¤¥ó¼ºÇÔ
+define ("ACCESS_ERROR", 2);		// ¥¢¥¯¥»¥¹¼ºÇÔ¡Ê¥¿¥¤¥à¥¢¥¦¥ÈÅù¡Ë
+define ("AUTH_ERROR", 3);		// ¥¢¥¯¥»¥¹¸¢¸Â°ãÈ¿
+
+/* É½¼¨¿ôÀ©¸Â */
+define ("PRODUCTS_LIST_MAX", 15);	// ¾¦ÉÊ°ìÍ÷É½¼¨¿ô
+define ("MEMBER_PMAX", 10);			// ¥á¥ó¥Ð¡¼´ÉÍý¥Ú¡¼¥¸É½¼¨¹Ô¿ô
+define ("SEARCH_PMAX", 10);			// ¸¡º÷¥Ú¡¼¥¸É½¼¨¹Ô¿ô
+define ("NAVI_PMAX", 5);			// ¥Ú¡¼¥¸ÈÖ¹æ¤ÎºÇÂçÉ½¼¨¸Ä¿ô
+define ("PRODUCTSUB_MAX", 5);		// ¾¦ÉÊ¥µ¥Ö¾ðÊóºÇÂç¿ô
+define ("DELIVTIME_MAX", 16);		// ÇÛÁ÷»þ´Ö¤ÎºÇÂçÉ½¼¨¿ô
+define ("DELIVFEE_MAX", 47);		// ÇÛÁ÷ÎÁ¶â¤ÎºÇÂçÉ½¼¨¿ô
+
+/* Ê¸»ú¿ôÀ©¸Â */
+define ("STEXT_LEN", 50);		// Ã»¤¤¹àÌÜ¤ÎÊ¸»ú¿ô¡ÊÌ¾Á°¤Ê¤É)
+define ("SMTEXT_LEN", 100);
+define ("MTEXT_LEN", 200);		// Ä¹¤¤¹àÌÜ¤ÎÊ¸»ú¿ô¡Ê½»½ê¤Ê¤É¡Ë
+define ("MLTEXT_LEN", 1000);	// Ä¹ÃæÊ¸¤ÎÊ¸»ú¿ô¡ÊÌä¤¤¹ç¤ï¤»¤Ê¤É¡Ë
+define ("LTEXT_LEN", 3000);		// Ä¹Ê¸¤ÎÊ¸»ú¿ô
+define ("LLTEXT_LEN", 99999);	// Ä¶Ä¹Ê¸¤ÎÊ¸»ú¿ô¡Ê¥á¥ë¥Þ¥¬¤Ê¤É¡Ë
+define ("URL_LEN", 300);		// URL¤ÎÊ¸»úÄ¹
+define ("ID_MAX_LEN", 15);		// ID¡¦¥Ñ¥¹¥ï¡¼¥É¤ÎÊ¸»ú¿ôÀ©¸Â
+define ("ID_MIN_LEN", 4);		// ID¡¦¥Ñ¥¹¥ï¡¼¥É¤ÎÊ¸»ú¿ôÀ©¸Â
+define ("PRICE_LEN", 8);		// ¶â³Û·å¿ô
+define ("PERCENTAGE_LEN", 3);	// Î¨·å¿ô
+define ("AMOUNT_LEN", 6);		// ºß¸Ë¿ô¡¢ÈÎÇäÀ©¸Â¿ô
+define ("ZIP01_LEN", 3);		// Í¹ÊØÈÖ¹æ1
+define ("ZIP02_LEN", 4);		// Í¹ÊØÈÖ¹æ2
+define ("TEL_ITEM_LEN", 6);		// ÅÅÏÃÈÖ¹æ³Æ¹àÌÜÀ©¸Â
+define ("TEL_LEN", 12);			// ÅÅÏÃÈÖ¹æÁí¿ô
+define ("PASSWORD_LEN1", 4);	// ¥Ñ¥¹¥ï¡¼¥É1
+define ("PASSWORD_LEN2", 10);	// ¥Ñ¥¹¥ï¡¼¥É2
+define ("INT_LEN", 8);			// ¸¡ºº¿ôÃÍÍÑ·å¿ô(INT)
+define ("CREDIT_NO_LEN", 4);		// ¥¯¥ì¥¸¥Ã¥È¥«¡¼¥É¤ÎÊ¸»ú¿ô
+define ("SEARCH_CATEGORY_LEN", 18);	// ¸¡º÷¥«¥Æ¥´¥êºÇÂçÉ½¼¨Ê¸»ú¿ô(byte)
+define ("FILE_NAME_LEN", 10);		// ¥Õ¥¡¥¤¥ëÌ¾É½¼¨Ê¸»ú¿ô
+
+/** ¥Õ¥í¥ó¥È¥Ú¡¼¥¸ **/
+
+/* ¥·¥¹¥Æ¥à´ØÏ¢ */
+define ("SALE_LIMIT_MAX", 10);		// ¹ØÆþÀ©¸Â¤Ê¤·¤Î¾ì¹ç¤ÎºÇÂç¹ØÆþ¸Ä¿ô
+define ("SITE_TITLE", "£Å£Ã-£Ã£Õ£Â£Å  ¥Æ¥¹¥È¥µ¥¤¥È");	// HTML¥¿¥¤¥È¥ë
+define ("COOKIE_EXPIRE", 365);		// ¥¯¥Ã¥­¡¼ÊÝ»ý´ü¸Â(Æü)
+define ("FREE_DIAL", "");
+
+/* °ìÈÌ¥µ¥¤¥È¥¨¥é¡¼ */
+define ("PRODUCT_NOT_FOUND", 1);	// »ØÄê¾¦ÉÊ¥Ú¡¼¥¸¤¬¤Ê¤¤
+define ("CART_EMPTY", 2);			// ¥«¡¼¥ÈÆâ¤¬¶õ
+define ("PAGE_ERROR", 3);			// ¥Ú¡¼¥¸¿ä°Ü¥¨¥é¡¼
+define ("CART_ADD_ERROR", 4);		// ¹ØÆþ½èÍýÃæ¤Î¥«¡¼¥È¾¦ÉÊÄÉ²Ã¥¨¥é¡¼
+define ("CANCEL_PURCHASE", 5);		// Â¾¤Ë¤â¹ØÆþ¼êÂ³¤­¤¬¹Ô¤ï¤ì¤¿¾ì¹ç
+define ("CATEGORY_NOT_FOUND", 6);	// »ØÄê¥«¥Æ¥´¥ê¥Ú¡¼¥¸¤¬¤Ê¤¤
+define ("SITE_LOGIN_ERROR", 7);		// ¥í¥°¥¤¥ó¤Ë¼ºÇÔ
+define ("CUSTOMER_ERROR", 8);		// ²ñ°÷ÀìÍÑ¥Ú¡¼¥¸¤Ø¤Î¥¢¥¯¥»¥¹¥¨¥é¡¼
+define ("SOLD_OUT", 9);				// ¹ØÆþ»þ¤ÎÇä¤êÀÚ¤ì¥¨¥é¡¼
+define ("CART_NOT_FOUND", 10);		// ¥«¡¼¥ÈÆâ¾¦ÉÊ¤ÎÆÉ¹þ¥¨¥é¡¼
+define ("LACK_POINT", 11);			// ¥Ý¥¤¥ó¥È¤ÎÉÔÂ­
+define ("TEMP_LOGIN_ERROR", 12);	// ²¾ÅÐÏ¿¼Ô¤¬¥í¥°¥¤¥ó¤Ë¼ºÇÔ
+define ("URL_ERROR", 13);			// URL¥¨¥é¡¼
+define ("EXTRACT_ERROR", 14);		// ¥Õ¥¡¥¤¥ë²òÅà¥¨¥é¡¼
+define ("FTP_DOWNLOAD_ERROR", 15);	// FTP¥À¥¦¥ó¥í¡¼¥É¥¨¥é¡¼
+define ("FTP_LOGIN_ERROR", 16);		// FTP¥í¥°¥¤¥ó¥¨¥é¡¼
+define ("FTP_CONNECT_ERROR", 17);	// FTPÀÜÂ³¥¨¥é¡¼
+define ("CREATE_DB_ERROR", 18);		// DBºîÀ®¥¨¥é¡¼
+define ("DB_IMPORT_ERROR", 19);		// DB¥¤¥ó¥Ý¡¼¥È¥¨¥é¡¼
+define ("FILE_NOT_FOUND", 20);		// ÀßÄê¥Õ¥¡¥¤¥ëÂ¸ºß¥¨¥é¡¼
+define ("WRITE_FILE_ERROR", 21);	// ½ñ¤­¹þ¤ß¥¨¥é¡¼
+define ("FREE_ERROR_MSG", 999);		// ¥Õ¥ê¡¼¥á¥Ã¥»¡¼¥¸
+
+/* É½¼¨´ØÏ¢ */
+define ("SEPA_CATNAVI", " > ");	// ¥«¥Æ¥´¥ê¶èÀÚ¤êÊ¸»ú
+define ("SEPA_CATLIST", " | ");	// ¥«¥Æ¥´¥ê¶èÀÚ¤êÊ¸»ú
+
+/* URL */
+define ("URL_SHOP_TOP", SSL_URL . "shopping/index.php");						// ²ñ°÷¾ðÊóÆþÎÏ
+define ("URL_ENTRY_TOP", SSL_URL . "entry/index.php");	 						// ²ñ°÷ÅÐÏ¿¥Ú¡¼¥¸TOP
+define ("URL_SITE_TOP", URL_DIR . "index.php");									// ¥µ¥¤¥È¥È¥Ã¥×
+define ("URL_CART_TOP", URL_DIR . "cart/index.php");							// ¥«¡¼¥È¥È¥Ã¥×
+define ("URL_DELIV_TOP", URL_DIR . "shopping/deliv.php");						// ÇÛÁ÷»þ´ÖÀßÄê 
+define ("URL_MYPAGE_TOP", SSL_URL . "mypage/login.php");						// My¥Ú¡¼¥¸¥È¥Ã¥×
+define ("URL_SHOP_CONFIRM", URL_DIR . "shopping/confirm.php");					// ¹ØÆþ³ÎÇ§¥Ú¡¼¥¸
+define ("URL_SHOP_PAYMENT", URL_DIR . "shopping/payment.php");					// ¤ª»ÙÊ§¤¤ÊýË¡ÁªÂò¥Ú¡¼¥¸
+define ("URL_SHOP_COMPLETE", URL_DIR . "shopping/complete.php");				// ¹ØÆþ´°Î»²èÌÌ
+define ("URL_SHOP_CREDIT", URL_DIR . "shopping/card.php");						// ¥«¡¼¥É·èºÑ²èÌÌ
+define ("URL_SHOP_LOAN", URL_DIR . "shopping/loan.php");						// ¥í¡¼¥ó·èºÑ²èÌÌ
+define ("URL_SHOP_CONVENIENCE", URL_DIR . "shopping/convenience.php");			// ¥³¥ó¥Ó¥Ë·èºÑ²èÌÌ
+define ("URL_SHOP_MODULE", URL_DIR . "shopping/load_payment_module.php");		// ¥â¥¸¥å¡¼¥ëÄÉ²ÃÍÑ²èÌÌ
+define ("URL_PRODUCTS_TOP", URL_DIR . "products/top.php");						// ¾¦ÉÊ¥È¥Ã¥×
+define ("LIST_P_HTML", URL_DIR . "products/list-p");							// ¾¦ÉÊ°ìÍ÷(HTML½ÐÎÏ)
+define ("LIST_C_HTML", URL_DIR . "products/list.php?mode=search&category_id=");	// ¾¦ÉÊ°ìÍ÷(HTML½ÐÎÏ)
+define ("DETAIL_P_HTML", URL_DIR . "products/detail.php?product_id=");			// ¾¦ÉÊ¾ÜºÙ(HTML½ÐÎÏ)
+define ("MYPAGE_DELIVADDR_URL", URL_DIR . "mypage/delivery.php");				// ¥Þ¥¤¥Ú¡¼¥¸¤ªÆÏ¤±ÀèURL
+
+/*
+ * ¥µ¥¤¥ÈÄêµÁÊÑ¿ô
+ */
+ 
+// ¥¢¥¯¥»¥¹¸¢¸Â
+// 0:´ÉÍý¼Ô¤Î¤ß¥¢¥¯¥»¥¹²ÄÇ½
+// 1:°ìÈÌ°Ê¾å¤¬¥¢¥¯¥»¥¹²ÄÇ½
+$arrPERMISSION[URL_SYSTEM_TOP] = 0;
+$arrPERMISSION["/admin/system/delete.php"] = 0;
+$arrPERMISSION["/admin/system/index.php"] = 0;
+$arrPERMISSION["/admin/system/input.php"] = 0;
+$arrPERMISSION["/admin/system/master.php"] = 0;
+$arrPERMISSION["/admin/system/master_delete.php"] = 0;
+$arrPERMISSION["/admin/system/master_rank.php"] = 0;
+$arrPERMISSION["/admin/system/mastercsv.php"] = 0;
+$arrPERMISSION["/admin/system/rank.php"] = 0;
+$arrPERMISSION["/admin/entry/index.php"] = 1;
+$arrPERMISSION["/admin/entry/delete.php"] = 1;
+$arrPERMISSION["/admin/entry/inputzip.php"] = 1;
+$arrPERMISSION["/admin/search/delete_note.php"] = 1;
+
+// ¥í¥°¥¢¥¦¥ÈÉÔ²Ä¥Ú¡¼¥¸
+$arrDISABLE_LOGOUT = array(
+	1 => "/shopping/deliv.php",
+	2 => "/shopping/payment.php",
+	3 => "/shopping/confirm.php",
+	4 => "/shopping/card.php",
+	5 => "/shopping/loan.php",
+);
+
+// ¥á¥ó¥Ð¡¼´ÉÍý-¸¢¸Â
+$arrAUTHORITY[0] = "´ÉÍý¼Ô";
+//$arrAUTHORITY[1] = "°ìÈÌ";
+// $arrAUTHORITY[2] = "±ÜÍ÷";
+
+// ¥á¥ó¥Ð¡¼´ÉÍý-²ÔÆ¯¾õ¶·
+$arrWORK[0] = "Èó²ÔÆ¯";
+$arrWORK[1] = "²ÔÆ¯";
+
+// ¾¦ÉÊÅÐÏ¿-É½¼¨
+$arrDISP[1] = "¸ø³«";
+$arrDISP[2] = "Èó¸ø³«";
+
+// ¾¦ÉÊÅÐÏ¿-µ¬³Ê
+$arrCLASS[1] = "µ¬³ÊÌµ¤·";
+$arrCLASS[2] = "µ¬³ÊÍ­¤ê";
+
+// ¸¡º÷¥é¥ó¥¯
+$arrSRANK[1] = 1;
+$arrSRANK[2] = 2;
+$arrSRANK[3] = 3;
+$arrSRANK[4] = 4;
+$arrSRANK[5] = 5;
+
+// ¾¦ÉÊÅÐÏ¿-¥¹¥Æ¡¼¥¿¥¹
+$arrSTATUS[1] = "NEW";
+$arrSTATUS[2] = "»Ä¤ê¤ï¤º¤«";
+$arrSTATUS[3] = "¥Ý¥¤¥ó¥È£²ÇÜ";
+$arrSTATUS[4] = "¥ª¥¹¥¹¥á";
+$arrSTATUS[5] = "¸ÂÄêÉÊ";
+
+// ¾¦ÉÊÅÐÏ¿-¥¹¥Æ¡¼¥¿¥¹²èÁü
+$arrSTATUS_IMAGE[1] = URL_DIR . "img/right_product/icon01.gif";
+$arrSTATUS_IMAGE[2] = URL_DIR . "img/right_product/icon02.gif";
+$arrSTATUS_IMAGE[3] = URL_DIR . "img/right_product/icon03.gif";
+$arrSTATUS_IMAGE[4] = URL_DIR . "img/right_product/icon04.gif";
+$arrSTATUS_IMAGE[5] = URL_DIR . "img/right_product/icon05.gif";
+
+// ÆþÎÏµö²Ä¤¹¤ë¥¿¥°
+$arrAllowedTag = array(
+	"table",
+	"tr",
+	"td",
+	"a",
+	"b",
+	"blink",
+	"br",
+	"center",
+	"font",
+	"h",
+	"hr",
+	"img",
+	"li",
+	"strong",
+	"p",
+	"div",
+	"i",
+	"u",
+	"s",
+	"/table",
+	"/tr",
+	"/td",
+	"/a",
+	"/b",
+	"/blink",
+	"/br",
+	"/center",
+	"/font",
+	"/h",
+	"/hr",
+	"/img",
+	"/li",
+	"/strong",
+	"/p",
+	"/div",
+	"/i",
+	"/u",
+	"/s"
+);
+
+// £±¥Ú¡¼¥¸É½¼¨¹Ô¿ô
+$arrPageMax = array(
+	10 => "10",
+	20 => "20",
+	30 => "30",
+	40 => "40",
+	50 => "50",
+	60 => "60",
+	70 => "70",
+	80 => "80",
+	90 => "90",
+	100 => "100",
+);	
+	
+// ¥á¥ë¥Þ¥¬¼ïÊÌ
+$arrMagazineType["1"] = "HTML";
+$arrMagazineType["2"] = "¥Æ¥­¥¹¥È";
+
+$arrMagazineTypeAll = $arrMagazineType;
+$arrMagazineTypeAll["3"] = "HTML¥Æ¥ó¥×¥ì¡¼¥È";
+
+
+/* ¥á¥ë¥Þ¥¬¼ïÊÌ */
+$arrMAILMAGATYPE = array(
+	1 => "HTML¥á¡¼¥ë",
+	2 => "¥Æ¥­¥¹¥È¥á¡¼¥ë",
+	3 => "´õË¾¤·¤Ê¤¤"
+);
+
+/* ¤ª¤¹¤¹¤á¥ì¥Ù¥ë */
+$arrRECOMMEND = array(
+	5 => "¡ú¡ú¡ú¡ú¡ú",
+	4 => "¡ú¡ú¡ú¡ú",
+	3 => "¡ú¡ú¡ú",
+	2 => "¡ú¡ú",
+	1 => "¡ú"
+);
+
+$arrTAXRULE = array(
+	1 => "»Í¼Î¸ÞÆþ",
+	2 => "ÀÚ¤ê¼Î¤Æ",
+	3 => "ÀÚ¤ê¾å¤²"
+);
+
+
+// ¥á¡¼¥ë¥Æ¥ó¥×¥ì¡¼¥È¤Î¼ïÎà
+$arrMAILTEMPLATE = array(
+	 1 => "ÃíÊ¸¼õÉÕ¥á¡¼¥ë"
+	,2 => "ÃíÊ¸¥­¥ã¥ó¥»¥ë¼õÉÕ¥á¡¼¥ë"
+	,3 => "¼è¤ê´ó¤»³ÎÇ§¥á¡¼¥ë"
+);
+
+// ³Æ¥Æ¥ó¥×¥ì¡¼¥È¤Î¥Ñ¥¹
+$arrMAILTPLPATH = array(
+	1 => "mail_templates/order_mail.tpl",
+	2 => "mail_templates/order_mail.tpl",
+	3 => "mail_templates/order_mail.tpl",
+	4 => "mail_templates/contact_mail.tpl",
+);
+
+/* ÅÔÆ»ÉÜ¸©ÇÛÎó */
+$arrPref = array(
+					1 => "ËÌ³¤Æ»",
+					2 => "ÀÄ¿¹¸©",
+					3 => "´ä¼ê¸©",
+					4 => "µÜ¾ë¸©",
+					5 => "½©ÅÄ¸©",
+					6 => "»³·Á¸©",
+					7 => "Ê¡Åç¸©",
+					8 => "°ñ¾ë¸©",
+					9 => "ÆÊÌÚ¸©",
+					10 => "·²ÇÏ¸©",
+					11 => "ºë¶Ì¸©",
+					12 => "ÀéÍÕ¸©",
+					13 => "ÅìµþÅÔ",
+					14 => "¿ÀÆàÀî¸©",
+					15 => "¿·³ã¸©",
+					16 => "ÉÙ»³¸©",
+					17 => "ÀÐÀî¸©",
+					18 => "Ê¡°æ¸©",
+					19 => "»³Íü¸©",
+					20 => "Ä¹Ìî¸©",
+					21 => "´ôÉì¸©",
+					22 => "ÀÅ²¬¸©",
+					23 => "°¦ÃÎ¸©",
+					24 => "»°½Å¸©",
+					25 => "¼¢²ì¸©",
+					26 => "µþÅÔÉÜ",
+					27 => "ÂçºåÉÜ",
+					28 => "Ê¼¸Ë¸©",
+					29 => "ÆàÎÉ¸©",
+					30 => "ÏÂ²Î»³¸©",
+					31 => "Ä»¼è¸©",
+					32 => "Åçº¬¸©",
+					33 => "²¬»³¸©",
+					34 => "¹­Åç¸©",
+					35 => "»³¸ý¸©",
+					36 => "ÆÁÅç¸©",
+					37 => "¹áÀî¸©",
+					38 => "°¦É²¸©",
+					39 => "¹âÃÎ¸©",
+					40 => "Ê¡²¬¸©",
+					41 => "º´²ì¸©",
+					42 => "Ä¹ºê¸©",
+					43 => "·§ËÜ¸©",
+					44 => "ÂçÊ¬¸©",
+					45 => "µÜºê¸©",
+					46 => "¼¯»ùÅç¸©",
+					47 => "²­Æì¸©"
+				);
+				
+/* ¿¦¶ÈÇÛÎó */
+$arrJob = array(
+					1 => "¸øÌ³°÷",
+					2 => "¥³¥ó¥µ¥ë¥¿¥ó¥È",
+					3 => "¥³¥ó¥Ô¥å¡¼¥¿´ØÏ¢µ»½Ñ¿¦",
+					4 => "¥³¥ó¥Ô¥å¡¼¥¿´ØÏ¢°Ê³°¤Îµ»½Ñ¿¦",
+					5 => "¶âÍ»´Ø·¸",
+					6 => "°å»Õ",
+					7 => "ÊÛ¸î»Î",
+					8 => "ÁíÌ³¡¦¿Í»ö¡¦»öÌ³",
+					9 => "±Ä¶È¡¦ÈÎÇä",
+					10 => "¸¦µæ¡¦³«È¯",
+					11 => "¹­Êó¡¦ÀëÅÁ",
+					12 => "´ë²è¡¦¥Þ¡¼¥±¥Æ¥£¥ó¥°",
+					13 => "¥Ç¥¶¥¤¥ó´Ø·¸",
+					14 => "²ñ¼Ò·Ð±Ä¡¦Ìò°÷",
+					15 => "½ÐÈÇ¡¦¥Þ¥¹¥³¥ß´Ø·¸",
+					16 => "³ØÀ¸¡¦¥Õ¥ê¡¼¥¿¡¼",
+					17 => "¼çÉØ",
+					18 => "¤½¤ÎÂ¾"
+				);
+
+/* ¥Ñ¥¹¥ï¡¼¥É¤ÎÅú¤¨ÇÛÎó */
+$arrReminder = array(
+						1 => "¿Æ¤ÎµìÀ«¤Ï¡©",
+						2 => "¤ªµ¤¤ËÆþ¤ê¤Î¥Þ¥ó¥¬¤Ï¡©",
+						3 => "Âç¹¥¤­¤Ê¥Ú¥Ã¥È¤ÎÌ¾Á°¤Ï¡©",
+						4 => "½éÎø¤Î¿Í¤ÎÌ¾Á°¤Ï¡©",
+						5 => "ÌÌÇò¤«¤Ã¤¿±Ç²è¤Ï¡©",
+						6 => "Âº·É¤·¤Æ¤¤¤¿ÀèÀ¸¤ÎÌ¾Á°¤Ï¡©",
+						7 => "¹¥¤­¤Ê¿©¤ÙÊª¤Ï¡©"
+					);
+/*¡¡À­ÊÌÇÛÎó¡¡*/
+$arrSex = array(
+					1 => "ÃËÀ­",
+					2 => "½÷À­"
+				);
+
+/*¡¡¥á¡¼¥ë¥¢¥É¥ì¥¹¼ïÊÌ¡¡*/
+define ("MAIL_TYPE_PC",1);
+define ("MAIL_TYPE_MOBILE",2);
+$arrMailType = array(
+					MAIL_TYPE_PC => "¥Ñ¥½¥³¥óÍÑ¥¢¥É¥ì¥¹",
+					MAIL_TYPE_MOBILE => "·ÈÂÓÍÑ¥¢¥É¥ì¥¹"
+				);	
+
+/*  ·ÈÂÓ¥É¥á¥¤¥ó»ØÄê¡¡*/
+$arrDomain = array(
+                        1 => "»ØÄê¤·¤Ê¤¤",
+                        2 => "£Ð£Ã¥É¥á¥¤¥ó",
+                        3 => "¥â¥Ð¥¤¥ë¥É¥á¥¤¥ó"
+                    );
+				
+
+$arrDomainType = array(
+                      1 => "docomo.ne.jp",
+                      2 => "ezweb.ne.jp",
+                      3 => "softbank.ne.jp",
+                      4 => "vodafone.ne.jp"
+                  );				
+				
+/*¡¡1¹Ô¿ô¡¡*/		
+$arrPageRows = array(
+						10 => 10,
+						20 => 20,
+						30 => 30,
+						40 => 40,
+						50 => 50,
+						60 => 60,
+						70 => 70,
+						80 => 80,
+						90 => 90,
+						100 => 100,
+					);
+
+/* ¼õÃí¥¹¥Æ¡¼¥¿¥¹ */
+define ("ORDER_NEW",1);	 		// ¿·µ¬ÃíÊ¸
+define ("ORDER_PAY_WAIT",2);	// Æþ¶âÂÔ¤Á
+define ("ORDER_PRE_END",6);		// Æþ¶âºÑ¤ß
+define ("ORDER_CANCEL",3);		// ¥­¥ã¥ó¥»¥ë
+define ("ORDER_BACK_ORDER",4);	// ¼è¤ê´ó¤»Ãæ
+define ("ORDER_DELIV",5);		// È¯Á÷ºÑ¤ß
+
+/* ¼õÃí¥¹¥Æ¡¼¥¿¥¹ */
+$arrORDERSTATUS = array(
+	ORDER_NEW        => "¿·µ¬¼õÉÕ",
+	ORDER_PAY_WAIT   => "Æþ¶âÂÔ¤Á",
+	ORDER_PRE_END    => "Æþ¶âºÑ¤ß",
+	ORDER_CANCEL     => "¥­¥ã¥ó¥»¥ë",
+	ORDER_BACK_ORDER => "¼è¤ê´ó¤»Ãæ",
+	ORDER_DELIV      => "È¯Á÷ºÑ¤ß"
+);
+
+// ¼õÃí¥¹¥Æ¡¼¥¿¥¹ÊÑ¹¹¤ÎºÝ¤Ë¥Ý¥¤¥ó¥ÈÅù¤ò²Ã»»¤¹¤ë¥¹¥Æ¡¼¥¿¥¹ÈÖ¹æ¡ÊÈ¯Á÷ºÑ¤ß¡Ë
+define("ODERSTATUS_COMMIT", ORDER_DELIV);
+
+/* ¾¦ÉÊ¼ïÊÌ¤ÎÉ½¼¨¿§ */
+$arrPRODUCTSTATUS_COLOR = array(
+	1 => "#FFFFFF",
+	2 => "#C9C9C9",
+	3 => "#DDE6F2"
+);
+
+$arrORDERSTATUS_COLOR = array(
+	1 => "#FFFFFF",
+	2 => "#FFDE9B",
+	3 => "#C9C9C9",
+	4 => "#FFD9D9",
+	5 => "#BFDFFF",
+	6 => "#FFFFAB"
+);
+
+// ÍËÆü
+$arrWDAY = array(
+	0 => "Æü",
+	1 => "·î",
+	2 => "²Ð",
+	3 => "¿å",
+	4 => "ÌÚ",
+	5 => "¶â",
+	6 => "ÅÚ"
+);			
+		
+/* ¿·Ãå¾ðÊó´ÉÍý²èÌÌ */
+define ("ADMIN_NEWS_STARTYEAR", 2005);	// ³«»ÏÇ¯(À¾Îñ)
+
+/* ²ñ°÷ÅÐÏ¿ */
+define("ENTRY_CUSTOMER_TEMP_SUBJECT", "²ñ°÷²¾ÅÐÏ¿¤¬´°Î»¤¤¤¿¤·¤Þ¤·¤¿¡£");
+define("ENTRY_CUSTOMER_REGIST_SUBJECT", "ËÜ²ñ°÷ÅÐÏ¿¤¬´°Î»¤¤¤¿¤·¤Þ¤·¤¿¡£");
+define("ENTRY_LIMIT_HOUR", 1);		//ºÆÆþ²ñÀ©¸Â»þ´Ö¡ÊÃ±°Ì: »þ´Ö)
+
+// ¥ª¥¹¥¹¥á¾¦ÉÊÉ½¼¨¿ô
+define("RECOMMEND_NUM", 8);			// ¥ª¥¹¥¹¥á¾¦ÉÊ
+define ("BEST_MAX", 5);				// ¥Ù¥¹¥È¾¦ÉÊ¤ÎºÇÂçÅÐÏ¿¿ô
+define ("BEST_MIN", 3);				// ¥Ù¥¹¥È¾¦ÉÊ¤ÎºÇ¾®ÅÐÏ¿¿ô¡ÊÅÐÏ¿¿ô¤¬Ëþ¤¿¤Ê¤¤¾ì¹ç¤ÏÉ½¼¨¤·¤Ê¤¤¡£)
+
+//È¯Á÷ÆüÌÜ°Â
+$arrDELIVERYDATE = array(
+	1 => "Â¨Æü",
+	2 => "1¡Á2Æü¸å",
+	3 => "3¡Á4Æü¸å",
+	4 => "1½µ´Ö°Ê¹ß",
+	5 => "2½µ´Ö°Ê¹ß",
+	6 => "3½µ´Ö°Ê¹ß",
+	7 => "1¥ö·î°Ê¹ß",
+	8 => "2¥ö·î°Ê¹ß",
+	9 => "¤ª¼è¤ê´ó¤»(¾¦ÉÊÆþ²Ù¸å)"
+);
+
+/* ÇÛÃ£²ÄÇ½¤ÊÆüÉÕ°Ê¹ß¤Î¥×¥ë¥À¥¦¥óÉ½¼¨ºÇÂçÆü¿ô */
+define("DELIV_DATE_END_MAX", 21);
+
+/* ¹ØÆþ»þ¶¯À©²ñ°÷ÅÐÏ¿ */
+define("PURCHASE_CUSTOMER_REGIST", 0);	//1:Í­¸ú¡¡0:Ìµ¸ú
+
+/* ¾¦ÉÊ¥ê¥¹¥ÈÉ½¼¨·ï¿ô */
+$arrPRODUCTLISTMAX = array(
+	15 => '15·ï',
+	30 => '30·ï',
+	50 => '50·ï'
+);
+
+/* ¤³¤Î¾¦ÉÊ¤òÇã¤Ã¤¿¿Í¤Ï¤³¤ó¤Ê¾¦ÉÊ¤âÇã¤Ã¤Æ¤¤¤Þ¤¹¡¡É½¼¨·ï¿ô */
+define("RELATED_PRODUCTS_MAX", 3);
+
+/*--------- ¢§¥³¥ó¥Ó¥Ë·èºÑÍÑ ---------*/
+
+//¥³¥ó¥Ó¥Ë¤Î¼ïÎà
+$arrCONVENIENCE = array(
+	1 => '¥»¥Ö¥ó¥¤¥ì¥Ö¥ó',
+	2 => '¥Õ¥¡¥ß¥ê¡¼¥Þ¡¼¥È',
+	3 => '¥µ¡¼¥¯¥ëK¥µ¥ó¥¯¥¹',
+	4 => '¥í¡¼¥½¥ó¡¦¥»¥¤¥³¡¼¥Þ¡¼¥È',
+	5 => '¥ß¥Ë¥¹¥È¥Ã¥×¡¦¥Ç¥¤¥ê¡¼¥ä¥Þ¥¶¥­¡¦¥ä¥Þ¥¶¥­¥Ç¥¤¥ê¡¼¥¹¥È¥¢',
+);
+
+//³Æ¼ï¥³¥ó¥Ó¥ËÍÑ¥á¥Ã¥»¡¼¥¸
+$arrCONVENIMESSAGE = array(
+	1 => "¾åµ­URL¤«¤é¿¶¹þÉ¼¤ò°õºþ¡¢¤â¤·¤¯¤Ï¿¶¹þÉ¼ÈÖ¹æ¤ò»æ¤Ë¹µ¤¨¤Æ¡¢Á´¹ñ¤Î¥»¥Ö¥ó¥¤¥ì¥Ö¥ó¤Ë¤Æ¤ª»ÙÊ§¤¤¤¯¤À¤µ¤¤¡£",
+	2 => "´ë¶È¥³¡¼¥É¡¢¼õÉÕÈÖ¹æ¤ò»æ¤Ê¤É¤Ë¹µ¤¨¤Æ¡¢Á´¹ñ¤Î¥Õ¥¡¥ß¥ê¡¼¥Þ¡¼¥È¤Ë¤ª»ÙÊ§¤¤¤¯¤À¤µ¤¤¡£",
+	3 => "¾åµ­URL¤«¤é¿¶¹þÉ¼¤ò°õºþ¡¢¤â¤·¤¯¤Ï¥±¡¼¥¿¥¤·èºÑÈÖ¹æ¤ò»æ¤Ê¤É¤Ë¹µ¤¨¤Æ¡¢Á´¹ñ¤Î¥µ¡¼¥¯¥ëK¥µ¥ó¥¯¥¹¤Ë¤Æ¤ª»ÙÊ§¤¯¤À¤µ¤¤¡£",
+	4 => "¿¶¹þÉ¼ÈÖ¹æ¤ò»æ¤Ë¹µ¤¨¤Æ¡¢Á´¹ñ¤Î¥í¡¼¥½¥ó¤Þ¤¿¤Ï¥»¥¤¥³¡¼¥Þ¡¼¥È¤Ë¤Æ¤ª»ÙÊ§¤¤¤¯¤À¤µ¤¤¡£",
+	5 => "¾åµ­URL¤«¤é¿¶¹þÉ¼¤ò°õºþ¤·¡¢Á´¹ñ¤Î¥ß¥Ë¥¹¥È¥Ã¥×¡¦¥Ç¥¤¥ê¡¼¥ä¥Þ¥¶¥­¡¦¥ä¥Þ¥¶¥­¥Ç¥¤¥ê¡¼¥¹¥È¥¢¤Ë¤Æ¤ª»ÙÊ§¤¤¤¯¤À¤µ¤¤¡£"
+);
+
+//»ÙÊ§´ü¸Â
+define("CV_PAYMENT_LIMIT", 14);
+
+/*--------- ¢¥¥³¥ó¥Ó¥Ë·èºÑÍÑ ---------*/
+
+//¥­¥ã¥ó¥Ú¡¼¥óÅÐÏ¿ºÇÂç¿ô
+define("CAMPAIGN_REGIST_MAX", 20);
+
+//DB¤Î¼ïÎà
+$arrDB = array(
+	1 => 'PostgreSQL',
+	2 => 'MySQL'
+);
+
+// ¥Ö¥í¥Ã¥¯ÇÛÃÖ
+$arrTarget = array(
+	1 => "LeftNavi",
+	2 => "MainHead",
+	3 => "RightNavi",
+	4 => "MainFoot",
+	5 => "Unused"
+);
+
+/*--------- ¢¥¥È¥é¥Ã¥¯¥Ð¥Ã¥¯ÍÑ ---------*/
+
+define ("TRACKBACK_STATUS_VIEW", 1);		// É½¼¨
+define ("TRACKBACK_STATUS_NOT_VIEW", 2);	// ÈóÉ½¼¨
+define ("TRACKBACK_STATUS_SPAM", 3);		// ¥¹¥Ñ¥à
+
+define ("TRACKBACK_VIEW_MAX", 10);			// ¥Õ¥í¥ó¥ÈºÇÂçÉ½¼¨¿ô
+define ("TRACKBACK_TO_URL", SITE_URL . "tb/index.php?pid=");	// ¥È¥é¥Ã¥¯¥Ð¥Ã¥¯ÀèURL
+
+// ¾õÂÖ
+$arrTrackBackStatus = array(
+	1 => "É½¼¨",
+	2 => "ÈóÉ½¼¨",
+	3 => "¥¹¥Ñ¥à"
+);
+
+/*--------- ¢¥¥µ¥¤¥È´ÉÍýÍÑ ---------*/
+
+define ("SITE_CONTROL_TRACKBACK", 1);		// ¥È¥é¥Ã¥¯¥Ð¥Ã¥¯
+define ("SITE_CONTROL_AFFILIATE", 2);		// ¥¢¥Õ¥£¥ê¥¨¥¤¥È
+
+// ¥È¥é¥Ã¥¯¥Ð¥Ã¥¯
+$arrSiteControlTrackBack = array(
+	1 => "Í­¸ú",
+	2 => "Ìµ¸ú"
+);
+
+// ¥¢¥Õ¥£¥ê¥¨¥¤¥È
+$arrSiteControlAffiliate = array(
+	1 => "Í­¸ú",
+	2 => "Ìµ¸ú"
+);
+
+/*--------- ¢¥View´ÉÍýÍÑ ---------*/
+
+// View¤ÎWhere¶çÃÖ´¹ÍÑ
+$arrViewWhere = array(
+	"&&crscls_where&&" => "",
+	"&&crsprdcls_where&&" =>"",
+	"&&noncls_where&&" => "",
+	"&&allcls_where&&" => "",
+	"&&allclsdtl_where&&" => "",
+	"&&prdcls_where&&" => "",
+	"&&catcnt_where&&" => ""
+);
+
+// ViewÊÑ´¹ÍÑ(MySQLÂÐ±þ)
+$arrView = array(
+	"vw_cross_class" => '
+		(SELECT T1.class_id AS class_id1, T2.class_id AS class_id2, T1.classcategory_id AS classcategory_id1, T2.classcategory_id AS classcategory_id2, T1.name AS name1, T2.name AS name2, T1.rank AS rank1, T2.rank AS rank2
+		FROM dtb_classcategory AS T1, dtb_classcategory AS T2 ) ',
+
+	"vw_cross_products_class" =>'
+		(SELECT T1.class_id1, T1.class_id2, T1.classcategory_id1, T1.classcategory_id2, T2.product_id,
+		T1.name1, T1.name2, T2.product_code, T2.stock, T2.price01, T2.price02, T1.rank1, T1.rank2
+		FROM (SELECT T1.class_id AS class_id1, T2.class_id AS class_id2, T1.classcategory_id AS classcategory_id1, T2.classcategory_id AS classcategory_id2, T1.name AS name1, T2.name AS name2, T1.rank AS rank1, T2.rank AS rank2
+		FROM dtb_classcategory AS T1, dtb_classcategory AS T2 ) AS T1 LEFT JOIN dtb_products_class AS T2 
+		ON T1.classcategory_id1 = T2.classcategory_id1 AND T1.classcategory_id2 = T2.classcategory_id2) ',
+
+	"vw_products_nonclass" => '
+		(SELECT 
+		    T1.product_id,
+		    T1.name,
+		    T1.deliv_fee,
+		    T1.sale_limit,
+		    T1.sale_unlimited,
+		    T1.category_id,
+		    T1.rank,
+		    T1.status,
+		    T1.product_flag,
+		    T1.point_rate,
+		    T1.comment1,
+		    T1.comment2,
+		    T1.comment3,
+		    T1.comment4,
+		    T1.comment5,
+		    T1.comment6,
+		    T1.file1,
+		    T1.file2,
+		    T1.file3,
+		    T1.file4,
+		    T1.file5,
+		    T1.file6,
+		    T1.main_list_comment,
+		    T1.main_list_image,
+		    T1.main_comment,
+		    T1.main_image,
+		    T1.main_large_image,
+		    T1.sub_title1,
+		    T1.sub_comment1,
+		    T1.sub_image1,
+		    T1.sub_large_image1,
+		    T1.sub_title2,
+		    T1.sub_comment2,
+		    T1.sub_image2,
+		    T1.sub_large_image2,
+		    T1.sub_title3,
+		    T1.sub_comment3,
+		    T1.sub_image3,
+		    T1.sub_large_image3,
+		    T1.sub_title4,
+		    T1.sub_comment4,
+		    T1.sub_image4,
+		    T1.sub_large_image4,
+		    T1.sub_title5,
+		    T1.sub_comment5,
+		    T1.sub_image5,
+		    T1.sub_large_image5,
+		    T1.sub_title6,
+		    T1.sub_comment6,
+		    T1.sub_image6,
+		    T1.sub_large_image6,
+		    T1.del_flg,
+		    T1.creator_id,
+		    T1.create_date,
+		    T1.update_date,
+		    T1.deliv_date_id,
+		    T2.product_id_sub,
+		    T2.product_code,
+		    T2.price01,
+		    T2.price02,
+		    T2.stock,
+		    T2.stock_unlimited,
+		    T2.classcategory_id1,
+		    T2.classcategory_id2
+		FROM (SELECT * FROM dtb_products &&noncls_where&&) AS T1 LEFT JOIN 
+		(SELECT
+		product_id AS product_id_sub,
+		product_code,
+		price01,
+		price02,
+		stock,
+		stock_unlimited,
+		classcategory_id1,
+		classcategory_id2
+		FROM dtb_products_class WHERE classcategory_id1 = 0 AND classcategory_id2 = 0) 
+		AS T2
+		ON T1.product_id = T2.product_id_sub) ',
+
+	"vw_products_allclass" => '
+		(SELECT
+        product_id,
+        product_code_min,
+        product_code_max,
+        price01_min,
+        price01_max,
+        price02_min,
+        price02_max,
+        stock_min,
+        stock_max,
+        stock_unlimited_min,
+        stock_unlimited_max,
+        del_flg,
+        status,
+        name,
+        comment1,
+        comment2,
+        comment3,
+        rank,
+        main_list_comment,
+        main_image,
+        main_list_image,
+        product_flag,
+        deliv_date_id,
+        sale_limit,
+        point_rate,
+        sale_unlimited,
+        create_date,
+        deliv_fee
+        ,(SELECT rank AS category_rank FROM dtb_category AS T4 WHERE T1.category_id = T4.category_id) as category_rank
+        ,(SELECT category_id AS sub_category_id FROM dtb_category T4 WHERE T1.category_id = T4.category_id) as category_id
+    FROM
+        dtb_products AS T1 RIGHT JOIN (SELECT product_id AS product_id_sub, MIN(product_code) AS product_code_min, MAX(product_code) AS product_code_max, MIN(price01) AS price01_min, MAX(price01) AS price01_max, MIN(price02) AS price02_min, MAX(price02) AS price02_max, MIN(stock) AS stock_min, MAX(stock) AS stock_max, MIN(stock_unlimited) AS stock_unlimited_min, MAX(stock_unlimited) AS stock_unlimited_max FROM dtb_products_class GROUP BY product_id) AS T2 ON T1.product_id = T2.product_id_sub
+    ) ',
+
+	"vw_products_allclass_detail" => '
+		(SELECT product_id,price01_min,price01_max,price02_min,price02_max,stock_min,stock_max,stock_unlimited_min,stock_unlimited_max,
+		del_flg,status,name,comment1,comment2,comment3,deliv_fee,main_comment,main_image,main_large_image,
+		sub_title1,sub_comment1,sub_image1,sub_large_image1,
+		sub_title2,sub_comment2,sub_image2,sub_large_image2,
+		sub_title3,sub_comment3,sub_image3,sub_large_image3,
+		sub_title4,sub_comment4,sub_image4,sub_large_image4,
+		sub_title5,sub_comment5,sub_image5,sub_large_image5,
+		product_flag,deliv_date_id,sale_limit,point_rate,sale_unlimited,file1,file2,category_id
+		FROM ( SELECT * FROM (dtb_products AS T1 RIGHT JOIN 
+		(SELECT 
+		product_id AS product_id_sub,
+		MIN(price01) AS price01_min,
+		MAX(price01) AS price01_max,
+		MIN(price02) AS price02_min,
+		MAX(price02) AS price02_max,
+		MIN(stock) AS stock_min,
+		MAX(stock) AS stock_max,
+		MIN(stock_unlimited) AS stock_unlimited_min,
+		MAX(stock_unlimited) AS stock_unlimited_max
+		FROM dtb_products_class GROUP BY product_id) AS T2
+		ON T1.product_id = T2.product_id_sub ) ) AS T3 LEFT JOIN (SELECT rank AS category_rank, category_id AS sub_category_id FROM dtb_category) AS T4
+		ON T3.category_id = T4.sub_category_id) ',
+
+	"vw_product_class" => '
+		(SELECT * FROM 
+		(SELECT T3.product_class_id, T3.product_id AS product_id_sub, classcategory_id1, classcategory_id2, 
+		T3.rank AS rank1, T4.rank AS rank2, T3.class_id AS class_id1, T4.class_id AS class_id2,
+		stock, price01, price02, stock_unlimited, product_code
+		FROM ( SELECT 
+		        T1.product_class_id,
+		        T1.product_id,
+		        classcategory_id1,
+		        classcategory_id2,
+		        T2.rank,
+		        T2.class_id,
+		        stock,
+		        price01,
+		        price02,
+		        stock_unlimited,
+		        product_code		
+		 FROM (dtb_products_class AS T1 LEFT JOIN dtb_classcategory AS T2
+		ON T1.classcategory_id1 = T2.classcategory_id))
+		AS T3 LEFT JOIN dtb_classcategory AS T4
+		ON T3.classcategory_id2 = T4.classcategory_id) AS T5 LEFT JOIN dtb_products AS T6
+		ON product_id_sub = T6.product_id) ',
+
+	"vw_category_count" => '
+		(SELECT T1.category_id, T1.category_name, T1.parent_category_id, T1.level, T1.rank, T2.product_count
+		FROM dtb_category AS T1 LEFT JOIN dtb_category_total_count AS T2
+		ON T1.category_id = T2.category_id) '
+);
+
+?>
