Index: temp/trunk/data/lib/slib.php
===================================================================
--- temp/trunk/data/lib/slib.php	(revision 6712)
+++ temp/trunk/data/lib/slib.php	(revision 6713)
@@ -2573,79 +2573,4 @@
 }
 
-/*	EBIS¥¿¥°ÍÑ¥Ñ¥é¥á¡¼¥¿ */
-define("EBIS_CID", "aaaaaaa");
-
-/* ¥Ú¡¼¥¸ID¥ê¥¹¥È */
-$arrEbisPID = array(
-);
-
-class LC_EbisPage {
-	function LC_EbisPage() {
-		$this->tpl_mainpage = 'ebis_tag.tpl';
-	}
-}
-
-// ¥¨¥Ó¥¹¥¿¥°¤ÎÈ¯¹Ô
-function sfPrintEbisTag($pid = "") {
-	// ¡Ö/¡×¤¬½ÅÊ£¤·¤Æ¤¤¤ë¤â¤Î¤Ø¤ÎÂÐ±þ
-	$php_self = ereg_replace("[/]+", "/", $_SERVER['PHP_SELF']);
-	// PHP¥Õ¥¡¥¤¥ë¤Î¸å¤í¤Ë¡Ö/¡×¤¬¤Ä¤¤¤Æ¤·¤Þ¤Ã¤Æ¤¤¤ë¤â¤Î¤Ø¤ÎÂÐ±þ
-	$php_self = ereg_replace(".php[/]+$", ".php", $php_self);
-	
-	if(!is_array($pid) && $pid != "") {
-		if(!ereg(".tpl$", $pid)) {
-			// ¥Ú¡¼¥¸ID¤ò¾å½ñ¤­¤¹¤ë
-			$arrEbis['pid'] = $pid;
-		} else {
-			// ¥Æ¥ó¥×¥ì¡¼¥È¤Î¥Ñ¥¹¤¬Í¿¤¨¤é¤ì¤Æ¤¤¤ë¾ì¹ç
-			$temp_id = ereg_replace("^[/]+","",$pid);
-			$temp_id = ereg_replace(".tpl$","",$temp_id);
-			$temp_id = ereg_replace("[\./]","_",$temp_id);
-			$arrEbis['pid'] = $temp_id;
-		}
-	}	
-	
-	// ¾¦ÉÊ°ìÍ÷¥Ú¡¼¥¸¤Ï¡¢ÆÃ¼ìID¤òÈ¯¹Ô
-	if(ereg("^/products/list-c[0-9]+.html", $_SERVER["REQUEST_URI"])) {
-		$filename = basename($_SERVER["REQUEST_URI"]);
-		$arrEbis['pid'] = ereg_replace(".html$", "", $filename);
-	}
-	
-	// ¾¦ÉÊ°ìÍ÷¥Ú¡¼¥¸¤Ï¡¢ÆÃ¼ìID¤òÈ¯¹Ô
-	if(ereg("^/products/list.php\?category_id=[0-9]+", $_SERVER["REQUEST_URI"])) {
-		$filename = basename($_SERVER["REQUEST_URI"]);
-		$arrEbis['pid'] = ereg_replace("list.php\?category_id=", "list-c", $filename);
-	}
-	
-	// ¾¦ÉÊ¾ÜºÙ¥Ú¡¼¥¸¤Ï¡¢ÆÃ¼ìID¤òÈ¯¹Ô
-	if(ereg("^/products/detail-p[0-9]+.html", $_SERVER["REQUEST_URI"])) {
-		$filename = basename($_SERVER["REQUEST_URI"]);
-		$arrEbis['pid'] = ereg_replace(".html$", "", $filename);
-	}
-	
-	// ¾¦ÉÊ¾ÜºÙ¥Ú¡¼¥¸¤Ï¡¢ÆÃ¼ìID¤òÈ¯¹Ô
-	if(ereg("^/products/detail.php\?product_id=[0-9]+", $_SERVER["REQUEST_URI"])) {
-		$filename = basename($_SERVER["REQUEST_URI"]);
-		$arrEbis['pid'] = ereg_replace("detail.php\?product_id=", "detail-p", $filename);
-	}
-	
-	// ID³ä¤êÅö¤Æ¤µ¤ì¤Æ¤¤¤Ê¤¤¥Ú¡¼¥¸¤Ï¡¢¼«Æ°Åª¤ËÀ¸À®¤¹¤ë¡£
-	if($arrEbis['pid'] == "") {				
-		$temp_id = ereg_replace("^[/]+","",$_SERVER['PHP_SELF']);
-		$temp_id = ereg_replace(".php$","",$temp_id);
-		$temp_id = ereg_replace("[\./]","_",$temp_id);
-		$arrEbis['pid'] = $temp_id;
-	}
-			
-	// ¥Ú¡¼¥¸ID¤¬ÅÐÏ¿¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¤Î¤ß¥¿¥°¤ò½ÐÎÏ¤¹¤ë¡£
-	if($arrEbis['pid'] != "") {
-		$objSubPage = new LC_EbisPage();
-		$objSubPage->arrEbis = $arrEbis;
-		$objSubView = new SC_SiteView();
-		$objSubView->assignobj($objSubPage);
-		$objSubView->display($objSubPage->tpl_mainpage);
-	}
-}
-
 /* ¥Ç¥Ð¥Ã¥°ÍÑ ------------------------------------------------------------------------------------------------*/
 function sfPrintR($obj) {
Index: temp/trunk/html/require.php
===================================================================
--- temp/trunk/html/require.php	(revision 6330)
+++ temp/trunk/html/require.php	(revision 6713)
@@ -30,5 +30,5 @@
 require_once($include_dir . "/../data/class/SC_Pdf.php");
 require_once($include_dir . "/../data/include/page_layout.inc");
-
+require_once($include_dir . "/../data/include/ebis_tag.inc");
 // ¥¢¥Ã¥×¥Ç¡¼¥È¤Ç¼èÆÀ¤·¤¿PHP¤òÆÉ¤ß½Ð¤¹
 sfLoadUpdateModule();
