当前位置: 首页>>代码示例>>PHP>>正文


PHP subtplcheck函数代码示例

本文整理汇总了PHP中subtplcheck函数的典型用法代码示例。如果您正苦于以下问题:PHP subtplcheck函数的具体用法?PHP subtplcheck怎么用?PHP subtplcheck使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了subtplcheck函数的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: exit

<?php

if (!defined('IN_UCHOME')) {
    exit('Access Denied');
}
subtplcheck('admin/tpl/message|admin/tpl/header|admin/tpl/footer', '1242477428', 'admin/tpl/message');
$_TPL['menunames'] = array('index' => '管理首页', 'config' => '站点设置', 'privacy' => '隐私设置', 'usergroup' => '用户组', 'credit' => '积分规则', 'profilefield' => '用户栏目', 'profield' => '群组栏目', 'task' => '有奖活动', 'spam' => '防灌水设置', 'censor' => '词语屏蔽', 'ad' => '广告设置', 'sitefeed' => '全局动态', 'userapp' => 'MYOP应用', 'app' => 'UCenter应用', 'network' => '随便看看设置', 'cache' => '缓存更新', 'space' => '用户', 'name' => '实名认证', 'feed' => '事件', 'share' => '分享', 'blog' => '日志', 'album' => '相册', 'pic' => '图片', 'comment' => '评论', 'thread' => '话题', 'post' => '回帖', 'doing' => '记录', 'tag' => '标签', 'mtag' => '群组', 'report' => '举报管理', 'block' => '数据调用', 'template' => '模板编辑', 'backup' => '数据备份', 'stat' => '统计更新', 'cron' => '系统计划任务');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=<?php 
echo $_SC['charset'];
?>
" />
<meta http-equiv="x-ua-compatible" content="ie=7" />
<title><?php 
if ($_TPL['titles']) {
    if (is_array($_TPL['titles'])) {
        foreach ($_TPL['titles'] as $value) {
            if ($value) {
                echo $value;
                ?>
 - <?php 
            }
        }
    }
}
if ($space) {
    echo $_SN[$space['uid']];
    ?>
开发者ID:xiaoxiaoleo,项目名称:ngintek,代码行数:31,代码来源:admin_tpl_message.php

示例2: exit

<?php

if (!defined('IN_UCHOME')) {
    exit('Access Denied');
}
subtplcheck('template/default/cp_upload|template/default/header|template/default/footer', '1242482218', 'template/default/cp_upload');
if (empty($_SGLOBAL['inajax'])) {
    ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=<?php 
    echo $_SC['charset'];
    ?>
" />
<meta http-equiv="x-ua-compatible" content="ie=7" />
<title><?php 
    if ($_TPL['titles']) {
        if (is_array($_TPL['titles'])) {
            foreach ($_TPL['titles'] as $value) {
                if ($value) {
                    echo $value;
                    ?>
 - <?php 
                }
            }
        }
    }
    if ($space) {
        echo $_SN[$space['uid']];
        ?>
开发者ID:xiaoxiaoleo,项目名称:ngintek,代码行数:31,代码来源:template_default_cp_upload.php

示例3: exit

<?php

if (!defined('IN_UCHOME')) {
    exit('Access Denied');
}
subtplcheck('template/default/space_thread_list|template/default/header|template/default/space_menu|template/default/footer', '1242487294', 'template/default/space_thread_list');
$_TPL['titles'] = array('群组话题');
if (empty($_SGLOBAL['inajax'])) {
    ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=<?php 
    echo $_SC['charset'];
    ?>
" />
<meta http-equiv="x-ua-compatible" content="ie=7" />
<title><?php 
    if ($_TPL['titles']) {
        if (is_array($_TPL['titles'])) {
            foreach ($_TPL['titles'] as $value) {
                if ($value) {
                    echo $value;
                    ?>
 - <?php 
                }
            }
        }
    }
    if ($space) {
        echo $_SN[$space['uid']];
开发者ID:xiaoxiaoleo,项目名称:ngintek,代码行数:31,代码来源:template_default_space_thread_list.php

示例4: exit

<?php

if (!defined('IN_UCHOME')) {
    exit('Access Denied');
}
subtplcheck('template/default/network_space|template/default/header|template/default/network_header|template/default/space_list|template/default/footer', '1242478047', 'template/default/network_space');
$_TPL['titles'] = array('成员', '随便看看');
if (empty($_SGLOBAL['inajax'])) {
    ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=<?php 
    echo $_SC['charset'];
    ?>
" />
<meta http-equiv="x-ua-compatible" content="ie=7" />
<title><?php 
    if ($_TPL['titles']) {
        if (is_array($_TPL['titles'])) {
            foreach ($_TPL['titles'] as $value) {
                if ($value) {
                    echo $value;
                    ?>
 - <?php 
                }
            }
        }
    }
    if ($space) {
        echo $_SN[$space['uid']];
开发者ID:xiaoxiaoleo,项目名称:ngintek,代码行数:31,代码来源:template_default_network_space.php

示例5: exit

<?php

if (!defined('IN_UCHOME')) {
    exit('Access Denied');
}
subtplcheck('template/blue/index|template/blue/header|template/blue/footer', '1242572802', 'template/blue/index');
$_TPL['nosidebar'] = 1;
if (empty($_SGLOBAL['inajax'])) {
    ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=<?php 
    echo $_SC['charset'];
    ?>
" />
<meta http-equiv="x-ua-compatible" content="ie=7" />
<title><?php 
    if ($_TPL['titles']) {
        if (is_array($_TPL['titles'])) {
            foreach ($_TPL['titles'] as $value) {
                if ($value) {
                    echo $value;
                    ?>
 - <?php 
                }
            }
        }
    }
    if ($space) {
        echo $_SN[$space['uid']];
开发者ID:xiaoxiaoleo,项目名称:ngintek,代码行数:31,代码来源:template_blue_index.php

示例6: exit

<?php

if (!defined('IN_UCHOME')) {
    exit('Access Denied');
}
subtplcheck('admin/tpl/profilefield|admin/tpl/header|admin/tpl/side|admin/tpl/footer', '1242481522', 'admin/tpl/profilefield');
$_TPL['formtypes'] = array('text' => '文本输入', 'select' => '单选列表', 'multi' => '多选列表');
$_TPL['menunames'] = array('index' => '管理首页', 'config' => '站点设置', 'privacy' => '隐私设置', 'usergroup' => '用户组', 'credit' => '积分规则', 'profilefield' => '用户栏目', 'profield' => '群组栏目', 'task' => '有奖活动', 'spam' => '防灌水设置', 'censor' => '词语屏蔽', 'ad' => '广告设置', 'sitefeed' => '全局动态', 'userapp' => 'MYOP应用', 'app' => 'UCenter应用', 'network' => '随便看看设置', 'cache' => '缓存更新', 'space' => '用户', 'name' => '实名认证', 'feed' => '事件', 'share' => '分享', 'blog' => '日志', 'album' => '相册', 'pic' => '图片', 'comment' => '评论', 'thread' => '话题', 'post' => '回帖', 'doing' => '记录', 'tag' => '标签', 'mtag' => '群组', 'report' => '举报管理', 'block' => '数据调用', 'template' => '模板编辑', 'backup' => '数据备份', 'stat' => '统计更新', 'cron' => '系统计划任务');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=<?php 
echo $_SC['charset'];
?>
" />
<meta http-equiv="x-ua-compatible" content="ie=7" />
<title><?php 
if ($_TPL['titles']) {
    if (is_array($_TPL['titles'])) {
        foreach ($_TPL['titles'] as $value) {
            if ($value) {
                echo $value;
                ?>
 - <?php 
            }
        }
    }
}
if ($space) {
    echo $_SN[$space['uid']];
开发者ID:xiaoxiaoleo,项目名称:ngintek,代码行数:31,代码来源:admin_tpl_profilefield.php

示例7: exit

<?php

if (!defined('IN_UCHOME')) {
    exit('Access Denied');
}
subtplcheck('template/default/iframe', '1242482788', 'template/default/iframe');
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=<?php 
echo $_SC['charset'];
?>
" />
<title><?php 
if ($space) {
    echo $_SN[$space['uid']];
    ?>
 - <?php 
}
echo $_SCONFIG['sitename'];
?>
 - Powered by UCenter Home</title>
<script language="javascript" type="text/javascript" src="source/script_common.js"></script>
<script language="javascript" type="text/javascript" src="source/script_menu.js"></script>
<script language="javascript" type="text/javascript" src="source/script_ajax.js"></script>
<style type="text/css">
* { word-break: break-all; word-wrap: break-word; }
body, th, td, input, select, textarea, button { font: 12px/1.5em Verdana, "Lucida Grande",Arial, Helvetica,sans-serif; }
body, h1, h2, h3, h4, h5, h6, p, ul, dl, dt, dd, form, fieldset { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { font-size: 1em; }
开发者ID:xiaoxiaoleo,项目名称:ngintek,代码行数:31,代码来源:template_default_iframe.php

示例8: exit

<?php

if (!defined('IN_UCHOME')) {
    exit('Access Denied');
}
subtplcheck('template/default/network_index|template/default/header|template/default/network_header|template/default/footer', '1242477543', 'template/default/network_index');
$_TPL['titles'] = array();
if (empty($_SGLOBAL['inajax'])) {
    ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=<?php 
    echo $_SC['charset'];
    ?>
" />
<meta http-equiv="x-ua-compatible" content="ie=7" />
<title><?php 
    if ($_TPL['titles']) {
        if (is_array($_TPL['titles'])) {
            foreach ($_TPL['titles'] as $value) {
                if ($value) {
                    echo $value;
                    ?>
 - <?php 
                }
            }
        }
    }
    if ($space) {
        echo $_SN[$space['uid']];
开发者ID:xiaoxiaoleo,项目名称:ngintek,代码行数:31,代码来源:template_default_network_index.php

示例9: exit

<?php

if (!defined('IN_UCHOME')) {
    exit('Access Denied');
}
subtplcheck('template/default/space_album_pic|template/default/header|template/default/space_menu|template/default/space_comment_li|template/default/footer', '1242574613', 'template/default/space_album_pic');
$_TPL['titles'] = array(getstr($pic['title'], 60, 0, 0, 0, 0, -1), $album['albumname'], '相册');
if (empty($_SGLOBAL['inajax'])) {
    ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=<?php 
    echo $_SC['charset'];
    ?>
" />
<meta http-equiv="x-ua-compatible" content="ie=7" />
<title><?php 
    if ($_TPL['titles']) {
        if (is_array($_TPL['titles'])) {
            foreach ($_TPL['titles'] as $value) {
                if ($value) {
                    echo $value;
                    ?>
 - <?php 
                }
            }
        }
    }
    if ($space) {
        echo $_SN[$space['uid']];
开发者ID:xiaoxiaoleo,项目名称:ngintek,代码行数:31,代码来源:template_default_space_album_pic.php

示例10: exit

<?php

if (!defined('IN_UCHOME')) {
    exit('Access Denied');
}
subtplcheck('template/default/space_album_view|template/default/header|template/default/space_menu|template/default/footer', '1242533759', 'template/default/space_album_view');
$_TPL['titles'] = array($album['albumname'], '相册');
if (empty($_SGLOBAL['inajax'])) {
    ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=<?php 
    echo $_SC['charset'];
    ?>
" />
<meta http-equiv="x-ua-compatible" content="ie=7" />
<title><?php 
    if ($_TPL['titles']) {
        if (is_array($_TPL['titles'])) {
            foreach ($_TPL['titles'] as $value) {
                if ($value) {
                    echo $value;
                    ?>
 - <?php 
                }
            }
        }
    }
    if ($space) {
        echo $_SN[$space['uid']];
开发者ID:xiaoxiaoleo,项目名称:ngintek,代码行数:31,代码来源:template_default_space_album_view.php


注:本文中的subtplcheck函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。