<!-- Send Mail Start-->
                <div class="modal fade" id="<?php echo "".$cat_modal."_".$row['id'].""; ?>">
                    <div class="modal-dialog" role="document">
                        <div class="modal-content">
                            <div class="modal-header">
                                <h5 class="modal-title font-w600" style="color: #fe634e;">Send email<b style="font-size: 16px">.</b><b class="flash">.</b></h5>
                                <button type="button" class="close" data-dismiss="modal"><span>&times;</span></button>
                            </div>
                            <div class="modal-body">
                                <form method="POST" action="email/index.php" enctype="multipart/form-data">
                                    <div class="row"> 

                <input type="hidden" name="id" value="<?php echo $row['id']; ?>">
                <input type="hidden" name="handler" value="Admin">
                <input type="hidden" name="author" value="<?php echo $_SESSION['name'] ?>">
                <input type="hidden" name="token" value="<?php echo $_SESSION['token'] ?>">
                <input type="hidden" name="access" value="<?php echo $_SESSION['access'] ?>">
                
                <input type="hidden" name="email" value="<?php echo $row['email']; ?>">
                
                <input type="hidden" name="page" value="contact">
                                    
                                    <div class="form-group col-lg-12 col-md-12 col-sm-12 col-12">
                                        <label class="font-w500 fs-12 text-secondary">To: <?php echo ''.$row['name'].' - '.$row['email'].''; ?></label>
                                    </div>

                                    <div class="form-group col-lg-12 col-md-12 col-sm-12 col-12">
                                        <input type="text" class="form-control" name="subject" placeholder="Subject" required>
                                    </div> 

                                    <div class="form-group col-lg-12 col-md-12 col-sm-12 col-12">
                                        <textarea rows="5" class="form-control" name="message" placeholder="Message" required></textarea>
                                    </div> 

                                    <div class="form-group col-lg-12 col-md-12 col-sm-12 col-12">
                                        <button type="submit" class="btn btn-primary" name="submit"><i class="fa fa-paper-plane mr-2"></i> Send Email</button>
                                    </div>

                                </div>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
<!-- Send Mail End-->