2011-05-05, 22:33:05
angelazou Wrote:I have attached a screen shot of your website with its ads; hope it shows up this time
If I remember correctly, I had this phenomen once, too (it's free hosting, after all). Try to refresh or even clear the browser cache.
angelazou Wrote:I saw that you have two buttons on the top right with language selections. How was that done?
Here's the full code:
Code:
<div class="language">
<?php
$fullurl = $_SERVER["REQUEST_URI"];
if (strpos($fullurl,'setlang=') !== false) $fullurl = substr($fullurl, 0, strpos($fullurl,'setlang=')-1);
$fullurl .= strpos($fullurl,'?') === false ? '?' : '&';
?>
<a href="<?php echo $fullurl; ?>setlang=de">deutsch</a>
<a href="<?php echo $fullurl; ?>setlang=en">english</a>
</div>