psql db schema test
[mirrors/Kyberia-bloodline.git] / inc / eventz / bookstyl.inc
diff --git a/inc/eventz/bookstyl.inc b/inc/eventz/bookstyl.inc
deleted file mode 100644 (file)
index e9b3456..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-    function bookstyl() {
-       global $error,$node,$db;
-
-       $user_id = $_SESSION['user_id'];
-       $bookstyl = $_POST['bookstyl'];
-
-       $set=$db->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
This page took 0.098652 seconds and 4 git commands to generate.