예제 #1
0
파일: comm.php 프로젝트: jjling2011/sams
function die_min_html($str)
{
    echo "<!DOCTYPE HTML><html><head>";
    echo '<link rel="stylesheet" type="text/css" href="lib/comm.css">';
    comm_head_css();
    echo "</head><body>";
    echo "<div align='center'><table class='main_frame_width'><tr><td align='center'>";
    echo $str;
    echo "</td></tr></table></div>";
    echo "</body></html>";
    die("");
}
예제 #2
0
파일: login.php 프로젝트: jjling2011/sams
    die("");
}
if (strcmp($exit, "exit") === 0 && check_login() === 0) {
    logout();
}
?>
<!DOCTYPE HTML>
<html>
    <head>
        <title>Login</title>
        <meta charset="UTF-8" />
        <meta name="viewport" content="width=300, initial-scale=1, maximum-scale=1.6, minimum-scale=0.5, user-scalable=yes" />
        <link rel="stylesheet" href="res/bootstrap.min.css">
        <link rel="stylesheet" href="res/comm.css">
        <?php 
comm_head_css();
?>
    </head>
    <body>
        <div align="center">
            <table width="300px">
                <tr>
                    <td>
                        <?php 
if (!check_login($pwd)) {
    ?>
                            <table >
                                <tr>
                                    <td  class="text-left" >
                                        <form action="login.php" method="post">
                                            <input type='hidden' name='exit' value='exit'>