Пример #1
0
Файл: view.php Проект: qdsay/cms
?>
</td>
          </tr>
          <tr>
            <th width="100px;" scope="row">添加时间:</th>
            <td><?php 
echo date('Y-m-d H:i:s', $assist->addtime);
?>
</td>
          </tr>
        </table>
<?php 
if (!empty($seo)) {
    ?>
        <h3 class="cut-off"><span>SEO设置</span><?php 
    if (qd_func_auth('edit', $auth['assist'], 'edit')) {
        ?>
<a href="<?php 
        echo base_url('assist/seo/' . $assist->id);
        ?>
">编辑</a><?php 
    }
    ?>
</h3>
        <table class="col-list" width="100%" border="1" cellspacing="0" cellpadding="0">
          <tr>
            <th width="100px;" scope="row">SEO标题:</th>
            <td><?php 
    echo $seo['title'];
    ?>
</td>
Пример #2
0
        ?>
</td>
              <td><a href="<?php 
        echo base_url('assist/view/' . $row->id);
        ?>
">查看</a>
<?php 
        if (qd_func_auth('edit', $auth['assist'], 'edit')) {
            ?>
                | <a href="<?php 
            echo base_url('assist/edit/' . $row->id);
            ?>
">编辑</a>
<?php 
        }
        if (qd_func_auth('del', $auth['assist'], 'del')) {
            ?>
                | <a id="<?php 
            echo $row->id;
            ?>
" title="页面:<?php 
            echo $row->title;
            ?>
" class="delIt" href="javascript:void(0)">删除</a>
<?php 
        }
        ?>
              </td>
            </tr>
<?php 
    }
Пример #3
0
?>
</td>
          </tr>
          <tr>
            <th width="100px;" scope="row">添加时间:</th>
            <td><?php 
echo date('Y-m-d H:i:s', $article->addtime);
?>
</td>
          </tr>
        </table>
<?php 
if (!empty($seo)) {
    ?>
        <h3 class="cut-off"><span>SEO设置</span><?php 
    if (qd_func_auth('edit', $auth['article'], 'edit')) {
        ?>
<a href="<?php 
        echo base_url('article/seo/' . $article->id);
        ?>
">编辑</a><?php 
    }
    ?>
</h3>
        <table class="col-list" width="100%" border="1" cellspacing="0" cellpadding="0">
          <tr>
            <th width="100px;" scope="row">SEO标题:</th>
            <td><?php 
    echo $seo['title'];
    ?>
</td>
Пример #4
0
Файл: list.php Проект: qdsay/cms
        ?>
</td>
              <td><a href="<?php 
        echo base_url('article/view/' . $row->id);
        ?>
">查看</a>
<?php 
        if (qd_func_auth('edit', $auth['article'], 'edit')) {
            ?>
                | <a href="<?php 
            echo base_url('article/edit/' . $row->id);
            ?>
">编辑</a>
<?php 
        }
        if (qd_func_auth('del', $auth['article'], 'del')) {
            ?>
                | <a id="<?php 
            echo $row->id;
            ?>
" title="文章:<?php 
            echo $row->title;
            ?>
" class="delIt" href="javascript:void(0)">删除</a>
<?php 
        }
        ?>
              </td>
            </tr>
<?php 
    }