query("SELECT * FROM users WHERE username = '" . $_GET["q"] . "';")->fetchArray(SQLITE3_ASSOC); if(!$p_user || !$p_user["id"]){ include("404.php"); die(); } if(isset($_SESSION["uid"])){ if($_SESSION["uid"] == $p_user["id"]){ $is_current_user = true; } } ?>
= $p_user["username"] ?>
"); if($fancy_urls){ echo("config"); echo(" - "); echo('share on twitter'); } else{ echo("config"); } } ?>" . $q_user["name"] ."
"); else if($fancy_urls) echo("\n"); else echo("\n"); echo("\t". $current["question"] ."
\n"); if($is_current_user){ echo("\treply "); echo("\tdelete "); echo("fav ignore "); } // Time $time->settimestamp($current["q_date"]); echo("" . $time->format("y-m-d h:i:s") . "
"); if($current["answer"]){ echo("" . $current["answer"] . "
"); $time->settimestamp($current["a_date"]); echo("" . $time->format("y-m-d h:i:s") . "
"); echo("