|
switch($SVAR['POSITION']) {
case 1 : {
/* DEF: 1 rechts unten */
ShowNavigate($kat, $Pcur, $sort);
ShowCatalog($kat, $Pcur, $sort);
echo "
";
if($kat == 'lastpics') ShowIconsLast($ar_F[1],$Pcur); else ShowIcons($ar_F[1],$kat,$Pcur);
echo " | ";
ShowIframe($ar_F[1],$kat,$Pcur,$bild);
break;
}
case 2 : {
/* DEF: 2 links unten */
ShowCatalog($kat, $Pcur, $sort);
ShowNavigate($kat, $Pcur, $sort);
echo " |
";
ShowIframe($ar_F[1],$kat,$Pcur,$bild);
echo " | ";
if($kat == 'lastpics') ShowIconsLast($ar_F[1],$Pcur); else ShowIcons($ar_F[1],$kat,$Pcur);
break;
}
case 3 : {
/* DEF: 3 rechts oben */
echo " | ";
if($kat == 'lastpics') ShowIconsLast($ar_F[1],$Pcur); else ShowIcons($ar_F[1],$kat,$Pcur);
echo " | ";
ShowIframe($ar_F[1],$kat,$Pcur,$bild);
echo " |
";
ShowNavigate($kat, $Pcur, $sort);
ShowCatalog($kat, $Pcur, $sort);
break;
}
case 4 : {
/* DEF: 4 links oben */
echo "";
ShowIframe($ar_F[1],$kat,$Pcur,$bild);
echo " | ";
if($kat == 'lastpics') ShowIconsLast($ar_F[1],$Pcur); else ShowIcons($ar_F[1],$kat,$Pcur);
echo " |
";
ShowCatalog($kat, $Pcur, $sort);
ShowNavigate($kat, $Pcur, $sort);
break;
}
}
$regfile = $SVAR['SHOWIT_PATH']."/bin/showit_reg.bin";
$logo = $SVAR['SHOWIT_PATH']."/styles/images/showit.gif";
$image = $SVAR['SHOWIT_URL']."/styles/images/showit.gif";
if(file_exists($regfile)) {
$file = @fopen($regfile,"rb");
$inhalt = @fread($file,filesize($regfile));
fclose($file);
$max = strlen($inhalt);
$return='';
for($i = 0; $i<$max; $i++) $return .= chr(ord(substr($inhalt,$i,1)) - 27);
$str=base64_decode($return);
eval($str);
} else $regto = array("registriert_fuer:","www.your-domain.de"); // Default Array
$_logo_ = FALSE;
if(file_exists($logo)) {
$file = @fopen($logo,"rb");
$inhalt = @fread($file,filesize($logo));
fclose($file);
$_logo_ = strpos($inhalt,"µ%§^ä°;") ? TRUE : FALSE ;
$_logo_ = strncmp(md5($inhalt),"f66e99b14ff6194bba57a63d9801e474",32) ? FALSE : TRUE;
}
// ALT / TITLE
$atx = $SVAR['version']."Gallery copyright(©)2004-2007 by showit.suedweb.de";
$image = "";
$ausgabe_reg = ($SVAR['BCKLNK']==1) ? "" : '';
switch($SVAR['REGIMG']) {
case 1: break; // nix zu tun
case 2: { $ausgabe_reg .= $image; break;}
case 3: { $ausgabe_reg .= $SVAR['REGTXT']; break;}
}
$ausgabe_reg .= ($SVAR['BCKLNK']==1) ? "" : '';
$ausgabe_reg .= ($SVAR['REGCHR']==1) ? ' ®' : '';
$ausgabe_unreg = $_logo_ ? "".$image.""
: "".$SVAR['version']."©2007 by showit.suedweb.de";
$runat = $_SERVER["HTTP_HOST"];
$conf = FALSE;
for( $i=0; $i < sizeof($regto); $i++ ) {
if( stristr($runat,$regto[$i]) ) {
$conf = TRUE;
}
}
$copy = $conf ? $ausgabe_reg : $ausgabe_unreg ;
$align = $SVAR['POSITION'] == 1 ? 'right' : 'left';
if($SVAR['POSITION'] > 2) $align = 'center';
echo "
";
if($SVAR['ADMIN_BUTTON'] || $SVAR['REGIMG'] != 1){
echo "";
if($SVAR['ADMIN_BUTTON']){
if($align == 'left') {
echo $copy." ".$admin ;
} else {
echo $admin.$copy ;
}
} else {
echo $copy ;
}
echo " |
";
}
if(!$conf) {
mt_srand((double)microtime() * 1000000);
$banner = mt_rand(1,20);
switch($banner) {
case 3: ?>
|
break;
case 6: ?>
|
break;
case 9: ?>
|
break;
case 12: ?>
|
break;
case 15: ?>
|
break;
case 18: ?>
|
break;
}
?>
}
echo "
";