

<?php $__env->startSection('content'); ?>
<link href="/assets/vendor/@fortawesome/fontawesome-free/css/all.min.css" rel="stylesheet">
<div class="container-fluid my-3 py-3">
  <?php if($errors->get('msgError')): ?>
  <div class="m-3  alert alert-warning alert-dismissible fade show" role="alert">
    <span class="alert-text text-white">
      <?php echo e($errors->first()); ?></span>
    <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close">
      <i class="fa fa-close" aria-hidden="true"></i>
    </button>
  </div>
  <?php endif; ?>
  <?php if(session('success')): ?>
  <div class="m-3  alert alert-success alert-dismissible fade show" id="alert-success" role="alert">
    <span class="alert-text text-white">
      <?php echo e(session('success')); ?></span>
    <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close">
      <i class="fa fa-close" aria-hidden="true"></i>
    </button>
  </div>
  <?php endif; ?>

  <style>
    .after {
      content: "";
      position: absolute;
      height: 0;
      width: 0;
      left: 100%;
      top: 0;
      border: 20px dotted transparent;
      border-left: 20px dotted red;
    }
  </style>


  <div class="row mb-5">
    <div class="col-lg-2">
      <div class="card position-sticky top-1">
        <!--<h4>Setting Menu</h4>-->
        <div class="nav nav-pills flex-column bg-white p-3 nav-pills-custom" id="v-pills-tab" role="tablist" aria-orientation="vertical">
          <br>

          <!--tab banner_native Setting-->
          <li class="nav-item" id="banner_native-section_tab" data-bs-toggle="pill" data-bs-target="#v-pills-banner_native" type="button" role="tab" aria-controls="v-pills-banner_native" aria-selected="true">
            <a class="nav-link text-sm" id="a-v-pills-banner_native" data-scroll="" href="#banner_native">
              Banner,Native Ad
            </a>
          </li>
          <hr style="margin:0;">

          <!--tab Admob Setting-->
          <li class="nav-item" id="admob-section_tab" data-bs-toggle="pill" data-bs-target="#v-pills-admob" type="button" role="tab" aria-controls="v-pills-admob" aria-selected="false">
            <div class="row">
            <a class="nav-link text-sm" id="a-v-pills-admob" data-scroll="" href="#admob">
             <img src="https://www.svgviewer.dev/static-svgs/13966/google-admob.svg" width="20" height="20"/>&nbsp; Admob Ad
            </a></div>
          </li>
          <hr style="margin:0;">  
            
          <!--tab Applvoin checkin-->
          <li class="nav-item" id="applovin-section_tab" data-bs-toggle="tab" data-bs-target="#v-pills-applovin" type="button" role="tab" aria-controls="v-pills-applovin" aria-selected="false">
            <div class="row">
            <a class="nav-link text-sm" id="a-v-pills-applovin" data-scroll="" href="#applovin">
             <img src="https://d2q79iu7y748jz.cloudfront.net/s/_squarelogo/256x256/ae7523df0e21544d6b2676925634e9b8" width="20" height="20"/>&nbsp; Applovin Ad
            </a></div>
          </li>
          <hr style="margin:0;">

          <!--tab Facebook Ad-->
          <li class="nav-item " id="fb-section_tab" data-bs-toggle="tab" data-bs-target="#v-pills-fb" type="button" role="tab" aria-controls="v-pills-fb" aria-selected="false">
           <div class="row">
            <a class="nav-link text-sm" id="a-v-pills-fb" data-scroll="" href="#fb">
             <img src="https://e7.pngegg.com/pngimages/83/796/png-clipart-facebook-computer-icons-advertising-audience-network-purple-violet-thumbnail.png" width="20" height="20"/>&nbsp; Facebook Audience Ad
            </a></div>
          </li>
          <hr style="margin:0;">

          <!--tab Ironsource Ad-->
          <li class="nav-item" id="ironsource-section_tab" data-bs-toggle="tab" data-bs-target="#v-pills-ironsource" type="button" role="tab" aria-controls="v-pills-ironsource" aria-selected="false">
            <div class="row">
            <a class="nav-link text-sm" id="a-v-pills-ironsource" data-scroll="" href="#ironsource">
             <img src="https://is3-ssl.mzstatic.com/image/thumb/Purple115/v4/82/2a/2d/822a2dea-8051-29de-8001-20886e302a88/source/256x256bb.jpg" width="20" height="20"/>&nbsp; Ironsource Ad
            </a></div>
          </li>

          <!--tab Unity-->
          <hr style="margin:0;">
          <li class="nav-item" id="unity-section_tab" data-bs-toggle="tab" data-bs-target="#v-pills-unity" type="button" role="tab" aria-controls="v-pills-unity" aria-selected="false">
            <div class="row">
            <a class="nav-link text-sm" id="a-v-pills-unity" data-scroll="" href="#unity">
             <img src="https://p1.hiclipart.com/preview/225/298/467/numix-circle-for-windows-unity-editor-icon-png-icon.jpg" width="20" height="20"/>&nbsp; Unity Ad
            </a></div>
          </li>

          <!--tab Wortise Ad-->
          <hr style="margin:0;">
          <li class="nav-item" id="wortise-section_tab" data-bs-toggle="tab" data-bs-target="#v-pills-wortise" type="button" role="tab" aria-controls="v-pills-wortise" aria-selected="false">
            <div class="row">
            <a class="nav-link text-sm" id="a-v-pills-wortise" data-scroll="" href="#wortise">
             <img src="https://cdn.42matters.com/sdk/wortise.com.png" width="20" height="20"/>&nbsp; Wortise Ad
            </a></div>
          </li>

          <!--tab Startio-->
          <hr style="margin:0;">
          <li class="nav-item" id="startio-section_tab" data-bs-toggle="tab" data-bs-target="#v-pills-startio" type="button" role="tab" aria-controls="v-pills-startio" aria-selected="false">
            <div class="row">
            <a class="nav-link text-sm" id="a-v-pills-startio" data-scroll="" href="#startio">
             <img src="https://avatars.githubusercontent.com/u/5746568?v=4" width="20" height="20"/>&nbsp; StartIo Ad
            </a></div>
          </li>

          <hr style="margin:0;">
          <!--tab Custom Ad-->
          <li class="nav-item" id="custom-section_tab" data-bs-toggle="pill" data-bs-target="#v-pills-custom" type="button" role="tab" aria-controls="v-pills-custom" aria-selected="false">
           <div class="row">
            <a class="nav-link text-sm" id="a-v-pills-custom" data-scroll="" href="#custom">
             <img src="https://cdn-icons-png.flaticon.com/128/3486/3486926.png" width="20" height="20"/>&nbsp; Custom Ads
            </a></div>
          </li>



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

    <div class="col-lg-10 mt-lg-0 mt-4">
      <div class="tab-content" id="pills-tabContent">
        <div class="tab-content bg-white shadow p-5 rounded-3" id="v-pills-tabContent">
          <!--tab content start form-->


          <!--Banner/ Native Start------------->
          <div class="tab-pane fade" id="v-pills-banner_native" role="tabpanel" aria-labelledby="banner_native-section-tab">
            <figure >
                    <blockquote class="blockquote">
                      <h5>
                        <p class="ps-2"><b>Banner, Native,Back Ad Configuration</b></p>
                      </h5>
                    </blockquote>
                    <figcaption class="blockquote-footer ps-1">
                        Manage Banner, Native, Back Button Ads
                    </figcaption>
             </figure>
        
            <form method="post" action="/ads/update-adsetting">
              <?php echo csrf_field(); ?>
              <input type="hidden" name="type" value="banner">
              <hr class="horizontal dark my-2">

          <div class="row">
            <div class="col-lg-6 col-12 mx-auto" >
                <div class="card card-body mt-4 ">
                    <figure>
                    <blockquote class="blockquote">
                      <h6>
                        <p class="ps-2">Banner Ad Configuration</p>
                      </h6>
                    </blockquote>
                    <figcaption class="blockquote-footer ps-1">
                      Manage Ad Status, Ad unit.
                    </figcaption>
                    </figure>
            
                    <hr class="horizontal dark my-2">
                    <label for="projectName" class="form-label">Select Banner Ad Network</label>
                    <select name="banner_type" class="form-control">
                        <option value="admob" <?php echo e(($ad->banner_type=='admob') ? 'selected' : ''); ?>>Admob Banner Ad</option>
                        <option value="fb" <?php echo e(($ad->banner_type=='fb') ? 'selected' : ''); ?>>Facebook Audience Banner Ad</option>
                        <option value="applovin" <?php echo e(($ad->banner_type=='applovin') ? 'selected' : ''); ?>>Applovin Banner Ad</option>
                        <option value="startapp" <?php echo e(($ad->banner_type=='startapp') ? 'selected' : ''); ?>>Startio Banner Ad</option>
                        <option value="unity" <?php echo e(($ad->banner_type=='unity') ? 'selected' : ''); ?>>Unity Banner Ad</option>
                        <option value="ironsource" <?php echo e(($ad->banner_type=='ironsource') ? 'selected' : ''); ?>>Ironsource Banner Ad</option>
                        <option value="wortise" <?php echo e(($ad->banner_type=='wortise') ? 'selected' : ''); ?>>Wortise Banner Ad</option>
                        <option value="custom" <?php echo e(($ad->banner_type=='custom') ? 'selected' : ''); ?>>Custom Banner Ad</option>
                        <option value="off" <?php echo e(($ad->banner_type=='off') ? 'selected' : ''); ?>>OFF</option>
                    </select>
            
                    <hr class="horizontal dark my-2">
                    <label for="projectName" class="form-label">Banner Ad Unit ( Not required for Ironsource,Startio)</label>
                    <input type="text" class="form-control" name="banner_id" placeholder="xxxxxxxx-xxxxxxxxx" value="<?php echo e($ad->banner_id); ?>">
                    
                    <br>
                    <br>
                </div>
            </div>
            
            <div class="col-lg-6 col-12 mx-auto">
                <div class="card card-body mt-4">
                    <figure>
                    <blockquote class="blockquote">
                      <h6>
                        <p class="ps-2">Native Ad Configuration</p>
                      </h6>
                    </blockquote>
                    <figcaption class="blockquote-footer ps-1">
                      Manage Ad Status, ad unit etc.
                    </figcaption>
                    </figure>
            
                    <hr class="horizontal dark my-2">
                    <label for="projectName" class="form-label">Native Ad Type</label>
                    <select name="native_type" class="form-control">
                        <option value="admob" <?php echo e(($ad->native_type=='admob') ? 'selected' : ''); ?>>Admob Native Ad</option>
                        <option value="fb" <?php echo e(($ad->native_type=='fb') ? 'selected' : ''); ?>>Facebook Audience Native Ad</option>
                        <option value="applovin" <?php echo e(($ad->native_type=='applovin') ? 'selected' : ''); ?>>Applovin Native Ad</option>
                        <option value="startapp" <?php echo e(($ad->native_type=='startapp') ? 'selected' : ''); ?>>Startio Native Ad</option>
                        <option value="custom" <?php echo e(($ad->native_type=='custom') ? 'selected' : ''); ?>>Custom Native Ad</option>
                        <option value="off" <?php echo e(($ad->native_type=='off') ? 'selected' : ''); ?>>OFF</option>
                    </select>
            
                    <hr class="horizontal dark my-2">
                    <label for="projectName" class="form-label">Native Ad Unit</label>
                    <input type="text" class="form-control" name="native_id" placeholder="xxxxxxxx-xxxxxxxxx" value="<?php echo e($ad->native_id); ?>">
                    
                    <hr class="horizontal dark my-2">
                    <label for="projectName" class="form-label">Show Native Ad after how much item </label>
                    <input type="number" class="form-control" name="native_count" placeholder="3" value="<?php echo e($ad->native_count); ?>">
                    
                    <br>
        
                </div>
            </div>
            
            <div class="col-lg-6 col-12 mx-auto">
                <div class="card card-body mt-4">
                    <figure>
                    <blockquote class="blockquote">
                      <h6>
                        <p class="ps-2">Back Button Interstital Ad Configuration</p>
                      </h6>
                    </blockquote>
                    <figcaption class="blockquote-footer ps-1">
                      Manage Ad Status, ad unit etc.
                    </figcaption>
                    </figure>
            
                    <hr class="horizontal dark my-2">
                    <label for="projectName" class="form-label">Back Button Interstital Ad Type</label>
                    <select name="interstital_type" class="form-control">
                        <option value="admob" <?php echo e(($ad->interstital_type=='admob') ? 'selected' : ''); ?>>Admob Interstital Ad</option>
                        <option value="fb" <?php echo e(($ad->interstital_type=='fb') ? 'selected' : ''); ?>>Facebook Audience Interstital Ad</option>
                        <option value="applovin" <?php echo e(($ad->interstital_type=='applovin') ? 'selected' : ''); ?>>Applovin Interstital Ad</option>
                        <option value="startapp" <?php echo e(($ad->interstital_type=='startapp') ? 'selected' : ''); ?>>Startio Interstital Ad</option>
                        <option value="unity" <?php echo e(($ad->interstital_type=='unity') ? 'selected' : ''); ?>>Unity Interstital Ad</option>
                        <option value="ironsource" <?php echo e(($ad->interstital_type=='ironsource') ? 'selected' : ''); ?>>Ironsource Interstital Ad</option>
                        <option value="wortise" <?php echo e(($ad->interstital_type=='wortise') ? 'selected' : ''); ?>>Wortise Interstital Ad</option>
                        <option value="custom" <?php echo e(($ad->interstital_type=='custom') ? 'selected' : ''); ?>>Custom Interstital Ad</option>
                        <option value="off" <?php echo e(($ad->interstital_type=='off') ? 'selected' : ''); ?>>OFF</option>
                    </select>
                    
                    <hr class="horizontal dark my-2">
                    <label for="projectName" class="form-label">Back Button Backup Ad ( in case if daily adlimit completed then automatically selected this adnetwork )</label>
                    <select name="backup_interstital_type" class="form-control">
                        <option value="admob" <?php echo e(($ad->backup_interstital_type=='admob') ? 'selected' : ''); ?>>Admob Interstital Ad</option>
                        <option value="fb" <?php echo e(($ad->backup_interstital_type=='fb') ? 'selected' : ''); ?>>Facebook Audience Interstital Ad</option>
                        <option value="applovin" <?php echo e(($ad->backup_interstital_type=='applovin') ? 'selected' : ''); ?>>Applovin Interstital Ad</option>
                        <option value="startapp" <?php echo e(($ad->backup_interstital_type=='startapp') ? 'selected' : ''); ?>>Startio Interstital Ad</option>
                        <option value="unity" <?php echo e(($ad->backup_interstital_type=='unity') ? 'selected' : ''); ?>>Unity Interstital Ad</option>
                        <option value="ironsource" <?php echo e(($ad->backup_interstital_type=='ironsource') ? 'selected' : ''); ?>>Ironsource Interstital Ad</option>
                        <option value="wortise" <?php echo e(($ad->backup_interstital_type=='wortise') ? 'selected' : ''); ?>>Wortise Interstital Ad</option>
                        <option value="custom" <?php echo e(($ad->backup_interstital_type=='custom') ? 'selected' : ''); ?>>Custom Interstital Ad</option>
                        <option value="off" <?php echo e(($ad->backup_interstital_type=='off') ? 'selected' : ''); ?>>OFF</option>
                    </select>

                    <hr class="horizontal dark my-2">
                    <label for="projectName" class="form-label">After How much Back button press  to show Ad </label>
                    <input type="number" class="form-control" name="interstital_count" placeholder="3" value="<?php echo e($ad->interstital_count); ?>">
                    
                    <br>
        
                </div>
            </div>
            
            <div class="col-lg-6 col-12 mx-auto">
                <div class="card card-body mt-4">
                    <figure>
                    <blockquote class="blockquote">
                      <h6>
                        <p class="ps-2">Without Ad Coin Credit?</p>
                      </h6>
                    </blockquote>
                    <figcaption class="blockquote-footer ps-1">
                      In case if ad not loaded coin credit to user?
                    </figcaption>
                    </figure>
            
                    <hr class="horizontal dark my-2">
                    <label for="projectName" class="form-label">In case if ad not loaded coin credit to user?</label>
                    <select name="direct_credit" class="form-control">
                        <option value="true" <?php echo e(($ad->direct_credit=='admob') ? 'selected' : ''); ?>>Yes</option>
                        <option value="false" <?php echo e(($ad->direct_credit=='fb') ? 'selected' : ''); ?>>No</option>
                    </select>

                    
                    <br>
        
                </div>
            </div>

          </div>
            <button type="submit" class="btn bg-gradient-info mt-3">Save Changes</button>
            </form>
        
        </div>
          <!--Banner/ Native End*------------->

          <!--Admob Start------------->
          <div class="tab-pane fade" id="v-pills-admob" role="tabpanel" aria-labelledby="admob-section-tab">
            <figure>
                    <blockquote class="blockquote">
                      <h5>
                        <p class="ps-2"><b>Admob Ad Configuration</b></p>
                      </h5>
                    </blockquote>
                    <figcaption class="blockquote-footer ps-1">
                        Don't have account ? <a href="https://admob.google.com/home/" target="_blank" class="text-info">Signup here</a>
                    </figcaption>
             </figure>
        
            <form method="post" action="/ads/update-adsetting">
              <?php echo csrf_field(); ?>
              <input type="hidden" name="type" value="admob">
              <hr class="horizontal dark my-2">

              <div class="col-sm-12">
                <label class="form-label">Admob App ID</label>
                <div class="input-group">
                  <input class="form-control" type="text" name="admob_app_id" value="<?php echo e($ad->admob_app_id); ?>" placeholder="xxx-xxxxx"required>
                </div>
              </div>

              
          

          <div class="row">
            <div class="col-lg-6 col-12 mx-auto" >
                <div class="card card-body mt-4 ">
                    <figure>
                    <blockquote class="blockquote">
                      <h6>
                        <p class="ps-2">Interstital Ad Configuration</p>
                      </h6>
                    </blockquote>
                    <figcaption class="blockquote-footer ps-1">
                      Manage Ad Status, Daily ad views etc.
                    </figcaption>
                    </figure>
            
                    <hr class="horizontal dark my-2">
                    <label for="projectName" class="form-label">Interstital Ad Status</label>
                    <select name="admob_inter" class="form-control">
                         <option value="true" <?php echo e(($ad->admob_inter == 'true') ? 'selected':''); ?> >ON</option>
                         <option value="false"  <?php echo e(($ad->admob_inter == 'false') ? 'selected':''); ?> >OFF</option>
                    </select>
            
                    <hr class="horizontal dark my-2">
                    <label for="projectName" class="form-label">Interstital Ad Unit</label>
                    <input type="text" class="form-control" name="admob_inter_id" placeholder="xxxxxxxx-xxxxxxxxx" value="<?php echo e($ad->admob_inter_id); ?>">
                    
                    <br>
                    <figure>
                    <blockquote class="blockquote">
                      <h6>
                        <p class="ps-2">Interstital Ad Daily Limit</p>
                      </h6>
                    </blockquote>
                    <figcaption class="blockquote-footer ps-3 text-danger">
                      How much this ads you want to show in a day. after complete limit this ad automatically disable and you need to ReEnable tomorrow again.
                    </figcaption>
                  </figure>
                  
                  
                  
                   <div class="row">
                        <div class="col-sm-6 col-lg-6">
                            <label class="form-label mt-1">Daily Interstital Ad Limit</label>
                            <div class="input-group">
                                <input class="form-control"  type="number" name="limit_admob_inter" value="<?php echo e($adlimit->admob_inter); ?>" placeholder="50" required>
                            </div>
                        </div>
                        
                       
                        
                        <div class="col-sm-6 col-lg-6">
                            <label class="form-label mt-1">Today Ad Watched</label>
                            <div class="input-group">
                                <input class="form-control" type="text"  value="<?php echo e($adcount->admob_inter); ?>" readonly>
                            </div>
                        </div>
                        
                    </div>
                    <br>
                </div>
            </div>
            
            <div class="col-lg-6 col-12 mx-auto">
                <div class="card card-body mt-4">
                    <figure>
                    <blockquote class="blockquote">
                      <h6>
                        <p class="ps-2">Rewarded Ad Configuration</p>
                      </h6>
                    </blockquote>
                    <figcaption class="blockquote-footer ps-1">
                      Manage Ad Status, Daily ad views etc.
                    </figcaption>
                    </figure>
            
                    <hr class="horizontal dark my-2">
                    <label for="projectName" class="form-label">Rewarded Ad Status</label>
                    <select name="admob_reward" class="form-control">
                         <option value="true" <?php echo e(($ad->admob_reward == 'true') ? 'selected':''); ?> >ON</option>
                         <option value="false"  <?php echo e(($ad->admob_reward == 'false') ? 'selected':''); ?> >OFF</option>
                    </select>
            
                    <hr class="horizontal dark my-2">
                    <label for="projectName" class="form-label">Rewarded Ad Unit</label>
                    <input type="text" class="form-control" name="admob_reward_id" placeholder="xxxxxxxx-xxxxxxxxx" value="<?php echo e($ad->admob_reward_id); ?>">
                    
                    <br>
                    <figure>
                    <blockquote class="blockquote">
                      <h6>
                        <p class="ps-2">Rewarded Ad Daily Limit</p>
                      </h6>
                    </blockquote>
                    <figcaption class="blockquote-footer ps-3 text-danger">
                      How much this ads you want to show in a day. after complete limit this ad automatically disable and you need to ReEnable tomorrow again.
                    </figcaption>
                  </figure>
                  
                  
                   <div class="row">
                        <div class="col-sm-6 col-lg-6">
                            <label class="form-label mt-1">Daily Rewarded Ad Limit</label>
                            <div class="input-group">
                                <input class="form-control"  type="number" name="limit_admob_reward" value="<?php echo e($adlimit->admob_reward); ?>" placeholder="50" required>
                            </div>
                        </div>
                       
                        
                        <div class="col-sm-6 col-lg-6">
                            <label class="form-label mt-1">Today Ad Watched</label>
                            <div class="input-group">
                                <input class="form-control" type="text"  value="<?php echo e($adcount->admob_reward); ?>" readonly>
                            </div>
                        </div>
                        
                    </div>
                    <br>
        
                </div>
            </div>

          </div>
            <button type="submit" class="btn bg-gradient-info mt-3">Save Changes</button>
            </form>
        
        </div>
          <!--Admob End*------------->
        
         
          <!--Applovin Start------------->
          <div class="tab-pane fade " id="v-pills-applovin" role="tabpanel" aria-labelledby="applovin-section-tab">
            <figure>
                    <blockquote class="blockquote">
                      <h5>
                        <p class="ps-2"><b>Applovin Ad Configuration</b></p>
                      </h5>
                    </blockquote>
                    <figcaption class="blockquote-footer ps-1">
                        Don't have account ? <a href="https://dash.applovin.com/signup" target="_blank" class="text-info">Signup here</a>
                    </figcaption>
             </figure>
        
            <form method="post" action="/ads/update-adsetting">
              <?php echo csrf_field(); ?>
              <input type="hidden" name="type" value="applovin">
              <hr class="horizontal dark my-2">
    
    
            <div class="row">
            <div class="col-lg-6 col-12 mx-auto" >
                <div class="card card-body mt-4 ">
                    <figure>
                    <blockquote class="blockquote">
                      <h6>
                        <p class="ps-2">Interstital Ad Configuration</p>
                      </h6>
                    </blockquote>
                    <figcaption class="blockquote-footer ps-1">
                      Manage Ad Status, Daily ad views etc.
                    </figcaption>
                    </figure>
            
                    <hr class="horizontal dark my-2">
                    <label for="projectName" class="form-label">Interstital Ad Status</label>
                    <select name="applovin_inter" class="form-control">
                         <option value="true" <?php echo e(($ad->applovin_inter == 'true') ? 'selected':''); ?> >ON</option>
                         <option value="false"  <?php echo e(($ad->applovin_inter == 'false') ? 'selected':''); ?> >OFF</option>
                    </select>
            
                    <hr class="horizontal dark my-2">
                    <label for="projectName" class="form-label">Interstital Ad Unit</label>
                    <input type="text" class="form-control" name="applovin_inter_id" placeholder="xxxxxxxx-xxxxxxxxx" value="<?php echo e($ad->applovin_inter_id); ?>">
                    
                    <br>
                    <figure>
                    <blockquote class="blockquote">
                      <h6>
                        <p class="ps-2">Interstital Ad Daily Limit</p>
                      </h6>
                    </blockquote>
                    <figcaption class="blockquote-footer ps-3 text-danger">
                      How much this ads you want to show in a day. after complete limit this ad automatically disable and you need to ReEnable tomorrow again.
                    </figcaption>
                  </figure>
                  
                  
                  
                   <div class="row">
                        <div class="col-sm-6 col-lg-6">
                            <label class="form-label mt-1">Daily Interstital Ad Limit</label>
                            <div class="input-group">
                                <input class="form-control"  type="number" name="limit_applovin_inter" value="<?php echo e($adlimit->applovin_inter); ?>" placeholder="50" required>
                            </div>
                        </div>
                        
                       
                        
                        <div class="col-sm-6 col-lg-6">
                            <label class="form-label mt-1">Today Ad Watched</label>
                            <div class="input-group">
                                <input class="form-control" type="text"  value="<?php echo e($adcount->applovin_inter); ?>" readonly>
                            </div>
                        </div>
                        
                    </div>
                    <br>
                </div>
            </div>
            
            <div class="col-lg-6 col-12 mx-auto">
                <div class="card card-body mt-4">
                    <figure>
                    <blockquote class="blockquote">
                      <h6>
                        <p class="ps-2">Rewarded Ad Configuration</p>
                      </h6>
                    </blockquote>
                    <figcaption class="blockquote-footer ps-1">
                      Manage Ad Status, Daily ad views etc.
                    </figcaption>
                    </figure>
            
                    <hr class="horizontal dark my-2">
                    <label for="projectName" class="form-label">Rewarded Ad Status</label>
                    <select name="applovin_reward" class="form-control">
                         <option value="true" <?php echo e(($ad->applovin_reward == 'true') ? 'selected':''); ?> >ON</option>
                         <option value="false"  <?php echo e(($ad->applovin_reward == 'false') ? 'selected':''); ?> >OFF</option>
                    </select>
            
                    <hr class="horizontal dark my-2">
                    <label for="projectName" class="form-label">Rewarded Ad Unit</label>
                    <input type="text" class="form-control" name="applovin_reward_id" placeholder="xxxxxxxx-xxxxxxxxx" value="<?php echo e($ad->applovin_reward_id); ?>">
                    
                    <br>
                    <figure>
                    <blockquote class="blockquote">
                      <h6>
                        <p class="ps-2">Rewarded Ad Daily Limit</p>
                      </h6>
                    </blockquote>
                    <figcaption class="blockquote-footer ps-3 text-danger">
                      How much this ads you want to show in a day. after complete limit this ad automatically disable and you need to ReEnable tomorrow again.
                    </figcaption>
                  </figure>
                  
                  
                   <div class="row">
                        <div class="col-sm-6 col-lg-6">
                            <label class="form-label mt-1">Daily Rewarded Ad Limit</label>
                            <div class="input-group">
                                <input class="form-control"  type="number" name="limit_applovin_reward" value="<?php echo e($adlimit->applovin_reward); ?>" placeholder="50" required>
                            </div>
                        </div>
                       
                        
                        <div class="col-sm-6 col-lg-6">
                            <label class="form-label mt-1">Today Ad Watched</label>
                            <div class="input-group">
                                <input class="form-control" type="text"  value="<?php echo e($adcount->applovin_reward); ?>" readonly>
                            </div>
                        </div>
                        
                    </div>
                    <br>
        
                </div>
            </div>
    
          </div>
            <button type="submit" class="btn bg-gradient-info mt-3">Save Changes</button>
            </form>
        
        </div>
          <!--Applovin End*------------->
        
        
        <!--FB Start------------->
          <div class="tab-pane fade " id="v-pills-fb" role="tabpanel" aria-labelledby="fb-section-tab">
            <figure>
                    <blockquote class="blockquote">
                      <h5>
                        <p class="ps-2"><b>Facebook Audience Ad Configuration</b></p>
                      </h5>
                    </blockquote>
                    <figcaption class="blockquote-footer ps-1">
                        Don't have account ? <a href="https://en-gb.facebook.com/audiencenetwork/monetize/optimization/monetization-manager" target="_blank" class="text-info">Signup here</a>
                    </figcaption>
             </figure>
        
            <form method="post" action="/ads/update-adsetting">
              <?php echo csrf_field(); ?>
              <input type="hidden" name="type" value="fb">
              <hr class="horizontal dark my-2">


            <div class="row">
            <div class="col-lg-6 col-12 mx-auto" >
                <div class="card card-body mt-4 ">
                    <figure>
                    <blockquote class="blockquote">
                      <h6>
                        <p class="ps-2">Interstital Ad Configuration</p>
                      </h6>
                    </blockquote>
                    <figcaption class="blockquote-footer ps-1">
                      Manage Ad Status, Daily ad views etc.
                    </figcaption>
                    </figure>
            
                    <hr class="horizontal dark my-2">
                    <label for="projectName" class="form-label">Interstital Ad Status</label>
                    <select name="fb_inter" class="form-control">
                         <option value="true" <?php echo e(($ad->fb_inter == 'true') ? 'selected':''); ?> >ON</option>
                         <option value="false"  <?php echo e(($ad->fb_inter == 'false') ? 'selected':''); ?> >OFF</option>
                    </select>
            
                    <hr class="horizontal dark my-2">
                    <label for="projectName" class="form-label">Interstital Ad Unit</label>
                    <input type="text" class="form-control" name="fb_inter_id" placeholder="xxxxxxxx-xxxxxxxxx" value="<?php echo e($ad->fb_inter_id); ?>">
                    
                    <br>
                    <figure>
                    <blockquote class="blockquote">
                      <h6>
                        <p class="ps-2">Interstital Ad Daily Limit</p>
                      </h6>
                    </blockquote>
                    <figcaption class="blockquote-footer ps-3 text-danger">
                      How much this ads you want to show in a day. after complete limit this ad automatically disable and you need to ReEnable tomorrow again.
                    </figcaption>
                  </figure>
                  
                  
                  
                   <div class="row">
                        <div class="col-sm-6 col-lg-6">
                            <label class="form-label mt-1">Daily Interstital Ad Limit</label>
                            <div class="input-group">
                                <input class="form-control"  type="number" name="limit_fb_inter" value="<?php echo e($adlimit->fb_inter); ?>" placeholder="50" required>
                            </div>
                        </div>
                        
                       
                        
                        <div class="col-sm-6 col-lg-6">
                            <label class="form-label mt-1">Today Ad Watched</label>
                            <div class="input-group">
                                <input class="form-control" type="text"  value="<?php echo e($adcount->fb_inter); ?>" readonly>
                            </div>
                        </div>
                        
                    </div>
                    <br>
                </div>
            </div>
            
            <div class="col-lg-6 col-12 mx-auto">
                <div class="card card-body mt-4">
                    <figure>
                    <blockquote class="blockquote">
                      <h6>
                        <p class="ps-2">Rewarded Ad Configuration</p>
                      </h6>
                    </blockquote>
                    <figcaption class="blockquote-footer ps-1">
                      Manage Ad Status, Daily ad views etc.
                    </figcaption>
                    </figure>
            
                    <hr class="horizontal dark my-2">
                    <label for="projectName" class="form-label">Rewarded Ad Status</label>
                    <select name="applovin_reward" class="form-control">
                         <option value="true" <?php echo e(($ad->fb_reward == 'true') ? 'selected':''); ?> >ON</option>
                         <option value="false"  <?php echo e(($ad->fb_reward == 'false') ? 'selected':''); ?> >OFF</option>
                    </select>
            
                    <hr class="horizontal dark my-2">
                    <label for="projectName" class="form-label">Rewarded Ad Unit</label>
                    <input type="text" class="form-control" name="fb_reward_id" placeholder="xxxxxxxx-xxxxxxxxx" value="<?php echo e($ad->fb_reward_id); ?>">
                    
                    <br>
                    <figure>
                    <blockquote class="blockquote">
                      <h6>
                        <p class="ps-2">Rewarded Ad Daily Limit</p>
                      </h6>
                    </blockquote>
                    <figcaption class="blockquote-footer ps-3 text-danger">
                      How much this ads you want to show in a day. after complete limit this ad automatically disable and you need to ReEnable tomorrow again.
                    </figcaption>
                  </figure>
                  
                  
                   <div class="row">
                        <div class="col-sm-6 col-lg-6">
                            <label class="form-label mt-1">Daily Rewarded Ad Limit</label>
                            <div class="input-group">
                                <input class="form-control"  type="number" name="limit_fb_reward" value="<?php echo e($adlimit->fb_reward); ?>" placeholder="50" required>
                            </div>
                        </div>
                       
                        
                        <div class="col-sm-6 col-lg-6">
                            <label class="form-label mt-1">Today Ad Watched</label>
                            <div class="input-group">
                                <input class="form-control" type="text"  value="<?php echo e($adcount->fb_reward); ?>" readonly>
                            </div>
                        </div>
                        
                    </div>
                    <br>
        
                </div>
            </div>

          </div>
            <button type="submit" class="btn bg-gradient-info mt-3">Save Changes</button>
            </form>
        
        </div>
        <!--Applovin End*------------->
        
        <!--Ironsource Start------------->
          <div class="tab-pane fade " id="v-pills-ironsource" role="tabpanel" aria-labelledby="ironsource-section-tab">
            <figure>
                    <blockquote class="blockquote">
                      <h5>
                        <p class="ps-2"><b>Ironsource Ads [Mediation : Facebook audience network]</b></p>
                      </h5>
                    </blockquote>
                    <figcaption class="blockquote-footer ps-1">
                        Don't have account ? <a href="https://en-gb.facebook.com/audiencenetwork/monetize/optimization/monetization-manager" target="_blank" class="text-info">Signup here</a>
                    </figcaption>
             </figure>
        
            <form method="post" action="/ads/update-adsetting">
              <?php echo csrf_field(); ?>
              <input type="hidden" name="type" value="ironsource">
              <hr class="horizontal dark my-2">
            
             <div class="col-sm-12">
                <label class="form-label">Ironsource App Key</label>
                <div class="input-group">
                  <input class="form-control" type="text" name="irons_key" value="<?php echo e($ad->irons_key); ?>" placeholder="xxx-xxxxx"required>
                </div>
              </div>

            <div class="row">
            <div class="col-lg-6 col-12 mx-auto" >
                <div class="card card-body mt-4 ">
                    <figure>
                    <blockquote class="blockquote">
                      <h6>
                        <p class="ps-2">Interstital Ad Configuration</p>
                      </h6>
                    </blockquote>
                    <figcaption class="blockquote-footer ps-1">
                      Manage Ad Status, Daily ad views etc.
                    </figcaption>
                    </figure>
            
                    <hr class="horizontal dark my-2">
                    <label for="projectName" class="form-label">Interstital Ad Status</label>
                    <select name="irons_inter" class="form-control">
                         <option value="true" <?php echo e(($ad->irons_inter == 'true') ? 'selected':''); ?> >ON</option>
                         <option value="false"  <?php echo e(($ad->irons_inter == 'false') ? 'selected':''); ?> >OFF</option>
                    </select>
            
                    <br>
                    <figure>
                    <blockquote class="blockquote">
                      <h6>
                        <p class="ps-2">Interstital Ad Daily Limit</p>
                      </h6>
                    </blockquote>
                    <figcaption class="blockquote-footer ps-3 text-danger">
                      How much this ads you want to show in a day. after complete limit this ad automatically disable and you need to ReEnable tomorrow again.
                    </figcaption>
                  </figure>
                  
                  
                  
                   <div class="row">
                        <div class="col-sm-6 col-lg-6">
                            <label class="form-label mt-1">Daily Interstital Ad Limit</label>
                            <div class="input-group">
                                <input class="form-control"  type="number" name="limit_irons_inter" value="<?php echo e($adlimit->irons_inter); ?>" placeholder="50" required>
                            </div>
                        </div>
                        
                       
                        
                        <div class="col-sm-6 col-lg-6">
                            <label class="form-label mt-1">Today Ad Watched</label>
                            <div class="input-group">
                                <input class="form-control" type="text"  value="<?php echo e($adcount->irons_inter); ?>" readonly>
                            </div>
                        </div>
                        
                    </div>
                    <br>
                </div>
            </div>
            
            <div class="col-lg-6 col-12 mx-auto">
                <div class="card card-body mt-4">
                    <figure>
                    <blockquote class="blockquote">
                      <h6>
                        <p class="ps-2">Rewarded Ad Configuration</p>
                      </h6>
                    </blockquote>
                    <figcaption class="blockquote-footer ps-1">
                      Manage Ad Status, Daily ad views etc.
                    </figcaption>
                    </figure>
            
                    <hr class="horizontal dark my-2">
                    <label for="projectName" class="form-label">Rewarded Ad Status</label>
                    <select name="irons_reward" class="form-control">
                         <option value="true" <?php echo e(($ad->irons_reward == 'true') ? 'selected':''); ?> >ON</option>
                         <option value="false"  <?php echo e(($ad->irons_reward == 'false') ? 'selected':''); ?> >OFF</option>
                    </select>

                    <br>
                    <figure>
                    <blockquote class="blockquote">
                      <h6>
                        <p class="ps-2">Rewarded Ad Daily Limit</p>
                      </h6>
                    </blockquote>
                    <figcaption class="blockquote-footer ps-3 text-danger">
                      How much this ads you want to show in a day. after complete limit this ad automatically disable and you need to ReEnable tomorrow again.
                    </figcaption>
                  </figure>
                  
                  
                   <div class="row">
                        <div class="col-sm-6 col-lg-6">
                            <label class="form-label mt-1">Daily Rewarded Ad Limit</label>
                            <div class="input-group">
                                <input class="form-control"  type="number" name="limit_irons_reward" value="<?php echo e($adlimit->irons_reward); ?>" placeholder="50" required>
                            </div>
                        </div>
                       
                        
                        <div class="col-sm-6 col-lg-6">
                            <label class="form-label mt-1">Today Ad Watched</label>
                            <div class="input-group">
                                <input class="form-control" type="text"  value="<?php echo e($adcount->irons_reward); ?>" readonly>
                            </div>
                        </div>
                        
                    </div>
                    <br>
        
                </div>
            </div>

          </div>
            <button type="submit" class="btn bg-gradient-info mt-3">Save Changes</button>
            </form>
        
        </div>
        <!--Ironsoruce End*------------->
        
        <!--Unity Start------------->
          <div class="tab-pane fade " id="v-pills-unity" role="tabpanel" aria-labelledby="unity-section-tab">
            <figure>
                    <blockquote class="blockquote">
                      <h5>
                        <p class="ps-2"><b>Unity Ads [Select Unity Plan Ads]</b></p>
                      </h5>
                    </blockquote>
                    <figcaption class="blockquote-footer ps-1">
                        Don't have account ? <a href="https://cloud.unity.com/home/login?redirectTo=Lw==" target="_blank" class="text-info">Signup here</a>
                    </figcaption>
             </figure>
        
            <form method="post" action="/ads/update-adsetting">
              <?php echo csrf_field(); ?>
              <input type="hidden" name="type" value="unity">
              <hr class="horizontal dark my-2">
            
             <div class="col-sm-12">
                <label class="form-label">Unity Game ID</label>
                <div class="input-group">
                  <input class="form-control" type="text" name="unity_game_id" value="<?php echo e($ad->unity_game_id); ?>" placeholder="xxx-xxxxx"required>
                </div>
              </div>

            <div class="row">
            <div class="col-lg-6 col-12 mx-auto" >
                <div class="card card-body mt-4 ">
                    <figure>
                    <blockquote class="blockquote">
                      <h6>
                        <p class="ps-2">Interstital Ad Configuration</p>
                      </h6>
                    </blockquote>
                    <figcaption class="blockquote-footer ps-1">
                      Manage Ad Status, Daily ad views etc.
                    </figcaption>
                    </figure>
            
                    <hr class="horizontal dark my-2">
                    <label for="projectName" class="form-label">Interstital Ad Status</label>
                    <select name="unity_inter" class="form-control">
                         <option value="true" <?php echo e(($ad->unity_inter == 'true') ? 'selected':''); ?> >ON</option>
                         <option value="false"  <?php echo e(($ad->unity_inter == 'false') ? 'selected':''); ?> >OFF</option>
                    </select>
            
                    <hr class="horizontal dark my-2">
                    <label for="projectName" class="form-label">Interstital Ad Unit</label>
                    <input type="text" class="form-control" name="unity_inter_id" placeholder="xxxxxxxx-xxxxxxxxx" value="<?php echo e($ad->unity_inter_id); ?>">
                    
                    <br>
                    <figure>
                    <blockquote class="blockquote">
                      <h6>
                        <p class="ps-2">Interstital Ad Daily Limit</p>
                      </h6>
                    </blockquote>
                    <figcaption class="blockquote-footer ps-3 text-danger">
                      How much this ads you want to show in a day. after complete limit this ad automatically disable and you need to ReEnable tomorrow again.
                    </figcaption>
                  </figure>
                  
                  
                  
                   <div class="row">
                        <div class="col-sm-6 col-lg-6">
                            <label class="form-label mt-1">Daily Interstital Ad Limit</label>
                            <div class="input-group">
                                <input class="form-control"  type="number" name="limit_unity_inter" value="<?php echo e($adlimit->unity_inter); ?>" placeholder="50" required>
                            </div>
                        </div>
                        
                       
                        
                        <div class="col-sm-6 col-lg-6">
                            <label class="form-label mt-1">Today Ad Watched</label>
                            <div class="input-group">
                                <input class="form-control" type="text"  value="<?php echo e($adcount->unity_inter); ?>" readonly>
                            </div>
                        </div>
                        
                    </div>
                    <br>
                </div>
            </div>
            
            <div class="col-lg-6 col-12 mx-auto">
                <div class="card card-body mt-4">
                    <figure>
                    <blockquote class="blockquote">
                      <h6>
                        <p class="ps-2">Rewarded Ad Configuration</p>
                      </h6>
                    </blockquote>
                    <figcaption class="blockquote-footer ps-1">
                      Manage Ad Status, Daily ad views etc.
                    </figcaption>
                    </figure>
            
                    <hr class="horizontal dark my-2">
                    <label for="projectName" class="form-label">Rewarded Ad Status</label>
                    <select name="unity_reward" class="form-control">
                         <option value="true" <?php echo e(($ad->unity_reward == 'true') ? 'selected':''); ?> >ON</option>
                         <option value="false"  <?php echo e(($ad->unity_reward == 'false') ? 'selected':''); ?> >OFF</option>
                    </select>
            
                    <hr class="horizontal dark my-2">
                    <label for="projectName" class="form-label">Rewarded Ad Unit</label>
                    <input type="text" class="form-control" name="unity_reward_id" placeholder="xxxxxxxx-xxxxxxxxx" value="<?php echo e($ad->unity_reward_id); ?>">
                    
                    <br>
                    <figure>
                    <blockquote class="blockquote">
                      <h6>
                        <p class="ps-2">Rewarded Ad Daily Limit</p>
                      </h6>
                    </blockquote>
                    <figcaption class="blockquote-footer ps-3 text-danger">
                      How much this ads you want to show in a day. after complete limit this ad automatically disable and you need to ReEnable tomorrow again.
                    </figcaption>
                  </figure>
                  
                  
                   <div class="row">
                        <div class="col-sm-6 col-lg-6">
                            <label class="form-label mt-1">Daily Rewarded Ad Limit</label>
                            <div class="input-group">
                                <input class="form-control"  type="number" name="limit_unity_reward" value="<?php echo e($adlimit->unity_reward); ?>" placeholder="50" required>
                            </div>
                        </div>
                       
                        
                        <div class="col-sm-6 col-lg-6">
                            <label class="form-label mt-1">Today Ad Watched</label>
                            <div class="input-group">
                                <input class="form-control" type="text"  value="<?php echo e($adcount->unity_reward); ?>" readonly>
                            </div>
                        </div>
                        
                    </div>
                    <br>
        
                </div>
            </div>

          </div>
            <button type="submit" class="btn bg-gradient-info mt-3">Save Changes</button>
            </form>
        
        </div>
        <!--Unity End*------------->

    
        <!--Wortise Start------------->
          <div class="tab-pane fade " id="v-pills-wortise" role="tabpanel" aria-labelledby="wortise-section-tab">
            <figure>
                    <blockquote class="blockquote">
                      <h5>
                        <p class="ps-2"><b>Wortise Ads </b></p>
                      </h5>
                    </blockquote>
                    <figcaption class="blockquote-footer ps-1">
                        Don't have account ? <a href="https://dashboard.wortise.com/auth/signup?referrer=1e83828c-b824-4188-be2b-d802ad15d364" target="_blank" class="text-info">Signup here</a>
                    </figcaption>
             </figure>
        
            <form method="post" action="/ads/update-adsetting">
              <?php echo csrf_field(); ?>
              <input type="hidden" name="type" value="wortise">
              <hr class="horizontal dark my-2">
            
             <div class="col-sm-12">
                <label class="form-label">Wortise App Key</label>
                <div class="input-group">
                  <input class="form-control" type="text" name="wortise_key" value="<?php echo e($ad->wortise_key); ?>" placeholder="xxx-xxxxx"required>
                </div>
              </div>

            <div class="row">
            <div class="col-lg-6 col-12 mx-auto" >
                <div class="card card-body mt-4 ">
                    <figure>
                    <blockquote class="blockquote">
                      <h6>
                        <p class="ps-2">Interstital Ad Configuration</p>
                      </h6>
                    </blockquote>
                    <figcaption class="blockquote-footer ps-1">
                      Manage Ad Status, Daily ad views etc.
                    </figcaption>
                    </figure>
            
                    <hr class="horizontal dark my-2">
                    <label for="projectName" class="form-label">Interstital Ad Status</label>
                    <select name="wortise_inter" class="form-control">
                         <option value="true" <?php echo e(($ad->wortise_inter == 'true') ? 'selected':''); ?> >ON</option>
                         <option value="false"  <?php echo e(($ad->wortise_inter == 'false') ? 'selected':''); ?> >OFF</option>
                    </select>
            
                    <hr class="horizontal dark my-2">
                    <label for="projectName" class="form-label">Interstital Ad Unit</label>
                    <input type="text" class="form-control" name="wortise_inter_id" placeholder="xxxxxxxx-xxxxxxxxx" value="<?php echo e($ad->wortise_inter_id); ?>">
                    
                    <br>
                    <figure>
                    <blockquote class="blockquote">
                      <h6>
                        <p class="ps-2">Interstital Ad Daily Limit</p>
                      </h6>
                    </blockquote>
                    <figcaption class="blockquote-footer ps-3 text-danger">
                      How much this ads you want to show in a day. after complete limit this ad automatically disable and you need to ReEnable tomorrow again.
                    </figcaption>
                  </figure>
                  
                  
                  
                   <div class="row">
                        <div class="col-sm-6 col-lg-6">
                            <label class="form-label mt-1">Daily Interstital Ad Limit</label>
                            <div class="input-group">
                                <input class="form-control"  type="number" name="limit_wortise_inter" value="<?php echo e($adlimit->wortise_inter); ?>" placeholder="50" required>
                            </div>
                        </div>
                        
                       
                        
                        <div class="col-sm-6 col-lg-6">
                            <label class="form-label mt-1">Today Ad Watched</label>
                            <div class="input-group">
                                <input class="form-control" type="text"  value="<?php echo e($adcount->wortise_inter); ?>" readonly>
                            </div>
                        </div>
                        
                    </div>
                    <br>
                </div>
            </div>
            
            <div class="col-lg-6 col-12 mx-auto">
                <div class="card card-body mt-4">
                    <figure>
                    <blockquote class="blockquote">
                      <h6>
                        <p class="ps-2">Rewarded Ad Configuration</p>
                      </h6>
                    </blockquote>
                    <figcaption class="blockquote-footer ps-1">
                      Manage Ad Status, Daily ad views etc.
                    </figcaption>
                    </figure>
            
                    <hr class="horizontal dark my-2">
                    <label for="projectName" class="form-label">Rewarded Ad Status</label>
                    <select name="wortise_reward" class="form-control">
                         <option value="true" <?php echo e(($ad->wortise_reward == 'true') ? 'selected':''); ?> >ON</option>
                         <option value="false"  <?php echo e(($ad->wortise_reward == 'false') ? 'selected':''); ?> >OFF</option>
                    </select>
            
                    <hr class="horizontal dark my-2">
                    <label for="projectName" class="form-label">Rewarded Ad Unit</label>
                    <input type="text" class="form-control" name="wortise_reward_id" placeholder="xxxxxxxx-xxxxxxxxx" value="<?php echo e($ad->wortise_reward_id); ?>">
                    
                    <br>
                    <figure>
                    <blockquote class="blockquote">
                      <h6>
                        <p class="ps-2">Rewarded Ad Daily Limit</p>
                      </h6>
                    </blockquote>
                    <figcaption class="blockquote-footer ps-3 text-danger">
                      How much this ads you want to show in a day. after complete limit this ad automatically disable and you need to ReEnable tomorrow again.
                    </figcaption>
                  </figure>
                  
                  
                   <div class="row">
                        <div class="col-sm-6 col-lg-6">
                            <label class="form-label mt-1">Daily Rewarded Ad Limit</label>
                            <div class="input-group">
                                <input class="form-control"  type="number" name="limit_wortise_reward" value="<?php echo e($adlimit->wortise_reward); ?>" placeholder="50" required>
                            </div>
                        </div>
                       
                        
                        <div class="col-sm-6 col-lg-6">
                            <label class="form-label mt-1">Today Ad Watched</label>
                            <div class="input-group">
                                <input class="form-control" type="text"  value="<?php echo e($adcount->wortise_reward); ?>" readonly>
                            </div>
                        </div>
                        
                    </div>
                    <br>
        
                </div>
            </div>

          </div>
            <button type="submit" class="btn bg-gradient-info mt-3">Save Changes</button>
            </form>
        
        </div>
        <!--Wortise End*------------->
        
        <!--Startio Start------------->
          <div class="tab-pane fade " id="v-pills-startio" role="tabpanel" aria-labelledby="startio-section-tab">
            <figure>
                    <blockquote class="blockquote">
                      <h5>
                        <p class="ps-2"><b>Startio Ads </b></p>
                      </h5>
                    </blockquote>
                    <figcaption class="blockquote-footer ps-1">
                        Don't have account ? <a href="https://www.start.io/" target="_blank" class="text-info">Signup here</a>
                    </figcaption>
             </figure>
        
            <form method="post" action="/ads/update-adsetting">
              <?php echo csrf_field(); ?>
              <input type="hidden" name="type" value="startio">
              <hr class="horizontal dark my-2">
            
             <div class="col-sm-12">
                <label class="form-label">Startio App ID</label>
                <div class="input-group">
                  <input class="form-control" type="text" name="startapp_appid" value="<?php echo e($ad->startapp_appid); ?>" placeholder="xxxxx"required>
                </div>
              </div>

            <div class="row">
            <div class="col-lg-6 col-12 mx-auto" >
                <div class="card card-body mt-4 ">
                    <figure>
                    <blockquote class="blockquote">
                      <h6>
                        <p class="ps-2">Startio Auto Ad Configuration</p>
                      </h6>
                    </blockquote>
                    <figcaption class="blockquote-footer ps-1">
                      Manage Ad Status, Daily ad views etc.
                    </figcaption>
                    </figure>
            
                     <hr class="horizontal dark my-2">
                    <label for="projectName" class="form-label">Startio Auto Ad Status</label>
                    <select name="start_auto_ad" class="form-control">
                         <option value="true" <?php echo e(($ad->start_auto_ad == 'true') ? 'selected':''); ?> >ON</option>
                         <option value="false"  <?php echo e(($ad->start_auto_ad == 'false') ? 'selected':''); ?> >OFF</option>
                    </select>
            
                    <br>
                    <figure>
                    <blockquote class="blockquote">
                      <h6>
                        <p class="ps-2">Startio Auto Ad Daily Limit</p>
                      </h6>
                    </blockquote>
                    <figcaption class="blockquote-footer ps-3 text-danger">
                      How much this ads you want to show in a day. after complete limit this ad automatically disable and you need to ReEnable tomorrow again.
                    </figcaption>
                  </figure>
                  

                   <div class="row">
                        <div class="col-sm-6 col-lg-6">
                            <label class="form-label mt-1">Daily Auto Ad Limit</label>
                            <div class="input-group">
                                <input class="form-control"  type="number" name="limit_startio" value="<?php echo e($adlimit->startio); ?>" placeholder="50" required>
                            </div>
                        </div>
                        
                       
                        
                        <div class="col-sm-6 col-lg-6">
                            <label class="form-label mt-1">Today Ad Watched</label>
                            <div class="input-group">
                                <input class="form-control" type="text"  value="<?php echo e($adcount->startio); ?>" readonly>
                            </div>
                        </div>
                        
                    </div>
                    <br>
                </div>
            </div>
             <div class="col-lg-6 col-12 mx-auto" >
            </div>

          </div>
            <button type="submit" class="btn bg-gradient-info mt-3">Save Changes</button>
            </form>
        
        </div>
        <!--Startio End*------------->
        
        <!--Custom Start------------->
          <div class="tab-pane fade " id="v-pills-custom" role="tabpanel" aria-labelledby="custom-section-tab">
            <figure>
                    <blockquote class="blockquote">
                      <h5>
                        <p class="ps-2"><b>Custom Ads </b></p>
                      </h5>
                    </blockquote>
                    <figcaption class="blockquote-footer ps-1">
                        You can show your own custom ads or promote ad in place of reward ad and interstital.
                    </figcaption>
             </figure>
        
            <form method="post" action="/ads/update-adsetting">
              <?php echo csrf_field(); ?>
              <input type="hidden" name="type" value="custom">
              <hr class="horizontal dark my-2">
            
              Your can add your ads in here
              <ul>
                  <li><a href="/ads/banner" class="text-info">Banner Ad</a></li>
                  <li><a href="/ads/native" class="text-info">Native Ad</a></li>
                  <li><a href="/ads/interstital" class="text-info">Interstital Ad</a></li>
               
              </ul>

            <div class="row">
            <div class="col-lg-6 col-12 mx-auto" >
                <div class="card card-body mt-4 ">
                    <figure>
                    <blockquote class="blockquote">
                      <h6>
                        <p class="ps-2">Interstital Configuration</p>
                      </h6>
                    </blockquote>
                    <figcaption class="blockquote-footer ps-1">
                      Manage Ad Status, Daily ad views etc.
                    </figcaption>
                    </figure>
            
                     <hr class="horizontal dark my-2">
                    <label for="projectName" class="form-label">Interstital Ad Status</label>
                    <select name="custom_ad" class="form-control">
                         <option value="true" <?php echo e(($ad->custom_ad == 'true') ? 'selected':''); ?> >ON</option>
                         <option value="false"  <?php echo e(($ad->custom_ad == 'false') ? 'selected':''); ?> >OFF</option>
                    </select>
                  
                    <br>
                </div>
            </div>
             <div class="col-lg-6 col-12 mx-auto" >
            </div>

          </div>
            <button type="submit" class="btn bg-gradient-info mt-3">Save Changes</button>
            </form>
        
        </div>
        <!--Custom End*------------->
        
      </div>

      <!-- Card Profile -->

      <!-- Card Basic Info -->
    </div>
  </div>
  </div>
  <?php $__env->stopSection(); ?>
  <?php echo $__env->make('modal', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

  <?php $__env->startPush('js'); ?>
  <script src="<?php echo e(URL::asset('assets/js/plugins/modal.js')); ?>"></script>
  <script src="<?php echo e(URL::asset('assets/js/plugins/datatables.js')); ?>"></script>
  <script src="../../assets/js/plugins/sweetalert.min.js"></script>
  <script src="../../assets/js/plugins/action.js"></script>
  <script src="<?php echo e(URL::asset('assets/js/plugins/choices.min.js')); ?>"></script>

  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>


  <script>
    $(document).ready(function() {
      $("#alert-success").delay(3000).slideUp(300);

      var url = document.location.toString();
      console.log('selected_t ' + url);

      if (url.match('#')) {
        var tag = url.split('#')[1];
        if (tag == '') {
          activaTab('#v-pills-banner_native');
        } else {
          activaTab('#v-pills-' + tag);
        }

      } else {
        activaTab('#v-pills-banner_native');
      }

    });

    function activaTab(tab) {
      $(tab).removeClass('tab-pane fade').addClass('tab-pane fade show active');
      disableAll(tab.replace('#v-pills-', ''));
    };

    $('#a-v-pills-banner_native').click(function() {
      disableAll('banner_native');
    });

    $('#a-v-pills-admob').click(function() {
      disableAll('admob');
    });

    $('#a-v-pills-applovin').click(function() {
      disableAll('applovin');
    });

    $('#a-v-pills-fb').click(function() {
      disableAll('fb');
    });

    $('#a-v-pills-ironsource').click(function() {
      disableAll('ironsource');
    });

    $('#a-v-pills-unity').click(function() {
      disableAll('unity');
    });

    $('#a-v-pills-wortise').click(function() {
      disableAll('wortise');
    });

    $('#a-v-pills-startio').click(function() {
      disableAll('startio');
    });

    $('#a-v-pills-custom').click(function() {
      disableAll('custom');
    });

    if (document.getElementById('choices-tag')) {
      var tag = document.getElementById('choices-tag');
      const example = new Choices(tag);
    }

    if (document.getElementById('choices-tag1')) {
      var tag = document.getElementById('choices-tag1');
      const example = new Choices(tag);
    }

    if (document.getElementById('choices-tag2')) {
      var tag = document.getElementById('choices-tag2');
      const example = new Choices(tag);
    }

    function disableAll(type) {

      $('#a-v-pills-banner_native').css({
        'background': 'white',
        'color': '#3d3f6f'
      });
      $('#a-v-pills-admob').css({
        'background': 'white',
        'color': '#3d3f6f'
      });
      $('#a-v-pills-applovin').css({
        'background': 'white',
        'color': '#3d3f6f'
      });

      $('#a-v-pills-fb').css({
        'background': 'white',
        'color': '#3d3f6f'
      });
      $('#a-v-pills-ironsource').css({
        'background': 'white',
        'color': '#3d3f6f'
      });
      $('#a-v-pills-unity').css({
        'background': 'white',
        'color': '#3d3f6f'
      });
      $('#a-v-pills-wortise').css({
        'background': 'white',
        'color': '#3d3f6f'
      });

      $('#a-v-pills-startio').css({
        'background': 'white',
        'color': '#3d3f6f'
      });


      $('#a-v-pills-custom').css({
        'background': 'white',
        'color': '#3d3f6f'
      });

      (type == 'banner_native') ? $('#a-v-pills-banner_native').css({
        'background': 'green',
        'color': 'white'
      }): '';
      (type == 'admob') ? $('#a-v-pills-admob').css({
        'background': 'green',
        'color': 'white'
      }): '';
      (type == 'applovin') ? $('#a-v-pills-applovin').css({
        'background': 'green',
        'color': 'white'
      }): '';
      (type == 'fb') ? $('#a-v-pills-fb').css({
        'background': 'green',
        'color': 'white'
      }): '';

      (type == 'ironsource') ? $('#a-v-pills-ironsource').css({
        'background': 'green',
        'color': 'white'
      }): '';


      (type == 'unity') ? $('#a-v-pills-unity').css({
        'background': 'green',
        'color': 'white'
      }): '';
      
      (type == 'wortise') ? $('#a-v-pills-wortise').css({
        'background': 'green',
        'color': 'white'
      }): '';

    (type == 'startio') ? $('#a-v-pills-startio').css({
        'background': 'green',
        'color': 'white'
      }): '';

      (type == 'custom') ? $('#a-v-pills-custom').css({
        'background': 'green',
        'color': 'white'
      }): '';



    }


    $(document).ready(function() {
      $("#alert-success").delay(3000).slideUp(300);
    });
  </script>
  <?php $__env->stopPush(); ?>

<?php echo $__env->make('user_type.auth', ['parentFolder' => 'admin-setting', 'childFolder' => 'app-setting'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/in2apps/public_html/lebara.in2apps.xyz/resources/views/setting/ads/ads.blade.php ENDPATH**/ ?>