<commit_before><?php

class SendController extends \Phalcon\Mvc\Controller
{

    public function indexAction()
    {
		$this->view->title = "Send - ";
		$this->view->selectmenu	= "send";
		if($this->request->isPost()){
			$response = $this->smsweb->sendSMS(
				$this->request->getPost('rcpt'),
				$this->request->getPost('msg')
				);
			return $this->dispatcher->forward(array(
				'action' => 'sent',
				'params' => array($this->view->title,$this->view->selectmenu,$response)
			));
		}
		
    }

	public function sentAction($title,$selectmenu,$response)
	{
		$this->view->title = $title;
		$this->view->selectmenu = $selectmenu;
		$this->view->response = $response;
	}
	
	public function personalAction($num=null)
	{
		$this->view->title = "Sending Personal - ";
		$this->view->selectmenu = "mpersonal";
		$this->view->number = $num;
		if($this->request->isPost()){
			$response = $this->smsweb->sendSMS(
				$this->request->getPost('rcpt'),
				$this->request->getPost('msg')
				);
			return $this->dispatcher->forward(array(
				'action' => 'sent',
				'params' => array($this->view->title,$this->view->selectmenu,$response)
			));
		}
	}
	
	public function groupAction()
	{
		$this->view->title = "Kirim Laporan - ";
		$this->view->selectmenu = "comment";
		if($this->request->isPost()){
			$user = new Users();
			#$user->username = $this->request->getPost('username');
			$user->nik	= $this->request->getPost('nik');<commit_msg>rubah bahasa<commit_after><?php

class SendController extends \Phalcon\Mvc\Controller
{

    public function indexAction()
    {
		$this->view->title = "Send - ";
		$this->view->selectmenu	= "send";
		if($this->request->isPost()){
			$response = $this->smsweb->sendSMS(
				$this->request->getPost('rcpt'),
				$this->request->getPost('msg')
				);
			return $this->dispatcher->forward(array(
				'action' => 'sent',
				'params' => array($this->view->title,$this->view->selectmenu,$response)
			));
		}
		
    }

	public function sentAction($title,$selectmenu,$response)
	{
		$this->view->title = $title;
		$this->view->selectmenu = $selectmenu;
		$this->view->response = $response;
	}
	
	public function personalAction($num=null)
	{
		$this->view->title = "Sending Personal - ";
		$this->view->selectmenu = "mpersonal";
		$this->view->number = $num;
		if($this->request->isPost()){
			$response = $this->smsweb->sendSMS(
				$this->request->getPost('rcpt'),
				$this->request->getPost('msg')
				);
			return $this->dispatcher->forward(array(
				'action' => 'sent',
				'params' => array($this->view->title,$this->view->selectmenu,$response)
			));
		}
	}
	
	public function groupAction()
	{
		$this->view->title = "Kirim Laporan - ";
		$this->view->selectmenu = "comments";
		if($this->request->isPost()){
			$user = new Users();
			#$user->username = $this->request->getPost('username');
			$user->nik	= $this->request->getPost('nik');
{'fraction_non_alphanumeric': 0.21929215822345594, 'fraction_numerical': 0.0, 'mean_word_length': 3.8535353535353534, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 123, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '107838', 'n_tokens_mistral': 1135, 'n_tokens_neox': 996, 'n_words': 138}