Index: anches/dev/html/products/favorite.php
===================================================================
--- /branches/dev/html/products/favorite.php (revision 17)
+++ (revision )
@@ -1,35 +1,0 @@
-tpl_mainpage = "products/favorite.tpl";
- }
-}
-
-$objPage = new LC_Page();
-$objView = new SC_SiteView();
-$objQuery = new SC_Query();
-$objCustomer = new SC_Customer();
-
-//¥í¥°¥¤¥óȽÄê
-if (!$objCustomer->isLoginSuccess()){
- sfDispSiteError(CUSTOMER_ERROR);
-}else{
- switch($_POST['mode']){
- case 'favorite':
- $col= "'".$_SESSION['customer']['customer_id']."','".$_POST['product_id']."','1','now()','now()' ";
- $objQuery->exec("INSERT INTO dtb_customer_favorite VALUES (".$col.")");
- break;
- }
-}
-$objView->assignobj($objPage);
-$objView->display(SITE_FRAME);
-
-?>