Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/north64/domains/north64.sillapa.net/public_html/includes/class.mysql.php on line 30

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/north64/domains/north64.sillapa.net/public_html/includes/class.mysql.php on line 32

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/north64/domains/north64.sillapa.net/public_html/includes/class.mysql.php on line 33

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/north64/domains/north64.sillapa.net/public_html/includes/class.mysql.php on line 33

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/north64/domains/north64.sillapa.net/public_html/includes/class.mysql.php on line 34

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/north64/domains/north64.sillapa.net/public_html/includes/class.mysql.php on line 34

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/north64/domains/north64.sillapa.net/public_html/includes/class.mysql.php on line 187

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/north64/domains/north64.sillapa.net/public_html/includes/class.mysql.php on line 187

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/north64/domains/north64.sillapa.net/public_html/includes/class.mysql.php on line 223

Warning: mysql_close(): supplied argument is not a valid MySQL-Link resource in /home/north64/domains/north64.sillapa.net/public_html/includes/class.mysql.php on line 40

Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/north64/domains/north64.sillapa.net/public_html/includes/class.mysql.php on line 30

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/north64/domains/north64.sillapa.net/public_html/includes/class.mysql.php on line 32

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/north64/domains/north64.sillapa.net/public_html/includes/class.mysql.php on line 33

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/north64/domains/north64.sillapa.net/public_html/includes/class.mysql.php on line 33

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/north64/domains/north64.sillapa.net/public_html/includes/class.mysql.php on line 34

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/north64/domains/north64.sillapa.net/public_html/includes/class.mysql.php on line 34

Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/north64/domains/north64.sillapa.net/public_html/includes/class.mysql.php on line 30

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/north64/domains/north64.sillapa.net/public_html/includes/class.mysql.php on line 32

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/north64/domains/north64.sillapa.net/public_html/includes/class.mysql.php on line 33

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/north64/domains/north64.sillapa.net/public_html/includes/class.mysql.php on line 33

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/north64/domains/north64.sillapa.net/public_html/includes/class.mysql.php on line 34

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/north64/domains/north64.sillapa.net/public_html/includes/class.mysql.php on line 34

Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/north64/domains/north64.sillapa.net/public_html/includes/class.mysql.php on line 30

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/north64/domains/north64.sillapa.net/public_html/includes/class.mysql.php on line 32

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/north64/domains/north64.sillapa.net/public_html/includes/class.mysql.php on line 33

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/north64/domains/north64.sillapa.net/public_html/includes/class.mysql.php on line 33

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/north64/domains/north64.sillapa.net/public_html/includes/class.mysql.php on line 34

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/north64/domains/north64.sillapa.net/public_html/includes/class.mysql.php on line 34
ç¹ ͧ ͧ ͧ Թ ͧᴧ

Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/north64/domains/north64.sillapa.net/public_html/includes/class.mysql.php on line 30

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/north64/domains/north64.sillapa.net/public_html/includes/class.mysql.php on line 32

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/north64/domains/north64.sillapa.net/public_html/includes/class.mysql.php on line 33

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/north64/domains/north64.sillapa.net/public_html/includes/class.mysql.php on line 33

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/north64/domains/north64.sillapa.net/public_html/includes/class.mysql.php on line 34

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/north64/domains/north64.sillapa.net/public_html/includes/class.mysql.php on line 34
SELECT im_school.area_type_id AS area_type_id,im_school.province_id AS province_id, im_school.zone_num AS zone_num, im_school.area_sm AS area_sm, COUNT(*) AS NUB , COUNT(IF(im_team.award='ͧ',award,NULL)) AS gold_medal, COUNT(IF(im_team.award='Թ',award,NULL)) AS silver_medal, COUNT(IF(im_team.award='ͧᴧ',award,NULL)) AS bronze_medal, COUNT(IF(im_team.award='',award,NULL)) AS join_medal, COUNT(IF(im_team.rank='',rank,NULL)) AS winner, COUNT(IF(im_team.rank='ͧѹѺ ',rank,NULL)) AS two_rank, COUNT(IF(im_team.rank='ͧѹѺ ',rank,NULL)) AS three_rank FROM im_school,im_team WHERE im_team.confirm_status=1 AND im_school.school_id=im_team.school_id GROUP BY im_school.province_id, im_school.zone_num , im_school.area_sm ORDER BY winner DESC, two_rank DESC, three_rank DESC, gold_medal DESC, silver_medal DESC,bronze_medal DESC,join_medal DESC, NUB DESC
Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/north64/domains/north64.sillapa.net/public_html/includes/class.mysql.php on line 187

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/north64/domains/north64.sillapa.net/public_html/includes/class.mysql.php on line 187
0 0 0 0 0 0 0 0 0

 

Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/north64/domains/north64.sillapa.net/public_html/includes/class.mysql.php on line 30

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/north64/domains/north64.sillapa.net/public_html/includes/class.mysql.php on line 32

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/north64/domains/north64.sillapa.net/public_html/includes/class.mysql.php on line 33

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/north64/domains/north64.sillapa.net/public_html/includes/class.mysql.php on line 33

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/north64/domains/north64.sillapa.net/public_html/includes/class.mysql.php on line 34

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/north64/domains/north64.sillapa.net/public_html/includes/class.mysql.php on line 34

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/north64/domains/north64.sillapa.net/public_html/includes/class.mysql.php on line 187

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/north64/domains/north64.sillapa.net/public_html/includes/class.mysql.php on line 187

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/north64/domains/north64.sillapa.net/public_html/index.php on line 185

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/north64/domains/north64.sillapa.net/public_html/includes/class.mysql.php on line 187

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/north64/domains/north64.sillapa.net/public_html/includes/class.mysql.php on line 187

Warning: mysql_close(): supplied argument is not a valid MySQL-Link resource in /home/north64/domains/north64.sillapa.net/public_html/includes/class.mysql.php on line 40