<div id="login">
    <div class="textbox">
        <div class="toolbar">
            <div class="title"><strong><?php echo $page_title; ?></strong></div>
        </div>
        <div class="textbox_content">
            <?php echo form_open('login/login_check', 'myform'); ?>
            <?php
            if (@$msg_txt!='') {
                echo '<div class="alert alert-error">';
                echo $msg_txt;
                echo '</div>';
            }
            ?>
            <table border="0" cellpadding="4" cellspacing="1" class="tblform" style="width:430px">
                <tbody>
                    <tr>
                        <td width="140" class="td1">ชื่อเข้าใช้งาน :</td>
                        <td>
                            <input type='text' name='username' class="input-xlarge" value="<?php echo @$row['username']; ?>"/>
                        </td>
                    </tr>
                    <tr>
                        <td class="td1">รหัสผ่าน :</td>
                        <td>
                            <input type='password' name='password' class="input-xlarge" value=""/>
                        </td>
                    </tr>
                    <tr>
                        <td></td>
                        <td align="right">
                            <div style="padding:5px 5px 0 0">
                                <input type="submit" class="btn btn-primary" value="เข้าสู่ระบบ"/>
                            </div>
                        </td>
                    </tr>
            </table>
            <?php echo form_close(); ?>
        </div>
    </div>
</div>