• 01-02-2014, 15:07:43
    #1
    Merhaba arkadaslar,

    bir magaza arama bileseni kullaniyorum, posta kodu girildikten sonra sonuclar tablo seklinde yer aliyor.

    Magaza ismi, adres vs.

    Yanliz burada eMail yaziyor, ben bunu E-Mail olarak degistirmek istiyorum. FTP->Bilesen buradan degistiriyorum, hala ayni kaliyor. DB´den de degisiklik yaptigimda bu sefer hic göstermiyor.

    Bilesen bu: http://allerleye.de/jo/umkreissuche-17

    Nasil yapabilirim acaba?

    iyi calismalar.
  • 01-02-2014, 16:07:13
    #2
    http://dosya.co/ic1k93ezxkwn/allerle..._free.zip.html

    Yukarıdaki bağlantıdan indirerek sıfırdan kurulum yapmayı deneyin.
  • 01-02-2014, 20:02:40
    #3
    Webbilgim adlı üyeden alıntı: mesajı görüntüle
    http://dosya.co/ic1k93ezxkwn/allerle..._free.zip.html

    Yukarıdaki bağlantıdan indirerek sıfırdan kurulum yapmayı deneyin.
    Ben bazi dosyalarda degisiklik yaptim, siz bu satiri mi düzelttiniz:

        <tr><td>E-Mail: </td><td><a href="mailto:<?php  echo $row->E-Mail; ?>"><?php  echo $row->E-Mail; ?></a></td></tr>
  • 02-02-2014, 11:01:29
    #4
    HTML su sekilde:

    <?php
    // session_start();
    /**
    * @version 2.5.1f
    * @allerleye-Umkreissuche
    * @copyright 2013 allerleye Marco Gruszka 
    * @Open Source License, GPL v2 based
    */
    
    defined('_JEXEC') or die( 'Direct Access to this location is not allowed.' );
    
    class umkreissuche_HTML
    {
    	function showumkreissuche($option, $layoutcontents)
    	{      
    $itid=$_GET['Itemid'];		
     $database = &JFactory::getDbo();
     $ausblenden="nein";
     if (isset ($layoutcontents->nurbig) and $layoutcontents->nurbig!=""){
     $ausblenden="ja";
      $_REQUEST['PLZ']=$layoutcontents->nurbig; 
      $_POST['Entfernung']=1999;
      $_REQUEST['Entfernung']=1999;
      $_REQUEST['land']="Deutschland";
     }
    ?>
    <h2><?php  echo $layoutcontents->bezeichnung; ?></h2>
    <?php  echo $layoutcontents->beschriftung; ?>
    <?php 
    if (isset ($_REQUEST['PLZ'])) {
    $PLZ = trim((get_magic_quotes_gpc()) ? stripslashes($_REQUEST['PLZ']) : $_REQUEST['PLZ']);  }
    
    if (isset ($_REQUEST['Entfernung'])) {
    $Entfernung = trim((get_magic_quotes_gpc()) ? stripslashes($_REQUEST['Entfernung']) : $_REQUEST['Entfernung']);  }
    
    if (isset ($_REQUEST['land'])) {
    $land = trim((get_magic_quotes_gpc()) ? stripslashes($_REQUEST['land']) : $_REQUEST['land']); } 
    
    if (isset ($_REQUEST['zusatz'])) {
    $zusi = trim((get_magic_quotes_gpc()) ? stripslashes($_REQUEST['zusatz']) : $_REQUEST['zusatz']); } else {$zusi="";}
    ?>
    	<style type="text/css" media="screen">
    						.us input, textarea, select {font-size: 14px; padding: 4px; margin: 0 2px 2px 0; border: 1px solid #ddd; float: left; border-radius: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px;}
    .us input.button, .button a, a.button, #savebutton {background: #fe8100; border: none; color: #fff; padding: 3px; border: 1px solid #fe8100; clear: both; border-radius: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px;}
    .us input.button:hover, .button a:hover, a.button:hover, input#savebutton:hover {background: #fe8100; color: #00000;}
    .insert {margin: 0 0 0 210px;}
    .us legend {padding: 0 10px; font-weight: bold; margin: 0 10px;}
    .us fieldset {border: none; border-top: 0px solid #ddd; padding: 10px 0 0 0;}
    .us label {width: 200px; text-align: right; float: left; clear: both; padding: 5px 10px 0 0; }
    .us td, tr {border:0px;}
    .cleaner {};
    						</style>
    						
    						<?php if ($ausblenden!="ja"){?>
    <div class="us">
    
    <form action="<?php  echo $_SERVER['PHP_SELF']; ?>?option=com_umkreissuche&Itemid=<?php  echo $itid; ?>" method="post" onsubmit="showAddress(this.PLZ.value); return false">
    <fieldset>
        <legend> </legend>
    <table cellspacing="3" cellpadding="3" border="0">  
    <tr>
    	<font color="#fe8100"<td style="padding:4px;margin:4px; ">Hier können Sie den passenden Passivhaus-Gruppe Partner finden </td></font color>
    	<td style="padding:4px;margin:4px;">
        <input class="inputbox" type="hidden" name="land" value="<?php  if (isset ($land)) {echo htmlentities($land);} else { echo $layoutcontents->landwahl;} ?>" />
    <!-- <select name="land" style="padding:4px;">
    
    	
    	  <?php  if (preg_match("/de/i", $layoutcontents->landwahl)){ ?>
    			<option value="de"<?php  if (isset ($land) && $land == 'de') echo ' selected="selected"'; ?>>Deutschland</option>
    			<?php  } ?>
    			<?php  if (preg_match("/ch/i", $layoutcontents->landwahl)){ ?>
    			<option value="ch"<?php  if (isset ($land) && $land == 'ch') echo ' selected="selected"'; ?>>Schweiz</option>
          <?php  } ?>
          <?php  if (preg_match("/at/i", $layoutcontents->landwahl)){ ?> 
    			<option value="at"<?php  if (isset ($land) && $land == 'at') echo ' selected="selected"'; ?>>&Ouml;stereich</option>
    			<?php  } ?>
    			   
    		</select> -->
        </td>
    </tr>
    <tr>
    	<td style="padding:4px;margin:4px;">Bitte geben Sie hier Ihre Postleitzahl ein:</td>
    	<td style="padding:4px;margin:4px;"><input class="inputbox" type="text" name="PLZ" value="<?php  if (isset ($PLZ)) {echo htmlentities($PLZ);} ?>" /></td>
    </tr>
    <?php 
     $trenne = explode(";", $layoutcontents->entfern);
     
    
    ?>
    
    
    
    <tr>
    	<td style="padding:4px;margin:4px;">Umkreis von: </td>
    	<td style="padding:4px;margin:4px;"><select name="Entfernung" style="padding:4px;">
    	<?php 
        	for ($j=0, $o=count($trenne); $j < $o; $j++) { ?>
    		<option value="<?php  echo $trenne[$j];?>"<?php  if (isset ($Entfernung) && $Entfernung == $trenne[$j]) echo ' selected="selected"'; ?>><?php  echo $trenne[$j];?> km</option>
    		<?php 
    		} 
      ?>	
    		</select></td>
    </tr> 
    
    
    	<input type="hidden" name="func" value="showumkreissuchea" />
    <tr>
    	<td>&nbsp;</td>
    	<td style="padding:4px;margin:4px;"><input class="button" type="submit" value="Suche starten" /></td> 
    </tr>
    </table>
      </fieldset>
    </form>
    
    </div>
    <?php }
    if (isset ($land) && $land=='at' or isset ($land) && $land=='ch'){ $plzlang=4;} else {$plzlang=5;}
    
    if (!empty($PLZ) && ($Entfernung >= 10) && ($Entfernung <= 2000)) {
    if ($ausblenden!="ja"){
    	echo '<h2>Ergebnis</h2>';} else {
      echo '<h2>Im Umkreis von: '.$_REQUEST['PLZ'].'</h2>';}
      
    	if ($_SESSION['anstat']!="OK") {
    		echo 'Ihre Anfrage ist fehlgeschlagen Bitte versuchen Sie es erneut!';
    	} else {
    		require_once('umkreissuche.class.php');
    		$Suche = new Umkreissuche($layoutcontents);
    		$Suche->zeigeFehler = false;    
    		$Ergebnis = $Suche->Suche($PLZ, $Entfernung, array($layoutcontents->sonst_street, $layoutcontents->sonst_ort, $layoutcontents->plz_feld, $layoutcontents->sonst_a, $layoutcontents->sonst_b, $layoutcontents->sonst_c), 'DESC','',$layoutcontents);
    		
    		if ($Ergebnis === false) {
    			echo 'In der Umkreissuche ist ein Fehler aufgetreten. Haben Sie eine g&uuml;ltige Postleitzahl eingegeben?';
    		} else if (!count($Ergebnis)) {
    			echo 'Leider wurden keine Ergebnisse im Umkreis von ' . htmlentities($Entfernung) . ' km um die Postleitzahl ' . htmlentities($PLZ) . ' gefunden!';
    		} else {
    		$Name=$layoutcontents->sonst_a;
    		$sonstb=$layoutcontents->sonst_b;
    		$sonstc=$layoutcontents->sonst_c;
    		$street=$layoutcontents->sonst_street;
    		$ortt=$layoutcontents->sonst_ort;
    		$plzz=$layoutcontents->plz_feld;
    		
    		
    		$sonstd=$layoutcontents->sonst_d;
    		$sonste=$layoutcontents->sonst_e;
    		$sonstf=$layoutcontents->sonst_f;
    		$sonstg=$layoutcontents->sonst_g;
    		$sonsth=$layoutcontents->sonst_h;
    		$sonsts=$layoutcontents->sonst_s;
    		$sonstl=$layoutcontents->sonst_l;
    		
    		$zusatz=$layoutcontents->zusatz;
    
    // optional filterfeld !!!! - Branche oder Produkt - in Auswahl aus DB!!!		
    
    $pfadera=$layoutcontents->com_table;	
    			  // 		echo htmlentities($Eintrag->$street) . '<br />' . "\n";
    		JHTML::_('behavior.modal');		
      if ($layoutcontents->elayout==1){
      $couda=1;
      	echo '<table width="99%">';
    
        foreach ($Ergebnis as $Eintrag) {
        if ($layoutcontents->zusatz=="" or $Eintrag->$zusatz==$zusi or $zusi==""){
        $entferne=number_format($Eintrag->distance,2,",","");
          echo "<tr><td rowspan='3'><img src='".$pfadera."/components/com_umkreissuche/markers/marker".$couda.".png' /></td>";
         if ($Name=="web"){ echo "<td><a href='http://".$Eintrag->$Name."' target='_blank'>".$Eintrag->$Name."</a></td>";} else if ($Name=="eMail"){ echo "<td><a href='mailto:".$Eintrag->$Name."'>".$Eintrag->$Name."</a></td>";} else {echo "<td><a target='_blank' class='modal'";?> rel="{handler: 'iframe', size: {x: 570, y: 650}}"<?php echo 'href="index.php?option=com_umkreissuche&tmpl=component&func=details&task=showumkreissuche&ids='.$Eintrag->id.'">'.$Eintrag->$Name.'</a></td>';} 
         if ($ortt=="web"){ echo "<td><a href='http://".$Eintrag->$ortt."' target='_blank'>".$Eintrag->$ortt."</a></td>";} else if ($ortt=="eMail"){ echo "<td><a href='mailto:".$Eintrag->$ortt."'>".$Eintrag->$ortt."</a></td>";} else {echo "<td>".$Eintrag->$ortt."</td>";} 
         if ($street=="web"){ echo "<td><a href='http://".$Eintrag->$street."' target='_blank'>".$Eintrag->$street."</a></td>";} else if ($street=="eMail"){ echo "<td><a href='mailto:".$Eintrag->$street."'>".$Eintrag->$street."</a></td>";} else {echo "<td>".$Eintrag->$street."</td>";} 
         if ($sonstb=="web"){ echo "<td><a href='http://".$Eintrag->$sonstb."' target='_blank'>".$Eintrag->$sonstb."</a></td>";} else if ($sonstb=="eMail"){ echo "<td><a href='mailto:".$Eintrag->$sonstb."'>".$Eintrag->$sonstb."</a></td>";} else {echo "<td>".$Eintrag->$sonstb."</td>";} 
         if ($sonstc=="web"){ echo "<td><a href='http://".$Eintrag->$sonstc."' target='_blank'>".$Eintrag->$sonstc."</a></td>";} else if ($sonstc=="eMail"){ echo "<td><a href='mailto:".$Eintrag->$sonstc."'>".$Eintrag->$sonstc."</a></td>";} else {echo "<td>".$Eintrag->$sonstc."</td>";}
          echo "</tr><tr>";     
         if ($sonstd=="web"){ echo "<td><a href='http://".$Eintrag->$sonstd."' target='_blank'>".$Eintrag->$sonstd."</a></td>";} else if ($sonstd=="eMail"){ echo "<td><a href='mailto:".$Eintrag->$sonstd."'>".$Eintrag->$sonstd."</a></td>";} else {echo "<td>".$Eintrag->$sonstd."</td>";}    
         if ($sonste=="web"){ echo "<td><a href='http://".$Eintrag->$sonste."' target='_blank'>".$Eintrag->$sonste."</a></td>";} else if ($sonste=="eMail"){ echo "<td><a href='mailto:".$Eintrag->$sonste."'>".$Eintrag->$sonste."</a></td>";} else {echo "<td>".$Eintrag->$sonste."</td>";} 
         if ($sonstf=="web"){ echo "<td><a href='http://".$Eintrag->$sonstf."' target='_blank'>".$Eintrag->$sonstf."</a></td>";} else if ($sonstf=="eMail"){ echo "<td><a href='mailto:".$Eintrag->$sonstf."'>".$Eintrag->$sonstf."</a></td>";} else {echo "<td>".$Eintrag->$sonstf."</td>";}  
         if ($sonstg=="web"){ echo "<td><a href='http://".$Eintrag->$sonstg."' target='_blank'>".$Eintrag->$sonstg."</a></td>";} else if ($sonstg=="eMail"){ echo "<td><a href='mailto:".$Eintrag->$sonstg."'>".$Eintrag->$sonstg."</a></td>";} else {echo "<td>".$Eintrag->$sonstg."</td>";}  
         if ($sonsth=="web"){ echo "<td><a href='http://".$Eintrag->$sonsth."' target='_blank'>".$Eintrag->$sonsth."</a></td>";} else if ($sonsth=="eMail"){ echo "<td><a href='mailto:".$Eintrag->$sonsth."'>".$Eintrag->$sonsth."</a></td>";} else {echo "<td>".$Eintrag->$sonsth."</td>";}
          echo "</tr><tr>";   
         if ($plzz=="web"){ echo "<td style='border-bottom:1px solid black;' colspan='3'><a href='http://".$Eintrag->$plzz."' target='_blank'>".$Eintrag->$plzz."</a></td>";} else if ($plzz=="eMail"){ echo "<td style='border-bottom:1px solid black;' colspan='3'><a href='mailto:".$Eintrag->$plzz."'>".$Eintrag->$plzz."</a></td>";} else {echo "<td style='border-bottom:1px solid black;' colspan='3'>".$Eintrag->$plzz."</td>";}  
       //   echo "<td style='border-bottom:1px solid black;' colspan='3'>".$Eintrag->$plzz."</td>";
        //  echo "<td>".$Eintrag->$sonste."</td>";
        //  echo "<td style='border-bottom:1px solid black;' colspan='2'>".$Eintrag->$sonstf."</td>";
         // echo "<td>".$Eintrag->$sonstg."</td>"; 
          echo "<td style='border-bottom:1px solid black;' colspan='3'>Entfernungg:".$entferne." km</td>";
        echo "</tr>";
          $couda=$couda+1;
        } }
        	echo '</table>';
      }  
     
    	  
    if ($layoutcontents->elayout==2){			  
    	         $couda=1;
    			echo '<table width="99%" bgcolor="#FFFFF"><tr><td colspan=2 style="padding:3px;margin:3px;color:blue;border-bottom:0px solid black;" ><b>Ihr zust&auml;ndiger H&auml;ndler ist:</b><br></td></tr>';
    			foreach ($Ergebnis as $Eintrag) {
    		
          if ($layoutcontents->zusatz=="" or $Eintrag->$zusatz==$zusi or $zusi==""){ 
    	         $entferne=number_format($Eintrag->distance,2,",","");
    		   
    		    echo '<tr><td style="padding:3px;margin:3px;color:blue;border-bottom:1px solid black;" valign="top"><table width="96%">';
    		    
    				echo '<tr><td valign="top" style="border:1px solid white; width:30px"></td><td></td></tr>';
    				
    			  if ($layoutcontents->sonst_a and $Eintrag->$Name!=""){
    				echo '<tr>';
            if ($Name=="web"){ echo "<td style='border:0px solid white;' valign='top'><img src='".$pfadera."/components/com_umkreissuche/markers/marker".$couda.".png' /><b>".$Name.":</b></td><td> <a href='http://".$Eintrag->$Name."' target='_blank'>".$Eintrag->$Name."</a></td>";} else if ($Name=="eMail"){ echo "<td><b>".$Name.":</b></td><td> <a href='mailto:".$Eintrag->$Name."'>".$Eintrag->$Name."</a></td>";} else {echo "<td><b>".$Name.":</b></td><td> ".$Eintrag->$Name."</td>";} 
            echo '</tr>';
            }  
            
    			  if ($layoutcontents->sonst_ort and $Eintrag->$ortt!=""){
    				echo '<tr>';
            if ($ortt=="web"){ echo "<td style='border:0px solid white;' valign='top'><b>".$ortt.":</b></td><td> <a href='http://".$Eintrag->$ortt."' target='_blank'>".$Eintrag->$ortt."</a></td>";} else if ($ortt=="eMail"){ echo "<td><b>".$ortt.":</b></td><td> <a href='mailto:".$Eintrag->$ortt."'>".$Eintrag->$ortt."</a></td>";} else {echo "<td><b>".$ortt.":</b></td><td> ".$Eintrag->$ortt."</td>";} 
            echo '</tr>';
            }           
              
    			  if ($layoutcontents->sonst_street and $Eintrag->$street!=""){
    				echo '<tr>';
            if ($street=="web"){ echo "<td style='border:0px solid white;' valign='top'><b>".$street.":</b></td><td> <a href='http://".$Eintrag->$street."' target='_blank'>".$Eintrag->$street."</a></td>";} else if ($street=="eMail"){ echo "<td><b>".$street.":</b></td><td> <a href='mailto:".$Eintrag->$street."'>".$Eintrag->$street."</a></td>";} else {echo "<td><b>".$street.":</b></td><td> ".$Eintrag->$street."</td>";} 
            echo '</tr>';
            }  
    				 if ($layoutcontents->sonst_b and $Eintrag->$sonstb!=""){
    				echo '<tr>';
            if ($sonstb=="web"){ echo "<td style='border:0px solid white;' valign='top'><b>".$sonstb.":</b></td><td> <a href='http://".$Eintrag->$sonstb."' target='_blank'>".$Eintrag->$sonstb."</a></td>";} else if ($sonstb=="eMail"){ echo "<td><b>".$sonstb.":</b></td><td> <a href='mailto:".$Eintrag->$sonstb."'>".$Eintrag->$sonstb."</a></td>";} else {echo "<td><b>".$sonstb.":</b></td><td> ".$Eintrag->$sonstb."</td>";} 
            echo '</tr>';
            }   
            
    			  if ($layoutcontents->sonst_c and $Eintrag->$sonstc!=""){
    				echo '<tr>';
            if ($sonstc=="web"){ echo "<td style='border:0px solid white;' valign='top'><b>".$sonstc.":</b></td><td> <a href='http://".$Eintrag->$sonstc."' target='_blank'>".$Eintrag->$sonstc."</a></td>";} else if ($sonstc=="eMail"){ echo "<td><b>".$sonstc.":</b></td><td> <a href='mailto:".$Eintrag->$sonstc."'>".$Eintrag->$sonstc."</a></td>";} else {echo "<td><b>".$sonstc.":</b></td><td> ".$Eintrag->$sonstc."</td>";} 
            echo '</tr>';
            }   
    			  if ($layoutcontents->sonst_d and $Eintrag->$sonstd!=""){
    				echo '<tr>';
            if ($sonstd=="web"){ echo "<td style='border:0px solid white;' valign='top'><b>".$sonstd.":</b></td><td> <a href='http://".$Eintrag->$sonstd."' target='_blank'>".$Eintrag->$sonstd."</a></td>";} else if ($sonstd=="eMail"){ echo "<td><b>".$sonstd.":</b></td><td> <a href='mailto:".$Eintrag->$sonstd."'>".$Eintrag->$sonstd."</a></td>";} else {echo "<td><b>".$sonstd.":</b></td><td> ".$Eintrag->$sonstd."</td>";} 
            echo '</tr>';
            }  
    			  if ($layoutcontents->sonst_e and $Eintrag->$sonste!=""){
    				echo '<tr>';
            if ($sonste=="web"){ echo "<td style='border:0px solid white;' valign='top'><b>".$sonste.":</b></td><td> <a href='http://".$Eintrag->$sonste."' target='_blank'>".$Eintrag->$sonste."</a></td>";} else if ($sonste=="eMail"){ echo "<td><b>".$sonste.":</b></td><td> <a href='mailto:".$Eintrag->$sonste."'>".$Eintrag->$sonste."</a></td>";} else {echo "<td><b>".$sonste.":</b></td><td> ".$Eintrag->$sonste."</td>";} 
            echo '</tr>';
            }  
    			  if ($layoutcontents->sonst_f and $Eintrag->$sonstf!=""){
    				echo '<tr>';
            if ($sonstf=="web"){ echo "<td style='border:0px solid white;' valign='top'><b>".$sonstf.":</b></td><td> <a href='http://".$Eintrag->$sonstf."' target='_blank'>".$Eintrag->$sonstf."</a></td>";} else if ($sonstf=="eMail"){ echo "<td><b>".$sonstf.":</b></td><td> <a href='mailto:".$Eintrag->$sonstf."'>".$Eintrag->$sonstf."</a></td>";} else {echo "<td><b>".$sonstf.":</b></td><td> ".$Eintrag->$sonstf."</td>";} 
            echo '</tr>';
            }  
    			  if ($layoutcontents->sonst_g and $Eintrag->$sonstg!=""){
    				echo '<tr>';
            if ($sonstg=="web"){ echo "<td style='border:0px solid white;' valign='top'><b>".$sonstg.":</b></td><td> <a href='http://".$Eintrag->$sonstg."' target='_blank'>".$Eintrag->$sonstg."</a></td>";} else if ($sonstg=="eMail"){ echo "<td><b>".$sonstg.":</b></td><td> <a href='mailto:".$Eintrag->$sonstg."'>".$Eintrag->$sonstg."</a></td>";} else {echo "<td><b>".$sonstg.":</b></td><td> ".$Eintrag->$sonstg."</td>";} 
            echo '</tr>';
            }  
    			  if ($layoutcontents->sonst_h and $Eintrag->$sonsth!=""){
    				echo '<tr>';
            if ($sonsth=="web"){ echo "<td style='border:0px solid white;' valign='top'><b>".$sonsth.":</b></td><td> <a href='http://".$Eintrag->$sonsth."' target='_blank'>".$Eintrag->$sonsth."</a></td>";} else if ($sonsth=="eMail"){ echo "<td><b>".$sonsth.":</b></td><td> <a href='mailto:".$Eintrag->$sonsth."'>".$Eintrag->$sonsth."</a></td>";} else {echo "<td><b>".$sonsth.":</b></td><td> ".$Eintrag->$sonsth."</td>";} 
            echo '</tr>';
            }   
    			  if ($layoutcontents->plz_feld and $Eintrag->$plzz!=""){
    				echo '<tr>';
            if ($plzz=="web"){ echo "<td style='border:0px solid white;' valign='top'><b>".$plzz.":</b></td><td> <a href='http://".$Eintrag->$plzz."' target='_blank'>".$Eintrag->$plzz."</a></td>";} else if ($plzz=="eMail"){ echo "<td><b>".$plzz.":</b></td><td> <a href='mailto:".$Eintrag->$plzz."'>".$Eintrag->$plzz."</a></td>";} else {echo "<td><b>".$plzz.":</b></td><td> ".$Eintrag->$plzz."</td>";} 
            echo '</tr>';
            }  
    				
    				    
    				echo '<tr><td valign="top" style="border:0px solid white;"> </td><td> </td></tr>';
    				
    				echo '</table></td>' . "\n";
    	
    			$mapName = "Karte";
    $mapHeight = "300px";
    $mapWidth = "400px";
    // if ($layoutcontents->modul=='ja'){ 
      
    ?>
    
    <td style="padding:3px;margin:3px;border-bottom:1px solid black;"><br><br>
     <?php
     if ($layoutcontents->sonst_l and $Eintrag->$sonstl!=""){ ?>
    <img src="images/logos/<?php  echo $Eintrag->$sonstl; ?>" height="<?php  echo $layoutcontents->kartehoch; ?>" alt="Logo" />
    <?php } else { ?>
    
    <iframe width="<?php  echo $layoutcontents->kartebreit; ?>" height="<?php  echo $layoutcontents->kartehoch; ?>" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.de/maps?f=q&amp;hl=de&amp;geocode=&amp;q=<?php  echo $Eintrag->Anschrift; ?>+,<?php  echo $Eintrag->PLZ; ?>&amp;ie=UTF8&amp;hq=&amp;hnear=<?php  echo $Eintrag->Anschrift; ?>,+<?php  echo $Eintrag->PLZ; ?>+<?php echo $Eintrag->Ort; ?>&amp;z=14&amp;iwloc=near&amp;overview=0&amp;output=embed"></iframe> 
    <?php } ?>
    
     </td>
    
     <?php $couda=$couda+1;  }} ?>
    </table> 
    			<?php 			
    
           }
    
    				
    		
    		}
    	}
    	echo '<br /><small><a href=" " target="_blank"> </a></small>';
    }
    
    }
    
    
       
       	function ShowDetails($option, $row)
    	{         
    		$my=&JFactory::getUser();
    		$database = &JFactory::getDbo();
    		$mosConfig_live_site=JUri::base(true);
    		?>
    		<table>
        <tr>
        <td>
        <table>
        <tr>
        <td>Firma: </td><td><?php  echo $row->Firma; ?></td></tr>
        <tr><td>Branche: </td><td><?php  echo $row->Branche; ?></td></tr> 
        <tr><td>Adresse: </td><td><?php  echo $row->Anschrift; ?></td></tr>
        <tr><td>Ort: </td><td><?php  echo $row->PLZ." ".$row->Ort; ?></td></tr> 
        <tr><td>Ansprechpartner: </td><td><?php  echo $row->Ansprechpartner; ?></td></tr> 
        <tr><td>Telefon: </td><td><?php  echo $row->Telefon; ?></td></tr>
        <tr><td>Fax: </td><td><?php  echo $row->Telefax; ?></td></tr> 
        <tr><td>E-Mail: </td><td><a href="mailto:<?php  echo $row->eMail; ?>"><?php  echo $row->eMail; ?></a></td></tr>
        <tr><td>Web: </td><td><a href="http://<?php  echo $row->web; ?>" target="_blank"><?php  echo $row->web; ?></a></td></tr>
        </table>
        </td>
        <td></td> </tr>
    		 <tr><td colspan="2"> <?php  echo $row->beschreibung; ?></td></tr>
    		 <tr><td colspan="2"> 
         <iframe width="500px" height="350px" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.de/maps?f=q&amp;hl=de&amp;geocode=&amp;q=<?php echo $row->Anschrift; ?>+,<?php  echo $row->PLZ; ?>&amp;ie=UTF8&amp;hq=&amp;hnear=<?php echo $row->Anschrift; ?>,+<?php  echo $row->PLZ; ?>+<?php  if ($row->Ort){ echo $row->Ort;} ?>&amp;z=14&amp;iwloc=near&amp;overview=0&amp;output=embed"></iframe>
         </td></tr>
    		</table><br /><b>
      <a href="javascript:window.close()">Fenster schlie&szlig;en und zur&uuml;ck zu den Ergebnissen</a>
       </b>
    <?php   
       
      }
    //class ende
    }
    ?>
  • 04-02-2014, 20:30:07
    #5
    Dil Dosyasına baktın mı hiç...