[Mapbender-commits] r1506 - trunk/mapbender/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Jul 18 10:13:56 EDT 2007


Author: christoph
Date: 2007-07-18 10:13:56 -0400 (Wed, 18 Jul 2007)
New Revision: 1506

Removed:
   trunk/mapbender/http/javascripts/mod_insertMonitoredWmsIntoDb.php
Log:
replaced by mod_monitorCapabilities_main

Deleted: trunk/mapbender/http/javascripts/mod_insertMonitoredWmsIntoDb.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_insertMonitoredWmsIntoDb.php	2007-07-18 14:11:11 UTC (rev 1505)
+++ trunk/mapbender/http/javascripts/mod_insertMonitoredWmsIntoDb.php	2007-07-18 14:13:56 UTC (rev 1506)
@@ -1,75 +0,0 @@
-<?php
-#$Id: mod_insertMonitoredWmsIntoDb.php 75 2006-08-15 11:44:53Z heuser $
-#$Header: /cvsroot/mapbender/mapbender/http/javascripts/mod_insertWmcIntoDb.php,v 1.19 2006/03/09 14:02:42 uli_rothstein Exp $
-# Copyright (C) 2002 CCGIS 
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-
-include(dirname(__FILE__)."/../../conf/mapbender.conf");
-
-$gui_id = $_REQUEST["gui_id"];
-?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-
-<html>
-<head>
-<!-- 
-Licensing: See the GNU General Public License for more details.
-http://www.gnu.org/copyleft/gpl.html
-or:
-mapbender/licence/ 
--->
-<meta http-equiv="cache-control" content="no-cache">
-<meta http-equiv="pragma" content="no-cache">
-<meta http-equiv="expires" content="0">
-<?php
-echo '<meta http-equiv="Content-Type" content="text/html; charset='.CHARSET.'">';	
-echo "<script type='text/javascript'>";
-include(dirname(__FILE__)."/../javascripts/mod_displayObj_extended.js");
-echo "</script>";
-?>
-<title>MB2 - <?php  echo  $_REQUEST["gui_id"];?></title>
-<?php
-
-$con = db_connect($DBSERVER,$OWNER,$PW);
-db_select_db(DB,$con);
-?>
-</head>
-<body>
-</body>
-</html>
-<?php
-if ($_POST["data"]) {
-	$d = explode("____", $_POST["data"]);	
-	
-//	$sql = "INSERT INTO wms_monitor VALUES ('" . $d[0] . "', '" . $d[1] . "', '" . time() . "', '" . time() . "')";
-	$sql = "INSERT INTO wms_monitor VALUES ('" . $d[0] . "', '" . $d[1] . "', '', '')";
-	
-	
-	$res = db_query($sql);
-	if (db_error()) {
-			 echo "<script>alert(\"fehler\");</script>";
-	}
-	else {
-			 echo "<script>alert(\"OK\");</script>";
-	}
-}
-function char_encode($s){
-		if(CHARSET == 'UTF-8'){
-			$s = utf8_encode($s);	
-		}
-		return $s;
-}
-?>
\ No newline at end of file



More information about the Mapbender_commits mailing list