Splitview

[insert_php]

$PAGE_INDEX_DEFAULT = 0;
$CONTENT_DESCRIPTION = 0;
$CONTENT_PICTURE = 1;
$CONTENT_AMOUNT = 2;

$PageLinks = Array();

$PageLinks[0][$CONTENT_DESCRIPTION] = “Richter Studioblitz Starlight 500Ws”;
$PageLinks[0][$CONTENT_PICTURE] = “http://www.mbuphoto.de/wp-content/uploads/2013/12/9W4C2225.jpg”;
$PageLinks[0][$CONTENT_AMOUNT] = 3;
$PageLinks[1][$CONTENT_DESCRIPTION] = “Richter Studioblitz Starlight 250Ws”;
$PageLinks[1][$CONTENT_PICTURE] = “http://www.mbuphoto.de/wp-content/uploads/2013/12/9W4C2225.jpg”;
$PageLinks[1][$CONTENT_AMOUNT] = 2;
$PageLinks[2][$CONTENT_DESCRIPTION] = “Richter Softbox 40×60”;
$PageLinks[2][$CONTENT_PICTURE] = “http://www.mbuphoto.de/wp-content/uploads/2013/12/9W4C2277.jpg”;
$PageLinks[2][$CONTENT_AMOUNT] = 1;
$PageLinks[3][$CONTENT_DESCRIPTION] = “Richter Striplight 30×120”;
$PageLinks[3][$CONTENT_PICTURE] = “http://www.mbuphoto.de/wp-content/uploads/2013/12/9W4C2276.jpg”;
$PageLinks[3][$CONTENT_AMOUNT] = 1;
$PageLinks[4][$CONTENT_DESCRIPTION] = “Richter Striplight 30×90”;
$PageLinks[4][$CONTENT_PICTURE] = “http://www.mbuphoto.de/wp-content/uploads/2013/12/9W4C2278.jpg”;
$PageLinks[4][$CONTENT_AMOUNT] = 1;
$PageLinks[5][$CONTENT_DESCRIPTION] = “Richter Oktobox 150”;
$PageLinks[5][$CONTENT_PICTURE] = “http://www.mbuphoto.de/wp-content/uploads/2013/12/9W4C2275.jpg”;
$PageLinks[5][$CONTENT_AMOUNT] = 1;

$FormUseDefaults = isset($_GET[“FormWasSend”]) ? FALSE : TRUE;
if ($FormUseDefaults == TRUE)
{
$Page_Index = $PAGE_INDEX_DEFAULT;
}
else
{
$Page_Index = isset($_GET[“Page_Index”]) ? $_GET[“Page_Index”] : $PAGE_INDEX_DEFAULT;

$direction= $_GET[“direction”];
if ($direction == ‘Next’)
{
$Page_Index = $Page_Index + 1;
}
else
{
$Page_Index = $Page_Index – 1;
if ($Page_Index < 0) { $Page_Index = 0; } } } echo "

“;

echo ““;

echo ““;
echo ““;
echo ““;
echo “

“;

echo “

“;
echo “

“;
echo “\"Bild\"“;
echo “

“;

echo “

“;
echo “Verfügbare Anzahl: “;
echo $PageLinks[$Page_Index][$CONTENT_AMOUNT];
echo “

“;
echo $PageLinks[$Page_Index][$CONTENT_DESCRIPTION];
echo “

“;
echo “

“;
echo “

“;
[/insert_php]

Schreibe einen Kommentar