コード例 #1
0
</a>
    </td>
</tr>
<?php 
    }
    ?>
<tr>
    <td class="row2">
        <a href="?module=user.profile"><?php 
    echo __('My profile');
    ?>
</a>
    </td>
</tr>
<?php 
    if (LOGGED_IN and !pm_disabled()) {
        ?>
<tr>
    <td class="row3">
        <a href="?module=pm&mode=get" title="<?php 
        $ar = pm_get_msgs();
        echo $ar[2];
        ?>
" ><?php 
        $ar = pm_get_msgs();
        if ($ar[1] != 0) {
            echo '<b>';
        }
        echo __('Messages ') . '(' . $ar[1] . '/' . $ar[0] . ')';
        if ($ar[1] != 0) {
            echo '<b>';
コード例 #2
0
        if (!$tpldata['topic']['closed']) {
            ?>
</a><?php 
        }
        ?>
<br />
        <?php 
        echo show_avatar($post['author_name']);
        ?>
<br/>
        <?php 
        echo rcms_get_user_status($post['author_name']);
        ?>
<br />
        <?php 
        if (!pm_disabled() and $post['author_name'] != 'guest' and $system->user['username'] != 'guest') {
            print '<a href="?module=pm&for=' . $post['author_name'] . '">' . __('Send PM') . '</a><br />';
        }
        ?>
    </td>
    <td class="row2" align="left" width="100%">
        <small><?php 
        echo rcms_format_time('H:i:s d\\&\\n\\b\\s\\p\\;F\\&\\n\\b\\s\\p\\;Y', $post['date']);
        ?>
 <?php 
        if (isset($post['author_ip']) and $system->checkForRight('FORUM')) {
            ?>
 <?php 
            echo $post['author_ip'];
            ?>
 <?php 
コード例 #3
0
echo __('E-mail');
?>
</th>
    <td class="row3"><?php 
echo !$user['hideemail'] ? '<a href="mailto:' . $user['email'] . '">' . $user['email'] . '</a>' : __('This field is hidden');
?>
</td>
</tr>
<?php 
foreach ($tpldata['fields'] as $field_id => $field_name) {
    if (!empty($user[$field_id])) {
        ?>
<tr>
    <th><?php 
        echo __(@$field_name);
        ?>
</th>
    <td class="row3"><?php 
        echo rcms_parse_text($user[$field_id], false, false, false, false);
        ?>
</td>
</tr>
<?php 
    }
}
if (!pm_disabled()) {
    print '<tr><th>&nbsp;</th><td class="row3"><a href="?module=pm&for=' . $user['username'] . '">' . __('Send private message') . '</a></td></tr>';
}
?>
</table>