Deprecated: Assigning the return value of new by reference is deprecated in D:\WebRoot\dhmct\Shell_en\search.php on line 27

Deprecated: Assigning the return value of new by reference is deprecated in D:\WebRoot\dhmct\Shell_en\search.php on line 28

Deprecated: Assigning the return value of new by reference is deprecated in D:\WebRoot\dhmct\Shell_en\search.php on line 29

Deprecated: Assigning the return value of new by reference is deprecated in D:\WebRoot\dhmct\Shell_en\search.php on line 31

Notice: Use of undefined constant DBHOST - assumed 'DBHOST' in D:\WebRoot\dhmct\Shell_en\lib\config.php on line 9

Notice: Use of undefined constant DBUSER - assumed 'DBUSER' in D:\WebRoot\dhmct\Shell_en\lib\config.php on line 10

Notice: Use of undefined constant DBPASS - assumed 'DBPASS' in D:\WebRoot\dhmct\Shell_en\lib\config.php on line 11

Notice: Use of undefined constant DBNAME - assumed 'DBNAME' in D:\WebRoot\dhmct\Shell_en\lib\config.php on line 12

Notice: Use of undefined constant MAX_DOWNLOAD_SIZE - assumed 'MAX_DOWNLOAD_SIZE' in D:\WebRoot\dhmct\Shell_en\lib\config.php on line 15

Notice: Use of undefined constant MAX_DOWNLOAD_TIMES - assumed 'MAX_DOWNLOAD_TIMES' in D:\WebRoot\dhmct\Shell_en\lib\config.php on line 16

Notice: Use of undefined constant NOPHOTO - assumed 'NOPHOTO' in D:\WebRoot\dhmct\Shell_en\lib\config.php on line 19

Notice: Use of undefined constant BAN_IP_LIST - assumed 'BAN_IP_LIST' in D:\WebRoot\dhmct\Shell_en\lib\config.php on line 29

Notice: Use of undefined constant IMAGEURL - assumed 'IMAGEURL' in D:\WebRoot\dhmct\Shell_en\lib\config_display.php on line 11

Notice: Use of undefined constant IMAGEURL_REAL - assumed 'IMAGEURL_REAL' in D:\WebRoot\dhmct\Shell_en\lib\config_display.php on line 13

Notice: Use of undefined constant REC_NUM_PER_PAGE - assumed 'REC_NUM_PER_PAGE' in D:\WebRoot\dhmct\Shell_en\lib\config_display.php on line 20

Notice: Use of undefined constant PRIV_BASIC_READ - assumed 'PRIV_BASIC_READ' in D:\WebRoot\dhmct\Shell_en\lib\config_display.php on line 22

Notice: Use of undefined constant PRIV_ALL_READ - assumed 'PRIV_ALL_READ' in D:\WebRoot\dhmct\Shell_en\lib\config_display.php on line 23

Notice: Use of undefined constant Q_ITEM_EMPTY - assumed 'Q_ITEM_EMPTY' in D:\WebRoot\dhmct\Shell_en\lib\config_display.php on line 26

Notice: Use of undefined constant ITEM_DELIM - assumed 'ITEM_DELIM' in D:\WebRoot\dhmct\Shell_en\lib\config_display.php on line 27

Notice: Use of undefined constant Q_ITEM_AND - assumed 'Q_ITEM_AND' in D:\WebRoot\dhmct\Shell_en\lib\config_display.php on line 28

Notice: Use of undefined constant PC_ITEM_DELIM - assumed 'PC_ITEM_DELIM' in D:\WebRoot\dhmct\Shell_en\lib\config_display.php on line 29

Notice: Use of undefined constant DBCNAME - assumed 'DBCNAME' in D:\WebRoot\dhmct\Shell_en\lib\config_display.php on line 37

Notice: Use of undefined constant COPYRIGHTS - assumed 'COPYRIGHTS' in D:\WebRoot\dhmct\Shell_en\lib\config_display.php on line 40

Notice: Use of undefined constant WEBTITLE - assumed 'WEBTITLE' in D:\WebRoot\dhmct\Shell_en\lib\config_display.php on line 45

Notice: Use of undefined constant MD_F1_LIKE_DELI - assumed 'MD_F1_LIKE_DELI' in D:\WebRoot\dhmct\Shell_en\lib\config_display.php on line 49

Notice: Use of undefined constant MD_F1_EXACT - assumed 'MD_F1_EXACT' in D:\WebRoot\dhmct\Shell_en\lib\config_display.php on line 50

Notice: Use of undefined constant MD_F1_LIKE - assumed 'MD_F1_LIKE' in D:\WebRoot\dhmct\Shell_en\lib\config_display.php on line 51

Notice: Use of undefined constant MD_FULLTEXT - assumed 'MD_FULLTEXT' in D:\WebRoot\dhmct\Shell_en\lib\config_display.php on line 52

Notice: Use of undefined constant MD_PSFIELD_EQUALS_DBFIELD - assumed 'MD_PSFIELD_EQUALS_DBFIELD' in D:\WebRoot\dhmct\Shell_en\lib\config_display.php on line 86

Notice: Use of undefined constant MD_PSFIELD_NOTEQUALS_DBFIELD - assumed 'MD_PSFIELD_NOTEQUALS_DBFIELD' in D:\WebRoot\dhmct\Shell_en\lib\config_display.php on line 87

Notice: Use of undefined constant MD_MULTIPSFIELD_IN_DBFIELD - assumed 'MD_MULTIPSFIELD_IN_DBFIELD' in D:\WebRoot\dhmct\Shell_en\lib\config_display.php on line 88

Notice: Use of undefined constant MD_DBFIELD_CONTAINS_PSFIELD - assumed 'MD_DBFIELD_CONTAINS_PSFIELD' in D:\WebRoot\dhmct\Shell_en\lib\config_display.php on line 89

Notice: Use of undefined constant SEARCH_FIELDS - assumed 'SEARCH_FIELDS' in D:\WebRoot\dhmct\Shell_en\lib\config_display.php on line 154

Notice: Use of undefined constant DEFAULT_SEARCH_FIELD - assumed 'DEFAULT_SEARCH_FIELD' in D:\WebRoot\dhmct\Shell_en\lib\config_display.php on line 158

Notice: Use of undefined constant SEARCH_DISPLAY_FIELDS - assumed 'SEARCH_DISPLAY_FIELDS' in D:\WebRoot\dhmct\Shell_en\lib\config_display.php on line 160

Notice: Use of undefined constant FULLTEXT_SEARCH_FIELDS - assumed 'FULLTEXT_SEARCH_FIELDS' in D:\WebRoot\dhmct\Shell_en\lib\config_display.php on line 162

Notice: Use of undefined constant POSTCLASS_FIELDS - assumed 'POSTCLASS_FIELDS' in D:\WebRoot\dhmct\Shell_en\lib\config_display.php on line 164

Notice: Use of undefined constant DEFAULT_PS_DISPLAY - assumed 'DEFAULT_PS_DISPLAY' in D:\WebRoot\dhmct\Shell_en\lib\config_display.php on line 166

Notice: Use of undefined constant S_RESULT_DISPLAY_FIELDS - assumed 'S_RESULT_DISPLAY_FIELDS' in D:\WebRoot\dhmct\Shell_en\lib\config_display.php on line 168

Notice: Use of undefined constant ROOT_BROWSE_PATH - assumed 'ROOT_BROWSE_PATH' in D:\WebRoot\dhmct\Shell_en\lib\config_display.php on line 170

Notice: Undefined variable: tmp_root_browse_path in D:\WebRoot\dhmct\Shell_en\lib\config_display.php on line 170

Notice: Use of undefined constant BROWSE_PATH - assumed 'BROWSE_PATH' in D:\WebRoot\dhmct\Shell_en\lib\config_display.php on line 171

Notice: Undefined variable: tmp_browse_path_field in D:\WebRoot\dhmct\Shell_en\lib\config_display.php on line 171

Notice: Use of undefined constant DATA_PATHNAME - assumed 'DATA_PATHNAME' in D:\WebRoot\dhmct\Shell_en\lib\config_display.php on line 173

Notice: Undefined variable: tmp_data_pathname in D:\WebRoot\dhmct\Shell_en\lib\config_display.php on line 173

Notice: Use of undefined constant SINGLE_DISPLAY_FIELDS - assumed 'SINGLE_DISPLAY_FIELDS' in D:\WebRoot\dhmct\Shell_en\lib\config_display.php on line 175

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at D:\WebRoot\dhmct\Shell_en\lib\config_display.php:50) in D:\WebRoot\dhmct\Shell_en\search.php on line 23

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at D:\WebRoot\dhmct\Shell_en\lib\config_display.php:50) in D:\WebRoot\dhmct\Shell_en\search.php on line 23

Notice: Undefined index: ip in D:\WebRoot\dhmct\Shell_en\lib\searchController.php on line 207

Notice: Undefined index: uid in D:\WebRoot\dhmct\Shell_en\lib\searchController.php on line 207

Notice: Undefined index: ps_Class in D:\WebRoot\dhmct\Shell_en\lib\searchController.php on line 211

Notice: Undefined index: ps_Order in D:\WebRoot\dhmct\Shell_en\lib\searchController.php on line 211

Notice: Undefined index: ps_Family in D:\WebRoot\dhmct\Shell_en\lib\searchController.php on line 211

Notice: Undefined index: ps_Genus in D:\WebRoot\dhmct\Shell_en\lib\searchController.php on line 211

Notice: Undefined index: ps_Collector in D:\WebRoot\dhmct\Shell_en\lib\searchController.php on line 211

Notice: Undefined index: ps_CollDate in D:\WebRoot\dhmct\Shell_en\lib\searchController.php on line 211

Notice: Undefined index: ps_PresrvLoc in D:\WebRoot\dhmct\Shell_en\lib\searchController.php on line 211

Notice: Undefined index: ps_DataSource in D:\WebRoot\dhmct\Shell_en\lib\searchController.php on line 211

Notice: Undefined variable: groupby in D:\WebRoot\dhmct\Shell_en\lib\model.php on line 58

Notice: Undefined variable: orderby in D:\WebRoot\dhmct\Shell_en\lib\model.php on line 58

Notice: Undefined variable: limit in D:\WebRoot\dhmct\Shell_en\lib\model.php on line 58

This is an invalid query:
SELECT COUNT(*) AS CNT FROM metadata WHERE uselimit ='1' AND ( ( ( (metadata.EOrder = '1'') ) ) and ( ( (metadata.EOrder = 'ss1'') ) ) and ( ( (metadata.EOrder = 'sggggs1'') ) ) and ( ( (metadata.EOrder = 'sggggs1'-- ') ) ) and ( ( (metadata.EOrder = 'sggggs1')))-- ') ) ) and ( ( (metadata.EOrder = 'sggggs1'))-- ') ) ) and ( ( (metadata.EOrder = 'sggggs1'))') ) ) and ( ( (metadata.EOrder = 'sggggs1'))#') ) ) and ( ( (metadata.EOrder = 'sggggffs1'))#') ) ) and ( ( (metadata.EFamily = 'Clausiliidae') ) ) and ( ( (metadata.EClass = 'Gastropoda') ) ) and ( ( ((metadata.EClass LIKE '%test%') OR (metadata.CClass LIKE '%test%') OR (metadata.EOrder LIKE '%test%') OR (metadata.COrder LIKE '%test%') OR (metadata.EFamily LIKE '%test%') OR (metadata.CFamily LIKE '%test%') OR (metadata.EGenus LIKE '%test%') OR (metadata.CGenus LIKE '%test%') OR (metadata.Species LIKE '%test%') OR (metadata.Subspecies LIKE '%test%') OR (metadata.Science LIKE '%test%') OR (metadata.Nomenclator LIKE '%test%') OR (metadata.Synonym LIKE '%test%') OR (metadata.Chinese_Name LIKE '%test%') OR (metadata.China_name LIKE '%test%') OR (metadata.ECommon LIKE '%test%') OR (metadata.CCommon LIKE '%test%') OR (metadata.City LIKE '%test%') OR (metadata.Township LIKE '%test%') OR (metadata.Collect_Place LIKE '%test%') OR (metadata.PresrvLoc LIKE '%test%') OR (metadata.Collector LIKE '%test%') OR (metadata.Remark_sp LIKE '%test%') OR (metadata.DataSource LIKE '%test%')) ) ) and ( ( ((metadata.EClass LIKE '%test\%\'-- -%') OR (metadata.CClass LIKE '%test\%\'-- -%') OR (metadata.EOrder LIKE '%test\%\'-- -%') OR (metadata.COrder LIKE '%test\%\'-- -%') OR (metadata.EFamily LIKE '%test\%\'-- -%') OR (metadata.CFamily LIKE '%test\%\'-- -%') OR (metadata.EGenus LIKE '%test\%\'-- -%') OR (metadata.CGenus LIKE '%test\%\'-- -%') OR (metadata.Species LIKE '%test\%\'-- -%') OR (metadata.Subspecies LIKE '%test\%\'-- -%') OR (metadata.Science LIKE '%test\%\'-- -%') OR (metadata.Nomenclator LIKE '%test\%\'-- -%') OR (metadata.Synonym LIKE '%test\%\'-- -%') OR (metadata.Chinese_Name LIKE '%test\%\'-- -%') OR (metadata.China_name LIKE '%test\%\'-- -%') OR (metadata.ECommon LIKE '%test\%\'-- -%') OR (metadata.CCommon LIKE '%test\%\'-- -%') OR (metadata.City LIKE '%test\%\'-- -%') OR (metadata.Township LIKE '%test\%\'-- -%') OR (metadata.Collect_Place LIKE '%test\%\'-- -%') OR (metadata.PresrvLoc LIKE '%test\%\'-- -%') OR (metadata.Collector LIKE '%test\%\'-- -%') OR (metadata.Remark_sp LIKE '%test\%\'-- -%') OR (metadata.DataSource LIKE '%test\%\'-- -%')) ) ) )