<div class="span9"> <h1>Список сериалов в подборке </h1> <table class="items table"> <thead> <tr> <th id="city-grid_c0"> <a class="sort-link" href="<?php echo Admin::makeSort("id"); ?> ">ID</a></th> <th id="city-grid_c1"><a class="sort-link" href="<?php echo Admin::makeSort("description"); ?> ">Колекция</a></th> <th id="city-grid_c1"><a class="sort-link" href="<?php echo Admin::makeSort("description"); ?> ">Сериал</a></th> <th class="button-column" id="city-grid_c2"> </th></tr> </thead> <tbody> <?php foreach ($model as $conentent) { ?> <?php $collectionName = CollectionsModel::model()->where("`id`=" . $conentent->collection_id)->findRow(); ?> <?php $serialName = MoviesModel::model()->where("`type`='2' and `id`=" . $conentent->serial_id)->findRow(); ?>
<div class="span9"> <h1>Управление подборками</h1> <table class="items table"> <thead> <tr> <th id="city-grid_c0"> <a class="sort-link" href="<?php echo Admin::makeSort("id"); ?> ">ID</a></th> <th id="city-grid_c1"><a class="sort-link" href="<?php echo Admin::makeSort("name"); ?> ">Название</a></th> <th id="city-grid_c1"><a class="sort-link" href="<?php echo Admin::makeSort("date"); ?> ">Описание</a></th> <th class="button-column" id="city-grid_c2"> </th></tr> </thead> <tbody> <?php foreach ($posts as $post) { ?> <tr class="<?php echo $post->id % 2 == 0 ? 'odd' : 'even'; ?> "> <td><?php echo $post->id; ?>
<div class="span9"> <h1>Управление абонементами</h1> <table class="items table"> <thead> <tr> <th id="city-grid_c0"> <a class="sort-link" href="<?php echo Admin::makeSort("id"); ?> ">ID</a></th> <th id="city-grid_c1"><a class="sort-link" href="<?php echo Admin::makeSort("months"); ?> ">Количество месяцев</a></th> <th id="city-grid_c1"><a class="sort-link" href="<?php echo Admin::makeSort("price"); ?> ">Стоимость</a></th> <th class="button-column" id="city-grid_c2"> </th></tr> </thead> <tbody> <?php foreach ($abonements as $abonement) { ?> <tr class="<?php echo $cat->id % 2 == 0 ? 'odd' : 'even'; ?> "> <td><?php echo $abonement->id; ?>
<div class="row"> <?php Admin::menu(array("/admin/sliders/create" => "Добавить слайд", "/admin/sliders" => "Управление слайдами")); ?> <div class="span9"> <h1>Управление слайдами</h1> <table class="items table"> <thead> <tr> <th id="city-grid_c0"> <a class="sort-link" href="<?php echo Admin::makeSort("id"); ?> ">ID</a></th> <th id="city-grid_c1"><a class="sort-link" href="<?php echo Admin::makeSort("ru_name"); ?> ">Название</a></th> <th class="button-column" id="city-grid_c2"> </th></tr> </thead> <tbody> <?php foreach ($sliders as $slider) { ?> <tr class="<?php echo $slider->id % 2 == 0 ? 'odd' : 'even'; ?> "> <td><?php echo $slider->id; ?>
?> ">ID</a></th> <th id="city-grid_c1" style="width:200px;"><a class="sort-link" href="<?php echo Admin::makeSort("name"); ?> ">Eng Name</a></th> <th id="city-grid_c1" style="width:200px;"><a class="sort-link" href="<?php echo Admin::makeSort("name"); ?> ">Rus Name</a></th> <th id="city-grid_c2"><a class="sort-link" href="<?php echo Admin::makeSort("season_id"); ?> ">Название/# сезона</a></th> <th id="city-grid_c3"><a class="sort-link" href="<?php echo Admin::makeSort("sort"); ?> "># серии</a></th> <th class="button-column" id="city-grid_c4"> </th> <th class="button-column" id="city-grid_c5"> </th> </tr> </thead> <tbody> <?php foreach ($series as $serie) { ?> <tr class="<?php echo $serie->id % 2 == 0 ? 'odd' : 'even'; ?> "> <td class="id_serial"><?php