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"); } } ?>"); if($h_user["id"] == 0){ echo($h_user["name"]); } else if($fancy_urls){ echo("" . $h_user["name"] .""); } else{ echo("" . $h_user["name"] .""); } echo(" asked:
"); echo("\t". $h_question["question"] ."
\n"); if($is_h_question_user){ echo("\treply "); echo("\tdelete "); echo("fav ignore "); } // Time $time->settimestamp($h_question["q_date"]); echo(''); echo('' . $time->format('Y-m-d h:i:s') . ''); echo('
'); echo('' . $p_user["name"] . ' answered:'); echo("
" . $h_question["answer"] . "
"); $time->settimestamp($h_question["a_date"]); echo("" . $time->format("Y-m-d h:i:s") . "
"); echo("" . $q_user["name"] ."
"); else if($fancy_urls) echo("\n"); else echo("\n"); echo("\t". $current["question"] ."
\n"); echo(' '); if($current["answer"]){ echo("" . $current["answer"] . "
"); $time->settimestamp($current["a_date"]); echo("" . $time->format("Y-m-d h:i:s") . "
"); echo("