$dbhostname = "localhost";// host
$dbusername = "j2h"; //user
$dbuserpass = "love";// //password
$dbname = "mall"; //database
$table= "j2hmall"; //table
$psword ="j2h";
$j2huser="j2h";
$j2hpassword="lovelove";
$limit = 20;
$top= "
";
$down= "
";
$conID = @mysql_pconnect($dbhostname, $dbusername, $dbuserpass) or die ("資料連結錯誤");
mysql_select_db( "$dbname",$conID);
//$isload =1; //判別是否被呼叫過
?>
include "config.php";
$sql_select = "select * from $table";
$sql_select .= " where id='$id'";
$result = mysql_query ($sql_select,$conID) or die ($sql_select);
$row = mysql_fetch_array($result) ;
$id=$row["id"];
$pic_a=$row["pic_a"];
$name=$row["name"];
$name2=$row["name2"];
$name3=$row["name3"];
$name4=$row["name4"];
$name5=$row["name5"];
$message_a=$row["message_a"];
$message_b=$row["message_b"];
$message_c=$row["message_c"];
$info=$row["info"];
$extra=$row["extra"];
$six=$row["six"];
$title=$row["title"];
$phone=$row["phone"];
$address=$row["address"];
$number=$row["number"];
$area=$row["area"];
$category=$row["category"];
$userword=$row["userword"];
$date=$row["date"];
if($category=="email名單" or $category=="電話行銷名單" or $category=="行銷名單" or $category=="工商名單" or $category=="行銷光碟"){ include "index.php";
exit;}
echo"$title
";
$a = "
$category | | 服務內容: | $title |
地區: | $area |
地址: | $address |
聯絡電話: | $phone | 聯絡人: | $name | 簡介: | $message_a
| |
刊登日期: $date";
$b = "
$category | 服務內容: | $title |
地區: | $area |
地址: | $address |
聯絡電話: | $phone | 聯絡人: | $name | 簡介: | $message_a
| |
刊登日期: $date";
$c = "
|
地 址: | $address | 電 話: | $phone |
刊登日期: | $date |
|
";
$d = " |
|
地 址: | $address | 電 話: | $phone | 刊登日期: | $date |
|
";
$e = "
[$name ]
$message_a
|
|
|
";
$f = "
|
[$name]
$message_a
|
";
$g = "
[ $name]
$message_a
|
|
";
$h = " $message_a ";
?>select number,date from where id=''