Subversion Repositories SmartDukaan

Rev

Rev 6326 | Rev 6336 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6326 Rev 6327
Line 208... Line 208...
208
    		
208
    		
209
    		String fbUrl = "";
209
    		String fbUrl = "";
210
    		String giftMessage = "Congratulations! Your device is successfully recharged.";
210
    		String giftMessage = "Congratulations! Your device is successfully recharged.";
211
    		if(rechargeOrder.getTotalAmount()>=100){
211
    		if(rechargeOrder.getTotalAmount()>=100){
212
    			if(rechargeOrder.getTotalAmount()>=500){
212
    			if(rechargeOrder.getTotalAmount()>=500){
213
    				fbUrl = "http://www.facebook.com/dialog/feed?app_id=291830044248933&link=www.saholic.com/static/win-100-percent-cashback?afid=6666&picture=http://i1074.photobucket.com/albums/w407/amathur2k/logo_saholic.png&name=I just won a Rs.500 Coupon Code&caption=Win Assured Gift Coupons worth 100% on every Mobile or DTH Recharge&description=One Click Hassle Free Recharges&redirect_uri=http://saholic.com/?shared=1";
213
    				fbUrl = "http://www.facebook.com/dialog/feed?app_id=291830044248933&link=www.saholic.com/static/giftvoucher-offer?afid=6666&picture=http://i1074.photobucket.com/albums/w407/amathur2k/logo_saholic.png&name=I just won a Rs.500 Coupon Code&caption=Win Assured Gift Coupons worth 100% on every Mobile or DTH Recharge&description=One Click Hassle Free Recharges&redirect_uri=http://saholic.com/?shared=1";
214
    				giftMessage = "Congratulations! Your device is successfully recharged and you have won Gift Coupons worth Rs.500 which you can use to shop for Mobiles, Laptops, Cameras, Accessories. Please help us Spread the word by Sharing on Facebook <a href='" + fbUrl + "'><img width='155' height='35' src='/images/Post-On-Facebook-6323.jpg'></a>";
214
    				giftMessage = "Congratulations! Your device is successfully recharged and you have won Gift Coupons worth Rs.500 which you can use to shop for Mobiles, Laptops, Cameras, Accessories. Please help us Spread the word by Sharing on Facebook <a href='" + fbUrl + "'><img width='155' height='35' src='/images/Post-On-Facebook-6323.jpg'></a>";
215
    			}else{
215
    			}else{
216
    				fbUrl = "http://www.facebook.com/dialog/feed?app_id=291830044248933&link=www.saholic.com/static/win-100-percent-cashback?afid=6666&picture=http://i1074.photobucket.com/albums/w407/amathur2k/logo_saholic.png&name=I just won a Rs. " + rechargeOrder.getTotalAmount() + " Coupon Code&caption=Win Assured Gift Coupons worth 100% on every Mobile or DTH Recharge&description=One Click Hassle Free Recharges&redirect_uri=http://saholic.com/?shared=1";
216
    				fbUrl = "http://www.facebook.com/dialog/feed?app_id=291830044248933&link=www.saholic.com/static/giftvoucher-offer?afid=6666&picture=http://i1074.photobucket.com/albums/w407/amathur2k/logo_saholic.png&name=I just won a Rs. " + rechargeOrder.getTotalAmount() + " Coupon Code&caption=Win Assured Gift Coupons worth 100% on every Mobile or DTH Recharge&description=One Click Hassle Free Recharges&redirect_uri=http://saholic.com/?shared=1";
217
    				giftMessage = "Congratulations! Your device is successfully recharged and you have won Gift Coupons worth Rs." + rechargeOrder.getTotalAmount() + " which you can use to shop for Mobiles, Laptops, Cameras, Accessories. Please help us Spread the word by Sharing on Facebook <a href='" + fbUrl + "'><img width='155' height='35' src='/images/Post-On-Facebook-6323.jpg'></a>";
217
    				giftMessage = "Congratulations! Your device is successfully recharged and you have won Gift Coupons worth Rs." + rechargeOrder.getTotalAmount() + " which you can use to shop for Mobiles, Laptops, Cameras, Accessories. Please help us Spread the word by Sharing on Facebook <a href='" + fbUrl + "'><img width='155' height='35' src='/images/Post-On-Facebook-6323.jpg'></a>";
218
    			}
218
    			}
219
    		}
219
    		}
220
    		return new String[] {"", "SUCCESS", giftMessage};
220
    		return new String[] {"", "SUCCESS", giftMessage};
221
    	}
221
    	}