Location: PHPKode > projects > H-tracker > blocks/take-theme.php
<?
require_once("backend/functions.php");
dbconn();
loggedinonly();

$stylesheet = $_GET["stylesheet"];

if (is_valid_id($stylesheet))
	mysql_query("UPDATE users SET stylesheet = ".sqlesc($stylesheet)." WHERE id = {$CURUSER["id"]}") or sqlerr(__FILE__,__LINE__);

header("Location: index.php");
?>
Return current item: H-tracker