Esempio n. 1
0
            </table>
            <br />
          </center>
          <!-- end of char_mail.php -->';
        } else {
            error($lang_char['no_permission']);
        }
    } else {
        error($lang_char['no_char_found']);
    }
}
//########################################################################################################################
// MAIN
//########################################################################################################################
// action variable reserved for future use
//$action = (isset($_GET['action'])) ? $_GET['action'] : NULL;
// load language
$lang_char = lang_char();
$lang_mail = lang_mail();
$output .= '
          <div class="top">
            <h1>' . $lang_char['character'] . '</h1>
          </div>';
// we getting links to realm database and character database left behind by header
// header does not need them anymore, might as well reuse the link
char_mail($sqlr, $sqlc);
//unset($action);
unset($action_permission);
unset($lang_char);
unset($lang_mail);
require_once 'footer.php';
Esempio n. 2
0
                </div>
                <br />';
            }
            $output .= '
              </div>
            </div>
            <br />
            <br />
          <!-- end of char_mail.php -->';
        } else {
            error(lang("char", "no_permission"));
        }
    } else {
        error(lang("char", "no_char_found"));
    }
}
//########################################################################################################################
// MAIN
//########################################################################################################################
$action = isset($_GET["action"]) ? $_GET["action"] : NULL;
$output .= '
      <div class="bubble">';
switch ($action) {
    case "readmail":
        read_mail();
        break;
    default:
        char_mail();
}
unset($action_permission);
require_once "footer.php";