| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- <div class="container">
- <h2>you're in admin sheeeet</h2>
- <h1>Invite</h1>
- <form class="form-horizontal" action="<?php echo $GLOBALS['conf']['baseURL']; ?>?view=admin&action=invite" method="post">
- <div class="form-group">
- <label for="inviteMail" class="col-sm-2 control-label">Email</label>
- <div class="col-sm-6">
- <input type="email" class="form-control" id="inviteMail" name="inviteMail" placeholder="Email">
- </div>
- </div>
- <div class="form-group">
- <div class="col-sm-offset-2 col-sm-10">
- <button type="submit" class="btn btn-default">Invite</button>
- </div>
- </div>
- </form>
- <h1>Sources</h1>
- <?php
- foreach($this->_['sources'] as $source) {
- echo "<a href=\"" . $GLOBALS['conf']['baseURL'] . "?view=scrape&action=scrape&sourceID=" . $source['id'] . "\"><i class=\"fa fa-search\"></i></a> " . $source['name'] . " - " . $source['path'];
- echo "<br>";
- }
- ?>
- <hr>
- <h1>Series</h1>
- <table class="table table-striped">
- <thead>
- <tr>
- <td>#</td>
- <td>MovieDB-ID</td>
- <td>Name</td>
- <td></td>
- <td></td>
- </tr>
- </thead>
- <?php foreach($this->_['series'] as $series) {
- echo "<tr>";
- echo "<td>" . $series['id'] . "</td>";
- echo "<td>" . $series['moviedb-id'] . "</td>";
- echo "<td>" . $series['name'] . "</td>";
- echo "<td><a href=\"" . $GLOBALS['conf']['baseURL'] . "?view=admin&action=updateSeries&seriesID=" . $series['id'] . "\"><i class=\"fa fa-refresh\"></i></a></td>";
- echo "<td><a href=\"" . $GLOBALS['conf']['baseURL'] . "?view=admin&action=removeSeries&seriesID=" . $series['id'] . "\"><i class=\"fa fa-trash\"></i></a></td>";
- echo "</tr>";
- } ?>
- </table>
- <br />
- <h1>Movies</h1>
- <table class="table table-striped">
- <thead>
- <td>#</td>
- <td>MovieDB-ID</td>
- <td>Name</td>
- <td></td>
- <td></td>
- </thead>
- <?php foreach ($this->_['movies'] as $movie) {
- echo "<tr>";
- echo "<td>" . $movie['id'] . "</td>";
- echo "<td>" . $movie['moviedb-id'] . "</td>";
- echo "<td>" . $movie['name'] . "</td>";
- echo "<td><a href=\"" . $GLOBALS['conf']['baseURL'] . "?view=admin&action=updateMovie&movieID=" . $movie['id'] . "\"><i class=\"fa fa-refresh\"></i></a></td>";
- echo "<td><a href=\"" . $GLOBALS['conf']['baseURL'] . "?view=admin&action=removeMovie&movieID=" . $movie['id'] . "\"><i class=\"fa fa-trash\"></i></a></td>";
- echo "</tr>";
- } ?>
- </table>
- </div>
|