<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta property="og:image" content="immage_title/<?=$file?>" /> <meta property="og:title" content="title of the page" /> <meta property="og:description"content="add a short description of the page or content"/> <title>title</title> </head> <body> <table width="990" height="161" border="0" align="center" cellspacing="0" bordercolor="#FFFFFF" bgcolor="#FFFFFF"> <tr> <td height="36" colspan="2" align="left" valign="top"></td> </tr> <tr> <td width="634" height="60" align="left" valign="top"><table width="627" border="0" cellspacing="0"> <?php $sql="select * from table"; $qu=mysql_query($sql); while($objResult = mysql_fetch_array($qu)) { $id_title=$objResult['id_title']; $title=$objResult['title']; // หัวข้อ $title_detail=$objResult['title_detail']; // รายละเอียด $file=$objResult['file']; // รูปภาพ $title_date=$objResult['title_date']; ?> <tr> <td width="625"> <?=$objResult['title_date'];?> </tr> <tr> <td></td> </tr> <tr> <td></td> <script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script> <a href="#" name="fb_share" id="fb_share" rel="nofollow" type="button_count" share_url="http://atx.com/index_pex.php?Page=<?=$_GET["Page"];?>"></a> <? } ?> </table> <table width="627" border="0" align="left" cellspacing="0"> <tr> <td align="left" valign="baseline"> </span></td> </tr> </table> <br> <span class="style123"> </span> <td width="352" align="left" valign="top" bgcolor="#FFFFFF"> </td> </tr> <tr> <td height="31" colspan="2" align="center" valign="bottom" bgcolor="#FFFFFF"> </td> </tr> </table> <br /> </body> </html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>title</title> </head> <body> <table width="990" height="161" border="0" align="center" cellspacing="0" bordercolor="#FFFFFF" bgcolor="#FFFFFF"> <tr> <td height="36" colspan="2" align="left" valign="top"></td> </tr> <tr> <td width="634" height="60" align="left" valign="top"><table width="627" border="0" cellspacing="0"> <?php $sql="select * from table"; $qu=mysql_query($sql); while($objResult = mysql_fetch_array($qu)) { $id_title=$objResult['id_title']; $title=$objResult['title']; // หัวข้อ $title_detail=$objResult['title_detail']; // รายละเอียด $file=$objResult['file']; // รูปภาพ $title_date=$objResult['title_date']; ?> <tr> <td width="625"> <?=$objResult['title_date'];?> </tr> <tr> <td></td> </tr> <tr> <td></td> <script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script> <a href="#" name="fb_share" id="fb_share" rel="nofollow" type="button_count" share_url="http://atx.com/index_pex.php?Page=<?=$_GET["Page"];?>"></a> <meta property="og:image" content="immage_title/<?=$file?>" /> <meta property="og:title" content="title of the page" /> <meta property="og:description"content="add a short description of the page or content"/> <? } ?> </table> <table width="627" border="0" align="left" cellspacing="0"> <tr> <td align="left" valign="baseline"> </span></td> </tr> </table> <br> <span class="style123"> </span> <td width="352" align="left" valign="top" bgcolor="#FFFFFF"> </td> </tr> <tr> <td height="31" colspan="2" align="center" valign="bottom" bgcolor="#FFFFFF"> </td> </tr> </table> <br /> </body> </html>
<script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script> <a href="#" name="fb_share" id="fb_share" rel="nofollow" type="button_count" share_url="http://camerpixel.bwfoto.net/camerpixel/include_index_pex_1.php?Page=<?=$_GET["Page"];?>"></a> <link rel="image_src" href="immage_title/<?=$row['file']?>" / >
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>title</title> <?php $strSQL1 = "SELECT * FROM table"; $objQuery1 = mysql_query($strSQL1)or die(mysql_error()); $objResult1 = mysql_fetch_array($objQuery1); ?> <meta property="og:title" content="Title Site Name"/> <meta property="og:type" content="Type"/> <meta property="og:url" content="http://www.YouDomain.Com"/> <meta property="og:image" content="http://www.YouDomain.Com/images/<?=trim($objResult1['img'])?>"/> <meta property="og:site_name" content="YouDomain.Com"/> <meta property="og:description" content="Description"/> </head> <body> <table width="990" height="161" border="0" align="center" cellspacing="0" bordercolor="#FFFFFF" bgcolor="#FFFFFF"> <tr> <td height="36" colspan="2" align="left" valign="top"></td> </tr> <tr> <td width="634" height="60" align="left" valign="top"><table width="627" border="0" cellspacing="0"> <?php $sql="select * from table"; $qu=mysql_query($sql); while($objResult = mysql_fetch_array($qu)) { $id_title=$objResult['id_title']; $title=$objResult['title']; // หัวข้อ $title_detail=$objResult['title_detail']; // รายละเอียด $file=$objResult['file']; // รูปภาพ $title_date=$objResult['title_date']; ?> <tr> <td width="625"><?=$objResult['title_date'];?> </tr> <tr> <td></td> </tr> <tr> <td></td> <script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script> <a href="#" name="fb_share" id="fb_share" rel="nofollow" type="button_count" share_url="http://atx.com/index_pex.php?Page=<?=$_GET["Page"];?>"></a> <? } ?> </table> <table width="627" border="0" align="left" cellspacing="0"> <tr> <td align="left" valign="baseline"></span></td> </tr> </table> <br> <span class="style123"> </span> <td width="352" align="left" valign="top" bgcolor="#FFFFFF"> </td> </tr> <tr> <td height="31" colspan="2" align="center" valign="bottom" bgcolor="#FFFFFF"></td> </tr> </table> <br /> </body> </html>
$file=$objResult['file']; // เป็นค่าว่าง เช็คหน่อยว่าค่าออกมาถูกต้องไหม
<a href="#" name="fb_share" id="fb_share" rel="nofollow" type="button_count" share_url="http://atx.com/index_pex.php?Page=<;?=$_GET["Page"];?>"></a> // ตรงนี้ตรวจสอบด้วยว่าใส่ลิงค์ที่จะแชร์ถูกไหม เหมือนจะไม่ถูกนะครับ
<link rel="image_src" href="immage_title/<?=$row['file']?>" / > //แนะนำว่าให้ใส่ url แบบเต็ม <meta property="og:image" content="immage_title/<?=$file?>" /> //แนะนำว่าให้ใส่ url แบบเต็ม
<?php include('config.inc.php'); include('fnalert.php'); //include('datetimepicking.php'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>bwfoto</title> <?php $strSQL1 = "SELECT * FROM title"; $objQuery1 = mysql_query($strSQL1)or die(mysql_error()); while($objResult1 = mysql_fetch_array($objQuery1)){ ?> <meta property="og:title" content="Title Site Name"/> <meta property="og:type" content="Type"/> <meta property="og:url" content="http://camerpixel.bwfoto.net"/> <meta property="og:image" content="http://camerpixel.bwfoto.net/camerpixel/immage_title/<?=trim($objResult1['file'])?>"/> <meta property="og:site_name" content="http://camerpixel.bwfoto.net"/> <meta property="og:description" content="Description"/> <? } ?> </head> <body> <HR><table width="990" height="161" border="0" align="center" cellspacing="0" bordercolor="#FFFFFF" bgcolor="#FFFFFF"> <tr> <td height="36" colspan="2" align="left" valign="top"></td> </tr> <tr> <td width="634" height="60" align="left" valign="top"><table width="627" border="0" cellspacing="0"> <?php $Page = $_GET["Page"]; $id_title=$_GET['id_title']; $strSQL="select * from title "; $objQuery = mysql_query($strSQL) or die ("Error Query [".$strSQL."]"); $Num_Rows = mysql_num_rows($objQuery); $i=1; $Per_Page =2; // Per Page $Page = $_GET["Page"]; if(!$_GET["Page"]) { $Page=1; } $Prev_Page = $Page-1; $Next_Page = $Page+1; $Page_Start = (($Per_Page*$Page)-$Per_Page); if($Num_Rows<=$Per_Page) { $Num_Pages =1; } else if(($Num_Rows % $Per_Page)==0) { $Num_Pages =($Num_Rows/$Per_Page) ; } else { $Num_Pages =($Num_Rows/$Per_Page)+1; $Num_Pages = (int)$Num_Pages; } $strSQL.="order by id_title DESC LIMIT $Page_Start , $Per_Page"; $objQuery = mysql_query($strSQL); ?> <?php while($objResult = mysql_fetch_array($objQuery)) { $id_title=$objResult['id_title']; $title=$objResult['title']; $title_detail=$objResult['title_detail']; $file=$objResult['file']; $title_date=$objResult['title_date']; //echo "$file"; ?> <tr> <td width="625"> <?=$objResult['title_date'];?> <h1> <style type="text/css"> .word-wrap { word-wrap: break-word; } </style> </p> <div style="width:610px;" class="word-wrap" /><?=$objResult['title'];?></h1></td> </tr> <tr> <td><?php echo "<img src='immage_title/$file' alt='IMG' width='610' heigth='50'/>" ?> </td> </tr> <tr> <td><p><style type="text/css"> .word-wrap { word-wrap: break-word; } </style> </p> <div style="width:610px;" class="word-wrap" /><?=$objResult['title_detail'];?></td> <td> <script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script> <a href="#" name="fb_share" id="fb_share" rel="nofollow" type="button_count" share_url="http://camerpixel.bwfoto.net/camerpixel/include_index_pex_1.php?Page=<?=$_GET["Page"];?>"></a> <link rel="image_src" href="http://camerpixel.bwfoto.net/camerpixel/immage_title/<?=$objResult['file']?>"/> <HR /> <? } ?> </table> </table> <br /> <br /> <p> </p> <p><br /> <br /> </p></td> </tr> </table> </td> </tr> <tr> <td height="31" colspan="2" align="center" valign="bottom" bgcolor="#FFFFFF"> </td> </tr> </table> <br /> </body> </html>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง