1<!DOCTYPE html> 2<html> 3<head> 4 <title>About - Yiwodofo</title> 5 <meta charset="UTF-8"> 6<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"> 7<meta name="title" content="About - Yiwodofo"> 8<meta name="description" content="yiwodofo is the Finest Global Dating Website Around. Connect With Local Singles & Start Your Online Dating Adventure! Enjoy Worldwide Dating with Thrilling Online Chat & More."> 9<meta name="keywords" content="Yiwodofo dating datingsite friendship love match"> 10 11 12<meta property="og:title" content="About - Yiwodofo" /> 13<meta property="og:description" content="yiwodofo is the Finest Global Dating Website Around. Connect With Local Singles & Start Your Online Dating Adventure! Enjoy Worldwide Dating with Thrilling Online Chat & More." /> 14<meta property="og:image" content="https://Yiwodofo.com/themes/default/assets/img/logo.png" /> 15<meta property="og:url" content="https://yiwodofo.com/about" /> 16<meta property="og:type" content="article" /> <link href="https://fonts.googleapis.com/css2?family=Lato:wght@400;600;700;800&family=Poppins:wght@400;600;700&display=swap" rel="stylesheet"> 17<link rel="icon" href="https://Yiwodofo.com/themes/default/assets/img/fav.png" type="image/x-icon"> 18<link href="https://Yiwodofo.com/themes/default/assets/css/materialize.min.css?v=1785323117" type="text/css" id="materialize" rel="stylesheet" media="screen,projection"/><link href="https://Yiwodofo.com/themes/default/assets/css/plugins.css?v=1785323117" type="text/css" id="plugins" rel="stylesheet" media="screen,projection"/><link href="https://Yiwodofo.com/themes/default/assets/css/style.css?v=1785323117" type="text/css" id="style" rel="stylesheet" media="screen,projection"/><link href="https://Yiwodofo.com/themes/default/assets/css/overrides.css?v=1785339617" type="text/css" id="overrides" rel="stylesheet" media="screen,projection"/> 19<link href="https://Yiwodofo.com/themes/default/assets/css/ie.css" type="text/css" id="ie" rel="stylesheet" media="screen,projection"/> 20 21 22 <!-- Script handling user profile drop down option at top right corner -->
23<script> 24 document_title = document.title; 25 26 window.site_url = "https://Yiwodofo.com"; 27 window.ajax = "https://Yiwodofo.com/aj/"; 28 window.theme_url = "https://Yiwodofo.com/themes/default/"; 29 window.worker_updateDelay = '4000'; 30 window.email_notification = '1'; 31 window.media_path = "https://Yiwodofo.com/"; 32 window.current_route1 = "/about"; 33 window.current_route2 = "/"; 34 window.current_route3 = "/"; 35 window.current_route4 = "/"; 36 window.current_page = "about"; 37 window.located = "125"; 38 window.ajaxsend = true; 39 window.maintenance_mode = "" 40 41 var imageAddr = "https://Yiwodofo.com/themes/default/assets/img/logoo.png" + "?n=" + Math.random(); 42 var startTime, endTime; 43 var downloadSize = 5616998; 44 var download = new Image(); 45 download.onload = function () { 46 endTime = (new Date()).getTime(); 47 var duration = (endTime - startTime) / 1000; //Math.round() 48 var bitsLoaded = downloadSize * 8; 49 var speedBps = (bitsLoaded / duration).toFixed(2); 50 var speedKbps = (speedBps / 1024).toFixed(2); 51 var speedMbps = (speedKbps / 1024).toFixed(2); 52 53 window.internet_speed = speedMbps; 54 } 55 startTime = (new Date()).getTime(); 56 download.src = imageAddr; 57 58 59 </script>
59 60 <!--
60<script src="https://Yiwodofo.com/themes/default/assets/js/jquery-2.1.1.min.js" type="text/javascript" id="jquery-2.1.1"></script>
60--> 61
61<script src="https://Yiwodofo.com/themes/default/assets/js/jquery-3.5.1.min.js" type="text/javascript" id="jquery-2.1.1"></script>
61 62
62<script src="https://Yiwodofo.com/themes/default/assets/js/functions.js?v=1785323118" type="text/javascript" id="functions"></script>
62 63 64 65
65<script src="https://Yiwodofo.com/themes/default/assets/js/materialize.min.js?v=1785323118" type="text/javascript" id="materialize"/></script>
65<script src="https://Yiwodofo.com/themes/default/assets/js/script.js?v=1785323118" type="text/javascript" id="script"/></script>
65<script src="https://Yiwodofo.com/themes/default/assets/js/plugins.js?v=1785323118" type="text/javascript" id="plugins"/></script>
65<script src="https://Yiwodofo.com/themes/default/assets/js/agora.js" type="text/javascript"/></script>
65<link href="https://vjs.zencdn.net/7.11.4/video-js.css" rel="stylesheet" />
65<script src="https://vjs.zencdn.net/7.11.4/video.min.js"></script>
65 66
66<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-7471945755466948" 67 crossorigin="anonymous"></script>
67 68 <!--calling custom header-js --> 69 <!-- onesignal --> 70 <link rel="manifest" href="https://Yiwodofo.com/themes/default/assets/js/OneSignalSDKFiles/manifest.json"> 71
71<script src="https://Yiwodofo.com/OneSignalSDKWorker.js" async='async'></script>
71 72
72<script> 73 var push_user_id = ''; 74 var my_id = ''; 75 var OneSignal = window.OneSignal || []; 76 OneSignal.push(["init", { 77 appId: "f799dc13-ec22-4d1f-9306-b9fbde7d6106", 78 allowLocalhostAsSecureOrigin: true, 79 autoRegister: true, /* Set to true to automatically prompt visitors */ 80 notifyButton: { 81 enable: true /* Set to false to hide */ 82 }, 83 persistNotification: false, 84 }]); 85 OneSignal.push(function () { 86 OneSignal.getUserId(function(userId) { 87 push_user_id = userId; 88 if (userId != my_id) { 89 $.get( window.ajax + 'onesignal/update_user_device_id', { id:push_user_id } ); 90 } 91 }); 92 OneSignal.on('subscriptionChange', function (isSubscribed) { 93 if (isSubscribed == false) { 94 $.get( window.ajax + 'onesignal/remove_user_device_id', {} ); 95 } else { 96 $.get( window.ajax + 'onesignal/update_user_device_id', { id:push_user_id } ); 97 } 98 }); 99 100 OneSignal.on('notificationDisplay', function (event) { 101 console.warn('OneSignal notification displayed:', event); 102 /* 103 { 104 "id": "ce31de29-e1b0-4961-99ee-080644677cd7", 105 "heading": "OneSignal Test Message", 106 "content": "This is an example notification.", 107 "url": "https://onesignal.com?_osp=do_not_open", 108 "icon": "https://onesignal.com/images/notification_logo.png" 109 } 110 */ 111 }); 112 113 // 114 // OneSignal.sendSelfNotification( 115 // /* Title (defaults if unset) */ 116 // "OneSignal Web Push Notification", 117 // /* Message (defaults if unset) */ 118 // "Action buttons increase the ways your users can interact with your notification.", 119 // /* URL (defaults if unset) */ 120 // 'https://example.com/?_osp=do_not_open', 121 // /* Icon */ 122 // 'https://onesignal.com/images/notification_logo.png', 123 // { 124 // /* Additional data hash */ 125 // notificationType: 'news-feature' 126 // }, 127 // [{ /* Buttons */ 128 // /* Choose any unique identifier for your button. The ID of the clicked button is passed to you so you can identify which button is clicked */ 129 // id: 'like-button', 130 // /* The text the button should display. Supports emojis. */ 131 // text: 'Like', 132 // /* A valid publicly reachable URL to an icon. Keep this small because it's downloaded on each notification display. */ 133 // icon: 'http://i.imgur.com/N8SN8ZS.png', 134 // /* The URL to open when this action button is clicked. See the sections below for special URLs that prevent opening any window. */ 135 // url: 'https://example.com/?_osp=do_not_open' 136 // }, 137 // { 138 // id: 'read-more-button', 139 // text: 'Read more', 140 // icon: 'http://i.imgur.com/MIxJp1L.png', 141 // url: 'https://example.com/?_osp=do_not_open' 142 // }] 143 // ); 144 145 146 }); 147 148 149 150 151 </script>
151 152
152<script> 153 function bindAjaxElement(item,e) { 154 if ($(item).attr('id') !== 'notificationbtn'){ 155 $("#loader").css("display", "block"); 156 } 157 var url =""; 158 var data_ajax = $(item).attr('data-ajax'); 159 var data_ajax_post = $(item).attr('data-ajax-post'); 160 var data_ajax_callback = $(item).attr('data-ajax-callback'); 161 162 // var data_replace_text = $(item).attr('data-replace-text'); 163 // var data_replace_dom = $(item).attr('data-replace-dom'); 164 // if (typeof data_replace_text !== typeof undefined && data_replace_text !== false) { 165 // if (typeof data_replace_dom !== typeof undefined && data_replace_dom !== false) { 166 // $(data_replace_dom).html(data_replace_text); 167 // } 168 // } 169 170 window.itm = $(item).attr('id'); 171 172 173 if (typeof data_ajax !== typeof undefined && data_ajax !== false) { 174 e.preventDefault(); 175 url = $(item).attr('data-ajax'); 176 window.current_page = url; 177 $.ajax({
178 url: window.site_url + url + window.maintenance_mode, 179 data:'url='+url+'&ajax=true', 180 type: "POST", 181 timeout: 60000, 182 success: function(result) { 183 $('body').css({'overflow':'inherit'}); 184 $("#loader").css("display","none"); 185 186 var is_user_logged_in = $( result ).filter( '.is_user_logged_in' ).html(); 187 if( typeof is_user_logged_in !== "undefined" ){ 188 if( is_user_logged_in !== "1" ){ 189 window.location.href = "https://Yiwodofo.com/login"; 190 } 191 } 192 var title = $( result ).filter( '.page_title' ).html(); 193 var page_name = $( result ).filter( '.page_name' ).html(); 194 window.current_page = page_name; 195 196 if(page_name !== 'profile' ){ 197 $('meta[name=robots]').remove(); 198 $('meta[name=googlebot]').remove(); 199 } 200 $('#container').html(result); 201 window.history.pushState({state:'new'},'', window.site_url + url); 202 203 204 $("html, body").animate({ scrollTop: 0 }, 150); 205 custom_footer_js(page_name); 206 207 document.title = decodeHtml( title ); 208 window.title = decodeHtml( title ); 209 document.getElementsByTagName('title')[0].innerHTML = decodeHtml( title ); 210 211 M.updateTextFields(); 212 213 window.onpopstate = function(event) { 214 $(window).unbind('popstate'); 215 window.location.href = document.location; 216 }; 217 218 event_runner(true); 219 }, 220 error: function(result){ 221 console.warn(result); 222 } 223 }); 224 } 225 226 if (typeof data_ajax_post !== typeof undefined && data_ajax_post !== false) { 227 228 url = window.ajax + $(item).attr('data-ajax-post') + window.maintenance_mode; 229 var params = $(item).attr('data-ajax-params'); 230 var callback = $(item).attr('data-ajax-callback'); 231 var formData = new FormData(); 232 var data_ajax_template = $(item).attr('data-ajax-template'); 233 234 if (params !== ''){ 235 params.split("&").forEach(function(item) { 236 var s = item.split("="), k = s[0], v = s[1]; 237 formData.append(k, decodeURIComponent(s[1]) ); 238 }); 239 } 240 241 if (typeof data_ajax_template !== typeof undefined) { 242 formData.append('data_ajax_template', data_ajax_template); 243 } 244 window.ajaxsend = false; 245 $.ajax({
246 url: url, 247 type: "POST", 248 data: formData, 249 contentType: false, 250 processData: false, 251 success: function(result) { 252 // window.ajaxsend = true; 253 // console.log('fuck1') 254 } 255 }).done(function (result) { 256 window.ajaxsend = true; 257 if (result.can_send == 1) { 258 SendMessages(); 259 } 260 var fn = window[callback]; 261 if (typeof fn === "function") fn( result ); 262 263 }).fail(function (data) { 264 window.ajaxsend = true; 265 if( data.responseJSON.spam == true ) { 266 //$('.chat_foot').remove(); 267 268 $('#chat_declined_modal').modal(); 269 $('#chat_declined_modal #chat_declined_modal_container').html(data.responseJSON.message); 270 $('#chat_declined_modal').modal('open'); 271 } 272 }); 273 } 274 275 276 if( typeof data_ajax_post === typeof undefined && typeof data_ajax === typeof undefined ){ 277 $("#loader").css("display","none"); 278 } 279 280 } 281 window.onload = function () { 282 283 $("body").on("click", "a,button,span", function(e) { 284 bindAjaxElement(this,e); 285 }); 286 287 $(document).ajaxStart(function() { 288 }).ajaxSuccess(function() { 289 $("#loader").css("display","none"); 290 }); 291 292 }; 293 </script>
vendor: 102 bytes, lines 293-295
293 294 <script type="text/javascript" src='https://www.google.com/recaptcha/api.js'></script> 295
295</head> 296<body class="about-page"> 297 <div id="loader" class="dt_ajax_progress"></div> 298 299 <div id="pop_up_18" class="modal matdialog et_plus"> 300 <div class="modal-dialog"> 301 <div class="modal-content"> 302 <svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.com/svgjs" width="120" height="120" x="0" y="0" viewBox="0 0 479.635 479.635" style="enable-background:new 0 0 512 512" xml:space="preserve" class=""><g><g><path d="m50.516 54.186c-58.063 46.478-67.455 131.225-20.977 189.288 3.081 3.849 6.371 7.526 9.855 11.014l200.41 200.5 37.014-220.34-37.014-159.485c-46.478-58.063-131.225-67.455-189.288-20.977z" fill="#ff6378" data-original="#ff6378"></path><path d="m440.152 64.089c-55.958-56.654-150.957-51.3-200.349 11.074v379.825l200.41-200.41c52.586-52.619 52.558-137.904-.061-190.489z" fill="#fd5151" data-original="#c30047" class=""></path><path d="m174.616 169.647h19.827v134h30v-164h-49.827z" fill="#ffffff" data-original="#fbf4f4" class=""></path><path d="m337.227 213.936c6.42-7.78 10.281-17.747 10.281-28.598 0-24.813-20.187-45-45-45s-45 20.187-45 45c0 10.852 3.861 20.818 10.281 28.598-11.369 9.784-18.59 24.261-18.59 40.402 0 29.395 23.915 53.31 53.309 53.31s53.309-23.915 53.309-53.31c0-16.141-7.22-30.619-18.59-40.402zm-34.719-43.598c8.271 0 15 6.729 15 15s-6.729 15-15 15-15-6.729-15-15 6.729-15 15-15zm0 107.309c-12.853 0-23.309-10.457-23.309-23.31s10.457-23.309 23.309-23.309 23.309 10.456 23.309 23.309-10.456 23.31-23.309 23.31z" fill="#ffffff" data-original="#e9e9ee" class=""></path><path d="m140.347 180.98h-30v21.952h-21.952v30h21.952v21.951h30v-21.951h21.951v-30h-21.951z" fill="#ffffff" data-original="#fbf4f4" class=""></path></g></g></svg> 303 <h4>Are you 18 years old or above?</h4> 304 <p>Please note that if you are under 18, you won't be able to access this site. </p> 305 306 <div class="modal-footer center"> 307 <button class="btn-flat waves-effect waves-light btn_primary white-text" id="pop_up_18_yes">Yes</button> 308 <button class="btn-flat waves-effect" id="pop_up_18_no">No</button> 309 </div> 310 </div> 311 </div> 312 </div> 313 314 <div class="modal modal-sm" id="authorize_modal" role="dialog" data-keyboard="false" style="overflow-y: auto;"> 315 <div class="modal-dialog"> 316 <div class="modal-content"> 317 <h4 class="modal-title">Check out</h4> 318 <form class="form form-horizontal" method="post" id="authorize_form" action="#"> 319 <div class="modal-body authorize_modal"> 320 <div id="authorize_alert"></div> 321 <div class="clear"></div> 322 <div class="row"> 323 <div class="input-field col s12"> 324 <input id="authorize_number" type="text" class="form-control input-md" autocomplete="off" placeholder="Card Number"> 325 </div> 326 <div class="input-field col s4"> 327 <select id="authorize_month" name="card_month" type="text" class="browser-default" autocomplete="off" placeholder="month (01)"> 328 <option value="01">01</option> 329 <option value="02">02</option> 330 <option value="03">03</option> 331 <option value="04">04</option> 332 <option value="05">05</option> 333 <option value="06">06</option> 334 <option value="07">07</option> 335 <option value="08">08</option> 336 <option value="09">09</option> 337 <option value="10">10</option> 338 <option value="11">11</option> 339 <option value="12">12</option> 340 </select> 341 </div> 342 <div class="input-field col s4 no-padding-both"> 343 <select id="authorize_year" name="card_year" type="text" class="browser-default" autocomplete="off" placeholder="year (2021)"> 344 <option value="2026">2026</option> 345 <option value="2027">2027</option> 346 <option value="2028">2028</option> 347 <option value="2029">2029</option> 348 <option value="2030">2030</option> 349 <option value="2031">2031</option> 350 <option value="2032">2032</option> 351 <option value="2033">2033</option> 352 <option value="2034">2034</option> 353 <option value="2035">2035</option> 354 <option value="2036">2036</option> 355 <option value="2037">2037</option> 356 <option value="2038">2038</option> 357 <option value="2039">2039</option> 358 <option value="2040">2040</option> 359 <option value="2041">2041</option> 360 </select> 361 </div> 362 <div class="input-field col s4"> 363 <input id="authorize_cvc" name="card_cvc" type="text" class="form-control input-md" autocomplete="off" placeholder="CVC" maxlength="3" oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*)\./g, '$1');"> 364 </div> 365 </div> 366 </div> 367 <div class="clear"></div> 368 <div class="modal-footer"> 369 <div class="ball-pulse"><div></div><div></div><div></div></div> 370 <button type="button" class="waves-effect waves-light btn-flat btn_primary white-text" onclick="AuthorizeRequest()" id="authorize_btn">Pay</button> 371 </div> 372 </form> 373 </div> 374 </div> 375 </div> 376 <div class="modal modal-sm" id="paystack_wallet_modal" role="dialog" data-keyboard="false" style="overflow-y: auto;"> 377 <div class="modal-dialog"> 378 <div class="modal-content"> 379 <h4 class="modal-title">PayStack</h4> 380 <form class="form form-horizontal" method="post" id="paystack_wallet_form" action="#"> 381 <div class="modal-body twocheckout_modal"> 382 <div id="paystack_wallet_alert"></div> 383 <div class="clear"></div> 384 <div class="input-field col-md-12"> 385 <label class="plr15" for="paystack_wallet_email">Email</label> 386 <input id="paystack_wallet_email" type="text" class="form-control input-md" autocomplete="off" placeholder="Email"> 387 </div> 388 <div class="clear"></div> 389 </div> 390 <div class="clear"></div> 391 <div class="modal-footer"> 392 <div class="ball-pulse"><div></div><div></div><div></div></div> 393 <button type="button" class="waves-effect waves-light btn-flat btn_primary white-text" id="paystack_btn" onclick="InitializeWalletPaystack()">Confirm</button> 394 </div> 395 </form> 396 </div> 397 </div> 398 </div> 399 <nav role="navigation" id="nav-not-logged-in"> 400 <div class="nav-wrapper container"> 401 <div class="left header_logo"> 402 <a id="logo-container" href="https://Yiwodofo.com/" class="brand-logo"><img src="https://Yiwodofo.com/themes/default/assets/img/logo.png" alt="Yiwodofo" /></a> 403 </div> 404 <ul class="right"> 405 <li class="hide_mobi_login"> 406 <a href="https://Yiwodofo.com/login" data-ajax="/login" class="btn-flat waves-effect text-main qdt_hdr_auth_btns qdt_hdr_auth_login">Login</a> 407 </li> 408 <li class="hide_mobi_login"> 409 <a href="https://Yiwodofo.com/register" data-ajax="/register" class="btn-flat waves-effect text-main qdt_hdr_auth_btns qdt_hdr_auth_register">Register</a> 410 </li> 411 <li class="show_mobi_login"> 412 <a class="dropdown-trigger dt_mobi_menu_trigger" href="#" data-target="nav_auth_dropdown" aria-label="Menu"> 413 <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" aria-hidden="true">
413<path fill="currentColor" d="M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z"/></svg> 414 </a> 415 <ul id="nav_auth_dropdown" class="dropdown-content dt_mobi_menu_dropdown"> 416 <li><a href="https://Yiwodofo.com/login" data-ajax="/login" class="dt_mobi_menu_link dt_mobi_menu_link_primary">Login</a></li> 417 <li><a href="https://Yiwodofo.com/register" data-ajax="/register" class="dt_mobi_menu_link">Register</a></li> 418 <li><a href="https://Yiwodofo.com/explore" data-ajax="/explore" class="dt_mobi_menu_link">Explore</a></li> 419 </ul> 420 </li> 421 </ul> 422 </div> 423</nav> 424 <div id="container"> 425 <!-- About --> 426<style> 427@media (max-width: 1024px){ 428.dt_slide_menu { 429 display: none; 430} 431nav .header_user { 432 display: block; 433} 434} 435</style> 436 437<div class="container dt_terms"> 438 <div class="row"> 439 <div class="col s12 m4 l3"> 440 <div class="dt_terms_sidebar"> 441 <ul> 442 <li class=""><a href="https://Yiwodofo.com/terms" data-ajax="/terms">Terms of use</a></li> 443 <li class=""><a href="https://Yiwodofo.com/privacy" data-ajax="/privacy">Privacy Policy</a></li> 444 <li class="active"><a href="https://Yiwodofo.com/about" data-ajax="/about">About Us</a></li> 445 446 <hr> 447 <li><a href="https://Yiwodofo.com/contact" data-ajax="/contact">Contact Us</a></li> 448 </ul> 449 </div> 450 </div> 451 <div class="col s12 m8 l9"> 452 <h2 class="bold">About Us</h2> 453 <div class="dt_terms_content_body"> 454 <p>Yiwodofo.com is a dating platform designed and dedicated to helping singles who are looking for long-term committed relationships leading to marriage. Our intelligent matchmaking algorithm delivers compatible partner suggestions based on your preferences. We verify all new profiles to ensure that users have a safe, smooth, and enjoyable experience while interacting with like-minded and potential singles. Our platform also provides you with numerous browsing options, allowing you to choose from a wide variety of profiles.</p> 455<p>Our vision is to maintain the industry’s highest standards. We are as committed to our members, as our members are to finding love. Numerous certifications, awards, and testimonials from members illustrate how successful we already are in this area. However, the most important measure of our work's value remains the couples who meet each other through our platform daily.</p> 456<p>At Yiwodofo.com, we have a team of dedicated people who work tirelessly to provide you with the best possible experience and help you start your relationship journey. From verifying profiles to ensuring that your data is kept confidential, our team is committed to your satisfaction. Our Customer Care team is always available to answer any questions and assist you along your journey.</p> </div> 457 </div> 458 </div> 459</div> 460<!-- End About --> </div> 461 <a href="javascript:void(0);" id="ajaxRedirect" style="visibility: hidden;display: none;"></a> 462 <!-- Footer --> 463 <footer id="footer" class="page_footer"> 464 <div class="footer-copyright"> 465 <div class="container valign-wrapper"> 466 <span>Copyright © 2026 Yiwodofo. All rights reserved.</span> 467 <span class="dt_fotr_spn"> 468 <ul class="dt_footer_links"> 469 <li><a href="https://Yiwodofo.com/about" data-ajax="/about">About Us</a></li> 470 - <li><a href="https://Yiwodofo.com/terms" data-ajax="/terms">Terms</a></li> 471 - <li><a href="https://Yiwodofo.com/privacy" data-ajax="/privacy">Privacy Policy</a></li> 472 - <li><a href="https://Yiwodofo.com/contact" data-ajax="/contact">Contact</a></li> 473 - <li><a href="https://Yiwodofo.com/faqs" data-ajax="/faqs">Safety</a></li> 474 - <li><a href="https://Yiwodofo.com/refund" data-ajax="/refund">Refund</a></li> 475 <!-- 476 - <li><a href="https://Yiwodofo.com/developers" data-ajax="/developers">Developers</a></li> 477 478 --> 479 480 <li> 481 <a href="http://twitter.com" target="_blank"> 482 <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" class="feather feather-twitter" fill="#55acee"><path d="M5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3M17.71,9.33C18.19,8.93 18.75,8.45 19,7.92C18.59,8.13 18.1,8.26 17.56,8.33C18.06,7.97 18.47,7.5 18.68,6.86C18.16,7.14 17.63,7.38 16.97,7.5C15.42,5.63 11.71,7.15 12.37,9.95C9.76,9.79 8.17,8.61 6.85,7.16C6.1,8.38 6.75,10.23 7.64,10.74C7.18,10.71 6.83,10.57 6.5,10.41C6.54,11.95 7.39,12.69 8.58,13.09C8.22,13.16 7.82,13.18 7.44,13.12C7.81,14.19 8.58,14.86 9.9,15C9,15.76 7.34,16.29 6,16.08C7.15,16.81 8.46,17.39 10.28,17.31C14.69,17.11 17.64,13.95 17.71,9.33Z"></path></svg> 483 </a> 484 </li> 485 <li> 486 <a href="http://facebook.com" target="_blank"> 487 <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" class="feather feather-facebook" fill="#337ab7"><path d="M5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3M18,5H15.5A3.5,3.5 0 0,0 12,8.5V11H10V14H12V21H15V14H18V11H15V9A1,1 0 0,1 16,8H18V5Z"></path></svg> 488 </a> 489 </li> 490 <li> 491 <a href="http://google.com" target="_blank"> 492 <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewB
492ox="0 0 458.246 458.246" style=" width: 25px;enable-background:new 0 0 458.246 458.246;" xml:space="preserve"> <path style="fill:#F34A38;" d="M160.777,259.368h71.594c-12.567,35.53-46.603,61.004-86.45,60.71 c-48.349-0.357-88.327-39.035-90.204-87.349c-2.012-51.789,39.537-94.563,90.887-94.563c23.479,0,44.905,8.946,61.058,23.605 c3.826,3.473,9.65,3.495,13.413-0.047l26.296-24.749c4.112-3.871,4.127-10.408,0.027-14.292 c-25.617-24.269-59.981-39.396-97.876-40.136C68.696,80.969,0.567,147.238,0.004,228.078 c-0.568,81.447,65.285,147.649,146.6,147.649c78.199,0,142.081-61.229,146.36-138.358c0.114-0.967,0.189-33.648,0.189-33.648 H160.777c-5.426,0-9.824,4.398-9.824,9.824v35.999C150.953,254.97,155.352,259.368,160.777,259.368z"/> <path style="fill:#F34A38;" d="M414.464,206.99v-35.173c0-4.755-3.854-8.609-8.609-8.609h-29.604c-4.755,0-8.609,3.854-8.609,8.609 v35.173h-35.173c-4.755,0-8.609,3.854-8.609,8.609v29.604c0,4.755,3.854,8.609,8.609,8.609h35.173v35.173 c0,4.755,3.854,8.609,8.609,8.609h29.604c4.755,0,8.609-3.854,8.609-8.609v-35.173h35.173c4.755,0,8.609-3.854,8.609-8.609v-29.604 c0-4.755-3.854-8.609-8.609-8.609L414.464,206.99L414.464,206.99z"/> </svg> 493 </a> 494 </li> 495 496 497 </ul> 498 <!-- Dropdown language --> 499<span class="dt_foot_langs"> 500 <a class="modal-trigger" href="#modal_langs">Language <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M7,15L12,10L17,15H7Z" /></svg></a> 501</span> 502 503<div id="modal_langs" class="modal modal-sm" tabindex="0"> 504 <div class="modal-content"> 505 <h6 class="bold">Language</h6> 506 <ul class="browser-default dt_lang_modal"> 507 <li class="active"><a href="?language=english"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z" /></svg> English</a></li> 508 <li ><a href="?language=arabic"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z" /></svg> Arabic</a></li> 509 <li ><a href="?language=dutch"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z" /></svg> Dutch</a></li> 510 <li ><a href="?language=french"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z" /></svg> French</a></li> 511 <li ><a href="?language=german"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z" /></svg> German</a></li> 512 <li ><a href="?language=italian"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z" /></svg> Italian</a></li> 513 <li ><a href="?language=portuguese"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z" /></svg> Portuguese</a></li> 514 <li ><a href="?language=russian"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z" /></svg> Russian</a></li> 515 <li ><a href="?language=spanish"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z" /></svg> Spanish</a></li> 516 <li ><a href="?language=turkish"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z" /></svg> Turkish</a></li> 517 </ul> 518 </div> 519</div> </span> 520 </div> 521 </div> 522 </footer> 523<!-- End Footer --> 524 <!-- Scroll to top --> 525 <a href="javascript:void(0);" class="btn-floating btn-large waves-effect waves-light dt_to_top bg_gradient"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
525<path fill="currentColor" d="M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z"></path></svg></a> 526 <!-- End Scroll to top --> 527 528 <div id="max_swap_modal" class="modal dt_swipe_modal_max"> 529 <div class="modal-content"> 530 <img src="https://Yiwodofo.com/themes/default/assets/img/max-swipe-alert.svg" alt="Close"> 531 <div id="max_swap_modal_container"></div> 532 </div> 533 <div class="modal-footer"> 534 <a href="https://Yiwodofo.com/pro" data-ajax="/pro" class="prema"><span style="margin-left: 9px;">Premium</span></a> 535 <a href="javascript:void(0);" class="modal-close waves-effect btn-flat">Close</a> 536 </div> 537</div> 538 539<div id="chat_declined_modal" class="modal"> 540 <div class="modal-content"> 541 <div id="chat_declined_modal_container"></div> 542 </div> 543 <div class="modal-footer"> 544 <a href="javascript:void(0);" class="modal-close waves-effect btn-flat">Close</a> 545 </div> 546</div> 547
548<script> 549 var Wo_Delay = (function(){ 550 var timer = 0; 551 return function(callback, ms){ 552 clearTimeout (timer); 553 timer = setTimeout(callback, ms); 554 }; 555 })(); 556 557 function Wo_ChatSticker(self){ 558 if (!self) { 559 return false; 560 } 561 562 $( '#gify_box' ).modal("close"); 563 $('.lds-facebook').removeClass('hide'); 564 $('#btn_chat_f_send').addClass('hide'); 565 566 567 let id = $( this ).attr( 'data-id' ); 568 let form = $("#chat_message_form"); 569 let url = window.ajax + form.attr('action'); 570 $.ajax({ 571 type: 'POST', 572 url: url, 573 data: form.serialize() + '&gifurl=' + $(self).attr('data-gif'), 574 success: function (data) { 575 576 if (window._get_chatConversationsInterval) { 577 window._get_chatConversationsInterval.start(); 578 } 579 let el = $( '#dt_emoji' ).emojioneArea(); 580 el.data( 'emojioneArea' ).setText(''); 581 if( typeof el.data( 'emojioneArea' ).editor !== "undefined" ){ 582 el.data( 'emojioneArea' ).editor.focus(); 583 } 584 585 _get_chat_conversation(data.to); 586 $('#btn_chat_f_send').removeClass('hide'); 587 $('.lds-facebook').addClass('hide'); 588 } 589 }); 590 591 } 592 593 function GetGifyChat(keyword){ 594 Wo_Delay(function(){ 595 let offset = Math.floor(Math.random() * 100) + 1; 596 $.ajax({ 597 url: 'https://api.giphy.com/v1/gifs/search?', 598 type: 'GET', 599 dataType: 'json', 600 data: {q:keyword,api_key:'GIjbMwjlfGcmNEgB0eqphgRgwNCYN8gh',limit:24,offset: offset}, 601 }) 602 .done(function(data) { 603 if (data.meta.status == 200 && data.data.length > 0) { 604 $('#gifylist').empty(); 605 for (var i = 0; i < data.data.length; i++) { 606 appended = true; 607 if (appended == true) { 608 appended = false; 609 $('#gifylist').append($('<img alt="gif" src="'+data.data[i].images.fixed_height_small.url+'" data-gif="' + data.data[i].images.fixed_height.url + '" onclick="Wo_ChatSticker(this)" autoplay loop>')); 610 appended = true; 611 } 612 } 613 } 614 else{ 615 $('#gifylist').html('<p class="no_chat_gifs_found"><i class="fa fa-frown-o"></i> No result found</p>'); 616 } 617 }) 618 .fail(function() { 619 console.log("error"); 620 }) 621 },1000); 622 } 623 624 function Wo_GetChatStickers(keyword){ 625 if (!keyword) { 626 return false; 627 } 628 var chat_gif_loading = '\ 629 <div class="sk-circle">\ 630 <div class="sk-circle1 sk-child"></div>\ 631 <div class="sk-circle2 sk-child"></div>\ 632 <div class="sk-circle3 sk-child"></div>\ 633 <div class="sk-circle4 sk-child"></div>\ 634 <div class="sk-circle5 sk-child"></div>\ 635 <div class="sk-circle6 sk-child"></div>\ 636 <div class="sk-circle7 sk-child"></div>\ 637 <div class="sk-circle8 sk-child"></div>\ 638 <div class="sk-circle9 sk-child"></div>\ 639 <div class="sk-circle10 sk-child"></div>\ 640 <div class="sk-circle11 sk-child"></div>\ 641 <div class="sk-circle12 sk-child"></div>\ 642 </div>'; 643 $('#chat-box-stickers-cont').html(chat_gif_loading); 644 Wo_Delay(function(){ 645 $.ajax({ 646 url: 'https://api.giphy.com/v1/gifs/search?', 647 type: 'GET', 648 dataType: 'json', 649 data: {q:keyword,api_key:'GIjbMwjlfGcmNEgB0eqphgRgwNCYN8gh',limit:15}, 650 }) 651 .done(function(data) { 652 if (data.meta.status == 200 && data.data.length > 0) { 653 $('#chat-box-stickers-cont').empty(); 654 for (var i = 0; i < data.data.length; i++) { 655 appended = true; 656 if (appended == true) { 657 appended = false;
658 $('#chat-box-stickers-cont').append($('<img alt="gif" src="'+data.data[i].images.fixed_height_small.url+'" data-gif="' + data.data[i].images.fixed_height.url + '" onclick="Wo_ChatSticker(this)" autoplay loop>')); 659 appended = true; 660 } 661 } 662 } 663 else{ 664 $('#chat-box-stickers-cont').html('<p class="no_chat_gifs_found"><i class="fa fa-frown-o"></i> No result found</p>'); 665 } 666 }) 667 .fail(function() { 668 console.log("error"); 669 }) 670 },1000); 671 } 672 673 function interest_chipsUpdate(e, data) { 674 var chipsData = M.Chips.getInstance($('.interest_chips')).chipsData; 675 var len = chipsData.length; 676 var chipsValue = ""; 677 var i; 678 for (i = 0; i < len; i++) { 679 chipsValue += chipsData[i].tag + ","; 680 } 681 682 document.getElementsByName("interest")[0].value = chipsValue; 683 } 684 function deleteimage(img){ 685 var src = $(img).parent().parent().find('.fancybox-image').attr('src'); // Looks for the *fancyboxed* image 686 var url = window.ajax + '/profile/delete_avater'; 687 var formData = new FormData(); 688 formData.append("id", $(img).attr('data-id') ); 689 $.ajax({ 690 type: 'POST', 691 url: url, 692 data: formData, 693 contentType:false, 694 cache: false, 695 processData:false, 696 success: function(data){ 697 if(data.status == 200) { 698 parent.$.fancybox.close(); 699 $("#ajaxRedirect").attr("data-ajax",'/' + window.loggedin_user); 700 $("#ajaxRedirect").click(); 701 } 702 }, 703 error: function (data) { 704 M.toast({html: data.responseJSON.message}); 705 }, 706 }); 707 } 708 function deleteimageadmin(img,user){ 709 var src = $(img).parent().parent().find('.fancybox-image').attr('src'); // Looks for the *fancyboxed* image 710 var url = window.ajax + '/profile/delete_avater_admin'; 711 var formData = new FormData(); 712 formData.append("id", $(img).attr('data-id') ); 713 formData.append("uid", user ); 714 $.ajax({ 715 type: 'POST', 716 url: url, 717 data: formData, 718 contentType:false, 719 cache: false, 720 processData:false, 721 success: function(data){ 722 if(data.status == 200) { 723 parent.$.fancybox.close(); 724 $("#ajaxRedirect").attr("data-ajax",'/@' + data.userData.username); 725 $("#ajaxRedirect").click(); 726 } 727 }, 728 error: function (data) { 729 M.toast({html: data.responseJSON.message}); 730 }, 731 }); 732 } 733 734 function privateimage(img){ 735 var src = $(img).parent().parent().find('.fancybox-image').attr('src'); // Looks for the *fancyboxed* image 736 var url = window.ajax + '/profile/private_avater'; 737 var formData = new FormData(); 738 formData.append("id", $(img).attr('data-id') ); 739 740 var chat_gif_loading = '<div class="qdt_lbox_prvtLoader"><svg width="120" height="30" viewBox="0 0 120 30" xmlns="http://www.w3.org/2000/svg"><circle cx="15" cy="15" r="15"> <animate attributeName="r" from="15" to="15" begin="0s" dur="0.8s" values="15;9;15" calcMode="linear" repeatCount="indefinite" /> <animate attributeName="fill-opacity" from="1" to="1" begin="0s" dur="0.8s" values="1;.5;1" calcMode="linear" repeatCount="indefinite" /> </circle> <circle cx="60" cy="15" r="9" fill-opacity="0.3"> <animate attributeName="r" from="9" to="9" begin="0s" dur="0.8s" values="9;15;9" calcMode="linear" repeatCount="indefinite" /> <animate attributeName="fill-opacity" from="0.5" to="0.5" begin="0s" dur="0.8s" values=".5;1;.5" calcMode="linear" repeatCount="indefinite" /> </circle> <circle cx="105" cy="15" r="15"> <animate attributeName="r" from="15" to="15" begin="0s" dur="0.8s" values="15;9;
74015" calcMode="linear" repeatCount="indefinite" /> <animate attributeName="fill-opacity" from="1" to="1" begin="0s" dur="0.8s" values="1;.5;1" calcMode="linear" repeatCount="indefinite" /></circle></svg></div>'; 741 $('.fancybox-content img.fancybox-image').after(chat_gif_loading); 742 743 $.ajax({ 744 type: 'POST', 745 url: url, 746 data: formData, 747 contentType:false, 748 cache: false, 749 processData:false, 750 success: function(data){ 751 if(data.status == 200) { 752 $('.sk-circle').remove(); 753 parent.$.fancybox.close(); 754 if(data.lock_private_photo == true){ 755 var lock_private_photo_fee = '30'; 756 if (typeof data.type != 'undefined') { 757 if (data.type == 'photo') { 758 $('.payment_modalx').modal('open'); 759 } 760 else{ 761 $('.payment_v_modalx').modal('open'); 762 } 763 return false; 764 } 765 $('.payment_modalx').modal('open'); 766 }else{ 767 $("#ajaxRedirect").attr("data-ajax",'/' + window.loggedin_user); 768 $("#ajaxRedirect").click(); 769 } 770 } 771 }, 772 error: function (data) { 773 M.toast({html: data.responseJSON.message}); 774 }, 775 }); 776 } 777 function unprivateimage(img){ 778 var src = $(img).parent().parent().find('.fancybox-image').attr('src'); // Looks for the *fancyboxed* image 779 var url = window.ajax + '/profile/unprivate_avater'; 780 var formData = new FormData(); 781 formData.append("id", $(img).attr('data-id') ); 782 783 var chat_gif_loading = '<div class="qdt_lbox_prvtLoader"><svg width="120" height="30" viewBox="0 0 120 30" xmlns="http://www.w3.org/2000/svg"><circle cx="15" cy="15" r="15"> <animate attributeName="r" from="15" to="15" begin="0s" dur="0.8s" values="15;9;15" calcMode="linear" repeatCount="indefinite" /> <animate attributeName="fill-opacity" from="1" to="1" begin="0s" dur="0.8s" values="1;.5;1" calcMode="linear" repeatCount="indefinite" /> </circle> <circle cx="60" cy="15" r="9" fill-opacity="0.3"> <animate attributeName="r" from="9" to="9" begin="0s" dur="0.8s" values="9;15;9" calcMode="linear" repeatCount="indefinite" /> <animate attributeName="fill-opacity" from="0.5" to="0.5" begin="0s" dur="0.8s" values=".5;1;.5" calcMode="linear" repeatCount="indefinite" /> </circle> <circle cx="105" cy="15" r="15"> <animate attributeName="r" from="15" to="15" begin="0s" dur="0.8s" values="15;9;15" calcMode="linear" repeatCount="indefinite" /> <animate attributeName="fill-opacity" from="1" to="1" begin="0s" dur="0.8s" values="1;.5;1" calcMode="linear" repeatCount="indefinite" /></circle></svg></div>'; 784 $('.fancybox-content img.fancybox-image').after(chat_gif_loading); 785 786 $.ajax({ 787 type: 'POST', 788 url: url, 789 data: formData, 790 contentType:false, 791 cache: false, 792 processData:false, 793 success: function(data){ 794 if(data.status == 200) { 795 $('.sk-circle').remove(); 796 parent.$.fancybox.close(); 797 $("#ajaxRedirect").attr("data-ajax",'/' + window.loggedin_user); 798 $("#ajaxRedirect").click(); 799 } 800 }, 801 error: function (data) { 802 M.toast({html: data.responseJSON.message}); 803 }, 804 }); 805 } 806 807 var stripe_array = []; 808 function SH_lock_pro_video_StripeRequest(argument) { 809 if ($("#lock_pro_video_stripe_name").val() != '' && $("#lock_pro_video_stripe_email").val() != '' && $("#lock_pro_video_stripe_number").val() != '' && $("#lock_pro_video_stripe_month").val() != '' && $("#lock_pro_video_stripe_year").val() != '' && $("#lock_pro_video_stripe_cvc").val() != '') { 810 var script = document.createElement('script'); 811 script.src = 'https://js.stripe.com/v2/'; 812 script.type = 'text/javascript'; 813 script.onload = script.onreadystatechange = function() { 814 Stripe.setPublishableKey(''); 815 816 $('#lock_pro_video_stripe_button').attr('disabled', 'true'); 817 $('#lock_pro_video_stripe_button').text("Please wait..");
818 stripe_array['stripe_name'] = $('#lock_pro_video_stripe_name').val(); 819 stripe_array['stripe_email'] = $('#lock_pro_video_stripe_email').val(); 820 stripe_array['stripe_number'] = $('#lock_pro_video_stripe_number').val(); 821 stripe_array['stripe_month'] = $('#lock_pro_video_stripe_month').val(); 822 stripe_array['stripe_year'] = $('#lock_pro_video_stripe_year').val(); 823 stripe_array['stripe_cvc'] = $('#lock_pro_video_stripe_cvc').val(); 824 stripe_array['amount'] = '40'; 825 Stripe.createToken({ 826 number: $('#lock_pro_video_stripe_number').val(), 827 exp_month: $('#lock_pro_video_stripe_month').val(), 828 exp_year: $('#lock_pro_video_stripe_year').val(), 829 cvc: $('#lock_pro_video_stripe_cvc').val() 830 }, SH_lock_pro_video_StripeResponseHandler); 831 }; 832 let head = document.getElementsByTagName('head')[0]; 833 head.appendChild(script); 834 835 } 836 else{ 837 $('#lock_pro_video_stripe_alert').html("Please check your details"); 838 } 839 } 840 function SH_lock_pro_video_StripeResponseHandler(status, response) { 841 if (response.error) { 842 $('#lock_pro_video_stripe_alert').html(response.error.message); 843 $('#lock_pro_video_stripe_button').removeAttr('disabled'); 844 $('#lock_pro_video_stripe_button').text("Pay"); 845 } else { 846 stripe_array['token'] = response.id; 847 848 $.post(window.ajax + 'stripe/handle', { 849 stripeToken: stripe_array['token'], 850 stripe_name: stripe_array['stripe_name'], 851 stripe_email: stripe_array['stripe_email'], 852 stripe_number: stripe_array['stripe_number'], 853 stripe_month: stripe_array['stripe_month'], 854 stripe_year: stripe_array['stripe_year'], 855 stripe_cvc: stripe_array['stripe_cvc'], 856 amount: stripe_array['amount'], 857 description: 'Unlock Upload Video Feature', 858 price: stripe_array['amount'], 859 payType: 'lock_pro_video' 860 }, function (data) { 861 if (data.status == 200) { 862 //$('#credit_amount').html(data.credit_amount); 863 //document.location = window.site_url + data.location; 864 $("#btnProSuccess").attr("data-ajax", data.location); 865 $("#btnProSuccess").click(); 866 } else { 867 $('.modal-body').html('<i class="fa fa-spin fa-spinner"></i> Payment declined '); 868 } 869 }); 870 } 871 } 872 873 874 function SH_unlock_photo_private_StripeRequest(argument) { 875 if ($("#unlock_photo_private_stripe_name").val() != '' && $("#unlock_photo_private_stripe_email").val() != '' && $("#unlock_photo_private_stripe_number").val() != '' && $("#unlock_photo_private_stripe_month").val() != '' && $("#unlock_photo_private_stripe_year").val() != '' && $("#unlock_photo_private_stripe_cvc").val() != '') { 876 var script = document.createElement('script'); 877 script.src = 'https://js.stripe.com/v2/'; 878 script.type = 'text/javascript'; 879 script.onload = script.onreadystatechange = function() { 880 Stripe.setPublishableKey(''); 881 882 $('#unlock_photo_private_stripe_button').attr('disabled', 'true'); 883 $('#unlock_photo_private_stripe_button').text("Please wait.."); 884 stripe_array['stripe_name'] = $('#unlock_photo_private_stripe_name').val(); 885 stripe_array['stripe_email'] = $('#unlock_photo_private_stripe_email').val(); 886 stripe_array['stripe_number'] = $('#unlock_photo_private_stripe_number').val(); 887 stripe_array['stripe_month'] = $('#unlock_photo_private_stripe_month').val(); 888 stripe_array['stripe_year'] = $('#unlock_photo_private_stripe_year').val(); 889 stripe_array['stripe_cvc'] = $('#unlock_photo_private_str
889ipe_cvc').val(); 890 stripe_array['amount'] = '30'; 891 Stripe.createToken({ 892 number: $('#unlock_photo_private_stripe_number').val(), 893 exp_month: $('#unlock_photo_private_stripe_month').val(), 894 exp_year: $('#unlock_photo_private_stripe_year').val(), 895 cvc: $('#unlock_photo_private_stripe_cvc').val() 896 }, SH_unlock_photo_private_StripeResponseHandler); 897 }; 898 let head = document.getElementsByTagName('head')[0]; 899 head.appendChild(script); 900 901 } 902 else{ 903 $('#unlock_photo_private_stripe_alert').html("Please check your details"); 904 } 905 } 906 function SH_unlock_photo_private_StripeResponseHandler(status, response) { 907 if (response.error) { 908 $('#unlock_photo_private_stripe_alert').html(response.error.message); 909 $('#unlock_photo_private_stripe_button').removeAttr('disabled'); 910 $('#unlock_photo_private_stripe_button').text("Pay"); 911 } else { 912 stripe_array['token'] = response.id; 913 914 $.post(window.ajax + 'stripe/handle', { 915 stripeToken: stripe_array['token'], 916 stripe_name: stripe_array['stripe_name'], 917 stripe_email: stripe_array['stripe_email'], 918 stripe_number: stripe_array['stripe_number'], 919 stripe_month: stripe_array['stripe_month'], 920 stripe_year: stripe_array['stripe_year'], 921 stripe_cvc: stripe_array['stripe_cvc'], 922 amount: stripe_array['amount'], 923 description: 'Unlock Private Photo Feature', 924 price: stripe_array['amount'], 925 payType: 'unlock_private_photo' 926 }, function (data) { 927 if (data.status == 200) { 928 //$('#credit_amount').html(data.credit_amount); 929 //document.location = window.site_url + data.location; 930 $("#btnProSuccess").attr("data-ajax", data.location); 931 $("#btnProSuccess").click(); 932 } else { 933 $('.modal-body').html('<i class="fa fa-spin fa-spinner"></i> Payment declined '); 934 } 935 }); 936 } 937 } 938 939 function SH_StripeRequest(argument) { 940 if ($("#stripe_name").val() != '' && $("#stripe_email").val() != '' && $("#stripe_number").val() != '' && $("#stripe_month").val() != '' && $("#stripe_year").val() != '' && $("#stripe_cvc").val() != '' && $("#wallet_amount").val() != '') { 941 var script = document.createElement('script'); 942 script.src = 'https://js.stripe.com/v2/'; 943 script.type = 'text/javascript'; 944 script.onload = script.onreadystatechange = function() { 945 Stripe.setPublishableKey(''); 946 947 $('#stripe_button').attr('disabled', 'true'); 948 $('#stripe_button').text("Please wait.."); 949 stripe_array['stripe_name'] = $('#stripe_name').val(); 950 stripe_array['stripe_email'] = $('#stripe_email').val(); 951 stripe_array['stripe_number'] = $('#stripe_number').val(); 952 stripe_array['stripe_month'] = $('#stripe_month').val(); 953 stripe_array['stripe_year'] = $('#stripe_year').val(); 954 stripe_array['stripe_cvc'] = $('#stripe_cvc').val(); 955 stripe_array['amount'] = getPrice(); 956 Stripe.createToken({ 957 number: $('#stripe_number').val(), 958 exp_month: $('#stripe_month').val(), 959 exp_year: $('#stripe_year').val(), 960 cvc: $('#stripe_cvc').val() 961 }, SH_StripeResponseHandler); 962 }; 963 let head = document.getElementsByTagName('head')[0]; 964 head.appendChild(script); 965 966 } 967 else{ 968 $('#stripe_alert').html("Please check your details"); 969 } 970 } 971 function SH_StripeResponseHandler(status, response) { 972 if (response.error) { 973 $('#stripe_alert').html(response.error.message); 974 $('#stripe_button').removeAttr('disabled'); 975 $('#stripe_button').text("Pay"); 976 } else {
977 stripe_array['token'] = response.id; 978 979 $.post(window.ajax + 'stripe/handle', { 980 stripeToken: stripe_array['token'], 981 stripe_name: stripe_array['stripe_name'], 982 stripe_email: stripe_array['stripe_email'], 983 stripe_number: stripe_array['stripe_number'], 984 stripe_month: stripe_array['stripe_month'], 985 stripe_year: stripe_array['stripe_year'], 986 stripe_cvc: stripe_array['stripe_cvc'], 987 amount: stripe_array['amount'], 988 description: getDescription(), 989 price: stripe_array['amount'], 990 payType: 'credits' 991 }, function (data) { 992 if (data.status == 200) { 993 $('#credit_amount').html(data.credit_amount); 994 //document.location = window.site_url + data.location; 995 $("#btnProSuccess").attr("data-ajax", data.location); 996 $("#btnProSuccess").click(); 997 } else { 998 $('.modal-body').html('<i class="fa fa-spin fa-spinner"></i> Payment declined '); 999 } 1000 }); 1001 } 1002 } 1003 1004 function SH_StripeRequestPro(argument) { 1005 if ($("#stripe_name").val() != '' && $("#stripe_email").val() != '' && $("#stripe_number").val() != '' && $("#stripe_month").val() != '' && $("#stripe_year").val() != '' && $("#stripe_cvc").val() != '' && $("#wallet_amount").val() != '') { 1006 var script = document.createElement('script'); 1007 script.src = 'https://js.stripe.com/v2/'; 1008 script.type = 'text/javascript'; 1009 script.onload = script.onreadystatechange = function() { 1010 Stripe.setPublishableKey(''); 1011 1012 $('#stripe_button_pro').attr('disabled', 'true'); 1013 $('#stripe_button_pro').text("Please wait.."); 1014 stripe_array['stripe_name'] = $('#stripe_name').val(); 1015 stripe_array['stripe_email'] = $('#stripe_email').val(); 1016 stripe_array['stripe_number'] = $('#stripe_number').val(); 1017 stripe_array['stripe_month'] = $('#stripe_month').val(); 1018 stripe_array['stripe_year'] = $('#stripe_year').val(); 1019 stripe_array['stripe_cvc'] = $('#stripe_cvc').val(); 1020 stripe_array['amount'] = getPrice(); 1021 Stripe.createToken({ 1022 number: $('#stripe_number').val(), 1023 exp_month: $('#stripe_month').val(), 1024 exp_year: $('#stripe_year').val(), 1025 cvc: $('#stripe_cvc').val() 1026 }, SH_StripeResponseHandlerPro); 1027 }; 1028 let head = document.getElementsByTagName('head')[0]; 1029 head.appendChild(script); 1030 1031 } 1032 else{ 1033 $('#stripe_alert').html("Please check your details"); 1034 } 1035 } 1036 function SH_StripeResponseHandlerPro(status, response) { 1037 if (response.error) { 1038 $('#stripe_alert').html(response.error.message); 1039 $('#stripe_button_pro').removeAttr('disabled'); 1040 $('#stripe_button_pro').text("Pay"); 1041 } else { 1042 stripe_array['token'] = response.id; 1043 1044 $.post(window.ajax + 'stripe/handle', { 1045 stripeToken: stripe_array['token'], 1046 stripe_name: stripe_array['stripe_name'], 1047 stripe_email: stripe_array['stripe_email'], 1048 stripe_number: stripe_array['stripe_number'], 1049 stripe_month: stripe_array['stripe_month'], 1050 stripe_year: stripe_array['stripe_year'], 1051 stripe_cvc: stripe_array['stripe_cvc'], 1052 amount: stripe_array['amount'], 1053 description: getDescription(), 1054 price: stripe_array['amount'], 1055 payType: 'membership' 1056 }, function (data) { 1057 if (data.status == 200) { 1058 $('.prem').hide(); 1059 $("#btnProSuccess").attr("data-ajax", data.location); 1060 $("#btnProSuccess").click(); 1061 } else { 1062 $('.modal-body').html('<i class="fa fa-spin fa-spinner"></i> Payment declined '); 1063 } 1064 }); 1065 } 1066 } 1067 1068 function custom_footer_js(page_name){ 1069 1070 1071 1072 $("#avater_profile_img2").fancybox(); 1073 $("#avater_profile_img").fancybox(); 1074 $.fancybox.defaults.hash = false;
1075 $('[data-fancybox="gallery"]').fancybox({ 1076 beforeShow: function(){ 1077 // fancybox is open, run myFunct() 1078 1079 1080 $('body').addClass('fancybox-show-toolbar'); 1081 $('body').addClass('fancybox-show-infobar'); 1082 $('body').addClass('fancybox-show-nav'); 1083 1084 $('.fancybox-button--del').attr('data-id', this.opts.id); 1085 1086 if(typeof this.opts.private !== "undefined"){ 1087 1088 if( this.opts.private === true ){ 1089 $('.fancybox-button--remove-prvt').show(); 1090 $('.fancybox-button--prvt').hide(); 1091 1092 $('.fancybox-button--remove-prvt').attr('data-id', this.opts.id); 1093 }else{ 1094 $('.fancybox-button--remove-prvt').hide(); 1095 $('.fancybox-button--prvt').show(); 1096 1097 $('.fancybox-button--prvt').attr('data-id', this.opts.id); 1098 } 1099 1100 if( this.opts.avater === true ){ 1101 $('.fancybox-button--remove-prvt').hide(); 1102 $('.fancybox-button--prvt').hide(); 1103 } 1104 1105 } 1106 }, 1107 loop: true, 1108 video: { 1109 controls: 0 1110 }, 1111 afterClose: function(){ 1112 // fancybox is closed, run myOtherFunct() 1113 }, 1114 closeExisting: false, 1115 buttons : [ 1116 'prvt', 1117 'remove_prvt', 1118 'del', 1119 'zoom', 1120 'slideShow', 1121 'thumbs', 1122 'close' 1123 ] 1124 }); 1125 1126 1127 $('.sidenav').sidenav(); 1128 if (window.matchMedia('(min-width: 601px)').matches) { 1129 $('.parallax').parallax(); 1130 } else { 1131 $('.parallax img').css('opacity', 1); 1132 } 1133 1134 $(document).ready(function(){ 1135 $('.dt_tstm_usr .carousel.carousel-slider,.carousel.carousel-slider').carousel({fullWidth: true,indicators: true}); 1136 }); 1137 setInterval(function(){ 1138 $('.dt_tstm_usr .carousel.carousel-slider').carousel('next'); 1139 }, 7000); 1140 1141 1142 var dropdown_trigger = document.getElementsByClassName('dropdown-trigger'); 1143 if (dropdown_trigger !== undefined) { 1144 try{ 1145 $('.dropdown-trigger').dropdown({ 1146 coverTrigger: false, 1147 constrainWidth: false 1148 }); 1149 } catch(e) {} 1150 } 1151 1152 if ($('body').hasClass('index-page')) { 1153 var $indexNav = $('#nav-not-logged-in'); 1154 var toggleIndexNav = function () { 1155 if ($(window).scrollTop() > 40) { 1156 $indexNav.addClass('nav_scrolled'); 1157 } else { 1158 $indexNav.removeClass('nav_scrolled'); 1159 } 1160 }; 1161 toggleIndexNav(); 1162 $(window).on('scroll.indexNav', toggleIndexNav); 1163 } 1164 1165 // 1166 $('.modal').modal(); 1167 $('select').formSelect(); 1168 1169 $("select").trigger('contentChanged'); 1170 $('.tooltipped').tooltip(); 1171 $('.collapsible').collapsible(); 1172 1173 var maxdate1 = new Date(); 1174 maxdate1.setDate(maxdate1.getDate()); 1175 1176 $('#start_date').datepicker({ 1177 container: 'body', 1178 format: 'yyyy-mm-dd', 1179 maxDate: maxdate1 1180 }); 1181 1182 var maxdate = new Date(); 1183 maxdate.setDate(maxdate.getDate() - 6574); 1184 1185 // Basic Info Step 2 1186 var dt = $('.user_bday').datepicker({ 1187 yearRange: [1947, 2010], 1188 container: 'body', 1189 format: 'yyyy-mm-dd', 1190 maxDate: maxdate 1191 }); 1192 if(typeof dt[0] !== "undefined") { 1193 if (dt[0].value !== '0000-00-00' || dt[0].value !== '') { 1194 $('.user_bday').datepicker('setDate', dt[0].value); 1195 } else { 1196 var d = new Date(); 1197 d.setDate(d.getDate() - 6574); 1198 $('.user_bday').datepicker('setDate', d); 1199 } 1200 } 1201 if (typeof dt[0] !== "undefined" && dt[0].value == '') { 1202 var dat = new Date(); 1203 dat.setDate(dat.getDate() - 6574); 1204 $('.datepicker').datepicker('setDate', dat); 1205 } 1206 // Settings 1207 $('.interest_chips').chips({ 1208 placeholder: 'Enter a tag, then hit enter', 1209 secondaryPlaceholder: '+Tag, Hit enter to add more', 1210 onChipDelete: function (e, data) { interest_chipsUpdate(e, data) }, 1211 onChipAdd: function (e, data) { interest_chipsUpdate(e, data) } 1212 }); 1213 if ( $('#interest_entry_profile').length ){ 1214 var chips = $('#interest_entry_profile').val(); 1215 var chips_array = chips.split(','); 1216 var i; 1217 for (i = 0; i < chips_array.length; i++) { 1218 $('.interest_chips').chips('addChip', {tag: chips_array[i]}); 1219 } 1220 } 1221 jQuery(document).ready(function() {jQuery('.custom_fixed_element').theiaStickySidebar({additionalMarginTop: 10});}); 1222 $("form").submit(function(e) { 1223 var form = $(this); 1224 var url = window.ajax + form.attr('action') + window.maintenance_mode; 1225 var button_text = form.find(':submit span').text(); 1226 1227 form.find(':submit').addClass( 'disabled' );
1228 form.find(':submit span').text( 'Loading..' ); 1229 1230 $.ajax({ 1231 type: 'POST', 1232 url: url, 1233 data: form.serialize(), 1234 success: function(data){ 1235 form.find(':submit').removeClass( 'disabled' ); 1236 form.find(':submit span').text( button_text ); 1237 if( typeof data.message !== "undefined" ){ 1238 form.find( '.alert-danger' ).html( '' ).hide(); 1239 form.find( '.alert-success' ).html( data.message ).fadeIn( "fast" ); 1240 setTimeout(function() { 1241 form.find( '.alert-success' ).fadeOut( "fast" ); 1242 }, 3000); 1243 }else{ 1244 if(form.attr('action') === '/Useractions/verifyphone'){ 1245 form.find('.alert-danger').html("Error while sending the SMS, please try again later.").fadeIn("fast"); 1246 }else { 1247 form.find('.alert-danger').html("Error while submitting form.").fadeIn("fast"); 1248 } 1249 form.find( '.alert-success' ).html( '' ).hide(); 1250 setTimeout(function() { 1251 form.find( '.alert-danger' ).fadeOut( "fast" ); 1252 }, 3000); 1253 } 1254 if( typeof(data.updateDom) !== 'undefined' ){ 1255 if( typeof(data.updateDom.selector) !== 'undefined' && typeof(data.updateDom.attributes) !== 'undefined' ){ 1256 $.each(data.updateDom.attributes, function(index, value) { 1257 //console.log(data.updateDom.selector,index,value); 1258 $(data.updateDom.selector).attr(index,value); 1259 }); 1260 } 1261 } 1262 if ( typeof(data.cookies) !== 'undefined' ){ 1263 var date = new Date(); 1264 date.setTime(date.getTime()+(10 * 365 * 24 * 60 * 60 * 1000 ) ); 1265 $.each(data.cookies, function(index, value) { 1266 document.cookie = index + "=" + value + "; expires=" + date.toGMTString() + "; path=/;SameSite=None;Secure"; 1267 }); 1268 } 1269 if ( typeof(data.remove_cookies) !== 'undefined' ){ 1270 $.each(data.remove_cookies, function(index, value) { 1271 document.cookie = index+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/;SameSite=None;Secure"; 1272 }); 1273 } 1274 if( typeof(data.url) !== 'undefined' ){ 1275 form.find(':submit').addClass( 'disabled' ); 1276 setTimeout(function() { 1277 window.location = data.url; 1278 }, 2000); 1279 } 1280 if( typeof(data.ajaxRedirect) !== 'undefined' ){ 1281 form.find(':submit').addClass( 'disabled' ); 1282 setTimeout(function() { 1283 $("#ajaxRedirect").attr("data-ajax", data.ajaxRedirect); 1284 $("#ajaxRedirect").click(); 1285 }, 1000); 1286 } 1287 M.updateTextFields(); 1288 $("html, body").animate({ scrollTop: 0 }, 150); 1289 }, 1290 error: function (data) { 1291 var json = data.responseJSON || {}; 1292 if( json.status == 600 ){ 1293 window.location = json.url; 1294 }else{ 1295 form.find( '.alert-success' ).html( '' ).hide(); 1296 form.find( '.alert-danger' ).html( json.message || 'Something went wrong. Please try again.' ).fadeIn( "fast" ); 1297 setTimeout(function() { 1298 form.find( '.alert-danger' ).fadeOut( "fast" ); 1299 }, 5000); 1300 1301 form.find(':submit').removeClass( 'disabled' ); 1302 form.find(':submit span').text( button_text ); 1303 } 1304 }, 1305 }); 1306 1307 e.preventDefault(); 1308 }); 1309 1310 // stripe 1311 (function($){ 1312 $(function(){ 1313 var handler = null; 1314 $( document ).on( 'click', '#stripe_credit_btn', function(e) { 1315 if( handler !== null ) { 1316 handler.open({ 1317 name: 'Yiwodofo', 1318 description: getDescription(), 1319 currency: 'GHC', 1320 amount: getPrice() * 100, 1321 opened: function () { 1322 $('#stripe_credit').addClass('disabled'); 1323 $('#stripe_credit').attr('disabled', true); 1324 }, 1325 closed: function () { 1326 //document.location = window.site_url + '/credit'; 1327 $('#stripe_credit').removeClass('disabled'); 1328 $('#stripe_credit').attr('disabled', false); 1329 } 1330 }); 1331 e.preventDefault(); 1332 } 1333 }); 1334 $( document ).on( 'click', '#stripe_creditc', function(e) { 1335 e.preventDefault(); 1336 e.stopImmediatePropagation(); 1337 if (typeof StripeCheckout == 'undefined'){ 1338 $('#stripe_credit').addClass('disabled'); 1339 $('#stripe_credit').attr('disabled', true); 1340 var script = document.createElement('script'); 1341 script.src = 'https://checkout.stripe.com/checkout.js'; 1342 script.type = 'text/javascript'; 1343 script.onload = script.onreadystatechange = function() { 1344 if ( !this.readyState || this.readyState == "loaded" || this.readyState == "complete" ) { 1345 if (typeof StripeCheckout !== 'undefined'){ 1346 handler = StripeCheckout.configure({ 1347 key: '', 1348 image: 'https://stripe.com/img/documentation/checkout/marketplace.png', 1349 locale: 'english', 1350 token: function (token) { 1351 $.post(window.ajax + 'stripe/handle', {
1352 stripeToken: token.id, 1353 description: getDescription(), 1354 price: getPrice(), 1355 payType: 'credits' 1356 }, function (data) { 1357 if (data.status == 200) { 1358 $('#credit_amount').html(data.credit_amount); 1359 //document.location = window.site_url + data.location; 1360 $("#btnProSuccess").attr("data-ajax", data.location); 1361 $("#btnProSuccess").click(); 1362 } else { 1363 $('.modal-body').html('<i class="fa fa-spin fa-spinner"></i> Payment declined '); 1364 } 1365 }); 1366 } 1367 }); 1368 $('#stripe_credit_btn').trigger('click'); 1369 } 1370 } 1371 } 1372 let head = document.getElementsByTagName('head')[0]; 1373 head.appendChild(script); 1374 }else{ 1375 $('#stripe_credit_btn').trigger('click'); 1376 } 1377 }); 1378 $( document ).on( 'click', '#stripe_pro_btn', function(e) { 1379 if( handler !== null ) { 1380 handler.open({ 1381 name: 'Yiwodofo', 1382 description: getDescription(), 1383 currency: 'GHC', 1384 amount: getPrice() * 100, 1385 opened: function () { 1386 $('#stripe_pro').addClass('disabled'); 1387 $('#stripe_pro').attr('disabled', true); 1388 }, 1389 closed: function () { 1390 $('#stripe_pro').removeClass('disabled'); 1391 $('#stripe_pro').attr('disabled', false); 1392 } 1393 }); 1394 e.preventDefault(); 1395 } 1396 }); 1397 $( document ).on( 'click', '#stripe_pro', function(e) { 1398 e.preventDefault(); 1399 e.stopImmediatePropagation(); 1400 if (typeof StripeCheckout == 'undefined'){ 1401 $('#stripe_pro').addClass('disabled'); 1402 $('#stripe_pro').attr('disabled', true); 1403 var script = document.createElement('script'); 1404 script.src = 'https://checkout.stripe.com/checkout.js'; 1405 script.type = 'text/javascript'; 1406 script.onload = script.onreadystatechange = function() { 1407 if ( !this.readyState || this.readyState == "loaded" || this.readyState == "complete" ) { 1408 if (typeof StripeCheckout !== 'undefined'){ 1409 handler = StripeCheckout.configure({ 1410 key: '', 1411 image: 'https://stripe.com/img/documentation/checkout/marketplace.png', 1412 locale: 'english', 1413 token: function (token) { 1414 $.post(window.ajax + 'stripe/handle', { 1415 stripeToken: token.id, 1416 description: getDescription(), 1417 price: getPrice(), 1418 payType: 'membership' 1419 }, function (data) { 1420 if (data.status == 200) { 1421 $("#btnProSuccess").attr("data-ajax", data.location); 1422 $("#btnProSuccess").click(); 1423 1424 } else { 1425 $('.modal-body').html('<i class="fa fa-spin fa-spinner"></i> Payment declined '); 1426 } 1427 }); 1428 } 1429 }); 1430 $('#stripe_pro_btn').trigger('click'); 1431 } 1432 } 1433 } 1434 let head = document.getElementsByTagName('head')[0]; 1435 head.appendChild(script); 1436 }else{ 1437 $('#stripe_pro_btn').trigger('click'); 1438 } 1439 }); 1440 1441 }); 1442 })(jQuery); 1443 } 1444 custom_footer_js(); 1445 $(window).on("popstate", function (event) { 1446 $(window).unbind('popstate'); 1447 location.reload(); 1448 }); 1449 1450 //$(window).on("load",function(){ 1451 var doc = document.documentElement; 1452 doc.setAttribute('data-useragent', navigator.userAgent); 1453 //}); 1454 1455 $(document).on('click', '#night_mode_toggle', function(event) { 1456 mode = $(this).attr('data-mode'); 1457 if (mode == 'night') { 1458 $('head').append('<link rel="stylesheet" href="https://Yiwodofo.com/themes/default/assets/css/night.css?2563" id="night-mode-css">'); 1459 $('#night_mode_toggle').attr('data-mode', 'day'); 1460 $('#night_mode_toggle span').html($('#night_mode_toggle').attr('data-light-text'));
1461 $('#night_mode_toggle svg').html('<path fill="currentColor" d="M12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,2L14.39,5.42C13.65,5.15 12.84,5 12,5C11.16,5 10.35,5.15 9.61,5.42L12,2M3.34,7L7.5,6.65C6.9,7.16 6.36,7.78 5.94,8.5C5.5,9.24 5.25,10 5.11,10.79L3.34,7M3.36,17L5.12,13.23C5.26,14 5.53,14.78 5.95,15.5C6.37,16.24 6.91,16.86 7.5,17.37L3.36,17M20.65,7L18.88,10.79C18.74,10 18.47,9.23 18.05,8.5C17.63,7.78 17.1,7.15 16.5,6.64L20.65,7M20.64,17L16.5,17.36C17.09,16.85 17.62,16.22 18.04,15.5C18.46,14.77 18.73,14 18.87,13.21L20.64,17M12,22L9.59,18.56C10.33,18.83 11.14,19 12,19C12.82,19 13.63,18.83 14.37,18.56L12,22Z" />'); 1462 1463 } else { 1464 $('#night-mode-css').remove(); 1465 $('#night_mode_toggle').attr('data-mode', 'night'); 1466 $('#night_mode_toggle span').html($('#night_mode_toggle').attr('data-night-text')); 1467 $('#night_mode_toggle svg').html('<path fill="currentColor" d="M17.75,4.09L15.22,6.03L16.13,9.09L13.5,7.28L10.87,9.09L11.78,6.03L9.25,4.09L12.44,4L13.5,1L14.56,4L17.75,4.09M21.25,11L19.61,12.25L20.2,14.23L18.5,13.06L16.8,14.23L17.39,12.25L15.75,11L17.81,10.95L18.5,9L19.19,10.95L21.25,11M18.97,15.95C19.8,15.87 20.69,17.05 20.16,17.8C19.84,18.25 19.5,18.67 19.08,19.07C15.17,23 8.84,23 4.94,19.07C1.03,15.17 1.03,8.83 4.94,4.93C5.34,4.53 5.76,4.17 6.21,3.85C6.96,3.32 8.14,4.21 8.06,5.04C7.79,7.9 8.75,10.87 10.95,13.06C13.14,15.26 16.1,16.22 18.97,15.95M17.33,17.97C14.5,17.81 11.7,16.64 9.53,14.5C7.36,12.31 6.2,9.5 6.04,6.68C3.23,9.82 3.34,14.64 6.35,17.66C9.37,20.67 14.19,20.78 17.33,17.97Z" />'); 1468 } 1469 $.post(window.site_url + '?mode=' + mode); 1470 }); 1471 1472 $(document).on('click', '#night_mode_toggle_sidebar', function(event) { 1473 mode = $(this).attr('data-mode'); 1474 if (mode == 'night') { 1475 $('head').append('<link rel="stylesheet" href="https://Yiwodofo.com/themes/default/assets/css/night.css?3467" id="night-mode-css">'); 1476 $('#night_mode_toggle_sidebar').attr('data-mode', 'day'); 1477 $('#night_mode_toggle_sidebar span').html($('#night_mode_toggle_sidebar').attr('data-light-text')); 1478 $('#night_mode_toggle_sidebar svg').html('<path fill="currentColor" d="M12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,2L14.39,5.42C13.65,5.15 12.84,5 12,5C11.16,5 10.35,5.15 9.61,5.42L12,2M3.34,7L7.5,6.65C6.9,7.16 6.36,7.78 5.94,8.5C5.5,9.24 5.25,10 5.11,10.79L3.34,7M3.36,17L5.12,13.23C5.26,14 5.53,14.78 5.95,15.5C6.37,16.24 6.91,16.86 7.5,17.37L3.36,17M20.65,7L18.88,10.79C18.74,10 18.47,9.23 18.05,8.5C17.63,7.78 17.1,7.15 16.5,6.64L20.65,7M20.64,17L16.5,17.36C17.09,16.85 17.62,16.22 18.04,15.5C18.46,14.77 18.73,14 18.87,13.21L20.64,17M12,22L9.59,18.56C10.33,18.83 11.14,19 12,19C12.82,19 13.63,18.83 14.37,18.56L12,22Z" />'); 1479 1480 } else { 1481 $('#night-mode-css').remove(); 1482 $('#night_mode_toggle_sidebar').attr('data-mode', 'night'); 1483 $('#night_mode_toggle_sidebar span').html($('#night_mode_toggle_sidebar').attr('data-night-text')); 1484 $('#night_mode_toggle_sidebar svg').html('<path fill="currentColor" d="M17.75,4.09L15.22,6.03L16.13,9.09L13.5,7.28L10.87,9.09L11.78,6.03L9.25,4.09L12.44,4L13.5,1L14.56,4L17.75,4.09M21.25,11L19.61,12.25L20.2,14.23L18.5,13.06L16.8,14.23L17.39,12.25L15.75,11L17.81,10.95L18.5,9L19.19,10.95L21.25,11M18.97,15.95C19.8,15.87 20.69,17.05 20.16,17.8C19.84,18.25 19.5,18.67 19.08,19.07C15.17,23 8.84,23 4.94,19.07C1.03,15.17 1.03,8.83 4.94,4.93C5.34,4.53 5.76,4.17 6.21,3.85C6.96,3.32 8.14,4.21 8.06,5.04C7.79,7.9 8.75,10.87 10.95,13.06C13.14,15.26 16.1,16.22 18.97,15.95M17.33,17.97C14.5,17.81 11.7,16.64 9.53,14.5C7.36,12.31 6.2,9.5 6.04,6.68C3.23,9.82 3.34,14.64 6.35,17.66C9.37,20.67 14.19,20.78 17.33,17.97Z" />'); 1485 } 1486 $.post(window.site_url + '?mode=' + mode); 1487 }); 1488 </script>
1488 1489
1489<script type="text/javascript"> 1490 $(document).on('click', '.find_matches_cont > .row > .col.l3 .dt_sections [data-ajax]', function() { 1491 $('body').removeClass('side_open'); 1492 }); 1493 $('#open_slide').on('click', function(event) { 1494 event.preventDefault(); 1495 $('body').addClass('side_open'); 1496}); 1497 </script>
1497 1498 1499 1500
1500<script> 1501 window.addEventListener("load", function(){ 1502 window.cookieconsent.initialise({ 1503 "palette": { 1504 "popup": { 1505 "background": "#ffffff", 1506 "text": "#afafaf" 1507 }, 1508 "button": { 1509 "background": "#c649b8" 1510 } 1511 }, 1512 "theme": "edgeless", 1513 "position": "bottom-left", 1514 "content": { 1515 "message": "This website uses cookies to ensure you get the best experience on our website.", 1516 "dismiss": "Got It!", 1517 "link": "Learn More", 1518 "href": "https://Yiwodofo.com/privacy" 1519 } 1520 }); 1521 }); 1522 </script>
1522 1523 1524
1525<script type="text/javascript"> 1526 </script>
1526 1527 1528 1529 1530 1531 1532 1533 1534</body> 1535</html> 1536 1537
1538<script type="text/javascript"> 1539 function PayUsingWallet(type,type2 = 'hide') { 1540 let price = 0; 1541 let main_price = 0; 1542 if (type == 'pro') { 1543 price = main_price = getPrice(); 1544 } 1545 else if(type == 'private_photo'){ 1546 price = 30; 1547 } 1548 else if(type == 'private_video'){ 1549 price = 40; 1550 } 1551 price = parseInt(price * ); 1552 $('.pay_modal_wallet_alert').html(""); 1553 if (type2 == 'show') { 1554 if (type == 'pro') { 1555 $('.pay_modal_wallet_text').html("You are about to upgrade to a PRO memeber."); 1556 $('#pay_modal_wallet_btn').html("Pay "+'<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" style="margin-top: -3px;"><path fill="currentColor" d="M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4M11,17V16H9V14H13V13H10A1,1 0 0,1 9,12V9A1,1 0 0,1 10,8H11V7H13V8H15V10H11V11H14A1,1 0 0,1 15,12V15A1,1 0 0,1 14,16H13V17H11Z"></path></svg> '+price); 1557 $('#pay_modal_wallet_btn').removeAttr('disabled'); 1558 } 1559 else if(type == 'private_photo'){ 1560 $('.pay_modal_wallet_text').html("You are about to unlock private photo feature."); 1561 $('#pay_modal_wallet_btn').html("Pay "+'<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" style="margin-top: -3px;"><path fill="currentColor" d="M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4M11,17V16H9V14H13V13H10A1,1 0 0,1 9,12V9A1,1 0 0,1 10,8H11V7H13V8H15V10H11V11H14A1,1 0 0,1 15,12V15A1,1 0 0,1 14,16H13V17H11Z"></path></svg> '+price); 1562 $('#pay_modal_wallet_btn').removeAttr('disabled'); 1563 } 1564 else if(type == 'private_video'){ 1565 $('.pay_modal_wallet_text').html("You are about to unlock private video feature."); 1566 $('#pay_modal_wallet_btn').html("Pay "+'<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" style="margin-top: -3px;"><path fill="currentColor" d="M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4M11,17V16H9V14H13V13H10A1,1 0 0,1 9,12V9A1,1 0 0,1 10,8H11V7H13V8H15V10H11V11H14A1,1 0 0,1 15,12V15A1,1 0 0,1 14,16H13V17H11Z"></path></svg> '+price); 1567 $('#pay_modal_wallet_btn').removeAttr('disabled'); 1568 } 1569 $('#pay_modal_wallet_btn').attr('onclick', "PayUsingWallet('"+type+"')"); 1570 1571 if (parseInt(0) < price ) { 1572 $('.pay_modal_wallet_alert').html('<div class="wallet_empty_state"><p><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.com/svgjs" version="1.1" width="512" height="512" x="0" y="0" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512" xml:space="preserve" class=""><g><linearGradient xmlns="http://www.w3.org/2000/svg" id="paint0_linear_4_349" gradientUnits="userSpaceOnUse" x1="256" x2="256" y1="11.115" y2="490.464"><stop stop-opacity="1" stop-color="#ffe8e8" offset="0"/><stop stop-opacity="1" stop-color="#ffb4b4" offset="1"/></linearGradient><linearGradient xmlns="http://www.w3.org/2000/svg" id="paint1_linear_4_349" gradientUnits="userSpaceOnUse" x1="256.5" x2="256.5" y1="99" y2="414"><stop stop-opacity="1" stop-color="#ff4646" offset="0"/><stop stop-opacity="1" stop-color="#ff8585" offset="1"/></linearGradient><path xmlns="http://www.w3.org/2000/svg" d="m494.999 114.319c-1.425-25.3479-12.136-49.2826-30.088-67.2346s-41.887-28.6635-67.234-30.0893c-94.374-5.3333-188.974-5.3333-283.349 0-25.3474 1.4267-49.2822 12.1382-67.2347 30.0899-17.9524 17.9517-28.6651 41.886-30.0928 67.234-5.3333 94.376-5.3333 188.978 0 283.353 1.4278 25.348 12.1404 49.282 30.0929 67.234 17.9525 17.951 41.8873 28.663 67.2346 30.089 94.374 5.346 188.975 5.346 283.349 0 25.347-1.425 49.282-12.137 67.234-30.089 17.952-17.951 28.663-41.886 30.088-67.234 5.334-94.375 5.334-188.977 0-283.353z" fill="url(#paint0_linear_4_349)" data-original="url(#paint0_linear_4_349)" class=""/><g xmlns="http://www.w3.org/2000/svg" fill="url(#paint1_linear_4_349)"><path clip-rule="evenodd" d="m413.958 223.497.042 65.382c-.419 6.229-.958 12.45-1.619 18.66-1.105 10.385-8.784 18.761-18.427 19.946-30.202 3.711-61.456 3.711-91.659 0-9.643-1.185-17.321-9.561-18.426-19.946-3.608-33.91-3.608-68.168 0-102.078 1.105-10.385 8.783-18.761 18.426-19.946 30.203-3.711 61.457-3.711 91.659 0 9.643 1.185 17.322 9.561 18.427 19.946.639 6.002 1.164 12.016 1.577 18.036zm-65.833 5.932c-13.6 0-24.625 12.12-24.625 27.071s11.025 27.071 24.625 27.071 24.625-12.12 24.625-27.071-11.025-27.071-24.625-27.071z" fill-rule="evenodd" fill=""/><path d="m404 148.934c2.553 4.86-2.238 10.301-7.311 9.678-32.02-3.934-65.109-3.934-97.129 0-20.838 2.56-37.691 20.599-40.149 43.704-3.83 36-3.83 72.368 0 108.368 2.458 23.105 19.311 41.144 40.149 43.704 32.02 3.934 65.109 3.934 97.129 0 5.107-.628 9.937 4.852 7.359 9.738-12.781 24.234-35.569 41.148-62.05 44.211l-10.701 1.238c-54.353 6.288-109.175 5.873-163.444-1.236l-7.09-.929c-29.257-3.832-52.438-28.96-56.335-61.065-7.2375-59.633-7.2375-120.057 0-179.69 3.897-32.105 27.078-57.233 56.334-61.065l7.091-.929c54.269-7.1092 109.091-7.5239 163.444-1.236l10.701 1.238c26.503 3.066 49.255 20.005 62.002 44.271z" fill=""/></g></g></svg> <span>You don't have enough balance to purchase, please buy credits.</span></p><div><a href="javascript:void(0)" onclick="SetPageCookie(\''+type+'\',\''+type+'\')" class="btn waves-effect waves-light btn_primary white-text">wallet</a></div></div>'); 1573 $('#pay_modal_wallet_btn').attr('disabled','true'); 1574 $('.pay_modal_wallet_text').html(""); 1575 } 1576 $('#pay-go-pro').modal('open'); 1577 } 1578 else{ 1579 $('#pay_modal_wallet_btn').html("please wait"); 1580 $('#pay_modal_wallet_btn').attr('disabled','true'); 1581 let link = ''; 1582 if (type == 'pro') { 1583 link = '?pay_for=pro&price='+main_price; 1584 } 1585 else if (type == 'private_photo'){ 1586 link = '?pay_for=private_photo'; 1587 } 1588 else if (type == 'private_video'){ 1589 link = '?pay_for=private_video'; 1590 } 1591 $.get(window.ajax + 'wallet/pay' + link, function (data) { 1592 if (data.status == 200) { 1593 location.href = data.url; 1594 } 1595 1596 }).fail(function(data) { 1597 $('#pay_modal_wallet_btn').html("Pay "+'<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" style="margin-top: -3px;">
1597<path fill="currentColor" d="M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4M11,17V16H9V14H13V13H10A1,1 0 0,1 9,12V9A1,1 0 0,1 10,8H11V7H13V8H15V10H11V11H14A1,1 0 0,1 15,12V15A1,1 0 0,1 14,16H13V17H11Z"></path></svg> '+price); 1598 $('#pay_modal_wallet_btn').removeAttr('disabled'); 1599 $('#payu_btn').removeAttr('disabled'); 1600 $('.pay_modal_wallet_alert').html("<div class='alert alert-danger'>"+data.responseJSON.message+"</div>"); 1601 }); 1602 } 1603 1604 } 1605 function SetPageCookie(type,id){ 1606 $.get(window.ajax + 'wallet/set?type=' + type, function (data) { 1607 location.href = window.site_url+'/credit'; 1608 }); 1609 } 1610</script>
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.