<script src="/3rdparty/ckeditoradv/ckeditor.js"></script>
                                <div class="form form-profile aif" style="width:auto;">

                                <?php
                                if (empty($featured_accounts)) : ?>

                                <p>There are currently no Featured Sliders that have been uploaded.</p>

                                <?php
                                else : ?>

                                <table class="admintable regl" id="projects_table" style="width:100%;">

                                    <tr><th>Group</th><th>Image</th><th>Content</th></tr>
					
                                    <?php
                                    foreach ($featured_accounts as $featured) : ?>
                                        <tr data-uid="<?= $featured['id'] ?>">
                                            <td style="text-align:center;">
												<?= $featured['ord'] ?><br />
												<?= $featured['slider_group'] ?>
												<br /><br />
												<a href='?featured_accounts&edit=<?= $featured['id'] ?>' class="lgbtn">Edit</a>
												<br /><br />
												<a href='?featured_accounts&delete=<?= $featured['id'] ?>' class='confirm lgbtn'>Delete</a>
											</td>
                                            <td style="width:100px; padding:0px;">
												<img src="/<?= $featured['image'] ?>" alt="Feature Account #<?= $featured['id'] ?>"
												style="max-width: 255px; height: auto; margin:0 0 5px 0; padding:0px;" />
												<br />
												<center>
													<span style="color:#ccc;">Created:<br />
													<?= date("l<\b\\r>m/d/y<\b\\r>h:i A", strtotime($featured['date_created'])) ?>
													</span>
												</center>
											</td>
                                            <td>
												<span style="font-weight:600;"><?= $featured['title'] ?></span><br />
												
												<?= substr($featured['content'],0,50) ?>...
											</td>
                                        </tr>
                                    <?php
                                    endforeach; ?>							
									
                                </table>

                                <?php
                                endif; ?>
									<div style="margin:10px;">
										<a href='?featured_accounts&add' class="btn btn-blue">+ Add New Slide &raquo;</a>
									</div>
                                </div>
                            