<?php
require("mysql.php");
$titel = 'Neueste Fotos - Fotos';

$inhalt .= '
<div class="photo">
<div class="noh1"></div>
<div class="pg">
<div class="box">
<div class="hd">
<div class="tl"></div>

<div class="tr"></div>
<div class="tm"></div>
<div class="m"><div class="mi">
<div class="h h2"><div class="hbegin"></div><h2>Neue Fotos</h2></div>
</div></div>
</div>
<div class="bd fade bd-fade">
<div class="m">
<div class="mi">Die Fotos, die gerade erst neu hochgeladen wurden, findest Du hier.<br><br><center><table><tr>';
$zahl = 0;
$db = mysql_query("select photo, name from accounts where photo != '' and photoNew='0' and name != 'James' order by rand() limit 8");
while($p = @mysql_fetch_array($db)) {
if($zahl != 0) {
$inhalt .= '<td width="35">&nbsp;</td>';
}
$inhalt .= '<td valign="top" align="center"><div class="centerInFourthWidth">
<a href="photos-profile.php?id='.$p[name].'" class="nodecoration">
<img src="pics/photos/m/'.$p[photo].'.jpg" class="userimage large" />
</a>

<br/>
<a href="photos-profile.php?id='.$p[name].'" class="nodecoration">'.$p[name].'</a>
</div>
</td>';
if($zahl == 3) {
$inhalt .= '</tr></table><br><br><table><tr>';
}
$zahl++;
}
$inhalt .= '
</tr></table><div class="clear"></div><br></div></div>
<div class="bl"></div>
          <div class="br"></div>
          <div class="bm"></div>

         
        </div></div>
<div class="box">
<div class="hd">
<div class="tl"></div>

<div class="tr"></div>
<div class="tm"></div>
<div class="m"><div class="mi">
<div class="h h2"><div class="hbegin"></div><h2>Aktualisierte Fotos</h2></div>
</div></div>
</div>
<div class="bd fade bd-fade">
<div class="m">
<div class="mi">Folgende Mitglieder haben Ihr bereits bestehendes Foto kürzlich erneuert.<br><br><center><table><tr>';
$zahl = 0;
$db = mysql_query("select photo, name from accounts where photo != '' and photoNew='1' and name != 'James' order by rand() limit 8");
while($p = @mysql_fetch_array($db)) {
if($zahl != 0) {
$inhalt .= '<td width="35">&nbsp;</td>';
}
$inhalt .= '<td valign="top" align="center"><div class="centerInFourthWidth">
<a href="photos-profile.php?id='.$p[name].'" class="nodecoration">
<img src="pics/photos/m/'.$p[photo].'.jpg" class="userimage large" />
</a>

<br/>
<a href="photos-profile.php?id='.$p[name].'" class="nodecoration">'.$p[name].'</a>
</div>
</td>';
if($zahl == 3) {
$inhalt .= '</tr></table><br><br><table><tr>';
}
$zahl++;
}
$inhalt .= '
</tr></table><div class="clear"></div><br></div></div>
<div class="bl"></div>
          <div class="br"></div>
          <div class="bm"></div>

         
        </div></div>

</div>    
<div class="box"> 
<div class="hd"> 
<div class="tl"></div> 
<div class="tr"></div> 
<div class="tm"></div> 
<div class="m"><div class="mi"><div class="h h2"><div class="hbegin"></div><h2>Profilfoto hochladen</h2></div> 
</div></div> 
</div> 
<div class="bd fade bd-fade"> 
<div class="m"> 
<div class="mi"> 
<p class="">Bei IceChat kannst du dein eigenes Foto hochladen. Lies die Fotogalerie-FAQs, falls beim Erstellen Fragen auftreten sollten.</p> 
<ul class="centered largetext"> 
<li class="muchspace"><a href="photos-settings?mode=uploadprofilephoto" class="nodecoration">Profilfoto hochladen</a></li> 
<li class="muchspace"><a href="photos-faq">Foto-FAQ</a></li> 
<li class="muchspace"><a href="photos-terms">Nutzungsbedingungen</a></li> 
</ul> 
<br class=""> </div></div>
';

$inhalt .= '
          
          <div class="bl"></div>
          <div class="br"></div>
          <div class="bm"></div>

         
        </div></div></div></div>
       ';
$styles = '<link href="/sf/f/registration/registration.css" rel="stylesheet" type="text/css">
<link href="/sf/m/buttons/buttons.css" rel="stylesheet" type="text/css"><link href="/sf/f/index/index.css" rel="stylesheet" type="text/css"><link href="/sf/m/boxes/boxes.css" rel="stylesheet" type="text/css"><link href="/sf/m/forms/forms.css" rel="stylesheet" type="text/css"><link href="/sf/f/photos/photos.css" rel="stylesheet" type="text/css"><link href="/sf/m/tables/tables.css" rel="stylesheet" type="text/css"><link href="/sf/m/uploader/uploader.css" rel="stylesheet" type="text/css"><link href="/sf/f/photos/photos-rate.css" rel="stylesheet" type="text/css">
';
echo str_replace(array('<?url?>','<?inhalt?>', '<?titel?>', '<?fotonavi?>', '<?registrieren?>', '<?styles?>', '<?fotos?>'),array($_SERVER[SERVER_NAME], $inhalt, $titel, $fotonavi, $registrieren, $styles, $fotos),implode("",file("sf/b/style.tpl")));
?>    