Subversion Repositories SmartDukaan

Rev

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

Rev 15788 Rev 15789
Line 271... Line 271...
271
				else {
271
				else {
272
					redirect(base_url().'recharge');
272
					redirect(base_url().'recharge');
273
				}
273
				}
274
	      	}
274
	      	}
275
		}
275
		}
276
		elseif(isset($_POST['submit']) && (($_POST['submit'] == 'Confirm') || ($_POST['submit'] == 'Recharge Now')) && (!isset($_POST['captcha_response_field']) || empty($_POST['captcha_response_field']))){
276
		elseif(isset($_POST['submit']) && (($_POST['submit'] == 'Confirm') || ($_POST['submit'] == 'Recharge Now')) && (!isset($_POST['g-recaptcha-response']) || empty($_POST['g-recaptcha-response']))){
277
			$userId = $this->session->userdata('userId');
277
			$userId = $this->session->userdata('userId');
278
			if(isset($userId) && !empty($userId)){
278
			if(isset($userId) && !empty($userId)){
279
				if(isset($authorized) && !empty($authorized)){
279
				if(isset($authorized) && !empty($authorized)){
280
					if($authorized['isLoggedIn'] == 1){
280
					if($authorized['isLoggedIn'] == 1){
281
						$_POST['userId'] = $authorized['Id'];
281
						$_POST['userId'] = $authorized['Id'];