Esempio n. 1
0
<?php

echo form_open();
echo toolbar_open('Staff Edit');
echo toolbar_save();
echo toolbar_apply();
echo toolbar_cancel();
echo toolbar_close();
echo message_note();
?>

<div class='content'>
	
<?php 
echo jquery_tab_open(array('main' => 'Staff', 'assignments' => 'Sites'));
echo jquery_tab_page_open('main');
?>

<div class='toolbar_sub'>
<?php 
echo toolbar_button('google_sync', 'Google Sync', '', '', 'btn-primary btn-sm');
echo toolbar_button('request_setup', 'Request Setup', '', '', 'btn-primary btn-sm');
?>
</div>
<table class='DataRow' cellpadding='0' cellspacing='0'>
<tr><th>Id:</th><td><?php 
echo $row->id;
?>
</td></tr>
<tr><th>Last Name:</th><td><?php 
echo form_input('last_name', quotes_to_entities($row->last_name), 'size="60"');
Esempio n. 2
0
<?php

echo form_open();
echo toolbar_open('Broadcast Message');
echo toolbar_save('SMS', 'glyphicon-comment');
echo toolbar_apply('Call', 'glyphicon-phone');
echo toolbar_cancel('Reset', 'glyphicon-remove');
echo toolbar_close();
echo message_note();
//var_dump($site_list);
?>

<div class='content'>
    <table class='DataRow' cellpadding='0' cellspacing='0'>
        <tr><th><i class="glyphicon-1x glyphicon-asterisk text-danger"></i> Site:</th><td><?php 
echo form_dropdown('site_id', $site_list, '', 'onchange="get_staff(this.value)"');
?>
</td></tr>
<tr><th><i class="glyphicon-1x glyphicon-asterisk text-danger"></i> Staffs:</th><td><?php 
echo form_dropdown('staff_id[]', $staff_list, '', 'id="staff_id" multiple="multiple"');
?>
</td></tr>
<tr><th><i class="glyphicon-1x glyphicon-asterisk text-danger"></i> Message:</th><td><?php 
echo form_textarea('text_msg');
?>
</td></tr>
</table>
    </div>

<?php 
echo form_close();