','(',')',';','\'','"','|'); $action=str_replace($bad,'',$_REQUEST['action']); if(isset($action)){ switch($action){ case "viewsavecart":include("savecart.php"); break; case "savecart":$uObj_Element->fn_SaveCartItem(); break; case "rmvSaveItem":$uObj_Element->fn_EditCookieSaveCart($_GET['rId']); break; case "addtoCartSaveItem":$uObj_Element->fn_AddFromSaveCart($_GET['aId']); break; case "viewcart":include("addtocart.php"); break; case "removefromcart":include("addtocart.php"); break; case "secure_checkout":include("secure_checkout.php"); break; case "payment_method":include("payment_method.php"); break; case "invoice":include("invoice.php"); break; case "placeorder":$uObj_Element->fn_PlaceOrder(); break; case "savecomments":$uObj_Element->fn_addcomments(); break; case "confirm":include("confirm.php"); break; case "display":include(WS_HTML_DIR."inner_body.html"); break; case "shippingaddress":include("shippingaddress.php"); break; case "help":include("help.php"); break; case "addtocart":$uObj_Element->fn_addproducttocart(); break; case "wishlistlogin":include(WS_HTML_DIR.'login_old.html'); break; // case "login":include(WS_HTML_DIR.'login_old.html'); break; // case "shop":include("shoppingcart.php"); break; case "product":include ("friendmail.php"); break; case "articles":include ("articles.php"); break; case "article_details":include ("article_details.php"); break; case "list":$uObj_Element->list_mail(); break; case "account":include("registration.php"); break; case "acc":$uObj_Element->account(); break; case "wish":include ("friendmail.php"); break; case "fpass":$uObj_Element->forgot_pass(); break; case "pass":include('forgetpass.php'); break; case "rmv":include("rmv.php"); break; case "clear":$uObj_Element->ClearList($_GET[pId]); break; case "enterlogin":$uObj_Element->chk_pass($_POST); break; //case "searchforStockId" : $uObj_Element->fn_GetSearchDetails($_POST['search']); break; // Used for link search for an item, useful on Yahoo and Google Submit // Example: http://www.bijandiamonds.com/index.php?action=searchforStockId2&search2=BR-1283 //case "searchforStockId2" : $uObj_Element->fn_GetSearchDetails2($_GET['search2']); break; case "SearchStockID" : $uObj_Element->fn_GetSearchStock($_POST['search']); break; case "y_giftrmd" :include(WS_HTML_DIR."dspGReminder.html"); break; case "cGiftReminder" :include(WS_HTML_DIR."createGReminder.html"); break; case "editdeleteRDetails" :$uObj_Element->fn_EditDeleteGiftReminder(); break; case "insertGiftReminder" :$uObj_Element->fn_insertGiftReminder(); break; case "updateGiftReminder" :$uObj_Element->fn_insertGiftReminder(); break; case "deleteGiftReminder" :$uObj_Element->fn_DeletePreviousReminder(); break; case "orderhistory" :include(WS_HTML_DIR."dspOrderHistory.php"); break; case "orderlisting" :include(WS_HTML_DIR."orderListing.php"); break; //// User Account Feature case "myaccount" : include(WS_HTML_DIR."myaccount.html"); break; case "register_user" : include(WS_HTML_DIR."edit_profile.html"); break; case "editprofile" : include(WS_HTML_DIR."edit_profile.html"); break; case "shopzilla" : include(WS_HTML_DIR."shopzilla.html"); break; case "changepassword" : include(WS_HTML_DIR."changepassword.html"); break; case "update_user": $uObj_Element->fn_Add_Edit_User(); break; case "add_user" : $uObj_Element->fn_Add_Edit_User(); break; case "updatepassword" :$uObj_Element->fn_ChangePassword(); break; case "logout" : $uObj_Element->fn_Logout(); break; //// My Account Details case "viewItem" : include(WS_HTML_DIR."view.html"); break; case "viewhistory" : include(WS_HTML_DIR."viewHistory.html"); break; case "login" : include(WS_HTML_DIR."login.html"); break; case "checkLogin" : $uObj_Element->fn_checkLogin(); break; case "checkValid" : $uObj_Element->fn_checkValid(); break; case "forgetpassword" : include(WS_HTML_DIR."forgetpassword.html"); break; case "checkPassword" : $uObj_Element->fn_ForgetPassword(); break; //// Temp Wishlist Section case "TempWishList" : $uObj_Element->fn_TempWishList(); break; case "dspTempWishList" : include(WS_HTML_DIR."dspTemporaryWishlist.php"); break; case "AddToUserWishList" : $uObj_Element->fn_PermantWishList(); break; case "wishlist" : include(WS_HTML_DIR."dspWishlist.php"); break; case "AddWishListToCart" : $uObj_Element->fn_AddFromWishListToCart(); break; case "education": include(WS_HTML_DIR."education.html"); break; case "about": include(WS_HTML_DIR."about.html"); break; case "contact": include(WS_HTML_DIR."contact.html"); break; case "upload": include(WS_HTML_DIR."upload.html"); break; case "rap-round-1": include(WS_HTML_DIR."display_round_rap_1.html"); break; case "rap-round-2": include(WS_HTML_DIR."display_round_rap_2.html"); break; case "rap-pear-1": include(WS_HTML_DIR."display_pear_rap_1.html"); break; case "rap-pear-2": include(WS_HTML_DIR."display_pear_rap_2.html"); break; // default : include(WS_HTML_DIR."body.html"); // default : include("search/body.html"); // search page default : include(WS_HTML_DIR."intro.html"); } }else{ // include(WS_HTML_DIR."body.html"); // include("search/body.html"); // search page include(WS_HTML_DIR."intro.html"); } include(WS_HTML_DIR."footer.html"); ?>