 <div class="nk-content nk-content-fluid">
<div class="container wide-lg">
    <div class="nk-content-body">
        <div class="buysell">
            <div class="buysell-nav text-center">
                <ul class="nk-nav nav nav-tabs nav-tabs-s2">
                    <li class="nav-item">
                        <a class="nav-link active" href="">Site Sittings</a>
                    </li>
                 
                </ul>
            </div><!-- .buysell-nav -->
            <div class="buysell-title text-center">
               <?php
                  if(isset($_SESSION['t_error_c'])){
                     echo "<p style='color:red'>".$_SESSION['t_error_c']."</p>";
                     unset($_SESSION['t_error_c'] );
                  }
                 foreach($user->getAll('site_setting') as $val):
                 endforeach
               ?>
            
            </div><!-- .buysell-title -->
            <div class="buysell-block">
                <form action="process/site.php" class="buysell-form"  method="post" enctype="multipart/form-data">
                    <div class="buysell-field form-group">
                        <div class="form-label-group">
                            <label class="form-label" for="buysell-amount">Site Name</label>
                        </div>
                        <div class="form-control-group">
                            <input type="text"  class="form-control" name="name" value='<?php echo $val->name?>' required>
                        </div>
                    </div><!-- .buysell-field -->
                    <div class="buysell-field form-group">
                        <div class="form-label-group">
                            <label class="form-label" for="buysell-amount">Site Email</label>
                        </div>
                        <div class="form-control-group">
                            <input type="text"  class="form-control" name="email" value='<?php echo $val->email?>' required>
                        </div>
                    </div><!-- .buysell-field -->
                    <div class="buysell-field form-group">
                        <div class="form-label-group">
                            <label class="form-label" for="buysell-amount">Phone</label>
                        </div>
                        <div class="form-control-group">
                            <input type="text"  class="form-control" name="phone"  value='<?php echo $val->phone?>' required>
                        </div>
                    </div><!-- .buysell-field -->
                    <div class="buysell-field form-group">
                        <div class="form-label-group">
                            <label class="form-label" for="buysell-amount">Address</label>
                        </div>
                        <div class="form-control-group">
                            <input type="text" class="form-control" name="address"  value='<?php echo $val->address?>' required>
                        </div>
                    </div><!-- .buysell-field -->
                    <div class="buysell-field form-group">
                        <div class="form-label-group">
                            <label class="form-label" for="buysell-amount">Site Logo</label>
                        </div>
                        <div class="form-control-group">
                            <input type="file"class="form-control" name="file" required>
                        </div>
                    </div><!-- .buysell-field -->
                    <div class="buysell-field form-action">
                        <button type="submit" class="btn btn-lg  btn-primary" id="btn">Save</button>
                    </div>
                </form><!-- .buysell-form -->
            </div><!-- .buysell-block -->
        </div><!-- .buysell -->
    </div>
</div>
</div>
    
              