Пример #1
0
function rbt_makeform($inputs, $default = array(), $clear_form = false)
{
    //rbt_open_form();
    rbt_make_form($inputs, $default, $clear_form);
    //rbt_close_form();
}
Пример #2
0
<?php

$this->load->view('header');
?>
	<div class="container">
		<div class="row"><div class="col-sm-4 col-sm-offset-4 content">
			
			<?php 
if (isset($title)) {
    echo '<h1>' . $title . '</h1>';
}
shout();
?>
			<?php 
rbt_make_form($inputs);
?>
		</div></div>
	</div>
<?php 
$this->load->view('footer');
Пример #3
0
 public function testMailer()
 {
     $input = array('to' => array('type' => 'text', 'display' => 'To', 'rules' => 'required|valid_email'), 'subject' => array('type' => 'text', 'display' => 'Subject', 'rules' => 'required'), 'message' => array('type' => 'text', 'display' => 'Message', 'rules' => 'required'));
     if (rbt_valid_post($input)) {
         //load email libraries
         $this->load->library('amazon_ses');
         // dumper($this->amazon_ses->address_is_verified('*****@*****.**'));
         $this->amazon_ses->to($this->input->post('to'));
         $this->amazon_ses->subject($this->input->post('subject'));
         $this->amazon_ses->message($this->input->post('message'));
         $this->amazon_ses->debug(TRUE);
         dumper($this->amazon_ses->send());
         // dumper(scandir('./ses-cert'));
     }
     // dumper();
     rbt_make_form($input);
 }
Пример #4
0
			<div class="row">
				<div class="col-sm-9">
					<h1>
						<?php 
echo $title;
?>
						<?php 
if (isset($new)) {
    echo $new;
}
?>
					</h1>
					<?php 
shout();
?>

					<?php 
rbt_make_form($inputs, $defaults);
?>

				</div>

				<?php 
$this->load->view('dashboard_sidebar');
?>

			</div>
		</div></div>
	</div>
<?php 
$this->load->view('footer');