<?php echo validation_errors(); ?> <ul class="nav nav-tabs nav-tabs-cms"> <li class="active"><a href="#tab1" data-toggle="tab">Global settings</a></li> <li><a href="#tab2" data-toggle="tab">Clan settings</a></li> <li><a href="#tab3" data-toggle="tab">User settings</a></li> <li><a href="#tab4" data-toggle="tab">Backup</a></li> <li class="pull-right">Last modified: <?php echo cms_date($data->date); ?> - <?php echo cms_time($data->date); ?> </li> </ul> <?php echo form_open_multipart(uri_string(), array('class' => 'cms-form')); ?> <div class="tab-content"> <!-- Global settings --> <div class="tab-pane active" id="tab1"> <label class="input-label">Site name</label> <input placeholder="Site name" class="input-xxlarge" type="text" name="sitename" value="<?php echo $data->sitename;
<?php foreach ($posts as $post) { ?> <tr> <td><?php echo $post->title; ?> <?php echo $post->state == 0 ? '<span class="label label-info">Draft</span>' : ''; ?> </td> <td><?php echo cms_date($post->date); ?> - <?php echo cms_time($post->date); ?> </td> <td><?php echo $this->ion_auth->user($post->author)->row()->username; ?> </td> <td><?php echo get_label_name($post->label); ?> </td> <td class="action"> <a class="action-icon" href="#">Action</a> <ul class="action-list" style="display: none;"> <li><a class="confirm-delete" href="<?php echo site_url('admin/posts/delete/' . $post->id);
echo $eventImage; ?> " alt="" style="width: 50px; height: 50px;" /> <p> <a href="<?php echo base_url(); ?> events/show/<?php echo $event->id; ?> " target="_blank"><?php echo $event->name; ?> </a> <br /> <span>Starting at <?php echo cms_time($event->startdate); ?> </span> </p> </li> <?php } ?> <?php } else { ?> <li>No events today.</li> <?php } ?> </ul>
<?php if (!empty($matches)) { ?> <?php foreach ($matches as $match) { ?> <tr> <td><?php echo $this->opponents_m->get($match->opponent)->name; ?> </td> <td><?php echo cms_date($match->date); ?> - <?php echo cms_time($match->date); ?> </td> <td><?php echo $this->games_m->get($match->game)->name; ?> </td> <td class="text-center"><?php echo $this->matches_m->get_match_outcome($match->id, 'html'); ?> </td> <td class="action"> <a class="action-icon" href="#">Action</a> <ul class="action-list" style="display: none;"> <li><a class="confirm-delete" href="<?php echo site_url('admin/matches/delete/' . $match->id);
<td><?php echo $event->name; ?> </td> <td><?php echo cms_date($event->startdate); ?> - <?php echo cms_time($event->startdate); ?> </td> <td><?php echo cms_date($event->enddate); ?> - <?php echo cms_time($event->enddate); ?> </td> <td class="action"> <a class="action-icon" href="#">Action</a> <ul class="action-list" style="display: none;"> <li><a class="confirm-delete" href="<?php echo site_url('admin/events/delete/' . $event->id); ?> "><i class="icon-trash icon-large"></i></a></li> <li><a href="<?php echo site_url('admin/events/edit/' . $event->id); ?> "><i class="icon-edit icon-large"></i></a></li> </ul> </td>