diff --git a/application/models/logs_model.php b/application/models/logs_model.php index ebfe1806..6a168bff 100644 --- a/application/models/logs_model.php +++ b/application/models/logs_model.php @@ -178,7 +178,7 @@ class Logs_model extends CI_Model public function list_backup_meta($is_id, $meta_code) { $this->init(); - $this->top_num = 500; + $this->top_num = 50; $this->log_res_id = " AND il.log_res_id =" . $this->HT->escape($is_id); $this->log_action = " AND il.log_action like 'backup_meta_" . $meta_code . "_%'"; return $this->get_list(); @@ -288,4 +288,4 @@ class Logs_model extends CI_Model $query = $this->HT->query($sql, array($ic_id)); return $query->row(); } -} +} \ No newline at end of file diff --git a/application/views/mobile_first/ah-pc.php b/application/views/mobile_first/ah-pc.php index 1df50077..55b0294e 100644 --- a/application/views/mobile_first/ah-pc.php +++ b/application/views/mobile_first/ah-pc.php @@ -156,37 +156,60 @@ @@ -693,7 +716,7 @@ function validateNewsletterForm() { function loadScriptByAsync(src) { var asyncScript = document.createElement("script"); asyncScript.async = true; asyncScript.crossorigin = "anonymous"; asyncScript.src = src; firstScript = document.getElementsByTagName("script")[0]; firstScript.parentNode.insertBefore(asyncScript, firstScript); } - + - - + + if (realnameVal === '') { + realnameErrEl.style.display = ''; + result = false; + } + if (emailVal === '') { + emailErrEl.style.display = ''; + result = false; + } else { + var emailPattern = /^[\w\-\.]+@[\w\-\.]+(\.\w+)+$/; + if (!emailPattern.test(emailVal)) { + emailVerifyErrEl.style.display = ''; + result = false; + } + } + return result; + } + @@ -629,7 +655,6 @@ function validateNewsletterForm() { - - + - - \ No newline at end of file diff --git a/application/views/mobile_first/gh-pc.php b/application/views/mobile_first/gh-pc.php index a790cc15..968a7fa3 100644 --- a/application/views/mobile_first/gh-pc.php +++ b/application/views/mobile_first/gh-pc.php @@ -49,15 +49,6 @@ gtag('config', 'G-5VT6KGSG67'); - - - - diff --git a/application/views/mobile_first/gh.php b/application/views/mobile_first/gh.php index dd5be078..9c535f34 100644 --- a/application/views/mobile_first/gh.php +++ b/application/views/mobile_first/gh.php @@ -451,7 +451,7 @@ document.addEventListener('DOMContentLoaded', () => { - +