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