本文整理汇总了PHP中Accounts::getNameById方法的典型用法代码示例。如果您正苦于以下问题:PHP Accounts::getNameById方法的具体用法?PHP Accounts::getNameById怎么用?PHP Accounts::getNameById使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Accounts
的用法示例。
在下文中一共展示了Accounts::getNameById方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: date
echo $player['list_id'];
?>
">
<td><a href="http://battlefield.play4free.com/en/profile/<?php
echo $player['profile_id'];
?>
" target="_blank"><?php
echo $player['soldier_names'];
?>
</a></td>
<td><?php
echo $player['profile_id'];
?>
</td>
<td><?php
echo $acc->getNameById($player['added_by']);
?>
</td>
<td><?php
echo date($settings['cp_date_format_full'], strtotime($player['add_date']));
?>
</td>
<td class="center"><a href="javascript:;" onclick="if(confirm('<?php
echo $lang['msg_sure'];
?>
')){$.executeCmd('deleteWhitelist', {'vars':{'id':'<?php
echo $player['list_id'];
?>
'},'onSuccess':function(){$('tr#pl_<?php
echo $player['list_id'];
?>
示例2: htmlentities
echo $ban['profile_id'];
?>
" target="_blank"><?php
echo $ban['soldier_names'];
?>
</a></td>
<td><?php
echo $ban['profile_id'];
?>
</td>
<td><?php
echo htmlentities($ban['ban_reason']);
?>
</td>
<td><?php
echo $acc->getNameById($ban['ban_by']);
?>
</td>
<td><?php
echo date($settings['cp_date_format_full'], strtotime($ban['ban_date']));
?>
</td>
<td><?php
echo $ban['ban_until'] == '0000-00-00 00:00:00' ? $lang['word_forever'] : date($settings['cp_date_format_full'], strtotime($ban['ban_until']));
?>
</td>
<td class="center"><a href="javascript:;" onclick="if(confirm('<?php
echo $lang['msg_sure'];
?>
')){$.executeCmd('deleteBlacklist', {'vars':{'id':'<?php
echo $ban['ban_id'];