PluginProbe
Tagembed: Social Media Feeds and Customer Reviews Widget / 7.8
Tagembed: Social Media Feeds and Customer Reviews Widget v7.8
7.8 7.5 7.6 7.7 7.4 trunk 3.10 3.9 4.0 4.1 4.2 4.3 4.4 4.5 4.6 4.7 4.8 4.9 5.0 5.1 5.2 5.3 5.4 5.5 5.6 All 43 releases
← All changes | views/account/accountView.php +154 -106 4.27.8 View file →
@@ -1,111 +1,159 @@
1 -<!--<style>#wpfooter {display: none;}div#wpbody {min-height: calc(100vh - 65px);}</style>-->
2 1 <?php
3 -include_once TAGEMBED_PLUGIN_DIR_PATH . "views/includes/headView.php";
4 -wp_enqueue_script('__script-account-js', TAGEMBED_PLUGIN_URL . '/assets/js/account/tagembed.account.script.js', ['jquery'], TAGEMBED_PLUGIN_VERSION, true);
5 -/* --Start-- Manage Chat Hide And Show */
6 -$__tagembed__chat_script = false; /* Use : Manage Chat Hide Show */
7 -$__tagembed__chat_scripts_response = __tagembed__chat();
8 -if (!empty($__tagembed__chat_scripts_response)):
9 - if ($__tagembed__chat_scripts_response == 'all')
10 - $__tagembed__chat_script = true;
2 +if (!defined('ABSPATH')) :
3 + exit;
11 4 endif;
12 -/* --End-- Manage Chat Hide And Show */
5 +include_once TAGEMBED_PLUGIN_DIR_PATH . 'views/includes/headView.php';
6 +wp_enqueue_script('__tagembed__script-account-js', TAGEMBED_PLUGIN_URL . '/assets/js/account/tagembed.account.script.js', ['jquery'], TAGEMBED_PLUGIN_VERSION, true);
7 +$__tagembed__google_error = get_transient('__tagembed__google_error_' . get_current_user_id());
8 +if (!empty($__tagembed__google_error)) :
9 + delete_transient('__tagembed__google_error_' . get_current_user_id());
10 +endif;
13 11 ?>
14 -<!--<div class="__tagembed__container">-->
12 +<!--Start-- Other Plugin Popup-->
13 +<style>
14 + .__tagembed__okaybtn:hover {
15 + color: #fff !important;
16 + }
17 +
18 + .__tagembed__google_divider {
19 + display: flex;
20 + align-items: center;
21 + margin: 18px 0 14px;
22 + color: #8c8f94;
23 + font-size: 13px;
24 + }
25 +
26 + .__tagembed__google_divider::before,
27 + .__tagembed__google_divider::after {
28 + content: "";
29 + flex: 1 1 auto;
30 + height: 1px;
31 + background: #dcdcde;
32 + }
33 +
34 + .__tagembed__google_divider span {
35 + padding: 0 10px;
36 + }
37 +
38 + .__tagembed__google_btn {
39 + display: flex;
40 + align-items: center;
41 + justify-content: center;
42 + width: 100%;
43 + min-height: 40px;
44 + padding: 8px 14px;
45 + background: #fff;
46 + color: #3c4043;
47 + border: 1px solid #dadce0;
48 + border-radius: 0;
49 + font-size: 14px;
50 + font-weight: 500;
51 + line-height: 1.4;
52 + cursor: pointer;
53 + }
54 +
55 + .__tagembed__google_btn:hover {
56 + background: #f7f8f8;
57 + border-color: #c6c8ca;
58 + }
59 +
60 + .__tagembed__google_btn svg {
61 + width: 18px;
62 + height: 18px;
63 + display: block;
64 + margin-right: 10px;
65 + }
66 +</style>
67 +<div id="__tagembed__other_plugin_popup" class="__tagembed__other_plugin_popup"></div>
68 +<!--End-- Other Plugin Popup-->
69 +
15 70 <div class="__tagembed__row">
16 - <div class="__tagembed__col __tagembed__col_12 __tagembed__login_account">
17 - <!--Error-->
18 - <div id="__tagembed__account_error" class="__tagembed__acount_error __tagembed__danger"> Unknown email. Check again or try your email address.<br></div>
19 - <!--Tabbing-->
20 - <div id="__tagembed__account_tab_view" class="__tagembed__tabarea">
21 - <ul>
22 - <li><a id="__tagembed__account_login" onclick="__tagembed__manage_account_view('login')" href="javascript:void(0);" class="active">Login</a></li>
23 - <li><a id="__tagembed__account_register" onclick="__tagembed__manage_account_view('register')" href="javascript:void(0);">Register</a></li>
24 - </ul>
25 - </div>
26 - <!--Start-- Login View-->
27 - <div id="__tagembed__account_login_view" class="__tagembed__login_account_inn">
28 - <div class="__tagembed__login_with">
29 - <h2>Sign In</h2>
30 - <!--<a href="javascript:void(0);"><span> 9389 </span><i class="fa fa-arrow-circle-right" aria-hidden="true"></i></a>-->
31 - </div>
32 - <!--<p class="__tagembed__or">OR</p>-->
33 - <p>Enter your email and password</p>
34 - <form action="javascript:void(0);" id="__tagembed__login_form">
35 - <div class="__tagembed__form_row">
36 - <input type="email" name="emailId" value="" placeholder="Email" required autofocus>
37 - <span id="__tagembed__login_email_id_error"></span>
38 - </div>
39 - <div class="__tagembed__form_row">
40 - <input type="password" name="password" value="" placeholder="Password" required>
41 - <span id="__tagembed__login_password_error"></span>
42 - </div>
43 - <div class="__tagembed__submit_sec">
44 - <!--<a href="javascript:void(0);" onclick="__tagembed__manage_account_view('forgotPassword')">Forgot Password</a>-->
45 - <a href="https://app.tagembed.com/accounts/forgotpassword/" target="_blank" >Forgot Password</a>
46 - <a href="javascript:void(0);" onclick="__tagembed__manage_account_view('forgotPassword')"></a>
47 - <button type="submit" class="__tagembed__btn">Sign In</button>
48 - </div>
49 - </form>
50 - <!-- <div class="__tagembed__socialogin">
51 - <a href="javascript:void(0);"><i class="fa fa-google" aria-hidden="true"></i></a>
52 - <a href="javascript:void(0);"><i class="fa fa-facebook" aria-hidden="true"></i></a>
53 - <a href="javascript:void(0);"><i class="fa fa-twitter" aria-hidden="true"></i></a>
54 - <a href="javascript:void(0);"><i class="fa fa-linkedin" aria-hidden="true"></i></a>
55 - </div>-->
56 - </div>
57 - <!--End-- Login View-->
58 - <!--Start-- Register View-->
59 - <div id="__tagembed__account_register_view" class="__tagembed__register_inn">
60 - <div class="__tagembed__login_with">
61 - <h2>Sign Up</h2>
62 - <!--<a href="javascript:void(0);"><span> 9389 </span><i class="fa fa-arrow-circle-right" aria-hidden="true"></i></a>-->
63 - </div>
64 - <!--<p class="__tagembed__or">OR</p>-->
65 - <p>Enter your details to create your account</p>
66 - <form action="javascript:void(0);" id="__tagembed__register_form">
67 - <div class="__tagembed__form_row">
68 - <input type="text" name="fullName" value="" placeholder="Full Name" required>
69 - <span id="__tagembed__register_full_name_error"></span>
70 - </div>
71 - <div class="__tagembed__form_row">
72 - <input type="email" name="emailId" value="" placeholder="Email" required>
73 - <span id="__tagembed__register_email_id_error"></span>
74 - </div>
75 - <div class="__tagembed__form_row">
76 - <input type="password" name="password" value="" placeholder="Password" required>
77 - <span id="__tagembed__register_password_error"></span>
78 - </div>
79 - <div class="__tagembed__submit_sec __tagembed__flexend">
80 - <button type="submit" class="__tagembed__btn">Create Account</button>
81 - </div>
82 - </form>
83 - <!--
84 - <div class="__tagembed__socialogin">
85 - <a href="javascript:void(0);"><i class="fa fa-google" aria-hidden="true"></i></a>
86 - <a href="javascript:void(0);"><i class="fa fa-facebook" aria-hidden="true"></i></a>
87 - <a href="javascript:void(0);"><i class="fa fa-twitter" aria-hidden="true"></i></a>
88 - <a href="javascript:void(0);"><i class="fa fa-linkedin" aria-hidden="true"></i></a>
89 - </div>-->
90 - </div>
91 - <!--End-- Register View-->
92 - <!--Start-- Forgot Password View-->
93 - <!--<div id="__tagembed__account_forgot_password_view" class="__tagembed__forgot_inn">
94 - <h2>Forgot Password</h2>
95 - <p>Enter your email address below to reset your password.</p>
96 - <form>
97 - <div class="__tagembed__form_row">
98 - <input type="text" placeholder="Email Id"/>
99 - <span>Email is required.</span>
100 - </div>
101 - </form>
102 - <div class="__tagembed__submit_sec">
103 - <span>Take me back to <a href="javascript:void(0);" onclick="__tagembed__manage_account_view('login')">Login</a></span>
104 - <butotn class="__tagembed__btn">Submit</butotn>
105 - </div>
106 - </div>-->
107 - <!--End-- Forgot Password View-->
108 - </div>
71 + <div class="__tagembed__col __tagembed__col_12 __tagembed__login_account">
72 + <!--Error-->
73 + <div id="__tagembed__account_error" class="__tagembed__acount_error __tagembed__danger"<?php echo !empty($__tagembed__google_error) ? ' style="display:block;"' : ''; ?>> <?php echo !empty($__tagembed__google_error) ? esc_html($__tagembed__google_error) : 'Unknown email. Check again or try your email address.'; ?><br></div>
74 + <!--Tabbing-->
75 + <div id="__tagembed__account_tab_view" class="__tagembed__tabarea">
76 + <ul>
77 + <li><a id="__tagembed__account_login" onclick="__tagembed__manage_account_view('login')" href="javascript:void(0);" class="active">Login</a></li>
78 + <li><a id="__tagembed__account_register" onclick="__tagembed__manage_account_view('register')" href="javascript:void(0);">Register</a></li>
79 + </ul>
80 + </div>
81 + <!--Start-- Login View-->
82 + <div id="__tagembed__account_login_view" class="__tagembed__login_account_inn">
83 + <div class="__tagembed__login_with">
84 + <h2>Sign In</h2>
85 + </div>
86 + <p>Enter your email and password</p>
87 + <form action="javascript:void(0);" id="__tagembed__login_form">
88 + <div class="__tagembed__form_row">
89 + <input type="email" name="emailId" value="" placeholder="Email" required autofocus>
90 + <span id="__tagembed__login_email_id_error"></span>
91 + </div>
92 + <div class="__tagembed__form_row">
93 + <input type="password" name="password" value="" placeholder="Password" required>
94 + <span id="__tagembed__login_password_error"></span>
95 + </div>
96 + <div class="__tagembed__submit_sec">
97 + <a href="https://app.tagembed.com/accounts/forgotpassword/" target="_blank">Forgot Password</a>
98 + <a href="javascript:void(0);" onclick="__tagembed__manage_account_view('forgotPassword')"></a>
99 + <button type="submit" class="__tagembed__btn">Sign In</button>
100 + </div>
101 + </form>
102 + <div class="__tagembed__google_divider"><span>or</span></div>
103 + <button type="button" class="__tagembed__google_btn">
104 + <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" aria-hidden="true" focusable="false">
105 + <path fill="#4285F4" d="M45.12 24.5c0-1.56-.14-3.06-.4-4.5H24v8.51h11.84c-.51 2.75-2.06 5.08-4.39 6.64v5.52h7.11c4.16-3.83 6.56-9.47 6.56-16.17z" />
106 + <path fill="#34A853" d="M24 46c5.94 0 10.92-1.97 14.56-5.33l-7.11-5.52c-1.97 1.32-4.49 2.1-7.45 2.1-5.73 0-10.58-3.87-12.31-9.07H4.34v5.7C7.96 41.07 15.4 46 24 46z" />
107 + <path fill="#FBBC05" d="M11.69 28.18C11.25 26.86 11 25.45 11 24s.25-2.86.69-4.18v-5.7H4.34C2.85 17.09 2 20.45 2 24s.85 6.91 2.34 9.88l7.35-5.7z" />
108 + <path fill="#EA4335" d="M24 10.75c3.23 0 6.13 1.11 8.41 3.29l6.31-6.31C34.91 4.18 29.93 2 24 2 15.4 2 7.96 6.93 4.34 14.12l7.35 5.7c1.73-5.2 6.58-9.07 12.31-9.07z" />
109 + </svg>
110 + Continue with Google
111 + </button>
112 + </div>
113 + <!--End-- Login View-->
114 + <!--Start-- Register View-->
115 + <div id="__tagembed__account_register_view" class="__tagembed__register_inn">
116 + <div class="__tagembed__login_with">
117 + <h2>Sign Up</h2>
118 + </div>
119 + <p>Enter your details to create your account</p>
120 + <form action="javascript:void(0);" id="__tagembed__register_form">
121 + <div class="__tagembed__form_row">
122 + <input type="text" name="fullName" value="" placeholder="Full Name" required>
123 + <span id="__tagembed__register_full_name_error"></span>
124 + </div>
125 + <div class="__tagembed__form_row">
126 + <input type="email" name="emailId" value="" placeholder="Email" required>
127 + <span id="__tagembed__register_email_id_error"></span>
128 + </div>
129 + <div class="__tagembed__form_row">
130 + <select id="__tagembed__callingCode" name="calling_code" style="padding: 0 8px;line-height: 2; min-height: 30px;width: 100%;border-radius: 0; border: 1px solid #999;background-color: #fff;color: #2c3338;"></select>
131 + <span id="__tagembed__register_calling_code_error"></span>
132 + </div>
133 + <div class="__tagembed__form_row">
134 + <input type="number" name="contact_no" value="" placeholder="Contact Number">
135 + <span id="__tagembed__register_contact_no_error"></span>
136 + </div>
137 + <div class="__tagembed__form_row">
138 + <input type="password" name="password" value="" placeholder="Password" required>
139 + <span id="__tagembed__register_password_error"></span>
140 + <p style="font-size: 12px;color: #b5b5c3;font-weight: 400;max-width: 300px;margin-top: 10px;line-height: normal;">By clicking Create Account, you agree to our <a href="https://tagembed.com/terms-of-service/" target="_blank" style="cursor: pointer;">Terms of Service</a> and <a href="https://tagembed.com/privacy-policy/" target="_blank" style="cursor: pointer;">Privacy Policy</a></p>
141 + </div>
142 + <div class="__tagembed__submit_sec __tagembed__flexend">
143 + <button type="submit" class="__tagembed__btn">Create Account</button>
144 + </div>
145 + </form>
146 + <div class="__tagembed__google_divider"><span>or</span></div>
147 + <button type="button" class="__tagembed__google_btn">
148 + <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" aria-hidden="true" focusable="false">
149 + <path fill="#4285F4" d="M45.12 24.5c0-1.56-.14-3.06-.4-4.5H24v8.51h11.84c-.51 2.75-2.06 5.08-4.39 6.64v5.52h7.11c4.16-3.83 6.56-9.47 6.56-16.17z" />
150 + <path fill="#34A853" d="M24 46c5.94 0 10.92-1.97 14.56-5.33l-7.11-5.52c-1.97 1.32-4.49 2.1-7.45 2.1-5.73 0-10.58-3.87-12.31-9.07H4.34v5.7C7.96 41.07 15.4 46 24 46z" />
151 + <path fill="#FBBC05" d="M11.69 28.18C11.25 26.86 11 25.45 11 24s.25-2.86.69-4.18v-5.7H4.34C2.85 17.09 2 20.45 2 24s.85 6.91 2.34 9.88l7.35-5.7z" />
152 + <path fill="#EA4335" d="M24 10.75c3.23 0 6.13 1.11 8.41 3.29l6.31-6.31C34.91 4.18 29.93 2 24 2 15.4 2 7.96 6.93 4.34 14.12l7.35 5.7c1.73-5.2 6.58-9.07 12.31-9.07z" />
153 + </svg>
154 + Continue with Google
155 + </button>
156 + </div>
157 + </div>
109 158 </div>
110 -<!--</div>-->
111 -<?php include_once TAGEMBED_PLUGIN_DIR_PATH . "views/includes/footerView.php"; ?>
159 +<?php include_once TAGEMBED_PLUGIN_DIR_PATH . 'views/includes/footerView.php'; ?>