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


PHP Screen_Footer函数代码示例

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


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

示例1: hlink

$title = "<b class=\"sectitle\">" . $NATS->Lang->Item("alert.actions") . "</b> " . hlink("AlertAction", 12);
Start_Round($title, 600);
echo "<table border=0><form action=node.edit.php>";
echo "<input type=hidden name=nodeid value=" . $_REQUEST['nodeid'] . ">";
echo "<input type=hidden name=action value=save_actions>";
$q = "SELECT aaid,aname FROM fnalertaction";
$r = $NATS->DB->Query($q);
$c = 0;
while ($row = $NATS->DB->Fetch_Array($r)) {
    // has link?
    $lq = "SELECT nalid FROM fnnalink WHERE nodeid=\"" . ss($_REQUEST['nodeid']) . "\" AND aaid=" . ss($row['aaid']) . " LIMIT 0,1";
    $lr = $NATS->DB->Query($lq);
    if ($NATS->DB->Num_Rows($lr) > 0) {
        $s = " checked";
    } else {
        $s = "";
    }
    $NATS->DB->Free($lr);
    echo "<tr><td><input type=checkbox name=\"links[" . $c++ . "]\" value=\"" . $row['aaid'] . "\"" . $s . ">";
    echo "</td><td>" . $row['aaid'] . " - " . $row['aname'] . "</td></tr>";
}
$NATS->DB->Free($r);
echo "<tr><td colspan=\"2\"><input type=submit value=\"" . $NATS->Lang->Item("update.alert.actions") . "\"></td></tr>";
echo "</form></table>";
End_Round();
?>
<br><br>

<?php 
Screen_Footer();
开发者ID:purplepixie,项目名称:freenats,代码行数:30,代码来源:node.edit.php

示例2: np_big

                    if ($a == 0) {
                        echo "<tr>";
                    }
                    echo "<td>";
                    np_big($row['nodeid'], $row['nodename'], $row['nodedesc'], $row['nodeicon'], $monpopup);
                    echo "</td>";
                    $a++;
                    if ($a == 2) {
                        $a = 0;
                        echo "</tr>";
                    }
                }
                if ($a > 0) {
                    echo "</tr>";
                }
                echo "</table>";
                $NATS->DB->Free($r);
            } else {
                echo "<b>Sorry - unknown display style type</b><br><br>";
            }
        }
    }
}
mt_srand(microtime() * 1000000);
if (mt_rand(0, 100) == 50) {
    $track_if_enabled = true;
} else {
    $track_if_enabled = false;
}
Screen_Footer($track_if_enabled);
开发者ID:alvunera,项目名称:FreeNats-PlugIn,代码行数:30,代码来源:monitor.php

示例3: UL_Error

function UL_Error($task="")
{
Screen_Header("Insufficient Access");
echo "<br>Sorry but your user has insufficient access to perform task (".$task.").<br><br>";
echo "<a href=main.php>Please click here to continue.</a><br><br>";
Screen_Footer();
exit();
}
开发者ID:remap,项目名称:ndn-status,代码行数:8,代码来源:screen.inc.php

示例4: UL_Error

function UL_Error($task = "")
{
    global $NATS;
    Screen_Header($NATS->Lang->Item("access.error"));
    echo "<br>" . $NATS->Lang->Item("access.error.detail") . " (" . $task . ").<br><br>";
    echo "<a href=main.php>" . $NATS->Lang->Item("click.continue") . "</a><br><br>";
    Screen_Footer();
    exit;
}
开发者ID:purplepixie,项目名称:freenats,代码行数:9,代码来源:screen.inc.php


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