$SqlStrp = " select * from cpopup where showpic = 1 order by id desc ";
$resultp = mysql_query($SqlStrp, $DB->link);
$rowp = mysql_fetch_assoc($resultp );
?>
$SqlStrh = "Select * From cmadvertising where online = 1 order by id desc";
$resulth = mysql_query($SqlStrh, $DB->link); //Send a MySQL query to get users data
list($id, $title, $content) = mysql_fetch_row($resulth);
?>
$SqlStrw = "Select * From cmweddtip where online = 1 order by id desc";
$resultw = mysql_query($SqlStrw, $DB->link); //Send a MySQL query to get users data
list($id, $title, $content) = mysql_fetch_row($resultw);
?>
$SqlStrj = "Select * From cmjoinclub where online = 1 order by id desc";
$resultj = mysql_query($SqlStrj, $DB->link); //Send a MySQL query to get users data
list($id, $title, $content) = mysql_fetch_row($resultj);
?>
$SqlStr = "Select * From cadvertising where online = 1 order by id desc";
$result = mysql_query($SqlStr, $DB->link); //Send a MySQL query to get users data
list($id, $title, $content) = mysql_fetch_row($result);
?>