Advertisement
Guest User

Pook's website code

a guest
May 20th, 2019
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 9.18 KB | None | 0 0
  1. <html>
  2.     <head id="head">
  3.  </style>
  4.  
  5.  
  6.  
  7.  </style>
  8.     <link rel="icon" type="image/png" sizes="32x32" href="https://cdn.glitch.com/dc4b7e7a-ba36-4085-bcba-e1a39362568a%2FPook_Discord_Bear_Trans.png?1557784169192">
  9.       <meta property="og:title" content="Pook" />
  10.       <meta property="og:image" value="https://cdn.glitch.com/dc4b7e7a-ba36-4085-bcba-e1a39362568a%2FPook_Discord_Bear_Trans.png?1557784169192">
  11.       <meta property="og:site_name" value="Pook">
  12.       <meta property="og:description" content="Check out my website">
  13.       <script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
  14.       <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
  15.     <link rel="icon" href="https://cdn.glitch.com/dc4b7e7a-ba36-4085-bcba-e1a39362568a%2FPook_Discord_Bear_Trans.png?1557784169192" type="image/x-icon">
  16.       <meta name="viewport" content="width=device-width, initial-scale=1">
  17.     <link rel="stylesheet" href="github-markdown.css">
  18.  
  19.     <title>
  20.       Pook's Bot
  21.  
  22.       </title>
  23.       <style>
  24.         .center {
  25.           text-align: center;
  26.         }
  27.        
  28.         body {
  29.      
  30.       background-image: linear-gradient(to right top, #1c4789, #304bab, #574ac7, #873ede, #bc12eb);
  31.         }
  32.      
  33.     a {
  34.       color: silver;
  35.       }
  36. .dropdown{display:inline-flex;position:relative;vertical-align:top}.dropdown.is-active .dropdown-menu,.dropdown.is-hoverable:hover .dropdown-menu{display:block}.dropdown.is-right .dropdown-menu{left:auto;right:0}.dropdown.is-up .dropdown-menu{bottom:100%;padding-bottom:4px;padding-top:initial;top:auto}.dropdown-menu{display:none;left:0;min-width:12rem;padding-top:4px;position:absolute;top:100%;z-index:20}.dropdown-content{background-color:#fff;border-radius:4px;box-shadow:0 2px 3px rgba(10,10,10,.1),0 0 0 1px rgba(10,10,10,.1);padding-bottom:.5rem;padding-top:.5rem}.dropdown-item{color:#4a4a4a;display:block;font-size:.875rem;line-height:1.5;padding:.375rem 1rem;position:relative}a.dropdown-item,button.dropdown-item{padding-right:3rem;text-align:left;white-space:nowrap;width:100%}a.dropdown-item:hover,button.dropdown-item:hover{background-color:#f5f5f5;color:#0a0a0a}a.dropdown-item.is-active,button.dropdown-item.is-active{background-color:#3273dc;color:#fff}.dropdown-divider{background-color:#dbdbdb;border:none;display:block;height:1px;margin:.5rem 0}
  37.  
  38. .disabled {
  39.   opacity: 0.6;
  40.   cursor: no-drop;
  41. }
  42.        
  43.            
  44.        
  45.  
  46.        
  47.         .botName {
  48.             /*ANIMATION*/
  49.         -webkit-animation-name: colorchange; /* Safari 4.0 - 8.0 */
  50.         -webkit-animation-duration: 1s; /* Safari 4.0 - 8.0 */
  51.         animation-name: colorchange;
  52.         animation-duration: 1s;
  53.         animation-iteration-count: infinite;
  54.         /* Safari 4.0 - 8.0 */
  55.           @-webkit-keyframes colorchange {
  56.             0%   {color: yellow;}
  57.             25%  {color: red;}
  58.             50%  {color: blue;}
  59.             60%  {color: purple;}
  60.             70%  {color: black;}
  61.             90%  {color: green;}
  62.             100% {color: yellow;}
  63.           }
  64.         /* Standard syntax */
  65.           @keyframes h1 {
  66.             0%   {color: yellow;}
  67.             25%  {color: red;}
  68.             50%  {color: blue;}
  69.             60%  {color: purple;}
  70.             70%  {color: black;}
  71.             90%  {color: green;}
  72.             100% {color: yellow;}
  73.           }
  74.         }
  75.        
  76.         .ex {
  77.           background: "#a313c6";
  78.       color: purple;
  79.           align: left
  80.         }
  81.      
  82.     .bot-name {
  83.       font-weight: bold;
  84.       font-style: oblique;
  85.       color: colorchange
  86.       /*ANIMATION*/
  87.         -webkit-animation-name: colorchange; /* Safari 4.0 - 8.0 */
  88.         -webkit-animation-duration: 1s; /* Safari 4.0 - 8.0 */
  89.         animation-name: colorchange;
  90.         animation-duration: 1s;
  91.         animation-iteration-count: infinite;
  92.         /* Safari 4.0 - 8.0 */
  93.           @-webkit-keyframes colorchange {
  94.             0%   {color: yellow;}
  95.             25%  {color: red;}
  96.             50%  {color: blue;}
  97.             60%  {color: purple;}
  98.             70%  {color: black;}
  99.             90%  {color: green;}
  100.             100% {color: yellow;}
  101.           }
  102.         /* Standard syntax */
  103.           @keyframes h1 {
  104.             0%   {color: yellow;}
  105.             25%  {color: red;}
  106.             50%  {color: blue;}
  107.             60%  {color: purple;}
  108.             70%  {color: black;}
  109.             90%  {color: green;}
  110.             100% {color: yellow;}
  111.           }
  112.       }
  113.      
  114.         .botHelp {
  115.          
  116.         }
  117.              @keyframes mover {
  118.       0%{
  119.           transform: translateY(-10px);
  120.       }
  121.       100%{
  122.           transform: translateY(5px);
  123.       }
  124.   }
  125.  
  126.   @-webkit-keyframes mover {
  127.       0%{
  128.           transform: translateY(-10px);
  129.       }
  130.       100%{
  131.           transform: translateY(5px);
  132.       }
  133.   }
  134.               .botAvatar {
  135.           height: 300px;
  136.           width: 300px;
  137.           margin-bottom: 2.5rem;
  138.           animation: mover 1s infinite alternate !important;
  139.       border-radius:50%
  140.         }
  141.               .ownerAvatar {
  142.       border-radius:50%
  143.         }
  144.  
  145.         .markdown-body {
  146.         box-sizing: border-box;
  147.         min-width: 200px;
  148.         max-width: 980px;
  149.         margin: 0 auto;
  150.         padding: 45px;
  151.     }
  152.  
  153.     @media (max-width: 767px) {
  154.         .markdown-body {
  155.             padding: 15px;
  156.         }
  157.     }
  158.  
  159.       </style>
  160.     </head>
  161.         <body>
  162.  
  163.     </div>
  164. </div>
  165. <script>
  166.       function httpGet(theUrl, callback) {
  167.         $.ajax
  168.       ({
  169.         type: "GET",
  170.         url: theUrl,
  171.         dataType: 'json',
  172.         async: true,
  173.       }).then(data => {
  174.         callback(data);
  175.       });
  176.       }
  177.         function getAllUrlParams(url) {
  178.  
  179.     // get query string from url (optional) or window
  180.     var queryString = url ? url.split('?')[1] : window.location.search.slice(1);
  181.   // NOO
  182.         // come to newbot.js
  183.     // we'll store the parameters here
  184.     var obj = {};
  185.  
  186.     // if query string exists
  187.     if (queryString) {
  188.  
  189.       // stuff after # is not part of query string, so get rid of it
  190.       queryString = queryString.split('#')[0];
  191.  
  192.       // split our query string into its component parts
  193.       var arr = queryString.split('&');
  194.  
  195.       for (var i=0; i<arr.length; i++) {
  196.         // separate the keys and the values
  197.         var a = arr[i].split('=');
  198.  
  199.         // in case params look like: list[]=thing1&list[]=thing2
  200.         var paramNum = undefined;
  201.         var paramName = a[0].replace(/\[\d*\]/, function(v) {
  202.           paramNum = v.slice(1,-1);
  203.           return '';
  204.         });
  205.  
  206.         // set parameter value (use 'true' if empty)
  207.         var paramValue = typeof(a[1])==='undefined' ? true : a[1];
  208.  
  209.         // (optional) keep case consistent
  210.         paramName = paramName;
  211.         paramValue = paramValue;
  212.  
  213.         // if parameter name already exists
  214.         if (obj[paramName]) {
  215.           // convert value to array (if still string)
  216.           if (typeof obj[paramName] === 'string') {
  217.             obj[paramName] = [obj[paramName]];
  218.           }
  219.           // if no array index number specified...
  220.           if (typeof paramNum === 'undefined') {
  221.             // put the value on the end of the array
  222.             obj[paramName].push(paramValue);
  223.           }
  224.           // if array index number specified...
  225.           else {
  226.             // put the value at that index number
  227.             obj[paramName][paramNum] = paramValue;
  228.           }
  229.         }
  230.         // if param name doesn't exist yet, set it
  231.         else {
  232.           obj[paramName] = paramValue;
  233.         }
  234.       }
  235.     }
  236.  
  237.     return obj;
  238.         }
  239.    
  240.    
  241.         httpGet('../api/bots/search/?q=' + encodeURI(getAllUrlParams().q), data => {
  242.          
  243.           var bots = document.getElementById('bots');
  244.          
  245.           data.forEach(botinfo => {
  246.             var card = document.createElement('div');
  247.             card.setAttribute('class', 'card');
  248.             card.style.width = '18rem';
  249.            
  250.            
  251.             var cardBody = document.createElement('div');
  252.             cardBody.setAttribute('class', 'card-body');
  253.            
  254.             var cardTitle = document.createElement('h5');
  255.             cardTitle.setAttribute('class', 'card-title');
  256.             cardTitle.innerHTML = botinfo.name;
  257.            
  258.            
  259.            
  260.           });
  261.         });
  262.  
  263.       </script>
  264.  
  265.       <div class="jumbotron center container" style="background-color: transparent">
  266.         <img class="botAvatar" src="https://cdn.glitch.com/dc4b7e7a-ba36-4085-bcba-e1a39362568a%2FPook_Discord_Bear_Trans.png?1557784169192">
  267.       <p class="is-flex"><span class="botName"></span>
  268.         <b><p style="color:#a632d3" class="display-1">Berry Bear</p></b>
  269.        
  270.      
  271.                                    
  272.  
  273.                  
  274.                   <span class="badge badge-pill badge-light">In more than 30 Servers</span>
  275.  
  276.  
  277.                  
  278.                   <span class="badge badge-pill badge-light">Over 1.6k   users</span>
  279.  
  280.  
  281.         </p></b>
  282.         <h5><span class="badge badge-pill badge-dark">Prefix: +</span>
  283.         <span class="badge badge-pill badge-dark">Made with: Discord.js</span><br><br>
  284.         <a></a>
  285.           </span>
  286.  
  287.  
  288.     <a class="btn btn-primary" href="http://bit.ly/pookbot1">Invite</a>
  289.        
  290.       <a href="https://discord.gg/DdTsAk2" target="_blank"><button type="button" class=" btn btn-primary">
  291.         Server
  292.         </button></a>
  293.        
  294.        
  295.          
  296.        
  297.        
  298.         <a><button type="button" class=" btn btn-primary disabled">
  299.         GitHub (Coming Soon)
  300.         </button></a>
  301.    
  302.     </body>
  303.   <center><html>
  304.  <span class="badge badge-pill-info">
  305.        
  306.           <a href="https://discord.gg/DdTsAk2">Pook#3383</a>
  307.         <img class="ownerAvatar" src="https://cdn.glitch.com/dc4b7e7a-ba36-4085-bcba-e1a39362568a%2FPook_Discord_Bear_Trans.png?1557784169192" width="30" value="">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement