Hi,
I have a list of news that i'm getting from the DataBase:
do{
$content.='<div id="square_news">';
$content.='<div id="news_banner">';
$content.='<img src="'.$SelectAllNews['ImagemNoticia'].'" />';
$content.='</div>';
$content.='<div id="square_news_title">';
$content.='<div class="news_title_h2"> ';
$content.='<h2>';
$content.='<a href="news.php?news='.$SelectAllNews['IdNoticia'].'">'.$SelectAllNews['TituloNoticia'].'</a>';
$content.='</h2>';
$content.='</div>';
/************SHARE FACEBOOK************/
$title=urlencode($news['TituloNoticia']);
$url=urlencode('http://mywebsite.com/news.php?news='.$news['IdNoticia']);
$summary=urlencode(strip_tags($news['TextoNoticia']));
$image=urlencode('http://mywebsite.com/'.$news['ImagemSmallNoticia']);
?>
<a href="http://www.facebook.com/sharer/sharer.php?s=100&p%5Btitle%5D=<?php echo $title ?>&p%5Bsummary%5D=<?php echo $summary ?>.&p%5Burl%5D=<?php echo $url ?>&p%5Bimages%5D%5B0%5D=<?php echo $image ?>" target="_blank" title="share this on facebook">SHARE</a> /************SHARE FACEBOOK************/
$content.='</div>';
$content.='<div id="news_content">';
$content.='<p>'.$SelectAllNews['TextoNoticia'].'</p>';
$content.='</div>';
$content.='<div class="news_info">';
$content.='<div class="meta"><img src="" /> Date: '.$SelectAllNews['DataNoticia'].' </div>';
$content.='<!-- <div class="meta"><img src="" /> By : '.$SelectAllNews['SourceNoticia'].' </div> -->';
$content.='<div class="meta"><img src="" /> Source : <a href="#">'.$SelectAllNews['SourceNoticia'].'</a> </div>';
$content.='<div class="meta"><img src="" /> 12 Comments </div>';
$content.='</div>';
$content.='</div>';
}while($SelectAllNews = mysql_fetch_assoc($QuerySelectAllNews));
And i want to instead of opening a new tab, i would like to make a "Feed and Share Dialogs".
Can someone help me, please?
Thank you,
PF2G