$value){ $$key = $value; } Define( "_vStrRootPath" , "../../" ); Include( _vStrRootPath . "_tarad/_libraries/config_global.php" ); Include( _vStrRootPath . "_tarad/_libraries/constant.php" ); Include( _vStrRootPath . _vStrDirPrefix . "/" . _vStrDirGlobal . "/global.php" ); Include( _vStrRootPath . _vStrDirPrefix . "/" . _vStrDirGlobal . "/tarad.php" ); Include( _vStrRootPath . _vStrDirPrefix . "/" . _vStrDirGlobal . "/_check_language.php" ); $Conn = MySQL_Connect( _MySQLServer , _MySQLUser , _MySQLPass ) Or Die ( _MySQLDieConn . MySQL_Error() ); MySQL_Select_Db( _MySQLDb , $Conn ) Or Die ( _MySQLDieDb . MySQL_Error() ); mysql_query("SET NAMES 'tis620'"); ?> ร้านค้านี้ไม่ได้เปิดใช้แบบสอบถามออนไลน์"; } $polltopic = $row[poll_topic]; $sql_ans="select * from shop_poll_answer where poll_id_pk='$row[poll_id_pk]'"; $result_ans=mysql_query($sql_ans); $hits=0; while($row_ans=mysql_fetch_array($result_ans)) { $hits+=$row_ans[hits]; } $numofvoter = $hits; $sql1="select * from shop_poll_answer where poll_id_pk='$row[poll_id_pk]'"; $result1=@mysql_query($sql1); ?>

<?=$polltopic?>
หัวข้อแบบสอบถามออนไลน์
 
%
จำนวนผู้ร่วมโหวต คน
vote
"; } ?>