get_image_link fix
[mirrors/Kyberia-bloodline.git] / wwwroot / inc / eventz / put.inc
1 <?php
2 function put() {
3
4
5 if (!empty($_POST['nodeshell_id'])) $nodeshell_id = mysql_real_escape_string($_POST['nodeshell_id']);
6 else $nodeshell_id = mysql_real_escape_string($_POST['nodeshell_id_select']);
7
8 if (is_array($_POST['node_chosen'])) $put_array = $_POST['node_chosen'];
9 else {
10 global $node;
11 $put_array[] = $node['node_id'];
12 }
13
14 foreach ($put_array as $chosen) {
15 nodes::putNode($chosen,$nodeshell_id);
16 }
17 }
18 ?>
This page took 1.046682 seconds and 4 git commands to generate.