Ejemplo n.º 1
0
<div class="RegardingEvent">
   <span class="InformSprite Skull"/>&nbsp;</span> <?php 
echo FormatString(T("{ReportingUser} reported this {EntityType} written by {ReportedUser}"), array('ReportingUser' => UserAnchor(GetValue('ReportingUser', $this->Data('ReportInfo')), 'ReportingUser'), 'EntityType' => GetValue('EntityType', $this->Data('ReportInfo')), 'ReportedUser' => UserAnchor(GetValue('ReportedUser', $this->Data('ReportInfo')), 'ReportedUser')));
?>
   <div class="RegardingTime"><?php 
$ReportedDate = GetValue('ReportedTime', $this->Data('ReportInfo'));
echo Gdn_Format::FuzzyTime($ReportedDate);
?>
</div>
   <?php 
$ReportedReason = GetValue('ReportedReason', $this->Data('ReportInfo'), NULL);
if (!is_null($ReportedReason)) {
    ?>
         <div class="ReportedReason">"<?php 
    echo $ReportedReason;
    ?>
"</div>
         <?php 
}
?>
</div>
<div class="RegardingActions">
   <?php 
$ForeignURL = GetValue('ForeignURL', $this->Data('RegardingData'), NULL);
if (!is_null($ForeignURL)) {
    ?>
<div class="ActionButton"><a href="<?php 
    echo $ForeignURL;
    ?>
" title="<?php 
    echo T("Visit reported content location");
Ejemplo n.º 2
0
        echo Gdn_Format::Text($this->Data('MostPlayedGame')->hoursPlayed . ' hrs / ' . $this->Data('MostPlayedGame')->hoursOnRecord) . ' hrs';
        ?>
</br>
         <?php 
        echo Gdn_Theme::Link('http://steamcommunity.com/profiles/' . $this->Data('SteamProfile')->steamID64 . '/stats/' . $this->Data('MostPlayedGame')->statsName, 'View stats', '<a href="%url" class="%class" target="_blank" >%text</a>');
        ?>
      </dd>
      <?php 
    }
    ?>
      <dt></dt>
      <dd><?php 
    echo Gdn_Theme::Link('http://steamcommunity.com/profiles/' . $this->Data('SteamProfile')->steamID64 . '/games?tab=all', 'View All Games', '<a href="%url" class="%class" target="_blank" >%text</a>');
    ?>
</dd>
      <dt></dt>
      <dd><?php 
    echo Gdn_Theme::Link('http://steamcommunity.com/profiles/' . $this->Data('SteamProfile')->steamID64 . '/wishlist', 'View Wishlist', '<a href="%url" class="%class" target="_blank" >%text</a>');
    ?>
</dd>
      <?php 
}
?>
      <dt class="SteamUpdated">Updated</dt>
      <dd class="SteamUpdated"><?php 
echo Gdn_Format::FuzzyTime($this->Data('SteamProfile')->DateRetrieved, TRUE);
?>
</dd>
   </dl>
</div>