public function checkLast()
 {
     $WsUsers = new WsUsers();
     $WsUsers->findAll();
     if ($WsUsers->getRowCount() == 1) {
         $WsUsers->setThis($WsUsers->getResult()[0]);
         $WsUsers->setUser_level(3);
         $WsUsers->update();
         $WsUsers->findAll();
     }
     return $WsUsers;
 }
                </label>

                <label class="label_small">
                    <span class="field">Author:</span>
                    <select name="post_author">
                        <option value="<?php 
echo $_SESSION['userlogin']['user_id'];
?>
"> <?php 
echo "{$_SESSION['userlogin']['user_name']} {$_SESSION['userlogin']['user_lastname']}";
?>
 </option>
                        <?php 
$ReadAut = new WsUsers();
$ReadAut->setUser_id($_SESSION['userlogin']['user_id']);
$ReadAut->setUser_level(2);
$ReadAut->Execute()->Query("user_id != :user_id AND user_level >= :user_level ORDER BY user_name ASC");
if ($ReadAut->Execute()->getRowCount() >= 1) {
    foreach ($ReadAut->Execute()->getResult() as $aut) {
        echo "<option ";
        if ($post['post_author'] == $aut->user_id) {
            echo "selected = \"selected\" ";
        }
        echo "value=\"{$aut->user_id}\"> {$aut->user_name} {$aut->user_lastname} </option>";
    }
}
?>
                    </select>
                </label>

            </div><!--/line-->