Galerie
Demi-marathon du Stockhorn 2010
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Demi-marathon du Stockhorn 2009
'; $cap_str2=''; $cap_str1 =str_replace('{color1}',$color1,$cap_str1); $cap_str1 =str_replace('{size}',$size1,$cap_str1); $cap_str2 =str_replace('{color2}',$color2,$cap_str2); $cap_str2 =str_replace('{size}',$size1,$cap_str2); if (file_exists($setupfile)) { $data= file($setupfile); $tmp = explode('||',$data[0]); } if ($tmp[11] == 'on') {echo '';} function gbpostVars($myKey) { // Holt Post-Vars if (isset($_POST[$myKey])) { if (get_magic_quotes_gpc()) { return (stripslashes($_POST[$myKey])); } else { return ($_POST[$myKey]); } } else { return (""); } } function gbNLBR($text) { $text=htmlentities($text); $text=str_replace("\n","",$text); $text=str_replace("\r","",$text); return ($text); } function gbgetVars($myKey) { // Holt Get-Vars if (isset($_GET[$myKey])) { if (get_magic_quotes_gpc()) { return (stripslashes($_GET[$myKey])); } else { return ($_GET[$myKey]); } } else { return (""); } } function gbServerVars($myKey) { // Holt Server-Vars if (isset($_SERVER[$myKey])) { return ($_SERVER[$myKey]); } else { return (""); } } function gbfwritePad($fp,$myVar,$length) { // Schreibt gepadded in Datei fwrite($fp,$myVar.str_repeat(" ",$length),$length); } function gbfgetPad($fp,$length) { // Liest gepaddete Daten return rtrim(fread($fp,$length)); } function gbformatText($text) { // Ersetzt BB-Formate global $smilie_mode,$img_url,$ini_url; $text = preg_replace("#\[i\](.+?)\[/i\]#is","\\1",$text); $text = preg_replace("#\[u\](.+?)\[/u\]#is","\\1",$text); $text = preg_replace("#\[b\](.+?)\[/b\]#is","\\1",$text); $text = preg_replace("#\[(.+?)\]#is","",$text); $text = preg_replace("#\[\/(.+?)\]#is","",$text); $text = w2dgb_badwords($text); if ($smilie_mode==0) { $text=str_replace(":)","
",$text);
$text=str_replace(";)","
",$text);
$text=str_replace(":eek:","
",$text);
$text=str_replace(":(","
",$text);
$text=str_replace(":o","
",$text);
$text=str_replace(":roll:","
",$text);
$text=str_replace(":lol:","
",$text);
}
else
{
$all_smilies = file($ini_url);
foreach ($all_smilies as $smilie)
{
$smilie = explode("¿", $smilie);
$text = str_replace($smilie[0],""); } } } function CheckCaptcha($value, $refvalue) { return (md5($value) == $refvalue); } $maxpage=8; $admin=0; $action = gbgetVars("action"); $msgText = ""; $msgEMail = ""; $msgUsername = ""; $msgWww = ""; $errMessage = ""; // Daten schreiben if ($action=="post") { $errMessage=''; if (strstr(gbpostVars("www"),'')) $errMessage ='Illegale Zeichen im Feld WWW'; if (strstr(gbpostVars("www"),'')) $errMessage ='Illegale Zeichen im Feld WWW'; if (strstr(gbpostVars("username"),'')) $errMessage ='Illegale Zeichen im Feld Name'; if (strstr(gbpostVars("username"),'')) $errMessage ='Illegale Zeichen im Feld Name'; if (strstr(gbpostVars("email"),'')) $errMessage ='Illegale Zeichen im Feld '; if (strstr(gbpostVars("email"),'')) $errMessage ='Illegale Zeichen im Feld '; if (strstr(gbpostVars("message"),'')) $errMessage ='Illegale Zeichen im Feld Eintrag'; if (strstr(gbpostVars("message"),'')) $errMessage ='Illegale Zeichen im Feld Eintrag'; // nur wenn die Bestätigung korrekt war, darf geschrieben werden if (CheckCaptcha(gbpostVars("captcha"), gbpostVars("captcharef")) && $errMessage=='') { $pos=0; // Position ermitteln if (!file_exists($filename)) { // Neue Datei $fp=fopen($filename,"w"); flock ($fp,2); gbfwritePad($fp,1,6); flock ($fp,3); fclose($fp); $pos=1; $fp=fopen($filename,"r+"); flock ($fp,2); } else { // Anhängen $fp=fopen($filename,"r+"); flock ($fp,2); $pos=gbfgetPad($fp,6); $pos++; fseek($fp,0); gbfwritePad($fp,$pos,6); } // Schreiben fseek($fp,6+($pos-1)*4890); if ($admin) { gbfwritePad($fp,0,1); } else { gbfwritePad($fp,1,1); } gbfwritePad($fp,gbServerVars("REMOTE_ADDR"),15); gbfwritePad($fp,gbpostVars("username"),256); gbfwritePad($fp,substr(gbNLBR(gbpostVars("message")),0,4096),4096); gbfwritePad($fp,gbpostVars("email"),256); gbfwritePad($fp,gbpostVars("www"),256); gbfwritePad($fp, date("d.m.Y"),10); flock ($fp,3); fclose($fp); if ($tmp[0] == 'on') { $uri = $_SERVER['HTTP_HOST'].rtrim(dirname($_SERVER['PHP_SELF']), '/\\').'/w2dgb0fc3e469204547bc51794fa8402c0856.php'; if ($tmp[4] =='') { $subject = ' Gästebucheintrag von '.rtrim(gbpostVars("username")); $text = ' Gästebucheintrag von '.rtrim(gbpostVars("username")); } else { $subject = $tmp[4].' '.rtrim(gbpostVars("username")); $text = $tmp[4].' '.rtrim(gbpostVars("username")); } $text .= "\n".$uri; if ($tmp[3] =='') { $name = 'Gästebuch'; } else { $name = $tmp[3]; } mail("$tmp[1]", "$subject", "$text", "FROM: $name <".$tmp[2].">"); } // Benutzerinterface echo("
Merci pour vos commentaires dans notre livre d'or. Nous nous félicitons de tous les visiteurs et accepter la critique et des suggestions très au sérieux.
\n");
if ($admin)
{
echo 'Dieses Gästebuch ist moderiert, ihr Eintrag wird so schnell wie möglich freigeschalten
';
}
echo("Voir Le Livre d'or
\n"); } $displaycount=0; if (file_exists($filename)) { $fp=fopen($filename,"r"); flock ($fp,1); $recordcount=gbfgetPad($fp,6); $first=gbgetVars("offset"); if ($first==0) { $first=1; }; $last=$first+$maxpage-1; $viewcount = 0; // Zählt anzuzeigenden Einträge pro Seite for ($i=1; $i<=$recordcount; $i++) { fseek($fp,6+($recordcount-$i)*4890); $view=gbfgetPad($fp,1); gbfgetPad($fp,15); if ($view==1) { $displaycount++; $viewcount++; // alle anzuzeigenden Einträge werden gezählt //echo $i."-".$first."-".$viewcount."-".$maxpage."
"; //if ($i>=$first && $i<=$last) { if ($viewcount>=$first && $viewcount<=$last) { $username=gbfgetPad($fp,256); $message=gbfgetPad($fp,4096); $email=gbfgetPad($fp,256); $www=gbfgetPad($fp,256); $date=gbfgetPad($fp,10); if ($tmp[8] == 'on') { echo '
'; } echo("
");
echo("$date - ");
if ($email=="") {
echo(htmlentities($username));
} else {
$m_body="";
for ( $x=0; $x
\n");
echo(gbformatText($message)."
\n"); if ($displaycount!=0) { if ($first>1) { print "Zurück "; }; $page=0; if ($displaycount>$maxpage) { for ($i=1;$i<=$displaycount;$i=$i+$maxpage) { $page++; if ($i==$first) { print " $page "; } else { print "$page "; } } } if ($displaycount>$last) { print "Weiter "; } } echo("
\n"); if (($tmp[5] != 'on' && $tmp[6] != 'on' ) || ($tmp[6] =='on')) { echo("Cliquez ici pour écrire une entrée\n"); } } if ($action=="form") { $width='350'; $height='200'; $left='650'; $top='200'; if (file_exists($rs_smilie_set)) { $tmp = GBArrayLoad ($rs_smilie_set); if (isset($tmp['width'])) $width = $tmp['width']; if (isset($tmp['height'])) $height= $tmp['height']; if (isset($tmp['left'])) $left = $tmp['left']; if (isset($tmp['top'])) $top = $tmp['top']; } $position= 'width='.$width.',height='.$height.',top='.$top.',left='.$left; ?>
Demi-marathon du Stockhorn 2008
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Demi-marathon du Stockhorn 2007
![]() |
![]() |
![]() |
![]() |
![]() |
Demi-marathon du Stockhorn 2006
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
















































