<?php
include 'session.php';
include 'db.php';
include 'v.php';?>




<?php include 'inc/head.php';?>
<body class="crm_body_bg">

  <?php include 'inc/nav.php';?>

<section class="main_content dashboard_part large_header_bg">

<?php include 'inc/profile.php';?>

<div class="main_content_iner ">
  <div class="card">
    <div class="card-header">
      <div class="row align-items-center">
        <div class="col-8">
          <h3 class="mb-0">Add New Game</h3>
        </div>
        <div class="col-4 text-right">
          <button type="submit" form="myform" class="btn btn-sm btn-primary">Add
        </button></div>
      </div>
    </div>
    <div class="card-body">
      <form action="admin_api.php" method="post" id="myform" enctype="multipart/form-data">
        
        <div class="pl-lg-6">
                  <div class="row">
                    <div class="col-lg-6">
                      <div class="form-group">
                        <label class="form-control-label" for="input-username">Name</label>
                        <input name="game_name" type="text" id="input-username" class="form-control" placeholder="Game Name" value="">
                      </div>
                    </div>
                    <div class="col-lg-6">
                      <div class="form-group">
                        <label class="form-control-label" for="input-email">Image Url</label>
                        <input type="url" name="image" id="input-email" class="form-control" placeholder="Image Url" value="">
                      </div>
                    </div>
                    
                  </div>
                  <div class="row">
                    <div class="col-lg-6">
                      <div class="form-group">
                        <label class="form-control-label" for="input-first-name">Game Url</label>
                        <input type="url" id="input-first-name" name="url" class="form-control" placeholder="Game Url" value="">
                      </div>
                    </div>
                    <div class="col-lg-6">
                    <div class="form-group">
                           <label class="form-control-label" for="input-first-name">Game Time ( in seconds )</label>
                        <input type="number" id="input-first-name" name="game_time" class="form-control" placeholder="Game Time" value="">
                    </div>
                    </div>
                    <div class="col-lg-6">
                      <div class="form-group">
                        <label class="form-control-label" for="input-first-name">Game Points</label>
                        <input type="number" id="input-first-name" name="points" class="form-control" placeholder="Game Points" value="">
                      </div>
                    </div>
             
                  </div>
                </div>

      </form>
    </div>
  </div>
</div>


</section>

<?php include 'inc/foot.php';?>