|
|
|
$title = "";
$model = "";
$description = "";
$price = "";
$category_2 = "";
$product_image = "";
$location = "";
$cid = "";
$publish_date = "";
$effective_date = "";
$product_type = "";
$user_name = "";
$company = "";
$user_contact_mail = "";
$description_2 = "";
$type="v";
$query = "select * from e_product_recommend where pid=" . $pid;
$result = mysql_query($query, $success) or die("prod_detail.inc query failed");
if ($row = mysql_fetch_array($result))
{
$title = $row["title"];
$model = $row["model"];
$description = $row["description"];
$price = $row["price"];
$category_2 = $row["category_2"];
$product_image = $row["product_image"];
$type = $row["product_type"];
$location = $row["location"];
$cid = $row["cid"];
$publish_date = $row["publish_date"];
$effective_date = $row["effective_date"];
$product_type = $row["product_type"];
$query = "select * from e_category where category_2 =" . $category_2;
$result = mysql_query($query, $success) or die("prod_detail.inc category query failed");
if ($row = mysql_fetch_array($result))
{
$description_2 = $row["description_2"];
}
if ($cid==null)
$cid = 1;
$query = "select * from users where cid =" . $cid;
$result = mysql_query($query, $success) or die("prod_detail.inc users query failed");
if ($row = mysql_fetch_array($result))
{
$user_name = $row["user_name"];
$query = "select * from e_company where cid =" . $cid;
$result = mysql_query($query, $success) or die("prod_detail.inc company query failed");
if ($row = mysql_fetch_array($result))
{
$company = $row["company"];
$user_contact_mail = $row["user_contact_email"];
}
}
}
?>
|
|
if ($product_type == "S")
echo "";
else
echo "";
?>
|
|

|
|
|
|
描述:
|
|
|
echo $description?>
|
|
|
|
include('right_ad_area.inc') ?>
|
|