<td style="text-align: center;"><a href="<?php echo Router::generateURL('cockpit/ranking/online/' . $v->id); ?> " class="label label-<?php echo $v->online == 1 ? SUCCESS : DANGER; ?> "><?php echo $v->online == 1 ? BackendTranslate::getLabel('yes') : BackendTranslate::getLabel('no'); ?> </a></td> <td><?php echo $v->team; ?> </td> <td><?php echo truncateStringWords($v->teamname, 75); ?> </td> <td><?php echo $v->played; ?> </td> <td><?php echo $v->point; ?> </td> <td><?php echo $v->win; ?> </td> <td class="text-right">
?> </tr> </thead> <tbody> <?php foreach ($Portfolio as $k => $v) { echo $v->logical_delete == 1 ? '<tr class="danger">' : '<tr>'; echo '<td>'; if (!empty($v->image_path)) { echo '<div class="btn-group">'; echo '<button class="btn dropdown-toggle btn-primary btn-xs" data-toggle="dropdown"><span class="glyphicon glyphicon-camera"></span></button>'; echo '<div class="dropdown-menu" style="margin:0;padding:0;border:0;">'; echo '<img src="' . Router::webroot($v->image_path) . '" class="img-thumbnail" style="width:200px;"/>'; echo '</div></div> | '; } echo truncateStringWords($v->name, 40); echo '</td>'; echo '<td>' . $v->category . '</td>'; echo '<td>' . dateConvert($v->creation) . '</td>'; echo '<td class="text-right">'; echo $this->FormLink->visible('cockpit/portfolio/online/id:' . $v->id, $v->online); echo $this->FormLink->consult('cockpit/portfolio/consult/id:' . $v->id) . ' '; echo $this->FormLink->update('cockpit/portfolio/edit/id:' . $v->id) . ' '; echo $this->FormLink->delete('cockpit/portfolio/delete/id:' . $v->id) . ' '; echo '</td></tr>'; } ?> </tbody> </table> </div> <div class="panel-footer text-right">
?> <?php echo $v->logical_delete == 1 ? '<tr class="danger">' : '<tr>'; ?> <td style="text-align: center;"><a href="<?php echo Router::generateURL('cockpit/coach/online/' . $v->id); ?> " class="label label-<?php echo $v->online == 1 ? SUCCESS : DANGER; ?> "><?php echo $v->online == 1 ? BackendTranslate::getLabel('yes') : BackendTranslate::getLabel('no'); ?> </a></td> <td><?php echo truncateStringWords($v->coach, 75); ?> </td> <td><?php echo $v->team; ?> </td> <td class="text-right"> <?php echo $this->FormLink->consult('cockpit/coach/consult/' . $v->id); ?> <?php echo $this->FormLink->update('cockpit/coach/edit/' . $v->id); ?> <?php echo $this->FormLink->delete('cockpit/coach/delete/' . $v->id);
<div class="item <?php echo $v->category; ?> " data-cat="<?php echo $v->category; ?> " style="margin-top: 30px; margin-bottom: 75px;"> <div class="reference-wrapper"> <img src="<?php echo Router::webroot($v->image_path); ?> " alt="" class="img-rounded"> <div class="reference-dtls img-rounded"> <?php if (strlen($v->content) > 75) { echo '<h4>' . truncateStringWords(stripcslashes($v->content), 75) . '... </h4>'; } else { echo '<h4>' . $v->content . '</h4>'; } ?> <div class="btn reference-client"><?php echo $v->reference; ?> </div> <a href="<?php echo Router::webroot($v->image_path); ?> " title="<?php echo $v->content; ?> " class="btn zoom-box"><i class="fa fa-camera"></i></a>
echo Router::webroot($v->image_path); ?> " alt=""> </div> </div> <div class="col-lg-8 text-justify"> <?php echo truncateStringWords(strip_tags(stripcslashes($v->content), '<a>'), 300); ?> </div> <?php } else { ?> <div class="col-lg-12 text-justify"> <?php echo truncateStringWords(strip_tags(stripcslashes($v->content), '<a>'), 300); ?> </div> <?php } ?> </div> <div class="panel-footer"> <a class="btn btn-danger pull-right" href="<?php echo Router::generateURL('blog/view/id:' . $v->id . '/slug:' . $v->slug); ?> "><?php echo FrontendTranslate::getLabel('more'); ?> </a> <span class="pull-left"><i class="fa fa-user"></i> <?php
?> <?php echo $v->logical_delete == 1 ? '<tr class="danger">' : '<tr>'; ?> <td style="text-align: center;"><a href="<?php echo Router::generateURL('cockpit/player/online/' . $v->id); ?> " class="label label-<?php echo $v->online == 1 ? SUCCESS : DANGER; ?> "><?php echo $v->online == 1 ? BackendTranslate::getLabel('yes') : BackendTranslate::getLabel('no'); ?> </a></td> <td><?php echo truncateStringWords($v->player, 75); ?> </td> <td><?php echo $v->team; ?> </td> <td class="text-right"> <?php echo $this->FormLink->consult('cockpit/player/consult/' . $v->id); ?> <?php echo $this->FormLink->update('cockpit/player/edit/' . $v->id); ?> <?php echo $this->FormLink->delete('cockpit/player/delete/' . $v->id);
?> <?php echo FrontendTranslate::getLabel('euro'); ?> </div> </div> </div> <div class="col-lg-6"> <div class="list-property-desc"> <h4><a href="#"><?php echo $entry->city; ?> </a></h4> <?php if (strlen($entry->content) > 75) { echo '<p>' . truncateStringWords(stripcslashes($entry->content), 75) . '...</p>'; } else { if (empty($entry->content)) { echo '<p>' . FrontendTranslate::getLabel('no_description') . '</p>'; } else { echo '<p>' . stripcslashes($entry->content) . '</p>'; } } ?> <div class="pro-btn-box"> <a href="<?php echo Router::generateURL('property/view/' . $entry->id); ?> " class="pro-ln-mor"><?php echo FrontendTranslate::getLabel('more'); ?>
</div> </div> <div class="col-lg-8 col-md-8 col-sm-8 col-xs-12"> <div class="list-property-desc"> <h4><a href="#"><?php echo $v->city; ?> / <?php echo $v->category; ?> </a></h4> <?php if (strlen($v->content) > 125) { ?> <p><?php echo truncateStringWords(stripcslashes($v->content), 125) . '...'; ?> </p> <?php } else { ?> <?php if (empty($v->content)) { ?> <p><?php echo FrontendTranslate::getLabel('no_description'); ?> </p> <?php } else { ?>