start(); ?>'; echo ''; ?> stop(); break; ?>
toggle_changes_panel();'; $html->stop(); break; case 'insert_comment_post': $vars = $_POST; $files = $_FILES; $user_id = $users->info['id']; $temp = explode("\t", str_replace(',', '.', $vars['position_text'])); $lat = floatval($temp[0]); $lon = floatval($temp[1]); $zoom = floatval($temp[2]); $sql->insert(array( 'title'=>$sql->ts($vars['title']), 'description'=>$sql->ts($vars['description']), 'datetime_stamp'=>$sql->i(time()), 'user_id'=>$sql->i($user_id), 'signature'=>$sql->s($vars['signature']), 'email'=>$sql->s($vars['email']), 'lat'=>$sql->f($lat), 'lon'=>$sql->f($lon), 'zoom'=>$sql->f($zoom), ), DB.'comment'); $comment_id = $sql->get_last_id(); foreach(explode("\r\n", trim($vars['markers_text'])) as $row) { $temp = explode("\t", str_replace(',', '.', $row)); $marker_id = intval($temp[0]); $lat = floatval($temp[1]); $lon = floatval($temp[2]); $sql->insert(array( 'comment_id'=>$sql->i($comment_id), 'marker_id'=>$sql->i($marker_id), 'lat'=>$sql->f($lat), 'lon'=>$sql->f($lon), ), DB.'comment_point'); } location('index.php?show_changes=1'); break; case 'changes': echo 'var e_changes = document.getElementById("changes"); var changes_html = \'\';'; foreach($sql->get('*', DB.'comment order by datetime_stamp desc') as $row) { ?> function showComment
Notice: Undefined variable: row in /gislab/www/projects/ifl2/index.php on line 203

Notice: Trying to access array offset on value of type null in /gislab/www/projects/ifl2/index.php on line 203
() { map.setCenter(new GLatLng(
Notice: Undefined variable: row in /gislab/www/projects/ifl2/index.php on line 205

Notice: Trying to access array offset on value of type null in /gislab/www/projects/ifl2/index.php on line 205
,
Notice: Undefined variable: row in /gislab/www/projects/ifl2/index.php on line 205

Notice: Trying to access array offset on value of type null in /gislab/www/projects/ifl2/index.php on line 205
),
Notice: Undefined variable: row in /gislab/www/projects/ifl2/index.php on line 205

Notice: Trying to access array offset on value of type null in /gislab/www/projects/ifl2/index.php on line 205
); map.clearOverlays(); get('*', DB.'comment_point', 'comment_id='.$sql->i($row['id'])) as $point) { ?> map.addOverlay(createMarker(new GLatLng(
Notice: Undefined variable: point in /gislab/www/projects/ifl2/index.php on line 208

Notice: Trying to access array offset on value of type null in /gislab/www/projects/ifl2/index.php on line 208
,
Notice: Undefined variable: point in /gislab/www/projects/ifl2/index.php on line 208

Notice: Trying to access array offset on value of type null in /gislab/www/projects/ifl2/index.php on line 208
),
Notice: Undefined variable: point in /gislab/www/projects/ifl2/index.php on line 208

Notice: Trying to access array offset on value of type null in /gislab/www/projects/ifl2/index.php on line 208
)); } '.str_replace('&', '&', addcslashes(str2text($row['title']), "\0..\37'`\"")).'<\/b><\/a>'.str_replace('&', '&', addcslashes(str2text($row['description']), "\0..\37'`\"")).'\';'; } echo 'e_changes.innerHTML = changes_html;'; break; case 'get_changes': $items = array(); foreach($sql->get('*', DB.'comment order by datetime_stamp desc') as $row) { $points = array(); foreach($sql->get('*', DB.'comment_point', 'comment_id='.$sql->i($row['id']).' order by marker_id') as $point) $points []= '['.escapejs($point['lat']).','.escapejs($point['lon']).']'; $items []= '['.$row['id'].',"'.escapejs($row['title']).'","'.escapejs($row['description']).'","'.escapejs(date('j.m.Y', $row['datetime_stamp'])).'","'.escapejs($row['signature']).'",'.escapejs($row['lat']).','.escapejs($row['lon']).','.escapejs($row['zoom']).',['.escapejs(join(',', $points)).']]'; } echo 'info = ['.join(",\r\n", $items).'];'; echo 'setupMarkers(info);setupRecentList(info);'; break; } ?>