Index: /temp/trunk/html/rss/index.php
===================================================================
--- /temp/trunk/html/rss/index.php	(revision 6474)
+++ /temp/trunk/html/rss/index.php	(revision 6475)
@@ -81,32 +81,3 @@
 }
 
-/*
- * ´Ø¿ôÌ¾:lfGetProducts
- * ÀâÌÀ¡¡:¾¦ÉÊ¾ðÊó¤ò¼èÆÀ¤¹¤ë
- * °ú¿ô£±:$objQuery		DBÁàºî¥¯¥é¥¹
- * Ìá¤êÃÍ:$arrNews		¼èÆÀ·ë²Ì¤òÇÛÎó¤ÇÊÖ¤¹
- */
-function lfGetProducts($objQuery, $product_id){
-	$col = "";
-	$col .= "     news_id ";								//¿·Ãå¾ðÊóID
-	$col .= "     ,news_title ";							//¿·Ãå¾ðÊó¥¿¥¤¥È¥ë
-	$col .= "     ,news_comment ";							//¿·Ãå¾ðÊóËÜÊ¸
-	$col .= "     ,to_char(news_date, 'YYYY') AS YEAR ";	//ÆüÉÕ(Ç¯)
-	$col .= "     ,to_char(news_date, 'MM') AS MONTH ";		//ÆüÉÕ(·î)
-	$col .= "     ,to_char(news_date, 'DD') AS DAY ";		//ÆüÉÕ(Æü)
-	$col .= "     ,to_char(news_date, 'HH24') AS HOUR ";	//ÆüÉÕ(»þ´Ö)
-	$col .= "     ,to_char(news_date, 'MI') AS MINUTE ";	//ÆüÉÕ(Ê¬)
-	$col .= "     ,to_char(news_date, 'SS') AS SECOND ";	//ÆüÉÕ(ÉÃ)
-	$col .= "     ,news_url ";								//¿·Ãå¾ðÊóURL
-	$col .= "     ,news_select ";							//¿·Ãå¾ðÊó¤Î¶èÊ¬(1:URL¡¢2:ËÜÊ¸)
-	$col .= "     ,(SELECT shop_name FROM dtb_baseinfo limit 1) AS shop_name  ";	//Å¹Ì¾
-	$col .= "     ,(SELECT email04 FROM dtb_baseinfo limit 1) AS email ";			//ÂåÉ½Email¥¢¥É¥ì¥¹
-	$from = "dtb_news";
-	$where = "del_flg = '0'";
-	$order = "rank DESC";
-	$objQuery->setorder($order);
-	$arrNews = $objQuery->select($col,$from,$where);
-	return $arrNews;
-}
-
 ?>
Index: /temp/trunk/html/rss/product.php
===================================================================
--- /temp/trunk/html/rss/product.php	(revision 6474)
+++ /temp/trunk/html/rss/product.php	(revision 6475)
@@ -53,37 +53,8 @@
 //******************************************************************************************/
 /*
- * ´Ø¿ôÌ¾:lfGetNews
- * ÀâÌÀ¡¡:¿·Ãå¾ðÊó¤ò¼èÆÀ¤¹¤ë
- * °ú¿ô£±:$objQuery		DBÁàºî¥¯¥é¥¹
- * Ìá¤êÃÍ:$arrNews		¼èÆÀ·ë²Ì¤òÇÛÎó¤ÇÊÖ¤¹
- */
-function lfGetNews($objQuery){
-	$col = "";
-	$col .= "     news_id ";								//¿·Ãå¾ðÊóID
-	$col .= "     ,news_title ";							//¿·Ãå¾ðÊó¥¿¥¤¥È¥ë
-	$col .= "     ,news_comment ";							//¿·Ãå¾ðÊóËÜÊ¸
-	$col .= "     ,to_char(news_date, 'YYYY') AS YEAR ";	//ÆüÉÕ(Ç¯)
-	$col .= "     ,to_char(news_date, 'MM') AS MONTH ";		//ÆüÉÕ(·î)
-	$col .= "     ,to_char(news_date, 'DD') AS DAY ";		//ÆüÉÕ(Æü)
-	$col .= "     ,to_char(news_date, 'HH24') AS HOUR ";	//ÆüÉÕ(»þ´Ö)
-	$col .= "     ,to_char(news_date, 'MI') AS MINUTE ";	//ÆüÉÕ(Ê¬)
-	$col .= "     ,to_char(news_date, 'SS') AS SECOND ";	//ÆüÉÕ(ÉÃ)
-	$col .= "     ,news_url ";								//¿·Ãå¾ðÊóURL
-	$col .= "     ,news_select ";							//¿·Ãå¾ðÊó¤Î¶èÊ¬(1:URL¡¢2:ËÜÊ¸)
-	$col .= "     ,(SELECT shop_name FROM dtb_baseinfo limit 1) AS shop_name  ";	//Å¹Ì¾
-	$col .= "     ,(SELECT email04 FROM dtb_baseinfo limit 1) AS email ";			//ÂåÉ½Email¥¢¥É¥ì¥¹
-	$from = "dtb_news";
-	$where = "del_flg = '0'";
-	$order = "rank DESC";
-	$objQuery->setorder($order);
-	$arrNews = $objQuery->select($col,$from,$where);
-	return $arrNews;
-}
-
-/*
  * ´Ø¿ôÌ¾:lfGetProducts
  * ÀâÌÀ¡¡:¾¦ÉÊ¾ðÊó¤ò¼èÆÀ¤¹¤ë
  * °ú¿ô£±:$objQuery		DBÁàºî¥¯¥é¥¹
- * Ìá¤êÃÍ:$arrNews		¼èÆÀ·ë²Ì¤òÇÛÎó¤ÇÊÖ¤¹
+ * Ìá¤êÃÍ:$arrProduct		¼èÆÀ·ë²Ì¤òÇÛÎó¤ÇÊÖ¤¹
  */
 function lfGetProducts($objQuery, $product_id){
@@ -102,10 +73,10 @@
 	$col .= "     ,(SELECT shop_name FROM dtb_baseinfo limit 1) AS shop_name  ";	//Å¹Ì¾
 	$col .= "     ,(SELECT email04 FROM dtb_baseinfo limit 1) AS email ";			//ÂåÉ½Email¥¢¥É¥ì¥¹
-	$from = "dtb_news";
+	$from = "dtb_produts";
 	$where = "del_flg = '0'";
 	$order = "rank DESC";
 	$objQuery->setorder($order);
-	$arrNews = $objQuery->select($col,$from,$where);
-	return $arrNews;
+	$arrProduct = $objQuery->select($col,$from,$where);
+	return $arrProduct;
 }
 
