X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;f=inc%2Feventz%2Fset_header_template.inc;h=f3f5d0b95e2b31198a238caab2ade3dac683d0dd;hb=HEAD;hp=6743687d3e86ed0dcc4343981ccfca37b48777a2;hpb=b42b2bf946332ad8544d53f610be9cb05e80bf56;p=mirrors%2FKyberia-bloodline.git diff --git a/inc/eventz/set_header_template.inc b/inc/eventz/set_header_template.inc deleted file mode 100644 index 6743687..0000000 --- a/inc/eventz/set_header_template.inc +++ /dev/null @@ -1,24 +0,0 @@ -query("select * from nodes where external_link='template://$header_id'"); -if($set->getNumRows()!=1) { -global $error; -$error="dana noda bud neexistuje alebo neni nakonfigurovana ako template"; -return false; } -} - -$db->query("update users set header_id='$header_id' where user_id='$user_id'"); -$_SESSION['header_id']=$header_id; -} - -?> \ No newline at end of file