include "../config/config.web.php"; $id_content=$_REQUEST[id_content]; $sql1="Select * From tb_content where num='$id_content'"; $dbquery1=mysql_db_query($dbname,$sql1); $result1= mysql_fetch_array($dbquery1); $counter=$result1[counter]; $name_content=$result1[name_content]; $counter_new=$counter+1; $sql2="update tb_content set counter='$counter_new' where num='$id_content'"; $dbquery2=mysql_db_query($dbname,$sql2); ?>
echo "แชร์
";
?>
|
" data-send="false" data-layout="button_count" data-width="100" data-show-faces="false" data-font="arial"> |
echo"$detail_content";?>
ขอขอบคุณภาพประกอบและบทความ : echo"$source";?> |
" data-width="650" data-num-posts="10"> |
$strSQL = "SELECT * FROM tb_content order by num DESC limit 0,5"; $objQuery = mysql_query($strSQL) or die ("Error Query [".$strSQL."]"); $Num_Rows = mysql_num_rows($objQuery); echo"
";
$intRows++;
?>
/contents/content.php?id_content= #type-content">
if ($pic_show==""){
echo"";
}else{
echo"";
}
?>
...
echo" | ";
if(($intRows)%1==0)
{
echo"
$strSQL = "SELECT * FROM tb_content order by counter DESC limit 0,10"; $objQuery = mysql_query($strSQL) or die ("Error Query [".$strSQL."]"); $Num_Rows = mysql_num_rows($objQuery); echo"
";
$intRows++;
?>
/contents/content.php?id_content= #type-content">
if ($pic_show==""){
echo"";
}else{
echo"";
}
?>
...
echo" | ";
if(($intRows)%1==0)
{
echo"