Demo entry 6746741

index

   

Submitted by anonymous on May 30, 2018 at 20:47
Language: HTML+PHP. Code size: 26.3 kB.

<!DOCTYPE html PUBLIC "-//W3C//DTD Xhtml 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml">
<head> 
  <meta name="viewport" content="initial-scale=0.5,maximum-scale=0.5,user-scalable=no,width=device-width">
  <meta content="yes" name="apple-mobile-web-app-capable"/>
  <!-- iOS Safari 全屏状态下的状态栏样式  default | balck | black-translucent-->
  <meta content="black-translucent" name="apple-mobile-web-app-status-bar-style"/>
  <!-- iOS 设备上禁止将数字识别为可点击的 tel link -->
  <meta content="telephone=no" name="format-detection"/>
  <meta name="theme-color" content="rgb(244,160,61)">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <link rel="stylesheet" type="text/css" href="/css/bootstrap.css">
	<link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css"> 
  <link rel="stylesheet" type="text/css" href="/css/common.css">  
  <link rel="stylesheet" type="text/css" href="/css/index.css">
  <script type="text/javascript" src="/js/jquery-3.3.1.min.js" ></script>
  <script type="text/javascript" src="/js/iconfont.js" ></script>
  <script type="text/javascript" src="/js/bootstrap.min.js" ></script>
<title>EG GAMING</title>
<link rel="Shortcut Icon" href="img/brand-logo.png">
</head>
<body>
<?php session_start(); ?>
<video src="img/bg.mp4" autobuffer autoplay="true" loop="true" poster="img/bg.jpg" class="video-bg" id="video-bg"></video>
<script>
var deviceAgent = navigator.userAgent.toLowerCase();
  var agentID = deviceAgent.match(/(iphone|ipod|ipad|android)/);
  if(agentID){
    if(agentID.indexOf("iphone")>=0 || agentID.indexOf("ipod")>=0 || agentID.indexOf("ipad")>=0 || agentID.indexOf("android")>=0){
      document.getElementById("video-bg").style.display="none";
    }
    else{
      document.getElementById("video-bg").style.display="block";
    }
  }
  else{
    document.getElementById("video-bg").style.display="block";
  }
var userAgent = navigator.userAgent;
if (!!window.ActiveXObject || "ActiveXObject" in window)
document.getElementById("video-bg").style.display="none";
else if (userAgent.indexOf("Edge") > -1) {
document.getElementById("video-bg").style.display="none";
}
</script>  
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header modal-header-signin-register">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <ul class="nav nav-tabs" role="tablist">
          <li role="presentation" class="active"><a href="#signin" aria-controls="signin" role="tab" data-toggle="tab">登录</a></li>
          <li role="presentation"><a href="#register" aria-controls="register" role="tab" data-toggle="tab">注册</a></li>

        </ul>
      </div>
      <div class="modal-body">
        <div class="tab-content">
          <div role="tabpanel" class="tab-pane active" id="signin">
            <form action="signincheck.php" method="post">            
            <div class="input-group input-group-lg input-signin-username">
              <span class="input-group-addon">用户名</span>
              <input type="text" name="username" class="form-control" placeholder="请输入您的用户名" >
            </div>
            <div class="input-group input-group-lg input-signin-password">
              <span class="input-group-addon" >密码</span>
              <input type="password" name="password" class="form-control" placeholder="请输入您的密码" >
            </div>
            <div class="modal-footer modal-footer-signin">
              <input type="submit" class="btn btn-primary" value="登录">
              <a href="" title="">忘记密码?</a>
            </div>
          </form>
          </div>
          <div role="tabpanel" class="tab-pane" id="register">
            <form action="register.php" method="post">
              <div id="" class="">
                <div class="input-group input-group-lg input-signin-username">
                  <span class="input-group-addon">用户名</span>
                  <input name="username"  type="text" class="form-control" placeholder="请输入您的用户名" aria-describedby="sizing-addon1">
                </div>
                <div class="input-group input-group-lg input-signin-password">
                  <span class="input-group-addon" >密码</span>
                  <input name="password" type="password" class="form-control" placeholder="请输入您的密码" aria-describedby="sizing-addon1">
                </div>
                <div class="input-group input-group-lg input-signin-password">
                  <span class="input-group-addon" >重复密码</span>
                  <input name="confirm" type="password" class="form-control" placeholder="请再次输入您的密码" aria-describedby="sizing-addon1">
                </div>
              </div><!-- / -->
              <div class="modal-footer modal-footer-register">
                <input type="submit" class="btn btn-primary" value="注册" name="Submit">
              </div>
            </form>
          </div>
        </div>
      </div>

    </div>
  </div>
</div>
 <nav class="navbar navbar-default navbar-fixed-top navbar-inverse" role="navigation">
  <div class="container-fluid">
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a class="navbar-brand" href="#">
        <img alt="Brand" src="img/brand-logo.png">
      </a>
      <a class="navbar-brand navbar-slogen" href="index.php">
        <span>硬核玩家狂欢于此</span>
      </a>
    </div>
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <ul class="nav navbar-nav">
        <li class="active"><a href="#">首页 <span class="sr-only">(current)</span></a></li>
      </ul>
      <ul class="nav navbar-nav navbar-right">
        <li class="sign-in"><a href="#" style="display:
          <?php
           if(isset($_SESSION['userid'])){
              echo "none";
            }
             else{
              echo "block";
            }
          ?>
          ;">
          <div id="" class="sign-in-button"  data-toggle="modal" data-target="#myModal" type="button">
            <div id="" class="sign-in-button-center">
              <svg class="icon icon-index-user" aria-hidden="true">
                <use xlink:href="#icon-person-fill"></use>
              </svg>
              <span class="sign-in-text">登录/注册</span>
            </div><!-- / -->
          </div><!-- / -->
            </a>
            <div id="" class="user-signined" style="display:
            <?php
           if(isset($_SESSION['userid'])){
              echo "block";
            }
            else{
              echo "none";
            }
            ?>
            ;">
              <div id="" class="user-avatar-box">
                <img src="img/avatar.jpg" class="img-responsive" alt="">
              </div><!-- / -->
              <span class="user-name">
                <?php
                 if(isset($_SESSION['userid'])){
                    echo $_SESSION['username'];
                  }
                  ?>
              </span>
              <a href="destroysession.php" title="">
              <button type="button" class="btn btn-danger user-button-disconnect" >注销</button></a>
            </div><!-- / -->
        </li>
      </ul>
    </div><!-- /.navbar-collapse -->
  </div>
</nav>
<!-- /导航结束 -->

<div id="" class="content">
  <div id="" class="content-header">
      <p>选择一个您感兴趣的游戏</p>
    

  </div><!-- / -->
  <div id="" class="content-connect">
      
  </div><!-- / -->
  <div id="" class="content-box">
      <div id="" class="index-games-kv-boxes index-games-kv-boxes_col1">

        <div id="" class="index-games-kv-box index-games-kv-box">
          <div id="" class="index-games-kv">
            <a href="list.php?list=pubg" title=""><img src="
                <?php 
                  include('conn.php');
                  mysql_select_db("e-gaming");  //选择数据库
                  mysql_query("set names 'utf8'");
                  $result = mysql_fetch_array(mysql_query("SELECT * from game where game_name = 'pubg'"));
                  $game_index_kv = $result['game_index_kv'];
                  echo $game_index_kv;
                ?>
                 " alt="PLAYERUNKNOWN'S BATTLEGROUNDS" title="PLAYERUNKNOWN'S BATTLEGROUNDS"></a>
          </div><!-- / -->
          <div id="" class="index-games-kv-text">
            <a href="list.php?list=pubg" title="">
              <h3 title="PLAYERUNKNOWN'S BATTLEGROUNDS">PLAYERUNKNOWN'S BATTLEGROUNDS</h3>
              <h4 class="index-games-kv-describe" title="文章数:<?php 
                  include('conn.php');
                  mysql_select_db("e-gaming");  //选择数据库
                  mysql_query("set names 'utf8'");
                  $result = mysql_num_rows(mysql_query("SELECT * from article_pubg"));
                  echo $result;
              ?>篇">文章数:<?php 
                  include('conn.php');
                  mysql_select_db("e-gaming");  //选择数据库
                  mysql_query("set names 'utf8'");
                  $result = mysql_num_rows(mysql_query("SELECT * from article_pubg"));
                  echo $result;
              ?></h4>
            </a>
          </div><!-- / -->
        </div><!-- / -->
        <div id="" class="index-games-kv-box index-games-kv-box">
          <div id="" class="index-games-kv">
            <a href="list.php?list=dota2" title=""><img src="img/index-games-kv/Dota 2-285x380.jpg" alt="Dota 2" title="Dota 2"></a>
          </div><!-- / -->
          <div id="" class="index-games-kv-text">
            <a href="list.php?list=dota2" title="">
              <h3 title="Dota 2">Dota 2</h3>
              <h4 class="index-games-kv-describe" title="文章数:<?php 
                  include('conn.php');
                  mysql_select_db("e-gaming");  //选择数据库
                  mysql_query("set names 'utf8'");
                  $result = mysql_num_rows(mysql_query("SELECT * from article_dota2"));
                  echo $result;
              ?>篇">文章数:<?php 
                  include('conn.php');
                  mysql_select_db("e-gaming");  //选择数据库
                  mysql_query("set names 'utf8'");
                  $result = mysql_num_rows(mysql_query("SELECT * from article_dota2"));
                  echo $result;
              ?></h4>
            </a>
          </div><!-- / -->
        </div><!-- / -->
        <div id="" class="index-games-kv-box index-games-kv-box-pc">
          <div id="" class="index-games-kv">
            <a href="list.php?list=hearthstone" title=""><img src="img/index-games-kv/Hearthstone-285x380.jpg" alt="Hearthstone" title="Hearthstone"></a> 
          </div><!-- / -->
          <div id="" class="index-games-kv-text">
            <a href="list.php?list=hearthstone" title="">
              <h3 title="Hearthstone">Hearthstone</h3>
              <h4 class="index-games-kv-describe" title="文章数:<?php 
                  include('conn.php');
                  mysql_select_db("e-gaming");  //选择数据库
                  mysql_query("set names 'utf8'");
                  $result = mysql_num_rows(mysql_query("SELECT * from article_hearthstone"));
                  echo $result;
              ?>篇">文章数:<?php 
                  include('conn.php');
                  mysql_select_db("e-gaming");  //选择数据库
                  mysql_query("set names 'utf8'");
                  $result = mysql_num_rows(mysql_query("SELECT * from article_hearthstone"));
                  echo $result;
              ?></h4>
            </a>
          </div><!-- / -->
        </div><!-- / -->
        <div id="" class="index-games-kv-box index-games-kv-box-pc">
          <div id="" class="index-games-kv">
            <a href="list.php?list=lol" title=""><img src="img/index-games-kv/League of Legends-285x380.jpg" alt="League of Legends"  title="League of Legends"></a> 
          </div><!-- / -->
          <div id="" class="index-games-kv-text">
            <a href="list.php?list=lol" title="">
              <h3 title="League of Legends">League Of Legend</h3>
              <h4 class="index-games-kv-describe"  title="文章数:<?php 
                  include('conn.php');
                  mysql_select_db("e-gaming");  //选择数据库
                  mysql_query("set names 'utf8'");
                  $result = mysql_num_rows(mysql_query("SELECT * from article_lol"));
                  echo $result;
              ?>篇">文章数:<?php 
                  include('conn.php');
                  mysql_select_db("e-gaming");  //选择数据库
                  mysql_query("set names 'utf8'");
                  $result = mysql_num_rows(mysql_query("SELECT * from article_lol"));
                  echo $result;
              ?></h4>
            </a>
          </div><!-- / -->
        </div><!-- / -->
      </div><!-- / -->

      <div id="" class="index-games-kv-boxes index-games-kv-boxes_col2">
        <div id="" class="index-games-kv-box index-games-kv-box-mobile">
          <div id="" class="index-games-kv">
            <a href="list.php?list=hearthstone" title=""><img src="img/index-games-kv/Hearthstone-285x380.jpg" alt="Hearthstone" title="Hearthstone"></a> 
          </div><!-- / -->
          <div id="" class="index-games-kv-text">
            <a href="list.php?list=hearthstone" title="">
              <h3 title="Hearthstone">Hearthstone</h3>
              <h4 class="index-games-kv-describe" title="文章数:<?php 
                  include('conn.php');
                  mysql_select_db("e-gaming");  //选择数据库
                  mysql_query("set names 'utf8'");
                  $result = mysql_num_rows(mysql_query("SELECT * from article_hearthstone"));
                  echo $result;
              ?>篇">文章数:<?php 
                  include('conn.php');
                  mysql_select_db("e-gaming");  //选择数据库
                  mysql_query("set names 'utf8'");
                  $result = mysql_num_rows(mysql_query("SELECT * from article_hearthstone"));
                  echo $result;
              ?></h4>
            </a>
          </div><!-- / -->
        </div><!-- / -->
        <div id="" class="index-games-kv-box index-games-kv-box-mobile">
          <div id="" class="index-games-kv">
            <a href="list.php?list=lol" title=""><img src="img/index-games-kv/League of Legends-285x380.jpg" alt="League of Legends"  title="League of Legends"></a> 
          </div><!-- / -->
          <div id="" class="index-games-kv-text">
            <a href="list.php?list=lol" title="">
              <h3 title="League of Legends">League Of Legend</h3>
              <h4 class="index-games-kv-describe"  title="文章数:<?php 
                  include('conn.php');
                  mysql_select_db("e-gaming");  //选择数据库
                  mysql_query("set names 'utf8'");
                  $result = mysql_num_rows(mysql_query("SELECT * from article_lol"));
                  echo $result;
              ?>篇">文章数:<?php 
                  include('conn.php');
                  mysql_select_db("e-gaming");  //选择数据库
                  mysql_query("set names 'utf8'");
                  $result = mysql_num_rows(mysql_query("SELECT * from article_lol"));
                  echo $result;
              ?></h4>
            </a>
          </div><!-- / -->
        </div><!-- / -->

        <div id="" class="index-games-kv-box index-games-kv-box-pc">
          <div id="" class="index-games-kv">
            <a href="list.php?list=csgo" title=""><img src="img/index-games-kv/Counter-Strike_ Global Offensive-285x380.jpg" alt="Counter-Strike:Global Offensive" title="Counter-Strike:Global Offensive"></a>
          </div><!-- / -->
          <div id="" class="index-games-kv-text">
            <a href="list.php?list=csgo" title="">
              <h3 title="Counter-Strike:Global Offensive">Counter-Strike:Global Offensive</h3>
              <h4 class="index-games-kv-describe" title="文章数:<?php 
                  include('conn.php');
                  mysql_select_db("e-gaming");  //选择数据库
                  mysql_query("set names 'utf8'");
                  $result = mysql_num_rows(mysql_query("SELECT * from article_csgo"));
                  echo $result;
              ?>篇">文章数:<?php 
                  include('conn.php');
                  mysql_select_db("e-gaming");  //选择数据库
                  mysql_query("set names 'utf8'");
                  $result = mysql_num_rows(mysql_query("SELECT * from article_csgo"));
                  echo $result;
              ?></h4>
            </a>
          </div><!-- / -->
        </div><!-- / -->
        <div id="" class="index-games-kv-box index-games-kv-box-pc">
          <div id="" class="index-games-kv">
            <a href="list.php?list=overwatch" title=""><img src="img/index-games-kv/Overwatch-285x380.jpg" alt="Overwatch" title="Overwatch"></a>
          </div><!-- / -->
          <div id="" class="index-games-kv-text">
            <a href="list.php?list=overwatch" title="">
              <h3 title="Overwatch">Overwatch</h3>
              <h4 class="index-games-kv-describe" title="文章数:<?php 
                  include('conn.php');
                  mysql_select_db("e-gaming");  //选择数据库
                  mysql_query("set names 'utf8'");
                  $result = mysql_num_rows(mysql_query("SELECT * from article_overwatch"));
                  echo $result;
              ?>篇">文章数:<?php 
                  include('conn.php');
                  mysql_select_db("e-gaming");  //选择数据库
                  mysql_query("set names 'utf8'");
                  $result = mysql_num_rows(mysql_query("SELECT * from article_overwatch"));
                  echo $result;
              ?></h4>
            </a>
          </div><!-- / -->
        </div><!-- / -->
        <div id="" class="index-games-kv-box index-games-kv-box-pc">
          <div id="" class="index-games-kv">
            <a href="list.php?list=wow" title=""><img src="img/index-games-kv/World of Warcraft-285x380.jpg" alt="World of Warcraft" title="World of Warcraft"></a> 
          </div><!-- / -->
          <div id="" class="index-games-kv-text">
            <a href="list.php?list=wow" title="">
              <h3 title="World of Warcraft">World of Warcraft</h3>
              <h4 class="index-games-kv-describe" title="文章数:<?php 
                  include('conn.php');
                  mysql_select_db("e-gaming");  //选择数据库
                  mysql_query("set names 'utf8'");
                  $result = mysql_num_rows(mysql_query("SELECT * from article_wow"));
                  echo $result;
              ?>篇">文章数:<?php 
                  include('conn.php');
                  mysql_select_db("e-gaming");  //选择数据库
                  mysql_query("set names 'utf8'");
                  $result = mysql_num_rows(mysql_query("SELECT * from article_wow"));
                  echo $result;
              ?></h4>
            </a>
          </div><!-- / -->
        </div><!-- / -->
        <div id="" class="index-games-kv-box index-games-kv-box-pc">
          <div id="" class="index-games-kv">
            <a href="list.php?list=fortnite" title=""><img src="img/index-games-kv/Fortnite-285x380.jpg" alt="Fortnite"  title="Fortnite"></a> 
          </div><!-- / -->
          <div id="" class="index-games-kv-text">
            <a href="list.php?list=fortnite" title="">
              <h3 title="Fortnite">Fortnite</h3>
              <h4 class="index-games-kv-describe"  title="文章数:<?php 
                  include('conn.php');
                  mysql_select_db("e-gaming");  //选择数据库
                  mysql_query("set names 'utf8'");
                  $result = mysql_num_rows(mysql_query("SELECT * from article_fortnite"));
                  echo $result;
              ?>篇">文章数:<?php 
                  include('conn.php');
                  mysql_select_db("e-gaming");  //选择数据库
                  mysql_query("set names 'utf8'");
                  $result = mysql_num_rows(mysql_query("SELECT * from article_fortnite"));
                  echo $result;
              ?></h4>
            </a>
          </div><!-- / -->
        </div><!-- / -->
      </div><!-- / -->

      <div id="" class="index-games-kv-boxes index-games-kv-boxes_col2">



        <div id="" class="index-games-kv-box index-games-kv-box-mobile">
          <div id="" class="index-games-kv">
            <a href="list.php?list=csgo" title=""><img src="img/index-games-kv/Counter-Strike_ Global Offensive-285x380.jpg" alt="Counter-Strike:Global Offensive" title="Counter-Strike:Global Offensive"></a>
          </div><!-- / -->
          <div id="" class="index-games-kv-text">
            <a href="list.php?list=csgo" title="">
              <h3 title="Counter-Strike:Global Offensive">Counter-Strike:Global Offensive</h3>
              <h4 class="index-games-kv-describe" title="文章数:<?php 
                  include('conn.php');
                  mysql_select_db("e-gaming");  //选择数据库
                  mysql_query("set names 'utf8'");
                  $result = mysql_num_rows(mysql_query("SELECT * from article_csgo"));
                  echo $result;
              ?>篇">文章数:<?php 
                  include('conn.php');
                  mysql_select_db("e-gaming");  //选择数据库
                  mysql_query("set names 'utf8'");
                  $result = mysql_num_rows(mysql_query("SELECT * from article_csgo"));
                  echo $result;
              ?></h4>
            </a>
          </div><!-- / -->
        </div><!-- / -->
        <div id="" class="index-games-kv-box index-games-kv-box-mobile">
          <div id="" class="index-games-kv">
            <a href="list.php?list=overwatch" title=""><img src="img/index-games-kv/Overwatch-285x380.jpg" alt="Overwatch" title="Overwatch"></a>
          </div><!-- / -->
          <div id="" class="index-games-kv-text">
            <a href="list.php?list=overwatch" title="">
              <h3 title="Overwatch">Overwatch</h3>
              <h4 class="index-games-kv-describe" title="文章数:<?php 
                  include('conn.php');
                  mysql_select_db("e-gaming");  //选择数据库
                  mysql_query("set names 'utf8'");
                  $result = mysql_num_rows(mysql_query("SELECT * from article_overwatch"));
                  echo $result;
              ?>篇">文章数:<?php 
                  include('conn.php');
                  mysql_select_db("e-gaming");  //选择数据库
                  mysql_query("set names 'utf8'");
                  $result = mysql_num_rows(mysql_query("SELECT * from article_overwatch"));
                  echo $result;
              ?></h4>
            </a>
          </div><!-- / -->
        </div><!-- / -->

      </div><!-- / -->
      <div id="" class="index-games-kv-boxes index-games-kv-boxes_col2">



        <div id="" class="index-games-kv-box index-games-kv-box-mobile">
          <div id="" class="index-games-kv">
            <a href="list.php?list=wow" title=""><img src="img/index-games-kv/World of Warcraft-285x380.jpg" alt="World of Warcraft" title="World of Warcraft"></a> 
          </div><!-- / -->
          <div id="" class="index-games-kv-text">
            <a href="list.php?list=wow" title="">
              <h3 title="World of Warcraft">World of Warcraft</h3>
              <h4 class="index-games-kv-describe" title="文章数:<?php 
                  include('conn.php');
                  mysql_select_db("e-gaming");  //选择数据库
                  mysql_query("set names 'utf8'");
                  $result = mysql_num_rows(mysql_query("SELECT * from article_wow"));
                  echo $result;
              ?>篇">文章数:<?php 
                  include('conn.php');
                  mysql_select_db("e-gaming");  //选择数据库
                  mysql_query("set names 'utf8'");
                  $result = mysql_num_rows(mysql_query("SELECT * from article_wow"));
                  echo $result;
              ?></h4>
            </a>
          </div><!-- / -->
        </div><!-- / -->
        <div id="" class="index-games-kv-box index-games-kv-box-mobile">
          <div id="" class="index-games-kv">
            <a href="list.php?list=fortnite" title=""><img src="img/index-games-kv/Fortnite-285x380.jpg" alt="Fortnite"  title="Fortnite"></a> 
          </div><!-- / -->
          <div id="" class="index-games-kv-text">
            <a href="list.php?list=fortnite" title="">
              <h3 title="Fortnite">Fortnite</h3>
              <h4 class="index-games-kv-describe"  title="文章数:<?php 
                  include('conn.php');
                  mysql_select_db("e-gaming");  //选择数据库
                  mysql_query("set names 'utf8'");
                  $result = mysql_num_rows(mysql_query("SELECT * from article_fortnite"));
                  echo $result;
              ?>篇">文章数:<?php 
                  include('conn.php');
                  mysql_select_db("e-gaming");  //选择数据库
                  mysql_query("set names 'utf8'");
                  $result = mysql_num_rows(mysql_query("SELECT * from article_fortnite"));
                  echo $result;
              ?></h4>
            </a>
          </div><!-- / -->
        </div><!-- / -->
      </div><!-- / -->
  </div><!-- / -->
</div><!-- / -->
</body> 
</html>
      <!-- <div class="content_introduce_1_title">
        <p>《进击的巨人》</p>
      </div><!-- 第一条标题/ -->
     <!-- <div class="content_introduce_1_img">

        <a href="#"><img src="img/content_introduce_1_img.jpg"></a>
      </div><!-- 第一条图/ --> 

This snippet took 0.02 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).