Ejemplo n.º 1
0
						</td>
						<td class="kcol-mid kbanned-from">
							<span><?php 
        echo $userban->blocked ? JText::_('COM_KUNENA_BAN_BANLEVEL_JOOMLA') : JText::_('COM_KUNENA_BAN_BANLEVEL_KUNENA');
        ?>
</span>
						</td>
						<td class="kcol-mid kbanned-start">
							<span><?php 
        echo CKunenaTimeFormat::showDate($userban->created_time, 'datetime');
        ?>
</span>
						</td>
						<td class="kcol-mid kbanned-expire">
							<span><?php 
        echo $userban->isLifetime() ? JText::_('COM_KUNENA_BAN_LIFETIME') : CKunenaTimeFormat::showDate($userban->expiration, 'datetime');
        ?>
</span>
						</td>
					</tr>
					<?php 
    }
    ?>
					<?php 
} else {
    ?>
					<tr class="krow2">
						<td colspan="5" class="kcol-first">
							<?php 
    echo JText::_('COM_KUNENA_BAN_NO_BANNED_USERS');
    ?>
Ejemplo n.º 2
0
</td>
				</tr>
				<?php 
        }
        ?>
				<?php 
        if (is_array($userban->comments)) {
            foreach ($userban->comments as $comment) {
                ?>
				<tr class="krow2">
					<td colspan="2" class="kcol-first kcommentby-label"><b><?php 
                echo JText::sprintf('COM_KUNENA_BAN_COMMENT_BY', CKunenaLink::GetProfileLink(intval($comment->userid)));
                ?>
</b> :</td>
					<td colspan="1" class="kcol-mid kcommenttime-field"><?php 
                echo CKunenaTimeFormat::showDate($comment->time);
                ?>
</td>
					<td colspan="3" class="kcol-mid kcomment-field"><?php 
                echo KunenaParser::parseText($comment->comment);
                ?>
</td>
				</tr>
				<?php 
            }
        }
        ?>
				<?php 
    }
    ?>
				<?php