 <?php 
 //if(isset($_GET['vcv']) && $_GET['vcv'] != '' && $_GET['vcv'] == "totalxcoupons") {	
 //if(isset($_GET['vcv']) && $_GET['vcv'] != '' && $_GET['vcv'] == "totalstore") {
 // if(isset($_GET['vcv']) && $_GET['vcv'] != '' && $_GET['vcv'] == "adminstat") {
 if(isset($_GET['vcv']) && $_GET['vcv'] != '' && $_GET['vcv'] == "addnetw") {
 
 ?>  
 
 						              
            <!-- Aparent body content -->
            <div id="main-content">
				<div class="page-heading">
                    <div class="page-title">
                        <div class="row">
                            <div class="col-12 col-md-6 order-md-1 order-last">
                                <h3><?php echo $_GET['vcv']; ?></h3>
                                <p class="text-subtitle text-muted">Create New Blog Post or Page Content.</p>
                            </div>
                            <div class="col-12 col-md-6 order-md-2 order-first">
                                <nav aria-label="breadcrumb" class="breadcrumb-header float-start float-lg-end">
                                    <ol class="breadcrumb">
                                        <li class="breadcrumb-item"><a href="">Dashboard</a></li>
                                        <!--<li class="breadcrumb-item active" aria-current="page">Add New Page
                                        </li>-->
                                    </ol>
                                </nav>
                            </div>
                        </div>
                    </div>
								
					<section id="basic-horizontal-layouts">
                    <div class="row match-height">
                        <div class="col-md-12 col-12">
                        <div class="card">
                            <div class="card-header">
							    <div class="action-right d-flex flex-grow-1 align-items-center justify-content-around">
                            <h4 class="card-title">Total Pages</h4>
							<?php //echo $_SERVER['QUERY_STRING']; ?>
							              <!-- search bar  -->
                                     <!--   <div class="email-fixed-search flex-grow-1">
                                            <div class="sidebar-toggle d-block d-lg-none">
                                                <i class="bx bx-menu"></i>
                                            </div>

                                            <div class="col-md-5 float-end form-group position-relative  mb-0 has-icon-left">
                                                <input type="text" class="form-control" id="myInput" onkeyup="myFunction()" placeholder="Find Post By Titles">
                                                <div class="form-control-icon">
                                                    <svg class="bi" width="1.5em" height="1.5em" fill="currentColor">
                                                        <use
                                                            xlink:href="assets/vendors/bootstrap-icons/bootstrap-icons.svg#search" />
                                                    </svg>
                                                </div>
                                            </div>
                                        </div>-->
										
										</div> <!-- action-right d-flex flex-grow-1-->
                          </div>
                            <div class="card-content p-4">
							
							
							<?php echo $view->networkView(); ?>
							<?php //echo $view->addedPageView(); ?>
							<?php //echo $view->addedPageView(); ?>
							<?php //echo $view->couponsView(); ?>  
							<?php //echo $view->storeView(); ?>
							<?php
if($_SESSION['lgnids'] == 0){
	//echo $view->adminView($_SESSION['lgnids'], $_SESSION['logner_bot']);
}else{
echo "<ul><h2>Not Allowed</h2></ul>";
}
?>
							
							   
				
						</div>
                          </div>
                      </div>
                      </div>
                  </section>
					
                </div><!-- page-head -->
				     </div><!-- main-content -->
					 

<?php } // f ?>





<script>
function myFunction() {
  // Declare variables
  var input, filter, table, tr, td, i, txtValue;
  input = document.getElementById("myInput");
  filter = input.value.toUpperCase();
  table = document.getElementById("posterlistview");
  tr = table.getElementsByTagName("tr");

  // Loop through all table rows, and hide those who don't match the search query
  for (i = 0; i < tr.length; i++) {
    td = tr[i].getElementsByTagName("td")[0];
	
    if (td) {
      txtValue = td.textContent || td.innerText;
      if (txtValue.toUpperCase().indexOf(filter) > -1) {
        tr[i].style.display = "";
      } else {
        tr[i].style.display = "none";
		
      }
    }
  }
}
</script>