Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <%@ Page Title="" Language="C#" Async="true" MasterPageFile="~/Master.Master" AutoEventWireup="true" CodeBehind="Home.aspx.cs" Inherits="DiscordServersList.WebForm1" %>
- <asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
- <title>KA - Kanna Advertising!</title>
- <style>
- .card1 {
- position: relative;
- display: -ms-flexbox;
- display: inline-flex;
- -ms-flex-direction: column;
- flex-direction: column;
- min-width: 0;
- word-wrap: break-word;
- background-color: #fff;
- background-clip: border-box;
- border: 1px solid rgba(0, 0, 0, 0.125);
- border-radius: 0.25rem;
- width: 90%;
- }
- .invisible {
- visibility: hidden;
- }
- .fixedElement {
- height: 80px;
- background-color: #000000;
- position: fixed;
- top: 0;
- left: 0;
- z-index: 999;
- width: 100%;
- }
- .spacer {
- width: 100%;
- height: 70px;
- }
- @-webkit-keyframes popout {
- 0% {
- -webkit-transform: scale(1);
- }
- 20% {
- -webkit-transform: scale(0.90);
- -webkit-animation-timing-function: ease-out;
- }
- 50% {
- -webkit-transform: scale(1.2);
- -webkit-animation-timing-function: ease-in;
- }
- 100% {
- -webkit-transform: scale(1);
- -webkit-animation-timing-function: ease-out;
- }
- }
- @-moz-keyframes popout {
- 0% {
- -moz-transform: scale(1);
- }
- 20% {
- -moz-transform: scale(0.90);
- -moz-animation-timing-function: ease-out;
- }
- 50% {
- -moz-transform: scale(1.2);
- -moz-animation-timing-function: ease-in;
- }
- 100% {
- -moz-transform: scale(1);
- -moz-animation-timing-function: ease-out;
- }
- }
- @keyframes popout {
- 0% {
- transform: scale(1);
- }
- 20% {
- transform: scale(0.90);
- animation-timing-function: ease-out;
- }
- 50% {
- transform: scale(1.2);
- animation-timing-function: ease-in;
- }
- 100% {
- transform: scale(1);
- animation-timing-function: ease-out;
- }
- }
- .title {
- margin-left: 20px;
- margin-top: 20px;
- float: left;
- font-family: Typo_Hoop_Regular_Demo;
- color: #f8f8f8;
- font-size: 36px;
- text-align: left;
- }
- .premiumlbl {
- width: 100%;
- text-align: center;
- font-size: 28px;
- vertical-align: middle;
- margin: 0 auto;
- position: center;
- font-family: Typo_Hoop_Regular_Demo;
- color: #000000;
- }
- .serverNameLabel {
- width: 100%;
- text-align: center;
- font-size: 16px;
- vertical-align: middle;
- margin: 0 auto;
- position: center;
- font-family: Typo_Hoop_Regular_Demo;
- color: #000000;
- }
- .premServersGrid {
- width: 100%;
- vertical-align: middle;
- margin: 0 auto;
- position: center;
- }
- .serversGrid {
- width: 100%;
- vertical-align: middle;
- margin: 0 auto;
- position: center;
- }
- .rotate90 {
- -webkit-transform: rotate(35deg);
- -moz-transform: rotate(35deg);
- -o-transform: rotate(35deg);
- -ms-transform: rotate(35deg);
- transform: rotate(35deg);
- }
- .row {
- display: flex;
- }
- .column {
- flex: 50%;
- }
- .box {
- }
- .box:hover {
- height: 400px;
- }
- .card {
- /* Add shadows to create the "card" effect */
- box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
- transition: 0.3s;
- }
- /* On mouse-over, add a deeper shadow */
- .card:hover {
- box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
- }
- /* Add some padding inside the card container */
- .container {
- padding: 2px 16px;
- }
- .menu-bar {
- width: 100%;
- height: 300px;
- /* background: #343A40;*/
- background: #26262B;
- }
- .OrderHistory_RowSeparator {
- margin: 0px 0px 50px 0px;
- }
- .title2 {
- font-family: Typo_Hoop_Regular_Demo;
- color: #f8f8f8;
- font-size: 36px;
- text-align: center;
- }
- </style>
- <link rel="stylesheet" href="css/position.css">
- <script>
- function makeVisible(ele) {
- var div = ele;
- div.querySelector("#otherInfo").classList.remove("invisible");
- }
- function makeInvisible(ele) {
- var div = ele;
- div.querySelector("#otherInfo").classList.add("invisible");
- }
- </script>
- </asp:Content>
- <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
- <br />
- <br />
- <br />
- <div>
- <div class="menu-bar" style="z-index: 9">
- <br>
- <label class="title2 hvr-bounce-out"></label><br>
- <br />
- <br />
- <br />
- <div class="form-inline" style="justify-content: center;">
- <input class="form-control mr-sm-2" type="search" placeholder="Search for servers" runat="server" id="txtSearch" aria-label="Search">
- <button class="btn btn-outline-success my-2 my-sm-0" runat="server" id="btnSearch">Search</button>
- </div>
- <br> <br>
- <div style="position: relative; text-align: center;">
- <a href="https://discord.gg/rfFcWhG" class="btn btn-light"><i class="fab fa-discord"></i> Discord</a>
- <a href="https://kanna-advertising.net/partners" style="display:none" class="btn btn-light" ><i class="far fa-handshake"></i> Partners</a>
- </div>
- </div>
- <div style="width: 100%; height: 20px;"></div>
- <div class="text-center" style="align-self:center; text-align:center">
- <div runat="server" id="loading" class="d-flex justify-content-center">
- <div class="spinner-border" role="status">
- <span class="sr-only">Loading...</span>
- </div>
- </div>
- </div>
- <label class="title2 hvr-bounce-out" style="text-align:center">Premium Servers</label><br>
- <asp:DataList CellPadding="10" CssClass="box" Style="margin-left: 5px; height: 200px; width: 100%; text-align:center" ID="premServersList" runat="server" RepeatColumns="4">
- <ItemTemplate>
- <div class="card hvr-grow" style="width: 250px" runat="server">
- <div style="position: relative; left: 0; top: 0;">
- <asp:Image runat="server" src='<%#Eval("Icon") %>' Width="250" Height="250" Style="align-self: center; position: relative; top: 0; left: 0;" />
- <asp:Image runat="server" Visible='<%# Eval("Premium") %>' src="img/crown.png" class="rotate90" Width="150" Height="150" Style="position: absolute; top: -70px; left: 170px" />
- </div>
- <div class="container">
- <hr />
- <h4><%# Eval("Name") %></h4>
- <p><%# Eval("ShortDescription") %></p>
- <div style="font-size: 24px; line-height: 1.5em;">
- <i class="fa fa-users" aria-hidden="true"></i><span class="sr-only">Example of users</span> <%# Eval("members") %>
- </div>
- <asp:Button runat="server" PostBackUrl='<%# String.Format("~/ManageServer.aspx?id={0}",Eval("ServerID")) %>' class="btn btn-light" Text="View Server"></asp:Button>
- <div style="height: 10px"></div>
- </div>
- </div>
- </ItemTemplate>
- </asp:DataList>
- <label class="title2 hvr-bounce-out" style="text-align:center">Normal Servers</label><br>
- <asp:DataList CellPadding="10" CssClass="box" Style="margin-left: 5px; height: 200px; width: 100%; text-align:center" ID="serversList" runat="server" RepeatColumns="4">
- <ItemTemplate>
- <div class="card hvr-grow" style="width: 250px" runat="server">
- <div style="position: relative; left: 0; top: 0;">
- <asp:Image runat="server" src='<%#Eval("Icon") %>' Width="250" Height="250" Style="align-self: center; position: relative; top: 0; left: 0;" />
- <asp:Image runat="server" Visible='<%# Eval("Premium") %>' src="img/crown.png" class="rotate90" Width="150" Height="150" Style="position: absolute; top: -70px; left: 170px" />
- </div>
- <div class="container">
- <hr />
- <h4><%# Eval("Name") %></h4>
- <p><%# Eval("ShortDescription") %></p>
- <div style="font-size: 24px; line-height: 1.5em;">
- <i class="fa fa-users" aria-hidden="true"></i><span class="sr-only">Example of users</span> <%# Eval("members") %>
- </div>
- <asp:Button runat="server" PostBackUrl='<%# String.Format("~/ManageServer.aspx?id={0}",Eval("ServerID")) %>' class="btn btn-light" Text="View Server"></asp:Button>
- <div style="height: 10px"></div>
- </div>
- </div>
- </ItemTemplate>
- </asp:DataList>
- </div>
- </asp:Content>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement