OG Mentor Test
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"><script type="text/javascript">(window.NREUM||(NREUM={})).init={ajax:{deny_list:["bam.nr-data.net"]}};(window.NREUM||(NREUM={})).loader_config={licenseKey:"202ede95f4",applicationID:"646845249"};window.NREUM||(NREUM={}),__nr_require=function(t,e,n){function r(n){if(!e[n]){var i=e[n]={exports:{}};t[n][0].call(i.exports,function(e){var i=t[n][1][e];return r(i||e)},i,i.exports)}return e[n].exports}if("function"==typeof __nr_require)return __nr_require;for(var i=0;i<n.length;i++)r(n[i]);return r}({1:[function(t,e,n){function r(){}function i(t,e,n,r){return function(){return s.recordSupportability("API/"+e+"/called"),o(t+e,[u.now()].concat(c(arguments)),n?null:this,r),n?void 0:this}}var o=t("handle"),a=t(9),c=t(10),f=t("ee").get("tracer"),u=t("loader"),s=t(4),d=NREUM;"undefined"==typeof window.newrelic&&(newrelic=d);var p=["setPageViewName","setCustomAttribute","setErrorHandler","finished","addToTrace","inlineHit","addRelease"],l="api-",v=l+"ixn-";a(p,function(t,e){d[e]=i(l,e,!0,"api")}),d.addPageAction=i(l,"addPageAction",!0),d.setCurrentRouteName=i(l,"routeName",!0),e.exports=newrelic,d.interaction=function(){return(new r).get()};var m=r.prototype={createTracer:function(t,e){var n={},r=this,i="function"==typeof e;return o(v+"tracer",[u.now(),t,n],r),function(){if(f.emit((i?"":"no-")+"fn-start",[u.now(),r,i],n),i)try{return e.apply(this,arguments)}catch(t){throw f.emit("fn-err",[arguments,this,t],n),t}finally{f.emit("fn-end",[u.now()],n)}}}};a("actionText,setName,setAttribute,save,ignore,onEnd,getContext,end,get".split(","),function(t,e){m[e]=i(v,e)}),newrelic.noticeError=function(t,e){"string"==typeof t&&(t=new Error(t)),s.recordSupportability("API/noticeError/called"),o("err",[t,u.now(),!1,e])}},{}],2:[function(t,e,n){function r(t){if(NREUM.init){for(var e=NREUM.init,n=t.split("."),r=0;r<n.length-1;r++)if(e=e[n[r]],"object"!=typeof e)return;return e=e[n[n.length-1]]}}e.exports={getConfiguration:r}},{}],3:[function(t,e,n){var r=!1;try{var i=Object.defineProperty({},"passive",{get:function(){r=!0}});window.addEventListener("testPassive",null,i),window.removeEventListener("testPassive",null,i)}catch(o){}e.exports=function(t){return r?{passive:!0,capture:!!t}:!!t}},{}],4:[function(t,e,n){function r(t,e){var n=[a,t,{name:t},e];return o("storeMetric",n,null,"api"),n}function i(t,e){var n=[c,t,{name:t},e];return o("storeEventMetrics",n,null,"api"),n}var o=t("handle"),a="sm",c="cm";e.exports={constants:{SUPPORTABILITY_METRIC:a,CUSTOM_METRIC:c},recordSupportability:r,recordCustom:i}},{}],5:[function(t,e,n){function r(){return c.exists&&performance.now?Math.round(performance.now()):(o=Math.max((new Date).getTime(),o))-a}function i(){return o}var o=(new Date).getTime(),a=o,c=t(11);e.exports=r,e.exports.offset=a,e.exports.getLastTimestamp=i},{}],6:[function(t,e,n){function r(t,e){var n=t.getEntries();n.forEach(function(t){"first-paint"===t.name?l("timing",["fp",Math.floor(t.startTime)]):"first-contentful-paint"===t.name&&l("timing",["fcp",Math.floor(t.startTime)])})}function i(t,e){var n=t.getEntries();if(n.length>0){var r=n[n.length-1];if(u&&u<r.startTime)return;var i=[r],o=a({});o&&i.push(o),l("lcp",i)}}function o(t){t.getEntries().forEach(function(t){t.hadRecentInput||l("cls",[t])})}function a(t){var e=navigator.connection||navigator.mozConnection||navigator.webkitConnection;if(e)return e.type&&(t["net-type"]=e.type),e.effectiveType&&(t["net-etype"]=e.effectiveType),e.rtt&&(t["net-rtt"]=e.rtt),e.downlink&&(t["net-dlink"]=e.downlink),t}function c(t){if(t instanceof y&&!w){var e=Math.round(t.timeStamp),n={type:t.type};a(n),e<=v.now()?n.fid=v.now()-e:e>v.offset&&e<=Date.now()?(e-=v.offset,n.fid=v.now()-e):e=v.now(),w=!0,l("timing",["fi",e,n])}}function f(t){"hidden"===t&&(u=v.now(),l("pageHide",[u]))}if(!("init"in NREUM&&"page_view_timing"in NREUM.init&&"enabled"in NREUM.init.page_view_timing&&NREUM.init.page_view_timing.enabled===!1)){var u,s,d,p,l=t("handle"),v=t("loader"),m=t(8),g=t(3),y=NREUM.o.EV;if("PerformanceObserver"in window&&"function"==typeof window.PerformanceObserver){s=new PerformanceObserver(r);try{s.observe({entryTypes:["paint"]})}catch(h){}d=new PerformanceObserver(i);try{d.observe({entryTypes:["largest-contentful-paint"]})}catch(h){}p=new PerformanceObserver(o);try{p.observe({type:"layout-shift",buffered:!0})}catch(h){}}if("addEventListener"in document){var w=!1,b=["click","keydown","mousedown","pointerdown","touchstart"];b.forEach(function(t){document.addEventListener(t,c,g(!1))})}m(f)}},{}],7:[function(t,e,n){function r(t,e){if(!i)return!1;if(t!==i)return!1;if(!e)return!0;if(!o)return!1;for(var n=o.split("."),r=e.split("."),a=0;a<r.length;a++)if(r[a]!==n[a])return!1;return!0}var i=null,o=null,a=/Version\/(\S+)\s+Safari/;if(navigator.userAgent){var c=navigator.userAgent,f=c.match(a);f&&c.indexOf("Chrome")===-1&&c.indexOf("Chromium")===-1&&(i="Safari",o=f[1])}e.exports={agent:i,version:o,match:r}},{}],8:[function(t,e,n){function r(t){function e(){t(c&&document[c]?document[c]:document[o]?"hidden":"visible")}"addEventListener"in document&&a&&document.addEventListener(a,e,i(!1))}var i=t(3);e.exports=r;var o,a,c;"undefined"!=typeof document.hidden?(o="hidden",a="visibilitychange",c="visibilityState"):"undefined"!=typeof document.msHidden?(o="msHidden",a="msvisibilitychange"):"undefined"!=typeof document.webkitHidden&&(o="webkitHidden",a="webkitvisibilitychange",c="webkitVisibilityState")},{}],9:[function(t,e,n){function r(t,e){var n=[],r="",o=0;for(r in t)i.call(t,r)&&(n[o]=e(r,t[r]),o+=1);return n}var i=Object.prototype.hasOwnProperty;e.exports=r},{}],10:[function(t,e,n){function r(t,e,n){e||(e=0),"undefined"==typeof n&&(n=t?t.length:0);for(var r=-1,i=n-e||0,o=Array(i<0?0:i);++r<i;)o[r]=t[e+r];return o}e.exports=r},{}],11:[function(t,e,n){e.exports={exists:"undefined"!=typeof window.performance&&window.performance.timing&&"undefined"!=typeof window.performance.timing.navigationStart}},{}],ee:[function(t,e,n){function r(){}function i(t){function e(t){return t&&t instanceof r?t:t?u(t,f,a):a()}function n(n,r,i,o,a){if(a!==!1&&(a=!0),!l.aborted||o){t&&a&&t(n,r,i);for(var c=e(i),f=m(n),u=f.length,s=0;s<u;s++)f[s].apply(c,r);var p=d[w[n]];return p&&p.push([b,n,r,c]),c}}function o(t,e){h[t]=m(t).concat(e)}function v(t,e){var n=h[t];if(n)for(var r=0;r<n.length;r++)n[r]===e&&n.splice(r,1)}function m(t){return h[t]||[]}function g(t){return p[t]=p[t]||i(n)}function y(t,e){l.aborted||s(t,function(t,n){e=e||"feature",w[n]=e,e in d||(d[e]=[])})}var h={},w={},b={on:o,addEventListener:o,removeEventListener:v,emit:n,get:g,listeners:m,context:e,buffer:y,abort:c,aborted:!1};return b}function o(t){return u(t,f,a)}function a(){return new r}function c(){(d.api||d.feature)&&(l.aborted=!0,d=l.backlog={})}var f="nr@context",u=t("gos"),s=t(9),d={},p={},l=e.exports=i();e.exports.getOrSetContext=o,l.backlog=d},{}],gos:[function(t,e,n){function r(t,e,n){if(i.call(t,e))return t[e];var r=n();if(Object.defineProperty&&Object.keys)try{return Object.defineProperty(t,e,{value:r,writable:!0,enumerable:!1}),r}catch(o){}return t[e]=r,r}var i=Object.prototype.hasOwnProperty;e.exports=r},{}],handle:[function(t,e,n){function r(t,e,n,r){i.buffer([t],r),i.emit(t,e,n)}var i=t("ee").get("handle");e.exports=r,r.ee=i},{}],id:[function(t,e,n){function r(t){var e=typeof t;return!t||"object"!==e&&"function"!==e?-1:t===window?0:a(t,o,function(){return i++})}var i=1,o="nr@id",a=t("gos");e.exports=r},{}],loader:[function(t,e,n){function r(){if(!M++){var t=T.info=NREUM.info,e=m.getElementsByTagName("script")[0];if(setTimeout(u.abort,3e4),!(t&&t.licenseKey&&t.applicationID&&e))return u.abort();f(x,function(e,n){t[e]||(t[e]=n)});var n=a();c("mark",["onload",n+T.offset],null,"api"),c("timing",["load",n]);var r=m.createElement("script");0===t.agent.indexOf("http://")||0===t.agent.indexOf("https://")?r.src=t.agent:r.src=l+"://"+t.agent,e.parentNode.insertBefore(r,e)}}function i(){"complete"===m.readyState&&o()}function o(){c("mark",["domContent",a()+T.offset],null,"api")}var a=t(5),c=t("handle"),f=t(9),u=t("ee"),s=t(7),d=t(2),p=t(3),l=d.getConfiguration("ssl")===!1?"http":"https",v=window,m=v.document,g="addEventListener",y="attachEvent",h=v.XMLHttpRequest,w=h&&h.prototype,b=!1;NREUM.o={ST:setTimeout,SI:v.setImmediate,CT:clearTimeout,XHR:h,REQ:v.Request,EV:v.Event,PR:v.Promise,MO:v.MutationObserver};var E=""+location,x={beacon:"bam.nr-data.net",errorBeacon:"bam.nr-data.net",agent:"js-agent.newrelic.com/nr-1216.min.js"},O=h&&w&&w[g]&&!/CriOS/.test(navigator.userAgent),T=e.exports={offset:a.getLastTimestamp(),now:a,origin:E,features:{},xhrWrappable:O,userAgent:s,disabled:b};if(!b){t(1),t(6),m[g]?(m[g]("DOMContentLoaded",o,p(!1)),v[g]("load",r,p(!1))):(m[y]("onreadystatechange",i),v[y]("onload",r)),c("mark",["firstbyte",a.getLastTimestamp()],null,"api");var M=0}},{}],"wrap-function":[function(t,e,n){function r(t,e){function n(e,n,r,f,u){function nrWrapper(){var o,a,s,p;try{a=this,o=d(arguments),s="function"==typeof r?r(o,a):r||{}}catch(l){i([l,"",[o,a,f],s],t)}c(n+"start",[o,a,f],s,u);try{return p=e.apply(a,o)}catch(v){throw c(n+"err",[o,a,v],s,u),v}finally{c(n+"end",[o,a,p],s,u)}}return a(e)?e:(n||(n=""),nrWrapper[p]=e,o(e,nrWrapper,t),nrWrapper)}function r(t,e,r,i,o){r||(r="");var c,f,u,s="-"===r.charAt(0);for(u=0;u<e.length;u++)f=e[u],c=t[f],a(c)||(t[f]=n(c,s?f+r:r,i,f,o))}function c(n,r,o,a){if(!v||e){var c=v;v=!0;try{t.emit(n,r,o,e,a)}catch(f){i([f,n,r,o],t)}v=c}}return t||(t=s),n.inPlace=r,n.flag=p,n}function i(t,e){e||(e=s);try{e.emit("internal-error",t)}catch(n){}}function o(t,e,n){if(Object.defineProperty&&Object.keys)try{var r=Object.keys(t);return r.forEach(function(n){Object.defineProperty(e,n,{get:function(){return t[n]},set:function(e){return t[n]=e,e}})}),e}catch(o){i([o],n)}for(var a in t)l.call(t,a)&&(e[a]=t[a]);return e}function a(t){return!(t&&t instanceof Function&&t.apply&&!t[p])}function c(t,e){var n=e(t);return n[p]=t,o(t,n,s),n}function f(t,e,n){var r=t[e];t[e]=c(r,n)}function u(){for(var t=arguments.length,e=new Array(t),n=0;n<t;++n)e[n]=arguments[n];return e}var s=t("ee"),d=t(10),p="nr@original",l=Object.prototype.hasOwnProperty,v=!1;e.exports=r,e.exports.wrapFunction=c,e.exports.wrapInPlace=f,e.exports.argsToArray=u},{}]},{},["loader"]);</script> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<title>Tai Lopez's OG NFT Project</title> | |
<link rel="stylesheet" href="/controller/themes/taiv4/css/nft.css"> | |
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css"> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"> | |
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script> | |
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"></script> | |
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"></script> | |
<script type="text/javascript" src="https://unpkg.com/web3modal"></script> | |
<script type="text/javascript" src="https://unpkg.com/@walletconnect/web3-provider"></script> | |
<script src="https://unpkg.com/web3@latest/dist/web3.min.js"></script> | |
<meta content="TAI LOPEZ'S OG (ORIGINAL GARAGE SOCIAL CLUB) NFT" name="description"> | |
<script> | |
!function(f,b,e,v,n,t,s) | |
{if(f.fbq)return;n=f.fbq=function(){n.callMethod? | |
n.callMethod.apply(n,arguments):n.queue.push(arguments)}; | |
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; | |
n.queue=[];t=b.createElement(e);t.async=!0; | |
t.src=v;s=b.getElementsByTagName(e)[0]; | |
s.parentNode.insertBefore(t,s)}(window, document,'script', | |
'https://connect.facebook.net/en_US/fbevents.js'); | |
fbq('init', '1605864382785101'); | |
fbq('track', 'PageView'); | |
</script> | |
<noscript><img height="1" width="1" style="display:none" | |
src="https://www.facebook.com/tr?id=1605864382785101&ev=PageView&noscript=1" | |
/></noscript> | |
<script async src="https://www.googletagmanager.com/gtag/js?id=G-D0N2XYCV8K"></script> | |
<script> | |
window.dataLayer = window.dataLayer || []; | |
function gtag(){dataLayer.push(arguments);} | |
gtag('js', new Date()); | |
gtag('config', 'G-D0N2XYCV8K'); | |
</script> | |
<script> | |
!function(f,b,e,v,n,t,s) | |
{if(f.fbq)return;n=f.fbq=function(){n.callMethod? | |
n.callMethod.apply(n,arguments):n.queue.push(arguments)}; | |
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; | |
n.queue=[];t=b.createElement(e);t.async=!0; | |
t.src=v;s=b.getElementsByTagName(e)[0]; | |
s.parentNode.insertBefore(t,s)}(window, document,'script', | |
'https://connect.facebook.net/en_US/fbevents.js'); | |
fbq('init', '1224903677916125'); | |
fbq('track', 'PageView'); | |
</script> | |
<noscript><img height="1" width="1" style="display:none" | |
src="https://www.facebook.com/tr?id=1224903677916125&ev=PageView&noscript=1" | |
/></noscript> | |
</head> | |
<body> | |
<section id="section1"> | |
<div class="container-fluid"> | |
<div class="row" style="padding-top:40px;" id="logo_row"> | |
<div class="col-12" style="text-align: center;"> | |
<img style="width: 300px;" src="https://www.tailopez.com/images/efd2/files/2022/Tai_Social_Club/6206e3ee86df056b767b6580_LOGO%20_%20TRANSPARENT.png" alt="" class="img-fluid"> | |
</div> | |
</div> | |
<div class="row connect_wallet"> | |
<div class="col-lg-12 top_heading" style="align-self: center;"> | |
<h3 style=""><b>Connect your wallet below to get access to 67 Steps & more! A Silver OG Mentor Accelerator Pass, <br> or Gold card, or Black card is required.</b></h3> | |
<h3 style="color: white;"><strong><a target="_blank" class="getnft" href="https://opensea.io/collection/tailopez">Get yours here</a></strong></h3> | |
<br> | |
<a href="javascript:;" class="first_btn"><button id="btn btn-primary btn-apply"><img src="/controller/themes/taiv4/images/connect_your_wallet_button.jpg" width="300px"></button> </a> | |
</div> | |
</div> | |
</div> | |
</section> | |
<section id="section2" class="course"> | |
<div class="container"> | |
<div class="row"> | |
<h1>Access Your Courses</h1> | |
</div> | |
</div> | |
</section> | |
<section id="section3" class="course"> | |
<div class="container"> | |
<div class='warning'>It doesn't look like you have an eligible NFT to be able to see this content. | |
Be sure to grab an NFT from OpenSea <a target="_blank" class="getnft" href="https://opensea.io/collection/tailopez">here</a></div> | |
<div class="row" id="courses_row"> | |
</div> | |
</div> | |
</section> | |
<div id="footer"> | |
<div class="row" style="text-align: center; background: black; padding: 30px; display: inherit; margin: 0;"> | |
<div class="heading"> | |
</div> | |
<div class="container"> <a class="mnutop" href="https://www.originalgarage.com/#utility">UTILITY MAP</a> <a class="mnutop" href="https://www.originalgarage.com/#faqs">FAQ</a> <a class="mnutop" href="https://opensea.io/collection/tailopez">OPENSEA</a> <a class="mnutop" href="https://app.originalgarage.com/mint">MINT</a> <a class="mnutop" href="https://www.originalgarage.com/nftCourses.php">COURSES</a> <a class="mnutop" href="https://www.originalgarage.com/contact.php" target="_blank"> HELP</a> <a class="mnutop" href="https://www.originalgarage.com/member.php"> LOGIN</a> <a class="mnutop" href="javascript:;" onclick="window.open('https://www.originalgarage.com/privacy.php','','height=400,width=1100,top=0,left=0,toolbar=no,menubar=no,scrollbars=yes, resizable=yes,location=no, status=no');">PRIVACY POLICY</a> <a class="mnutop" href="javascript:;" onclick="window.open('https://www.originalgarage.com/terms_of_use.php','','height=400,width=1100,top=0,left=0,toolbar=no,menubar=no,scrollbars=yes, resizable=yes,location=no, status=no')"> TERMS OF USE</a><h5> | |
originalgarage.com | |
</h5> | |
<span> | |
©2022. All rights reserved. | |
</span> | |
<span style="display:none"> | |
<a href="/privacy_policy.php" target="_blank"> | |
Privacy Policy | |
</a> | |
</span> | |
<span style="display:none"> | |
<a href="/terms_of_use.php" target="_blank"> | |
Terms of Use | |
</a> | |
</span> | |
<script> | |
document.addEventListener("DOMContentLoaded", function() { | |
var lazyImages = [].slice.call(document.querySelectorAll("img.lazy")); | |
if ("IntersectionObserver" in window) { | |
let lazyImageObserver = new IntersectionObserver(function(entries, observer) { | |
entries.forEach(function(entry) { | |
if (entry.isIntersecting) { | |
let lazyImage = entry.target; | |
if(lazyImage.dataset.background){ | |
lazyImage.style.background=lazyImage.dataset.background; | |
} | |
lazyImage.src = lazyImage.dataset.src; | |
lazyImage.srcset = lazyImage.dataset.srcset; | |
lazyImage.classList.remove("lazy"); | |
lazyImageObserver.unobserve(lazyImage); | |
} | |
}); | |
}); | |
lazyImages.forEach(function(lazyImage) { | |
lazyImageObserver.observe(lazyImage); | |
}); | |
} else { | |
// Possibly fall back to a more compatible method here | |
lazyImages.forEach(function(lazyImage) { | |
if(lazyImage.dataset.background){ | |
lazyImage.style.background=lazyImage.dataset.background; | |
} | |
lazyImage.src = lazyImage.dataset.src; | |
lazyImage.srcset = lazyImage.dataset.srcset; | |
lazyImage.classList.remove("lazy"); | |
}); | |
} | |
}); | |
/*Menu Resize*/ | |
$(window).on('load resize', function() { | |
var divHeight = $('#header').height(); | |
//console.log(divHeight) | |
$('#main-content').css('top', divHeight+'px'); | |
}); | |
/**/ | |
</script> | |
<script type="text/javascript"> | |
/* <![CDATA[ */ | |
var google_conversion_id = 948728522; | |
var google_custom_params = window.google_tag_params; | |
var google_remarketing_only = true; | |
/* ]]> */ | |
</script> | |
<script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js"> | |
</script> | |
<noscript> | |
<div style="display:inline;"> | |
<img height="1" width="1" style="border-style:none;" alt="" src="//googleads.g.doubleclick.net/pagead/viewthroughconversion/948728522/?value=0&guid=ON&script=0"/> | |
</div> | |
</noscript> | |
<script type="text/javascript"> | |
/* <![CDATA[ */ | |
var google_conversion_id = 979965489; | |
var google_custom_params = window.google_tag_params; | |
var google_remarketing_only = true; | |
/* ]]> */ | |
</script> | |
<script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js"> | |
</script> | |
<noscript> | |
<div style="display:inline;"> | |
<img height="1" width="1" style="border-style:none;" alt="" src="//googleads.g.doubleclick.net/pagead/viewthroughconversion/979965489/?value=0&guid=ON&script=0"/> | |
</div> | |
</noscript><style>#footer{color: #ffffff;background: #000000;text-align: center}#footer a.mnutop {color: #ffffff;margin-right: 6px;} .footer_year{text-align:center;}</style></div> | |
<script type="text/javascript"> | |
/*function footer_width() | |
{ | |
var t=0; | |
var w=$('#footer_nav').width(); | |
$('#footer_nav li .sub').each(function(i){ | |
t=t+$(this).width()+4; | |
}); | |
var w2=w-t; | |
var t2=$('#footer_nav li .sub').length; | |
var p=w2/t2/2-0.1; | |
$('#footer_nav li').css({'padding-left':p+'px'}); | |
$('#footer_nav li').css({'padding-right':p+'px'}); | |
} | |
$(function(){ | |
footer_width(); | |
})*/ | |
</script> | |
<style> | |
/**FOOTER****/ | |
#footer{ | |
background:#f0f0f0; | |
height:270px; | |
font-size:11px; | |
font-family: 'Gotham-Medium'; | |
margin-top:75px; | |
} | |
#footer .heading{ | |
background:#000000; | |
height:22px; | |
text-transform:uppercase; | |
color:#ffffff; | |
} | |
#footer .heading a{ | |
/*color:#ffffff;*/ | |
} | |
#footer_nav{ width:100%;} | |
#footer_nav li{ float:left; display:inline; } | |
#footer_nav li .ftop{position:relative; overflow:visible;} | |
#footer_nav li h3{ padding:0 2px; height:22px; line-height:22px;} | |
#footer_nav li .sub{ position:absolute; left:2px; top:22px; z-index:99; width:auto;} | |
#footer_nav li .sub p{ height:20px; line-height:20px; padding:5px 0;} | |
#footer .col{ | |
float:left; | |
width:18%; | |
padding:5px 0; | |
} | |
#footer .col:last-child{ | |
width:25%; | |
} | |
#footer ul{ | |
/* list-style:none; | |
margin-bottom:25px;*/ | |
} | |
#footer ul li{ | |
padding:0 0; | |
} | |
#footer ul li a{ | |
/*display:block;*/ | |
color:#000000; | |
} | |
#footer .heading a { | |
color: #000000; | |
} | |
#footer ul li a.follows{ | |
float:left; | |
/* margin:0 15px 0 0; | |
font-size:7.62px;*/ | |
padding-right:5px; | |
} | |
#footer ul li a.follows img{ | |
float:left | |
} | |
#footer ul li a.follows span{ | |
float:left; | |
padding:4px 0 0 5px; | |
} | |
#footer .fleft{ | |
float:left; | |
font-size:12px; | |
} | |
#footer .fright{ | |
float:right; | |
font-size:11px; | |
font-family: 'GothamBold'; | |
font-weight:normal; | |
} | |
#footer .fright a{ | |
color:#000000; | |
} | |
#footer .fleft strong{ | |
font-family: 'GothamBold'; | |
font-weight:normal; | |
} | |
#footer{ | |
background: #f1f1f1; | |
min-height: 60px; | |
text-align: center; | |
height: auto!important; | |
} | |
#footer .container { | |
width: 970px; | |
text-align: center; | |
margin: auto; | |
} | |
#footer hr{ | |
margin-top: 20px; | |
margin-bottom: 20px; | |
border: 0; | |
border-top: 1px solid #eeeeee; | |
} | |
#footer ul{list-style: none; | |
text-align: center; | |
padding-left: 0; | |
margin-top: 30px; | |
margin-bottom: 30px;} | |
#footer ul li{ | |
display: inline-block; | |
margin: 0 10px; | |
} | |
#footer .footer_year{ | |
margin-top: 30px; | |
color: #777; | |
} | |
#footer .mnutop{ | |
margin-right: 30px; | |
color: #444!important; | |
font-size:25px; | |
font-family: "Droid Serif", "Avenir Next Condensed", "Segoe UI", "Calibri", "HelveticaNeue-CondensedBold", "Helvetica Neue", Arial, sans-serif; | |
border-bottom: none!important; | |
} | |
#footer .footer-detail{color: #777!important;text-align: left;font-size: 15px;font-family: Arial, Helvetica, sans-serif!important;} | |
#footer .footer-detail strong{text-align: center;} | |
#footer .heading { | |
background: #000000; | |
height: 22px; | |
text-transform: uppercase; | |
color: #ffffff; | |
margin-bottom: 30px; | |
} | |
@media screen and (max-width: 767px){ | |
#footer .container{ | |
width: 100%; | |
} | |
} | |
</style> | |
</div> | |
</div> | |
<style> | |
.course, .warning{ | |
display: none; | |
} | |
.warning{ | |
color: red; | |
text-align: center; | |
} | |
.getnft{ | |
text-decoration: underline!important; | |
} | |
</style> | |
<script> | |
const Web3Modal = window.Web3Modal.default; | |
const WalletConnectProvider = window.WalletConnectProvider.default; | |
// Web3modal instance | |
let web3Modal | |
// Chosen wallet provider given by the dialog window | |
let provider; | |
// Address of the selected account | |
let selectedAccount; | |
const providerOptions = { | |
walletconnect: { | |
package: WalletConnectProvider, | |
options: { | |
infuraId: "27e484dcd9e3efcfd25a83a78777cdf1", | |
} | |
} | |
}; | |
web3Modal = new Web3Modal({ | |
cacheProvider: false, // optional | |
providerOptions, // required | |
}); | |
const signingMessage = `Welcome to the OG (original garage) Social Club! | |
Click to sign in and accept the Terms of Service: | |
https://originalgarage.com/terms | |
This request will not trigger a blockchain | |
transaction or cost any gas fees. | |
Your authentication status will reset | |
after 24 hours. | |
Wallet address: | |
`; | |
$(function(){ | |
const loadFun = async () => { | |
var address = ''; | |
var accounts = []; | |
if(typeof ethereum != "undefined") { | |
accounts = await ethereum.request({ method: 'eth_accounts' }); | |
address = accounts[0]; | |
} else { | |
if(selectedAccount) { | |
address = selectedAccount; | |
} else { | |
provider = await web3Modal.connect(); | |
const web3 = new Web3(provider); | |
accounts = await web3.eth.getAccounts(); | |
//const signature = await web3.eth.personal.sign(signingMessage+accounts[0], accounts[0]); | |
//if(signature) { | |
address = accounts[0]; | |
//} | |
} | |
} | |
$('.warning').hide() | |
if(address) { | |
$('.first_btn').hide(); | |
$('.course').show(); | |
$('.connect_wallet').hide(); | |
$.ajax({ | |
url:'/modmysite/getnft.php?net=eth&address='+address, | |
type:'get', | |
dataType:'json', | |
success:function(res){ | |
if(res.status != 200) { | |
//alert(res.message); | |
$('.warning').show() | |
} else { | |
var courseHtml = ''; | |
var courses = res.res | |
if(courses.length==0) { | |
//alert("You have no course!"); | |
$('.warning').show() | |
} | |
for (const course of courses) { | |
courseHtml += `<div class="col-md-3"> | |
<a href="`+course.url+`"><img src="`+course.logo_img+`" alt="" class="img-fluid"> | |
<h5><b>`+course.name+`</b></h5></a> | |
</div>` | |
} | |
$('#courses_row').html(courseHtml); | |
} | |
}, | |
error:function() { | |
alert("Request fails, please try again later!"); | |
} | |
}) | |
} | |
}; | |
loadFun(); | |
$('.first_btn').click(async () => { | |
provider = await web3Modal.connect(); | |
const web3 = new Web3(provider); | |
if(typeof ethereum != "undefined") { | |
const accounts = await ethereum.request({ method: 'eth_accounts' }); | |
let address = accounts[0]; | |
const signature = await ethereum.request({ method: 'personal_sign', params: [ signingMessage+address, address] }); | |
if(signature){ | |
selectedAccount = accounts[0]; | |
loadFun(); | |
} | |
} else { | |
const accounts = await web3.eth.getAccounts(); | |
//const signature = await web3.eth.personal.sign(signingMessage+accounts[0], accounts[0]); | |
//if(signature){ | |
selectedAccount = accounts[0]; | |
loadFun() | |
//} | |
} | |
}) | |
}) | |
</script> | |
<div id="body_pixel" style="display:none;"></div><link rel="stylesheet" type="text/css" href="/controller/runtime/static/6e235f352bbcecbc4e421bd045377622.css?version=1646959412"><script type="text/javascript" src="/controller/runtime/static/6e235f352bbcecbc4e421bd045377622.js?version=1646959412"></script><script type="text/javascript">window.NREUM||(NREUM={});NREUM.info={"beacon":"bam.nr-data.net","licenseKey":"202ede95f4","applicationID":"646845249","transactionName":"MwAGZxNZX0dZUEBbCgpKMUEIF19STHBbRxcXABcdEVBB","queueTime":0,"applicationTime":152,"atts":"H0cFEVtDTEk=","errorBeacon":"bam.nr-data.net","agent":""}</script></body> |