include('../inc/header.inc.php');
$page_title = "Sanoll Termékek";
include("../inc/page_header.php");
$volldekl = "[ összetevők ]";
$sql = "select * from sanoll_products where topid=0 and id=" . $_GET["id"] . "";
$result=$db->query($sql);
$row = $db->fetch_array( $result );
if(trim($row["pic1"]) && file_exists("../upload/" . $row["pic1"])){
$size = GetImageSize("../upload/" . $row["pic1"]);
?>
" width=" echo $size[0]; ?>" height=" echo $size[1]; ?>"> |
}
?>
|
echo $row["title_txt"];?> |
|
if (trim($row["description"])){?>
|
echo replace_br($row["description"]);
if (trim($row["xtra_text2"]) && trim($row["xtra_text2"])){
echo ' ' . $volldekl . '' ;
}
?> |
|
}
$sql = "select * from sanoll_products where topid=" . $_GET["id"] . " order by pos";
$result=$db->query($sql);
while($row = $db->fetch_array( $result )){
?>
|
- "> echo $row["title_link"];?> |
|
}
?>
|
|
|
$sql = "select * from sanoll_products where topid=" . $_GET["id"] . " order by pos";
$result=$db->query($sql);
while($row = $db->fetch_array( $result )){
?>
if (trim($row["pic1"]) && file_exists("../upload/" . $row["pic1"])){
$size = GetImageSize("../upload/" . $row["pic1"]);
?>
" width=" echo $size[0]; ?>" height=" echo $size[1]; ?>"> |
}
?>
"> |
echo $row["title_txt"];?> |
|
echo replace_br($row["description"]);
if (trim($row["xtra_text2"]) && trim($row["xtra_text3"])){
echo ' ' . $volldekl . '' ;
}
if (trim($row["amount"]) && trim($row["price"])){
$amount = explode("|", $row["amount"]);
$price = explode("|", $row["price"]);
?>
Kiszerelés |
Ár |
for ($i=0; $i
echo $amount[$i];?> |
echo format_currency($price[$i]) . ' Ft';?> |
}
?>
}
?>
|
|
|
$sql = "select * from sanoll_products where topid=" . $row["id"] . " order by pos";
$result2=$db->query($sql);
while($row2 = $db->fetch_array( $result2 )){
if (trim($row2["pic1"]) && file_exists("../upload/" . $row2["pic1"])){
$size = GetImageSize("../upload/" . $row2["pic1"]);
?>
" width=" echo $size[0]; ?>" height=" echo $size[1]; ?>"> |
}
?>"> echo $row2["title_txt"];?> |
echo replace_br($row2["description"]);
if (trim($row2["xtra_text2"]) && trim($row2["xtra_text3"])){
echo ' ' . $volldekl . '' ;
}
if (trim($row2["amount"]) && trim($row2["price"])){
$amount = explode("|", $row2["amount"]);
$price = explode("|", $row2["price"]);
?>
Kiszerelés |
Ár |
for ($i=0; $i
echo $amount[$i];?> |
echo format_currency($price[$i]) . ' Ft';?> |
}
?>
}
?> |
|
}
?>
^ a lap tetejére ^ |
}
?>
include("../inc/page_footer.php");
?>