From 9e8fbb67e713389dfa940227bb55d886d900c181 Mon Sep 17 00:00:00 2001 From: suseendhiran17 <58357088+suseendhiran17@users.noreply.github.com> Date: Thu, 15 Jun 2023 15:26:10 +0530 Subject: [PATCH] susee --- app/Controllers/Sendmail_controller.php | 10 +++++++++- app/Controllers/credentials.json | 1 - app/Controllers/token.json | 6 ------ app/Views/credits_pack_list.php | 2 +- app/Views/member_layout/header.php | 8 +++++--- app/Views/memberaccess.php | 12 ++++++------ 6 files changed, 21 insertions(+), 18 deletions(-) delete mode 100644 app/Controllers/credentials.json delete mode 100644 app/Controllers/token.json diff --git a/app/Controllers/Sendmail_controller.php b/app/Controllers/Sendmail_controller.php index 45abe92..245437a 100644 --- a/app/Controllers/Sendmail_controller.php +++ b/app/Controllers/Sendmail_controller.php @@ -514,7 +514,15 @@ class Sendmail_controller extends BaseController // echo 'Email already verified.'; - return redirect()->to(base_url()."set_password/".md5($user_data[0]['id'])); + if($user_data[0]['password'] == '') + { + return redirect()->to(base_url()."set_password/".md5($user_data[0]['id'])); + } + else + { + return redirect()->to(base_url()); + } + } diff --git a/app/Controllers/credentials.json b/app/Controllers/credentials.json deleted file mode 100644 index 2ee146a..0000000 --- a/app/Controllers/credentials.json +++ /dev/null @@ -1 +0,0 @@ -{"web":{"client_id":"1091575547896-uksojot6eohd8i2mg7dcga9t0rn430ie.apps.googleusercontent.com","project_id":"titanium-genre-389806","auth_uri":"https://accounts.google.com/o/oauth2/auth","token_uri":"https://oauth2.googleapis.com/token","auth_provider_x509_cert_url":"https://www.googleapis.com/oauth2/v1/certs","client_secret":"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","redirect_uris":["http://localhost/golf_backend/test2"],"javascript_origins":["http://localhost"]}} \ No newline at end of file diff --git a/app/Controllers/token.json b/app/Controllers/token.json deleted file mode 100644 index 4e4e763..0000000 --- a/app/Controllers/token.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "access_token": "your-access-token", - "refresh_token": "your-refresh-token", - "expires_in": 3600, - "created": 1678934567 - } \ No newline at end of file diff --git a/app/Views/credits_pack_list.php b/app/Views/credits_pack_list.php index 5603ee3..247e80b 100644 --- a/app/Views/credits_pack_list.php +++ b/app/Views/credits_pack_list.php @@ -30,7 +30,7 @@
--> -| Pack Name | diff --git a/app/Views/member_layout/header.php b/app/Views/member_layout/header.php index 78f4b6e..5dbda31 100644 --- a/app/Views/member_layout/header.php +++ b/app/Views/member_layout/header.php @@ -50,16 +50,18 @@|||||
|---|---|---|---|---|---|
| format('M-d-Y'); ?> | +format('M d , Y'); ?> |
'.$credit_data[$i]['package_name'].'';
?>
- Expiry Date : format('M-d-Y'); ?> +Expiry Date : format('M d , Y'); ?> Order Id : |
0)
@@ -135,7 +135,7 @@
|||
| #= $value['order_id'] ?> | -format('M-d-Y'); ?> | +format('M d , Y'); ?> | $= json_decode($value['transaction'] , true)['payment']['amount_money']['amount']; ?> | "> " class="fa fa-caret-down" aria-hidden="true"> |