Beispiel #1
0
<?php

$template->assign('PageTopic', 'Open/Close Forms');
$container = array();
$container['url'] = 'form_open_processing.php';
$container['type'] = 'BETA';
$container['open'] = Globals::isBetaOpen();
$PHP_OUTPUT .= '<p>Beta Application Status: <span class="';
if (Globals::isBetaOpen()) {
    $PHP_OUTPUT .= 'green">OPEN';
} else {
    $PHP_OUTPUT .= 'red">CLOSED';
}
$PHP_OUTPUT .= '</span></p>';
$PHP_OUTPUT .= create_link($container, '<b>' . (Globals::isBetaOpen() ? 'Close' : 'Open') . ' Application Form</b>');
$container['type'] = 'FEATURE';
$container['open'] = Globals::isFeatureRequestOpen();
$PHP_OUTPUT .= '<p>Feature Request Status: <span class="';
if (Globals::isFeatureRequestOpen()) {
    $PHP_OUTPUT .= 'green">OPEN';
} else {
    $PHP_OUTPUT .= 'red">CLOSED';
}
$PHP_OUTPUT .= '</span></p>';
$PHP_OUTPUT .= create_link($container, '<b>' . (Globals::isFeatureRequestOpen() ? 'Close' : 'Open') . ' Application Form</b>');
Beispiel #2
0
<?php

if (!Globals::isBetaOpen()) {
    create_error('Beta Applications are currently not being accepted.');
}
$template->assign('PageTopic', 'Apply for Beta');
$PHP_OUTPUT .= 'The information on this page will be used by the beta team leader in choosing applicants.<br />';
$PHP_OUTPUT .= 'You must fill in all fields for your application to be considered.';
$PHP_OUTPUT .= create_echo_form(create_container('beta_apply_processing.php'));
$PHP_OUTPUT .= '<table>';
$PHP_OUTPUT .= '<tr>';
$PHP_OUTPUT .= '<td class="bold">Login:</td>';
$PHP_OUTPUT .= '<td>' . $account->getLogin() . '</td>';
$PHP_OUTPUT .= '</tr>';
$PHP_OUTPUT .= '<tr>';
$PHP_OUTPUT .= '<td class="bold">eMail:</td>';
$PHP_OUTPUT .= '<td>' . $account->getEmail() . '</td>';
$PHP_OUTPUT .= '</tr>';
$PHP_OUTPUT .= '<tr>';
$PHP_OUTPUT .= '<td class="bold">Account ID:</td>';
$PHP_OUTPUT .= '<td>' . $account->getAccountID() . '</td>';
$PHP_OUTPUT .= '</tr>';
$PHP_OUTPUT .= '<tr>';
$PHP_OUTPUT .= '<td class="bold">WebBoard Name:</td>';
$PHP_OUTPUT .= '<td><input type="text" name="webboard" id="InputFields" style="width:300px;"></td>';
$PHP_OUTPUT .= '</tr>';
$PHP_OUTPUT .= '<tr>';
$PHP_OUTPUT .= '<td class="bold">IRC Nick:</td>';
$PHP_OUTPUT .= '<td><input type="text" name="ircnick" id="InputFields" style="width:300px;"></td>';
$PHP_OUTPUT .= '</tr>';
$PHP_OUTPUT .= '<tr>';