www.gusucode.com > baigo SSO单点登录系统 v3.0源码程序 > baigosso_v3.0/core/tpl/console/default/pm_show.php

    <?php include($cfg['pathInclude'] . 'function.php'); ?>
<div class="modal-header">
    <?php echo $this->lang['consoleMod']['pm']['main']['title'] . ' &raquo; ' . $this->lang['mod']['page']['show']; ?>
    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
        <span aria-hidden="true">&times;</span>
    </button>
</div>
<div class="modal-body">

    <div class="form-group">
        <label><?php echo $this->lang['mod']['label']['pmFrom']; ?></label>
        <div class="form-text">
            <?php if ($this->tplData['pmRow']['pm_from'] == -1) {
                echo $this->lang['mod']['label']['pmSys'];
            } else if (isset($this->tplData['pmRow']['fromUser']['user_name'])) {
                echo $this->tplData['pmRow']['fromUser']['user_name'];
            } else {
                echo $this->lang['mod']['label']['unknow'];
            } ?>
        </div>
    </div>

    <div class="form-group">
        <label><?php echo $this->lang['mod']['label']['pmTo']; ?></label>
        <div class="form-text">
            <?php if (isset($this->tplData['pmRow']['toUser']['user_name'])) {
                echo $this->tplData['pmRow']['toUser']['user_name'];
            } else {
                echo $this->lang['mod']['label']['unknow'];
            } ?>
        </div>
    </div>

    <div class="form-group">
        <label><?php echo $this->lang['mod']['label']['title']; ?></label>
        <div class="form-text"><?php echo fn_htmlcode($this->tplData['pmRow']['pm_title'], 'decode', 'json'); ?></div>
    </div>

    <div class="form-group">
        <label><?php echo $this->lang['mod']['label']['content']; ?></label>
        <div><?php echo fn_htmlcode($this->tplData['pmRow']['pm_content'], 'decode', 'json'); ?></div>
    </div>

    <div class="form-group">
        <div class="form-text">
            <?php pm_status_process($this->tplData['pmRow']['pm_status'], $this->lang['mod']['status']); ?>
        </div>
    </div>

    <div class="form-group">
        <div class="form-text">
            <span class="oi oi-import"></span>
            <?php echo $this->lang['mod']['type'][$this->tplData['pmRow']['pm_type']]; ?>
        </div>
    </div>

</div>
<div class="modal-footer">
    <button type="button" class="btn btn-outline-secondary" data-dismiss="modal">
        <?php echo $this->lang['common']['btn']['close']; ?>
    </button>
</div>