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


PHP std_theme_styles函数代码示例

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


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

示例1: local_headers

function local_headers()
{
    global $cTheme;
    echo "<html><head><title>" . BOT_NAME . "@ (Remove from the list)</title>";
    std_theme_styles();
    echo "</head>\n";
    std_theme_body("../../");
    echo "<h2>" . BOT_NAME . "@ Admin (Remove from the list)</h2>\n";
}
开发者ID:Shadowss,项目名称:gnuworld-website,代码行数:9,代码来源:manual.php

示例2: local_headers

function local_headers()
{
    global $cTheme;
    echo "<html><head><title>" . BOT_NAME . "@ (Accept Application)</title>";
    std_theme_styles();
    echo "</head>\n";
    std_theme_body("../../");
    if (acl(XCHGMGR_ADMIN)) {
        echo "<h2>" . BOT_NAME . "@ Admin (Accept Application)</h2>\n";
    } else {
        echo "<h2>" . BOT_NAME . "@ Review (Accept Application)</h2>\n";
    }
}
开发者ID:Shadowss,项目名称:gnuworld-website,代码行数:13,代码来源:accept.php

示例3: std_theme_styles

    std_theme_styles(1);
    std_theme_body();
    echo "<h1>No match found</h1>";
    echo "</body></html>\n\n";
    exit;
}
$user = pg_fetch_object($user, 0);
$id = $user->id;
if ($admin == 0 && $edit && $id != $user_id && !acl(XAT_CAN_EDIT)) {
    std_theme_styles(1);
    std_theme_body();
    echo "<h1>Not allowed !!!</h1><br>\n";
    echo "</body></html>\n\n";
    die;
}
std_theme_styles(1);
std_theme_body();
if ($admin > 0 || $id == $user_id || acl(XAT_CAN_EDIT)) {
    $uid_info = "<font size=-1>(" . $id . ")</font>";
} else {
    $uid_info = "";
}
echo "\n\t<script language=\"JavaScript1.2\">\n\t<!--\n\t\tfunction del_this_user() {\n\t\t\tif (confirm('Are you sure you want to REMOVE (and all associated records) the user :\\n\\n\\t" . $user->user_name . "\\n\\nThere will be no way to cancel or revert this operation.\\n\\nClick \\'OK\\' to DELETE the username.\\n\\n')) {\n\t\t\t\tdocument.forms[2].submit();\n\t\t\t}\n\t\t}\n\t//-->\n\t</script>\n        <form method=POST action=save_user.php>\n        <TABLE WIDTH=100% cellspacing=0 cellpadding=2 BORDER=0 BGCOLOR=#" . $cTheme->table_bgcolor . ">\n        <tr>\n        <td colspan=2>\n        <center><h1>User page for " . $user->user_name . " {$uid_info}</h1>";
unset($delBtn);
$delBtn = 0;
$rrr = pg_safe_exec("SELECT levels.channel_id,levels.access FROM channels,levels WHERE levels.user_id='" . $user->id . "' AND (levels.access=500 OR levels.channel_id=1) AND levels.channel_id=channels.id AND channels.registered_ts>0");
if (pg_numrows($rrr) == 0) {
    $delBtn = 1;
} else {
    $is500 = 0;
    $isAdmin = 0;
开发者ID:Shadowss,项目名称:gnuworld-website,代码行数:31,代码来源:users.php

示例4: std_theme_styles

        std_theme_styles(1);
        std_theme_body("../");
        echo "<h1>Error</h1> The URL entered is not valid.  Please check it ";
        echo "and make sure it is correct</h1><a href=\"confirm_mgrchange.php\">Try again.</a>";
        echo "</body></html>";
        exit;
    }
    pg_safe_exec("UPDATE pending_mgrchange SET confirmed='1' WHERE crc='{$ID}'");
    $toto = pg_safe_exec("SELECT channel_id FROM pending_mgrchange WHERE crc='{$ID}'");
    $tutu = pg_fetch_object($toto, 0);
    //	log_channel($tutu->channel_id,12,"Manager Change Request");
    echo "<html><head><title>Successful Confirmation</title>";
    std_theme_styles();
    echo "</head>";
    std_theme_body("../");
    echo "<h1>Successfull Confirmation!</h1>";
    echo "You have confirmed your 'Manager Change Request' for channel<br>\n";
    echo "<center><table><tr><td><h1>" . $nmail . "</h1></td></tr></table></center>";
    echo "Your request will be reviewed by CService Admins, Please allow 3-5 days for your request to be processed.<br><br>";
    echo "You may now proceed to the <a href=\"../index.php\" target=_top>Main page</a>.<br>";
    echo "</body></html>";
    exit;
} else {
    echo "<html><head><title>Manager Change Confirmation</title>";
    std_theme_styles();
    echo "</head>";
    std_theme_body("../");
    echo "<form method=POST><h1>Manager Change Confirmation</h1>Please enter the ID you recieved in the email below.";
    echo "<input type=text name=ID size=50 maxlength=128><br><input type=submit value=\"Comfirm Manager Change\">";
    echo "</form></body></html>";
}
开发者ID:Shadowss,项目名称:gnuworld-website,代码行数:31,代码来源:confirm_mgrchange.php


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