Пример #1
0
    <title>Compose</title>
    <link href='https://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'>
    <link rel="stylesheet" href="styles.css">
</head>
<body>
    <div class="main_iframe">
        <form id="compose_form" class="compose_form" onsubmit=submitMessage() action="compose_messages.php" method="post">
            <div class="compose_recipient">
                <label>To</label>
            </div>
            <div class="div_fade"></div>
            <div class="compose_title">
                <div class="name_drawer">
                    <ul>
                    <?php 
$result = UserTable::get_users();
?>
                    <?php 
while ($row = $result->fetch_assoc()) {
    ?>
                        <?php 
    if ($row["username"] != $_SESSION["username"]) {
        ?>
                            <li class="contact_li" value="<?php 
        echo $row['username'];
        ?>
"><?php 
        echo $row["first_name"] . " " . $row["last_name"] . " (" . $row["username"] . ")";
        ?>
</li>
                        <?php