68 lines
1.5 KiB
PHP
Executable file
68 lines
1.5 KiB
PHP
Executable file
<?php
|
|
include 'apteryx_text.php';
|
|
|
|
function printHead($type) {
|
|
global $title_page;
|
|
?>
|
|
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<!--<meta charset="UTF-8">-->
|
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
|
|
<title><?php echo $title_page; ?></title>
|
|
<link href='https://www.indivia.net/res/css/global.css' rel='stylesheet' type='text/css' >
|
|
<link href='https://tools.indivia.net/chpw/res/css/default.css' rel='stylesheet' type='text/css' >
|
|
<link href='res/css/apteryx.css' rel='stylesheet' type='text/css' >
|
|
</head>
|
|
<body>
|
|
<?php
|
|
if ($type == 0)
|
|
echo '<div class="random"> </div>';
|
|
else
|
|
echo '<br><br>';
|
|
|
|
?>
|
|
<div id="apteryx-box" class='homebox'>
|
|
<?php
|
|
}
|
|
/* crea il form */
|
|
function printForm($form_goto_email, $lang) {
|
|
?>
|
|
<form method='post' action='#'>
|
|
<table class='formtable'>
|
|
<tr>
|
|
<td><?php echo "$form_goto_email" ?></td>
|
|
<td><input type='text' name='email' size='32' class='field'></td>
|
|
</tr>
|
|
</table>
|
|
<div style='text-align: center'>
|
|
<input type='hidden' name='ph' value='1'>
|
|
<input type='hidden' name='lang' value='<?php echo "$lang" ?>'>
|
|
<input type='submit' value='Vai' class='gobutton'>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
<?php
|
|
}
|
|
|
|
function printTitle($msg){ ?>
|
|
<h1>
|
|
<p style='text-align: center;'>
|
|
<?php echo $msg ?>
|
|
</p>
|
|
</h1><?php
|
|
}
|
|
|
|
function printBold($msg) {
|
|
?>
|
|
<p style='font-weight: bold; font-size: 120%; text-align: center;'><?php echo "$msg" ?></p><br>
|
|
<?php
|
|
}
|
|
|
|
function printMessage($msg) {
|
|
?>
|
|
<p style='text-align: center;'><?php echo "$msg" ?></p>
|
|
|
|
<?php
|
|
}
|
|
?>
|