svn commit: r285 - trunk/mapbender/http/javascripts/mod_state.php

vera_schulze at osgeo.org vera_schulze at osgeo.org
Mon May 15 07:38:50 EDT 2006


Author: vera_schulze
Date: 2006-05-15 11:38:50+0000
New Revision: 285

Modified:
   trunk/mapbender/http/javascripts/mod_state.php   (contents, props changed)

Log:
Code cleaning, 1 db_prep_query

Modified: trunk/mapbender/http/javascripts/mod_state.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/javascripts/mod_state.php?view=diff&rev=285&p1=trunk/mapbender/http/javascripts/mod_state.php&p2=trunk/mapbender/http/javascripts/mod_state.php&r1=284&r2=285
==============================================================================
--- trunk/mapbender/http/javascripts/mod_state.php	(original)
+++ trunk/mapbender/http/javascripts/mod_state.php	2006-05-15 11:38:50+0000
@@ -1,6 +1,6 @@
 <?php
-#$Id: mod_state.php,v 1.9 2006/03/09 08:43:56 uli_rothstein Exp $
-#$Header: /cvsroot/mapbender/mapbender/http/javascripts/mod_state.php,v 1.9 2006/03/09 08:43:56 uli_rothstein Exp $
+# $Id$
+# http://www.mapbender.org/index.php/mod_state.php
 # Copyright (C) 2002 CCGIS 
 #
 # This program is free software; you can redistribute it and/or modify
@@ -16,7 +16,7 @@
 # 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.
-//
+
 //require("mb_validateSession.php");
 $gui_id = $_SESSION["mb_user_gui"];
 require_once("../../conf/mapbender.conf");
@@ -29,30 +29,30 @@
 ?>
 <title>image map generator</title>
 <STYLE TYPE="text/css">
-		<!--
-   body{	
-				background-color:#ffffff;
-				text-decoration: none;
-				font-family: Verdana, Arial, Helvetica, sans-serif;
-				font-weight: bold;
-				font-size:9pt;	
-				color: #003366;
-				margin-left: 0px;
-				margin-top: 0px;                                                                
-}
+<!--
+	body{	
+		background-color:#ffffff;
+		text-decoration: none;
+		font-family: Verdana, Arial, Helvetica, sans-serif;
+		font-weight: bold;
+		font-size:9pt;	
+		color: #003366;
+		margin-left: 0px;
+		margin-top: 0px;                                                                
+	}
    
-   table{
-   	font-family:Verdana, Geneva, Arial, Helvetica, sans-serif;
-   	color: #0066cc;
-      font-size:10pt
-   }   
+	table{
+		font-family:Verdana, Geneva, Arial, Helvetica, sans-serif;
+		color: #0066cc;
+		font-size:10pt
+	}   
    
 	-->
 </STYLE>
 <BODY bgcolor='#ffffff'>
 <?php
 $sql = "SELECT stand FROM layer_metadata;";
-$res = db_query($sql);
+$res = db_prep_query($sql);
 
 echo "Daten der Vertriebsplattform sind vom Stand: ".db_result($res,0,"stand");
 ?>




More information about the Mapbender_commits mailing list