<?php
/* This file is part of the FiForms Framework
Copyright (C) 2003-2008 by Daniel McFeeters,
Licensed under the GNU GPL.
See LICENSE.txt for details.
*/
function promptPage($prompt,$core,$top,$left,$width)
{
@header("cache-control: private");
@header("cache-control: no-cache");
@header("cache-control: no-store");
@header("pragma: no-cache");
@header("expires: 0");
echo <<<EOD
<html>
<head>
<title>
FiForms - $prompt
</title>
<style type="text/css">
body, html
{
background-color: #cccccc;
}
h1
{
font-family: sans-serif;
color: #3333aa;
font-size: 14pt;
}
.outerbox
{
position: absolute;
top: $top;
left: $left;
width: $width;
}
.loginbox
{
border-style: solid;
border-width: 1px;
border-color: #3333aa;
background-color: #eeeeee;
padding: 10px;
}
td
{
width: 50%;
}
input, textarea
{
background-color: #ffffff;
border-style: solid;
border-width: 1px;
border-color: #555555;
}
.password
{
width: 150pt;
}
.cont
{
width: 300pt;
}
</style>
</head>
<body>
<div class="outerbox">
<h1>$prompt</h1>
<div class="loginbox">
$core
</div>
</div>
</body>
</html>
EOD;
} // function promptPage
?>