[php] money

Viewer

  1. <?php 
  2. echo '<!DOCTYPE html>
  3. <html lang="en">
  4.  
  5. <head>
  6.   <meta charset="UTF-8" />
  7.   <link rel="icon" type="image/png" href="favicon.png" />
  8.   <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  9.   <title>Geriausi kazino internetu</title>
  10.   <link href="https://redesign-dev--redesign-widget.netlify.app/styles.css" rel="stylesheet">
  11.   <style>
  12.     @font-face {
  13.       font-family: "Gilroy";
  14.       font-style: normal;
  15.       font-weight: 400;
  16.       src: url(fonts/Gilroy/Gilroy-Regular.woff2) format("woff2");
  17.     }
  18.  
  19.     @font-face {
  20.       font-family: "Gilroy";
  21.       font-style: normal;
  22.       font-weight: 500;
  23.       src: url(fonts/Gilroy/Gilroy-Medium.woff2) format("woff2");
  24.     }
  25.  
  26.     @font-face {
  27.       font-family: "Gilroy";
  28.       font-style: normal;
  29.       font-weight: 600;
  30.       src: url(fonts/Gilroy/Gilroy-SemiBold.woff2) format("woff2");
  31.     }
  32.  
  33.     body {
  34.       background: #eee;
  35.       margin: 0;
  36.       padding: 0;
  37.       font-family: \'Gilroy\', sans-serif;
  38.     }
  39.  
  40.     .container-xl {
  41.       max-width: 1280px;
  42.       padding: 1.25rem;
  43.       margin: 0 auto;
  44.       box-sizing: border-box;
  45.     }
  46.  
  47.     .container-max-766 {
  48.       max-width: 766px;
  49.       box-sizing: border-box;
  50.     }
  51.  
  52.     .widget-title {
  53.       font-size: 1.5rem;
  54.       font-weight: 500;
  55.       margin-bottom: 20px;
  56.     }
  57.  
  58.     .widget-card {
  59.       margin-bottom: 2.5rem
  60.     }
  61.  
  62.     .link {
  63.       display: inline-block;
  64.       font-size: 1.25rem;
  65.       text-decoration: underline;
  66.       color: black;
  67.     }
  68.  
  69.     nav {
  70.       margin: 2rem 0;
  71.       display: flex;
  72.       flex-direction: column;
  73.       align-items: flex-start;
  74.     }
  75.  
  76.     .sidebar {
  77.       width: 20rem;
  78.       box-sizing: border-box;
  79.     }
  80.  
  81.     .widget-promo-container {
  82.       background-color: white;
  83.       padding: 2rem;
  84.       border-radius: 24px;
  85.       width: 320px;
  86.       margin: 2rem 0;
  87.     }
  88.   </style>
  89.  
  90. <link rel="preload" href="https://get.name-location.workers.dev/" as="fetch" crossorigin="anonymous" id="preload-location">
  91.  
  92. <?php 
  93. $graphql_url  = \'https://guru-back.refactoring.dev.gggroup.media/graphql/affiliates\';
  94. $widget_url   = \'https://redesign-dev--redesign-widget.netlify.app/widget.js\';
  95. ?>
  96.  
  97. <link rel="preconnect" href="<?= $graphql_url ?>" crossorigin>
  98. <link rel="async" href="<?= $widget_url ?>" as="script">
  99.  
  100.  
  101. <!-- Google Tag Manager -->
  102. <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\':
  103. new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0],
  104. j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src=
  105. \'https://www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f);
  106. })(window,document,\'script\',\'dataLayer\',\'GTM-T2DX7LM\');</script>
  107. <!-- End Google Tag Manager -->
  108.  
  109. <script>
  110.     function loadScript(url, callback) {
  111.         var script = document.createElement("script")
  112.         script.type = "text/javascript";
  113.         script.async = true;
  114.         if (script.readyState) {  // only required for IE <9
  115.             script.onreadystatechange = function () {
  116.                 if (script.readyState === "loaded" || script.readyState === "complete") {
  117.                     script.onreadystatechange = null;
  118.                     callback();
  119.                 }
  120.             };
  121.         } else {  //Others
  122.             script.onload = function () {
  123.                 callback();
  124.             };
  125.         }
  126.         script.src = url;
  127.         document.getElementsByTagName("head")[0].appendChild(script);
  128.     }
  129.  
  130.     // call the function...
  131.     loadScript("https://redesign-dev--redesign-widget.netlify.app/widget.js", function () {
  132.         window.GRAPHQL_API = "https://guru-back.refactoring.dev.gggroup.media/graphql/affiliates";
  133.         widget_card.init();
  134.     });
  135. </script>
  136.  
  137.  
  138. </head>
  139.  
  140. <body>
  141.  
  142.   <div class="container-xl">
  143.  
  144.     <div id="widget-2" class="widget-title">Geriausi kazino internetu</div>
  145.     <div class="widget-card placeholder--card" data-shortcode="widget-card" data-queries=\'{
  146.       "type": "TOP",
  147.       "project": "PPCLT",
  148.       "show_new": 0,
  149.       "limit" : 4,
  150.       "page": 1}\' data-props=\'{
  151.         "vpn_notification": true,
  152.         "show_more_button": false,
  153.         "scrollable": "desktop",
  154.         "layout": {"header":"logo","body":["rating","country","established_year","tags"],"footer":["cta_button", "ticker"]}
  155.       }\'></div>
  156.  
  157.   </div>
  158.  
  159. </body>
  160.  
  161. </html>';

Editor

You can edit this paste and save as new:


File Description
  • money
  • Paste Code
  • 16 Apr-2024
  • 4.37 Kb
You can Share it: