X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;f=inc%2Feventz%2Fbookstyl.inc;h=6398b8723367e99b9a663afb0565e3bca927d817;hb=HEAD;hp=e9b3456c96eb9fbe428d964b9628e2236ea7fa44;hpb=b42b2bf946332ad8544d53f610be9cb05e80bf56;p=mirrors%2FKyberia-bloodline.git diff --git a/inc/eventz/bookstyl.inc b/inc/eventz/bookstyl.inc deleted file mode 100644 index e9b3456..0000000 --- a/inc/eventz/bookstyl.inc +++ /dev/null @@ -1,30 +0,0 @@ -query("select * from nodes where node_parent=19 and external_link='session://bookstyl' and node_creator='$user_id'"); - if($set->getNumRows() == 0) { - - $addnode['node_content'] = $bookstyl; - $addnode['node_name'] = "book styl"; - $addnode['node_creator'] = $user_id; - $addnode['node_parent'] = 19; - $addnode['template_id'] = 4; - $addnode['external_link'] = "session://bookstyl"; - $addnode_id = nodes::addNode($addnode); - $_SESSION['bookstyl']= $bookstyl; - - } - else { - - $q = "update nodes set node_content='$bookstyl' where node_parent=19 and external_link='session://bookstyl' and node_creator='$user_id'"; - $db->query($q); - - } - $_SESSION['bookstyl']= $bookstyl; - -} -?> \ No newline at end of file