Check the brackets. The if bracket is erroneously closed after the first query already:
Code:
if (!preg_match($nomor,$this->request->post['order_id'])) || ((strlen(utf8_decode($this->request->post['order_id'])) < 3) || (strlen(utf8_decode($this->request->post['order_id'])) > 100))
Everything coming after that is wrong then. Correctly it needs to look like this:
Code:
if (!preg_match($nomor,$this->request->post['order_id']) || strlen(utf8_decode($this->request->post['order_id'])) < 3 || strlen(utf8_decode($this->request->post['order_id'])) > 100)
(I assume the three conditions are on the same level and not nested?)