<commit_before><?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of AdminController
 *
 * @author irene
 */
class ReceptionController  extends BaseController{
            public function getIndex(){
            return View::make("reception.reception");
    }
    		public function manage_patients(){
            return View::make("admin.manage_user");
    }
	public function addUser(){
			$inputs = Input::all();
			$usr = User::create(array(
				"email"=>$inputs['email'],
				"first_name"=>$inputs['first_name'],
				"last_name"=>$inputs['last_name'],
				"middle_name"=>$inputs['middle_name'],
				"level"=>$inputs['level'],
				"password"=><PASSWORD>($inputs['password']),
				"address" =>$inputs['address'],
				"contact"=>$inputs['contact']
<commit_msg>added reception controller<commit_after><?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of AdminController
 *
 * @author irene
 */
class ReceptionController  extends BaseController{
            public function getIndex(){
            return View::make("reception.reception");
    }
    		public function manage_patients(){
            return View::make("admin.manage_user");
    }


    public function loadsection(){
    	$section = Input::get('sect');
    	return View::make('reception.section',compact('section'));
    }

    public function savepatientinfo(){

    	$inputs = Input::all();

    	Patient::create($inputs);


    }

	public function addUser(){
			$inputs = Input::all();
			$usr = User::create(array(
				"email"=>$inputs['email'],
				"first_name"=>$inputs['first_name'],
				"last_name"=>$inputs['last_name'],
				"middle_name"=>$inputs['middle_name'],
				"level"=>$inputs['level'],
				"password"=><PASSWORD>($inputs['password']),
				"address" =>$inputs['address'],
				"contact"=>$inputs['contact']

{'fraction_non_alphanumeric': 0.16263632053105737, 'fraction_numerical': 0.0, 'mean_word_length': 3.8505747126436782, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 21, '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': '2874527', 'n_tokens_mistral': 672, 'n_tokens_neox': 603, 'n_words': 139}