Subversion Repositories SmartDukaan

Rev

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

Rev 6336 Rev 6339
Line 227... Line 227...
227
    						"won Gift Coupons worth Rs.500 which you can use to shop for Mobiles, Laptops, Cameras, Accessories.<br><br>" +
227
    						"won Gift Coupons worth Rs.500 which you can use to shop for Mobiles, Laptops, Cameras, Accessories.<br><br>" +
228
    						"Voucher details have been sent to your email.<a target='_blank' href='/static/giftvoucher-offer'> Learn more.</a>" +
228
    						"Voucher details have been sent to your email.<a target='_blank' href='/static/giftvoucher-offer'> Learn more.</a>" +
229
                            "<br><br>Please help us spread the word." +
229
                            "<br><br>Please help us spread the word." +
230
    						"<div style=\"margin-top: 40px;text-align: center;\">" +
230
    						"<div style=\"margin-top: 40px;text-align: center;\">" +
231
    						"<a target='_blank' href='" + twitterUrl + "'>" + 
231
    						"<a target='_blank' href='" + twitterUrl + "'>" + 
232
    								"<input type='button' style=\"background: url('/images/tweet-about-us.png') 0px 1px;width: 160px;height: 40px;margin-right: 40px;\"></a>" +
232
    								"<input type='button' onclick=\"trackEventWithGA('Recharge', 'Twitter Share', '')\" style=\"background: url('/images/tweet-about-us.png') 0px 1px;width: 160px;height: 40px;margin-right: 40px;\"></a>" +
233
    						"<a target='_blank' href='" + fbUrl + "'>" +
233
    						"<a target='_blank' href='" + fbUrl + "'>" +
234
    								"<input type=\"button\" style=\"background:url('/images/Post-On-Facebook.jpg');width: 160px;height: 40px;\">" +
234
    								"<input type=\"button\" onclick=\"trackEventWithGA('Recharge', 'Facebook Share', '');\" style=\"background:url('/images/Post-On-Facebook.jpg');width: 160px;height: 40px;\">" +
235
    								"</a></div>";
235
    								"</a></div>";
236
    			}else{
236
    			}else{
-
 
237
    			    
-
 
238
    			    
-
 
239
    			    
-
 
240
    			    
237
    			    shareMsg = "I just recharged my " + operator + " at Saholic.com and got full cashback";
241
    			    shareMsg = "I just recharged my " + operator + " at Saholic.com and got full cashback";
238
    				fbUrl = "http://www.facebook.com/dialog/feed?app_id=291830044248933&link=www.saholic.com/recharge?afid=61&picture=http://i1074.photobucket.com/albums/w407/amathur2k/logo_saholic.png&name=" + shareMsg + "&caption=Win Assured Gift Coupons worth upto Rs.500 on every Mobile or DTH Recharge&description=One Click Hassle Free Recharges&redirect_uri=http://saholic.com/?shared=1";
242
    				fbUrl = "http://www.facebook.com/dialog/feed?app_id=291830044248933&link=www.saholic.com/recharge?afid=61&picture=http://i1074.photobucket.com/albums/w407/amathur2k/logo_saholic.png&name=" + shareMsg + "&caption=Win Assured Gift Coupons worth upto Rs.500 on every Mobile or DTH Recharge&description=One Click Hassle Free Recharges&redirect_uri=http://saholic.com/?shared=1";
239
    				twitterUrl = "https://twitter.com/intent/tweet?hashtags=saholic&original_referer=" + original_referer + "&related=saholic&source=saholic.com&text=" + shareMsg + "&url=http://www.saholic.com/recharge?afid=64&via=saholic";
243
    				twitterUrl = "https://twitter.com/intent/tweet?hashtags=saholic&original_referer=" + original_referer + "&related=saholic&source=saholic.com&text=" + shareMsg + "&url=http://www.saholic.com/recharge?afid=64&via=saholic";
240
    				giftMessage = "Congratulations! Your device is successfully recharged and you have " +
244
    				giftMessage = "Congratulations! Your device is successfully recharged and you have " +
241
    						"won Gift Coupons worth Rs." + rechargeOrder.getTotalAmount() + " which you can use to shop for Mobiles, Laptops, Cameras, Accessories.<br><br>" +
245
    						"won Gift Coupons worth Rs." + rechargeOrder.getTotalAmount() + " which you can use to shop for Mobiles, Laptops, Cameras, Accessories.<br><br>" +
242
    						"Voucher details have been sent to your email.<a target='_blank' href='/static/giftvoucher-offer'> Learn more.</a>" +
246
    						"Voucher details have been sent to your email.<a target='_blank' href='/static/giftvoucher-offer'> Learn more.</a>" +
243
    						"<br><br>Please help us spread the word." +
247
    						"<br><br>Please help us spread the word." +
244
    						"<div style=\"margin-top: 40px;text-align: center;\">" +
248
    						"<div style=\"margin-top: 40px;text-align: center;\">" +
245
    						"<a target='_blank' href='" + twitterUrl + "'>" +
249
    						"<a target='_blank' href='" + twitterUrl + "'>" +
246
                            "<input type='button' style=\"background: url('/images/tweet-about-us.png') 0px 1px;width: 160px;height: 40px;margin-right: 40px;\"></a>" + 
250
                            "<input type='button' onclick=\"trackEventWithGA('Recharge', 'Twitter Share', '')\" style=\"background: url('/images/tweet-about-us.png') 0px 1px;width: 160px;height: 40px;margin-right: 40px;\"></a>" + 
247
                            "<a target='_blank' href='" + fbUrl + "'>" +
251
                            "<a target='_blank' href='" + fbUrl + "'>" +
248
                                    "<input type=\"button\" style=\"background:url('/images/Post-On-Facebook.jpg');width: 160px;height: 40px;\">" +
252
                                    "<input type=\"button\" onclick=\"trackEventWithGA('Recharge', 'Facebook Share', '');\" style=\"background:url('/images/Post-On-Facebook.jpg');width: 160px;height: 40px;\">" +
249
                                    "</a></div>";
253
                                    "</a></div>";
250
    			}
254
    			}
251
    		}
255
    		}
252
    		return new String[] {"", "SUCCESS", giftMessage};
256
    		return new String[] {"", "SUCCESS", giftMessage};
253
    	}
257
    	}