if ($pick != "")
{
$q_main = "SELECT id, user1, user2, user3, user4, user5, user6, user7, user8, user9, user10, user11, user12, user13, user14, user15, picture_1, picture_2, picture_3, picture_4, picture_5, UNIX_TIMESTAMP(lastupdated) FROM stock WHERE id='$pick'";
$query = "$q_main";
$result = mysql_query($query);
if (!$result)
{
error(mysql_error());
}
if (mysql_num_rows($result) == 0)
{
error("There was no stock");
}
?>
while (list($id, $fuser1, $fuser2, $fuser3, $fuser4, $fuser5, $fuser6, $fuser7, $fuser8, $fuser9, $fuser10, $fuser11, $fuser12, $fuser13, $fuser14, $fuser15, $picture_1, $picture_2, $picture_3, $picture_4, $picture_5, $added) = mysql_fetch_array($result))
{
$images=($picture_1+$picture_2+$picture_3+$picture_4+$picture_5);
if ($images != '0')
{
if ($images == '1') { $cellwidth = "100%"; $colspan = "1"; }
if ($images == '2') { $cellwidth = "50%"; $colspan = "2"; }
if ($images == '3') { $cellwidth = "33%"; $colspan = "3";}
if ($images == '4') { $cellwidth = "25%"; $colspan = "4";}
if ($images == '5') { $cellwidth = ""; $colspan = "5";}
}
?>
if ($picture_1 == 1)
{
?> |
}
else
{
?>
}
if ($picture_2 == 1)
{
?> |
}
else
{
}
if ($picture_3 == 1)
{
?> |
}
else
{
}
if ($picture_4 == 1)
{
?> |
}
else
{
}
if ($picture_5 == 1)
{
?> |
}
else
{
}
?>
if ($user10_switch == Y)
{
?>
|
|
}
?>
|
|
|
|
|
|
if ($user5_switch == Y)
{
?>
|
|
}
if ($user6_switch == Y)
{
?>
|
|
}
if ($user7_switch == Y)
{
?>
|
|
}
if ($user4_switch == Y)
{
?>
|
$result = mysql_query("SELECT id, year, mark FROM registrations WHERE id='$fuser4'");
list ($reg_id, $reg_year, $reg_mark) = mysql_fetch_row($result);
?>
(
) |
}
if ($user8_switch == Y)
{
?>
|
|
}
if ($user11_switch == Y)
{
?>
|
|
}
if ($user12_switch == Y)
{
?>
|
|
}
if ($user13_switch == Y)
{
?>
|
|
}
if ($user14_switch == Y)
{
?>
|
|
}
if ($user15_switch == Y)
{
?>
|
|
}
if ($user9_switch == Y)
{
?>
|
€
|
}
?>
|
}
}
else
{
?>
The Stacker Emporium is a global hub for all your used and nearly-new stacker requirements. We have one of the most extensive product inventories in the industry, handling most variations of stacker, compensating and LOG, book, commercial, and newspaper. We can supply stackers from most manufacturers including:
*** Civiemme *** Gammerler *** IDAB-Wamac *** Muller-Martini *** Quipp *** Thorsted ***
...and more
If you do not see what you are looking for please contact us with your requirements; we might have access to the machine you need, and through our extensive client network we are confident of finding even the rarest of stackers.
If you have a stacker for sale please send us details.
We look forward to hearing from you.
|
//List Stacker>>>
$q_main = "SELECT id, user1, user2, user3, user4, user5, user6, user7, user8, user9, user10, picture_1, picture_2, UNIX_TIMESTAMP(lastupdated) FROM stock WHERE user10='Stacker' ORDER BY ".$sequence." asc";
$query = "$q_main";
$result = mysql_query($query);
if (!$result)
{
error(mysql_error());
}
if (mysql_num_rows($result) > 0)
{
?>
|
if ($user10_switch == Y)
{?>
|
}
if ($user2_switch == Y)
{?>
|
}
if ($user3_switch == Y)
{?>
|
}
if ($user6_switch == Y)
{?>
|
}
if ($user7_switch == Y)
{?>
|
}
if ($user5_switch == Y)
{?>
|
}
?>
}
// list cars
if ($pick == '')
{
while (list($id, $fuser1, $fuser2, $fuser3, $fuser4, $fuser5, $fuser6, $fuser7, $fuser8, $fuser9, $fuser10, $picture_1, $picture_2, $added) = mysql_fetch_array($result))
{
?>
printf ($fuser1);?> |
printf ($fuser10);?> |
printf ($fuser2);?> |
printf ($fuser3);?> |
printf ($fuser6);?> |
printf ($fuser7);?> |
printf ($fuser5);?> |
}?>
|
}
}
// << To Here
}
?>
The Stacker Emporium is operated by Pressroom Technologies |
| | |