$qs_banner ="SELECT * FROM `banner` WHERE project_id = '1' ORDER BY `banner_position` ASC ";
$qrs_banner =mysql_query($qs_banner);
while($rs_banner =mysql_fetch_array($qrs_banner)){
$banner_img = "./image/banner/$rs_banner[banner_pic]";
?>
} ?>
$qs_banner_text ="SELECT * FROM `banner` WHERE project_id = '1' ORDER BY `banner_position` ASC";
$qrs_banner_text =mysql_query($qs_banner_text);
while($rs_banner_text = mysql_fetch_array($qrs_banner_text)){
?>
$qs_hs ="SELECT * FROM
(
SELECT
content_id,
content_name,
content_intro,
project_id,
content_cover,
content_position,
content_language,
content_date_time,
content_view,
IF(
content_position = 0,
(
SELECT
content_position + 1
FROM
content
GROUP BY
content_position
ORDER BY
content_position DESC
LIMIT 1
),
content_position
) AS sortdata
FROM
`content`
WHERE
content_status = 1
AND `content_category` LIKE 'hot_issue'
AND `content_language` LIKE '$lang'
ORDER BY
`content_position` ASC
) AS a
ORDER BY sortdata ASC,content_date_time DESC LIMIT 10";
$qrs_hs =mysql_query($qs_hs);
while($rs_hs =mysql_fetch_array($qrs_hs)){
$content_name = spacial_name($rs_hs['content_name']); ?>
if ($lang==en){?>
Fatal error: Call to undefined function project_name_en() in /var/www/vhosts/roadsafetythai.org/public_html/themes/road/widget_hotissue.php on line 68