<span class="message-date"><?php echo Tpl::calendar(Date::getDateTime($msg['timestamp'])); ?> </span> </div> <div class="speech-arrow"></div> </div> <?php } ?> <div class="clearfix"></div> <div class="message-reply content content-dark clearfix" style=""> <div class="clearfix"> <span class="pull-left"> <a accesskey="r" id="reply-toggle" href="#reply" data-replyto="<?php echo Tpl::out($model->targetuser['username']); ?> " data-toggle="modal" data-target="#compose"><i class="fa fa-reply-all"></i> Reply</a> to this message or go to <a accesskey="m" href="/profile/messages">inbox</a>. </span> </div> </div> </section> </div> <?php include Tpl::file('profile/compose.php'); ?> <?php
</span><br /> Last broadcast ended <strong class="offline-info-lastbroadcast"><?php echo isset($model->streamInfo['lastbroadcast']) ? Date::getElapsedTime(Date::getDateTime($model->streamInfo['lastbroadcast'])) : ''; ?> </strong><br /> Was playing <strong class="offline-info-game"><?php echo isset($model->streamInfo['game']) ? Tpl::out($model->streamInfo['game']) : ''; ?> </strong><br /> </div> <a href="/bigscreen" class="btn btn-lg btn-primary">Join the chat while you wait!</a> <div class="banner-popout-links btn-group pull-right" data-toggle="buttons" style="margin-top: 10px;"> <a target="_blank" class="btn btn-link popup" href="/embed/chat" data-options="<?php echo Tpl::out('{"height":"500","width":"420"}'); ?> "><i class="fa fa-comment"></i> Chat</a> <a target="_blank" class="btn btn-link popup" href="//www.twitch.tv/<?php echo Config::$a['twitch']['user']; ?> /popout" data-options="<?php echo Tpl::out('{"height":"420","width":"720"}'); ?> "><i class="fa fa-eye"></i> Stream</a> </div> </div> </div> </div> </section> </div> <?php
<tbody> <?php foreach ($model->inbox['read'] as $id => $thread) { ?> <tr data-id="<?php echo $id; ?> "> <!-- <td class="selector"><i class="fa fa-circle-o"></i></td> --> <td class="from"> <a href="/profile/messages/<?php echo $id; ?> "> <?php echo Tpl::out($thread['othernick']); ?> </a> <span class="count">(<?php echo $thread['count']; ?> )</span> </td> <td class="message"><span><?php echo Tpl::formatTextForDisplay($thread['message']); ?> </span></td> <td class="timestamp"><?php echo Tpl::calendar(Date::getDateTime($thread['timestamp'])); ?> </td>
<?php foreach ($model->activeBans as $ban) { ?> <tr> <td><a href="/admin/user/<?php echo $ban['targetuserid']; ?> /edit"><?php echo Tpl::out($ban['targetusername']); ?> </a></td> <td class="wrap">Banned by <?php echo Tpl::out($ban['banningusername']); ?> with reason: <?php echo Tpl::out($ban['reason']); ?> </td> <td><?php echo Tpl::moment(Date::getDateTime($ban['starttimestamp']), Date::STRING_FORMAT); ?> </td> <td> <?php if (!$ban['endtimestamp']) { echo "Permanent"; } else { echo Tpl::moment(Date::getDateTime($ban['endtimestamp']), Date::STRING_FORMAT); } ?> </td>
echo Tpl::out($model->error->getMessage()); ?> </div> <?php } ?> <div class="content content-dark clearfix"> <div class="ds-block"> <p>No private information will ever be shown on the website. This excludes the custom destiny.gg username you specify.</p> </div> <form id="loginForm" action="/login" method="post"> <input type="hidden" name="follow" value="<?php echo Tpl::out($model->follow); ?> " /> <div class="ds-block"> <div class="form-group"> <div class="controls"> <label class="checkbox"> <input type="checkbox" name="rememberme" <?php echo $model->rememberme ? 'checked' : ''; ?> > Remember my login </label> <span class="help-block">(this should only be used if you are on a private computer)</span> </div> </div>
<div id="youtube" class="stream"> <h3 class="title clearfix"> <span>Videos</span> <a href="http://www.youtube.com/user/<?php echo Config::$a['youtube']['user']; ?> /videos?view=0" class="youtube-title">youtube.com</a> </h3> <ul class="thumbnails"> <?php if (isset($model->playlist['items']) && !empty($model->playlist['items'])) { ?> <?php foreach ($model->playlist['items'] as $vid) { ?> <?php $title = Tpl::out($vid['snippet']['title']); ?> <li> <div class="thumbnail" data-placement="bottom" data-toggle="tooltip" title="<?php echo $title; ?> "> <a href="http://www.youtube.com/watch?v=<?php echo $vid['snippet']['resourceId']['videoId']; ?> "> <img alt="<?php echo $title; ?> " src="<?php
<h3><span class="fa fa-fw fa-chevron-right expander"></span> Authentication</h3> <div class="content content-dark clearfix"> <table class="grid"> <thead> <tr> <td>Provider</td> <td style="width:100%;">Detail</td> <td>Created</td> <td>Modified</td> </tr> </thead> <tbody> <?php foreach($model->authSessions as $auth): ?> <tr> <td><?= $auth['authProvider'] ?></td> <td><?= (!empty($auth['authDetail'])) ? Tpl::out($auth['authDetail']):Tpl::out($auth['authId']) ?></td> <td><?=Tpl::moment(Date::getDateTime($auth['createdDate']), Date::STRING_FORMAT_YEAR)?></td> <td><?=Tpl::moment(Date::getDateTime($auth['modifiedDate']), Date::STRING_FORMAT_YEAR)?></td> </tr> <?php endforeach; ?> </tbody> </table> </div> </section> <?php endif; ?> <br /> <?php include Tpl::file('seg/commonbottom.php') ?> <script src="<?=Config::cdnv()?>/web/js/admin.js"></script>
<br>Please start again or email <a href="mailto:<?php echo Config::$a['paypal']['support_email']; ?> "><?php echo Config::$a['paypal']['support_email']; ?> </a> for queries. </p> <?php if (!empty($model->error)) { ?> <div class="alert alert-danger"> <strong>Error!</strong> <?php echo Tpl::out($model->error->getMessage()); ?> </div> <?php } ?> </div> <div class="form-actions"> <img class="pull-right" title="Powered by Paypal" src="<?php echo Config::cdn(); ?> /web/img/Paypal.logosml.png" /> <a href="/subscribe" class="btn btn-link">Subscriptions</a> <a href="/profile" class="btn btn-link">Back to profile</a>
?> <div id="alerts-container"></div> <?php if (!empty($model->error)) { ?> <section class="container"> <div class="alert alert-danger" style="margin:0;"> <strong>Error!</strong> <?php echo Tpl::out($model->error); ?> </div> </section> <?php } ?> <?php if (!empty($model->success)) { ?> <section class="container"> <div class="alert alert-info" style="margin:0;"> <strong>Success!</strong> <?php echo Tpl::out($model->success); ?> </div> </section> <?php }
<?php namespace Destiny; use Destiny\Common\Utils\Tpl; use Destiny\Common\Session; ?> <h2 class="page-title" style="margin-left: 20px;"> <span><?php echo Tpl::out(Session::getCredentials()->getUsername()); ?> </span> <small><i class="fa fa-envelope-o" title="<?php echo Tpl::out(Session::getCredentials()->getEmail()); ?> "></i></small> </h2> <section class="container"> <ol class="breadcrumb" style="margin-bottom:0;"> <li><a href="/profile" title="Your account details">Account</a></li> <li><a href="/profile/messages" title="Your private messages">Messages</a></li> <li><a href="/profile/authentication" title="Your login methods">Authentication</a></li> </ol> </section><?php
<div class="content content-dark"> <div class="emoticons clearfix"> <?php foreach ($model->emoticons as $trigger) { ?> <div class="emote"> <div> <div class="chat-emote chat-emote-<?php echo $trigger; ?> " title="<?php echo $trigger; ?> "></div> <a class="emote-label"><?php echo Tpl::out($trigger); ?> </a> </div> </div> <?php } ?> </div> </div> </section> <?php include Tpl::file('seg/foot.php'); ?> <?php
<div class="content content-dark clearfix"> <?php if (!empty($model->broadcasts)) { ?> <div id="broadcast-context" class="ds-block"> <ul class="unstyled" style="padding: 0;"> <?php foreach ($model->broadcasts as $line) { ?> <li style="white-space: nowrap; overflow: hidden; text-overflow: ellipsis;"> <small class="subtle"><?php echo Tpl::moment(Date::getDateTime($line['timestamp']), Date::STRING_FORMAT, 'h:mm:ss'); ?> </small> <span><?php echo Tpl::out($line['data']); ?> </span> </li> <?php } ?> </ul> </div> <?php } ?> <div></div> </div> </section>
?> </dd> <?php if ($model->ban['endtimestamp']) { ?> <dt>Ending on</dt> <dd><?php echo Tpl::moment(Date::getDateTime($model->ban['endtimestamp']), Date::STRING_FORMAT); ?> </dd> <?php } ?> <dt>Ban reason</dt> <dd><?php echo Tpl::out($model->ban['reason']); ?> </dd> </dl> <?php } ?> <p> Any non-permanent bans are removed when subscribing as well as any mutes (there are no permanent mutes, maximum 6 days long).<br/> This is not meant to be a cash grab, rather a tool for those who would not like to wait for a manual unban or for the ban to naturally expire and are willing to pay for it.<br /> Feel free to evade the ban if you have da skillz.
function buildSubscribersTier(array $tier = null, $num) { ?> <?php if (!empty($tier)) { ?> <section class="container"> <h3>T<?php echo $num; ?> Subscribers</h3> <div class="content content-dark clearfix"> <table class="grid"> <thead> <tr> <td style="width: 20px;"></td> <td style="width: 200px;">User</td> <td style="width: 100px;">Recurring</td> <td style="width: 80px;">Created on</td> <td>Ends on</td> </tr> </thead> <tbody> <?php $i = 1; ?> <?php foreach ($tier as $sub) { ?> <tr> <td><?php echo $i; ?> </td> <td> <a href="/admin/user/<?php echo $sub['userId']; ?> /edit"><?php echo Tpl::out($sub['username']); ?> </a> <?php if (!empty($sub['gifter'])) { ?> (<a title="Gifted by" href="/admin/user/<?php echo $sub['gifter']; ?> /edit"><span class="fa fa-gift" title="Gift"></span> <?php echo Tpl::out($sub['gifterUsername']); ?> </a>) <?php } ?> </td> <td><?php echo $sub['recurring'] == 1 ? 'Yes' : 'No'; ?> </td> <td><?php echo Tpl::moment(Date::getDateTime($sub['createdDate']), Date::STRING_FORMAT); ?> </td> <td><?php echo Tpl::moment(Date::getDateTime($sub['endDate']), Date::STRING_FORMAT); ?> </td> </tr> <?php $i++; } ?> </tbody> </table> </div> </section> <?php } ?> <?php }
?> </td> <td><?php echo Tpl::out($payment['transactionType']); ?> </td> <td><?php echo Tpl::out($payment['paymentType']); ?> </td> <td><?php echo Tpl::out($payment['payerId']); ?> </td> <td><?php echo Tpl::out($payment['paymentStatus']); ?> </td> </tr> <?php } ?> </tbody> </table> </div> </section> <?php } ?> <br /><br />
<div class="media-body"> <div class="media-heading"> <a href="<?php echo $article['permalink']; ?> "><?php echo $article['title']; ?> </a> </div> <div> <?php foreach ($article['categories'] as $categories) { ?> <span><small>Posted in</small> <?php echo Tpl::out($categories['title']); ?> </span> <?php } ?> </div> <?php echo Tpl::moment(Date::getDateTime($article['date']), Date::FORMAT); ?> </div> </div> <?php } ?> </div>
<span class="pull-right"><?php echo Tpl::fromNow(Date::getDateTime($track['date_str'])); ?> </span> <?php } ?> <?php if ($trackIndex == 0 && $track['date_str'] == '') { ?> <span class="pull-right"><time>now playing</time></span> <?php } ?> <small class="album subtle"><?php echo Tpl::out($track['album']['#text']); ?> </small> </div> </div> </div> <?php } ?> <?php } else { ?> <p class="loading">Loading music ...</p> <?php } ?>
?> </a> (<?php echo Tpl::out($user['email']); ?> )</td> <td> <div> <?php if (empty($subType)) { ?> <span>None</span> <?php } ?> <span><?php echo Tpl::out($subType['tierLabel']); ?> </span> <?php echo $user['recurring'] == 1 ? '<small>Recurring</small>' : ''; ?> </div> </td> <td><?php echo Tpl::moment(Date::getDateTime($user['createdDate']), Date::STRING_FORMAT); ?> </td> </tr> <?php } ?>
<div class="form-group"> <label class="control-label" for="inputEndtimestamp">End</label> <div class="controls"> <input type="text" class="form-control" name="endtimestamp" id="inputEndtimestamp" value="<?php echo Tpl::out($model->ban['endtimestamp']); ?> " placeholder="Y-m-d H:i:s"> <span class="help-block">time specificed in UCT</span> </div> </div> </div> <div class="form-actions"> <button type="submit" class="btn btn-primary btn-lg">Save</button> <a href="/admin/user/<?php echo Tpl::out($model->user['userId']); ?> /edit" class="btn btn-link">Back</a> </div> </form> </div> </section> <br /> <?php include Tpl::file('seg/commonbottom.php'); ?> <script src="<?php
?> )</p> <?php if ($model->subscription['recurring'] == 1) { ?> <p>Subscription is automatically renewed</p> <?php } ?> <?php if (!empty($model->giftee)) { ?> <p><span class="fa fa-gift"></span> You have gifted this to <span class="label label-danger"><?php echo Tpl::out($model->giftee['username']); ?> </span></p> <?php } ?> </div> </div> <div class="form-actions"> <img class="pull-right" title="Powered by Paypal" src="<?php echo Config::cdn(); ?> /web/img/Paypal.logosml.png" />
foreach ($model->authSessions as $auth) { ?> <tr> <td><a href="/admin/user/<?php echo $model->user['userId']; ?> /auth/<?php echo $auth['authProvider']; ?> /delete" class="btn btn-danger btn-xs btn-post">Delete</a></td> <td><?php echo $auth['authProvider']; ?> </td> <td><?php echo !empty($auth['authDetail']) ? Tpl::out($auth['authDetail']) : Tpl::out($auth['authId']); ?> </td> <td><?php echo Tpl::moment(Date::getDateTime($auth['createdDate']), Date::STRING_FORMAT_YEAR); ?> </td> <td><?php echo Tpl::moment(Date::getDateTime($auth['modifiedDate']), Date::STRING_FORMAT_YEAR); ?> </td> </tr> <?php } ?> </tbody>
<?php } else { ?> <div class="subscription-tier ds-block"> <div class="subscription"> <h2><?php echo $model->subscriptionType['tierLabel']; ?> </h2> <?php if (!empty($model->gift)) { ?> <p><span class="fa fa-gift"></span> You are gifting this to <span class="label label-danger"><?php echo Tpl::out($model->gift); ?> </span></p> <?php } ?> <p><span class="sub-amount">$<?php echo $model->subscriptionType['amount']; ?> </span> (<?php echo $model->subscriptionType['billingFrequency']; ?> <?php echo strtolower($model->subscriptionType['billingPeriod']); ?>
<?php if (isset($model->streamInfo['stream']) && intval($model->streamInfo['stream']['channel']['delay']) > 1) { ?> - <?php echo intval($model->streamInfo['stream']['channel']['delay']) / 60; ?> m delay <?php } ?> <?php } ?> </div> <div class="pull-right channel-stat" style="text-align:right;"><?php echo isset($model->streamInfo['status']) ? Tpl::out($model->streamInfo['status']) : ''; ?> </div> </div> </div> <div id="stream-wrap"> <div class="stream-overlay to-botright"></div> <div class="stream-overlay to-botleft"></div> <div class="stream-overlay to-main"></div> <div class="stream-overlay fsbtn" title="Fullscreen"></div> <iframe class="stream-element" marginheight="0" marginwidth="0" frameborder="0" src="http://www.twitch.tv/<?php echo Config::$a['twitch']['user']; ?> /embed" scrolling="no" seamless></iframe> </div>
<td><?php echo Tpl::moment(Date::getDateTime($user['createdDate']), Date::STRING_FORMAT_YEAR); ?> </td> </tr> <?php } ?> </tbody> </table> <?php } else { ?> <div class="ds-block"> <p>No users with the IP "<?php echo Tpl::out($model->searchIp); ?> "</p> </div> <?php } ?> </div> </section> <?php } ?> <?php include Tpl::file('seg/commonbottom.php'); ?>
?> ">Pop-out chat</a> <a target="_blank" href="http://www.twitch.tv/destiny/popout" class="popup btn btn-xs btn-link" data-options="<?php echo Tpl::out('{"height":"420","width":"720"}'); ?> ">Pop-out stream</a> </div> <h1>Stream currently offline</h1> <div id="live-info"> <span class="offline-status"><?php echo Tpl::out($model->streamInfo['status']); ?> </span><br /> Last broadcast ended <strong class="offline-info-lastbroadcast"><?php echo isset($model->streamInfo['lastbroadcast']) ? Date::getElapsedTime(Date::getDateTime($model->streamInfo['lastbroadcast'])) : ''; ?> </strong><br /> Was playing <strong class="offline-info-game"><?php echo isset($model->streamInfo['game']) ? Tpl::out($model->streamInfo['game']) : ''; ?> </strong><br /> </div> <a href="/bigscreen" class="btn btn-lg btn-primary">Join the chat while you wait!</a> <small> Prefer the old layout? <a href="/screen">Try this</a></small> </div> </div> </div> </div> </section> </div><?php
>United Kingdom</option> <option value=""> </option> <?php foreach ($countries as $country) { ?> <option value="<?php echo $country['alpha-2']; ?> "<?php if ($model->user['country'] != 'US' && $model->user['country'] != 'GB' && $model->user['country'] == $country['alpha-2']) { ?> selected="selected" <?php } ?> ><?php echo Tpl::out($country['name']); ?> </option> <?php } ?> </select> </div> <div class="form-group"> <div class="controls checkbox"> <label> <input type="checkbox" name="rememberme" <?php echo $model->rememberme ? 'checked' : ''; ?> > Remember my login </label>
var url = '<?php echo $model->url; ?> '; _gaq.push(['_trackEvent', 'outbound', 'redirect', url]); _gaq.push(function(){ window.clearTimeout(to); window.location.replace(url); }); </script> </head> <body> <p>Please wait while we redirect you to <a rel="nofollow" href="<?php echo $model->url; ?> "><?php echo Tpl::out($model->url); ?> </a> …</p> <noscript> <p>No javascript present >:( … Click the link <a rel="nofollow" href="<?php echo $model->url; ?> "><?php echo Tpl::out($model->url); ?> </a></p> </noscript> </body> </html><?php
<label>ZIP/Postal Code:</label> <input class="form-control" type="text" name="zip" value="<?=Tpl::out($model->address['zip'])?>" placeholder="Zip/Postal Code" /> </div> <div class="form-group"> <label>Country:</label> <select class="form-control" name="country"> <option value="">Select your country</option> <?$countries = Country::getCountries();?> <option value=""> </option> <option value="US" <?if($model->address['country'] == 'US'):?> selected="selected" <?endif;?>>United States</option> <option value="GB" <?if($model->address['country'] == 'GB'):?> selected="selected" <?endif;?>>United Kingdom</option> <option value=""> </option> <?foreach($countries as $country):?> <option value="<?=$country['alpha-2']?>"<?if($model->address['country'] != 'US' && $model->address['country'] != 'GB' && $model->address['country'] == $country['alpha-2']):?>selected="selected" <?endif;?>><?=Tpl::out($country['name'])?></option> <?endforeach;?> </select> </div> </div> <div class="form-actions block-foot"> <button class="btn btn-lg btn-primary" type="submit">Save address</button> </div> </form> </div> </section> </div>
<td>Created on</td> </tr> </thead> <tbody> <?php foreach ($model->users['list'] as $user) { ?> <tr> <td><a href="/admin/user/<?php echo $user['userId']; ?> /edit"><?php echo Tpl::out($user['username']); ?> </a> (<?php echo Tpl::out($user['email']); ?> )</td> <td><?php echo Tpl::moment(Date::getDateTime($user['createdDate']), Date::STRING_FORMAT); ?> </td> </tr> <?php } ?> </tbody> </table> </div> </div>