Расскажи о нас своим друзьям!

Имплант

ErrorException [ Deprecated ]: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead.

APPPATH/views/just-front/ppacient/show.php [ 110 ]

105 						    	}
106 			        			
107 				        		echo ' var latLng = new google.maps.LatLng('.$latitude.', '.$longitude.');';
108 					        	echo 'var marker'.$i.' = new google.maps.Marker({
109 					    					position: latLng,
110 					    					title: "'.mysql_escape_string(strip_tags($value->nosaukums)).'", 
111 					    					map: map,
112 					    						draggable: false
113 					  						});';
114 								echo ' google.maps.event.addListener(marker'.$i.', "click", function() {
115     										window.location = "http://'.BASE.Route::url('default',array('controller'=>'public','action'=>'klinika','id'=>$value->id)).'";
  1. {PHP internal call} » Kohana_Core::error_handler(arguments)