isset($_SESSION) ? : session_start();
include ("admin/connect.php");
include ("admin/connect.php");
?>
include ("include/top.php");
?>
$result = mysqli_query($connection,
"select * from banner where pic1='首頁Banner' and webid=5 and `enable`='Y' order by write_time desc");
while ($row = mysqli_fetch_array($result)) {
?>
} ?>
機器買賣
各種新機器,二手機器買賣回收等,歡迎線上了解,與我們聯繫
看更多
螺絲
各種新機器,二手機器買賣回收等,歡迎線上了解,與我們聯繫
看更多
$result = mysqli_query($connection,
"select * from product where state=1 order by addtime desc LIMIT 6");
while ($row = mysqli_fetch_array($result)) {
?>
if ($row['sp'] == 0) {
?>
Used Machine
} else
if ($row['sp'] == 1) {
?>
New Machine
} else {
?>
}
?>
$pic = explode(',', $row["cover"]);
echo "

";
?>
if (mb_strlen(ClearHtml($row["content_en"]), 'utf-8') > 50) {
$item = mb_substr(ClearHtml($row["content_en"]), 0, 50, 'utf-8');
echo $item.'...';
} else {
echo ClearHtml($row["content_en"]);
}
?>
} ?>
每周七天,每天24H,全年365天服務零時差,如有任何問題歡迎加入LINE詢問.
$result = mysqli_query($connection,
"select * from product order by addtime desc LIMIT 6");
while ($row = mysqli_fetch_array($result)) {
?>
if ($row['sp'] == 0) {
?>
Used Machine
} else
if ($row['sp'] == 1) {
?>
New Machine
} else {
?>
}
?>
$pic = explode(',', $row["cover"]);
echo "

";
?>
if (mb_strlen(ClearHtml($row["content_en"]), 'utf-8') > 50) {
$item = mb_substr(ClearHtml($row["content_en"]), 0, 50, 'utf-8');
echo $item.'...';
} else {
echo ClearHtml($row["content_en"]);
}
?>
} ?>
$result = mysqli_query($connection,
"select * from typeclass where LENGTH(refpath)=6 order by addtime");
while ($row = mysqli_fetch_array($result)) {
?>
$resultpro = mysqli_query($connection,
"select * from product where sid in (select id from typeclass where refpath like '" .
$row['refpath'] . "%') order by addtime desc LIMIT 6");
while ($rowpro = mysqli_fetch_array($resultpro)) {
?>
if ($rowpro['sp'] == 0) {
?>
Used Machine
} else
if ($rowpro['sp'] == 1) {
?>
New Machine
} else {
?>
}
?>
$pic = explode(',', $rowpro["cover"]);
echo "

";
?>
if (mb_strlen(ClearHtml($rowpro["content_en"]), 'utf-8') > 50) {
$item = mb_substr(ClearHtml($rowpro["content_en"]), 0, 50, 'utf-8');
echo $item.'...';
} else {
echo ClearHtml($rowpro["content_en"]);
}
?>
} ?>
} ?>
include ("include/bottom.php");
?>