コード例 #1
0
?>
"/>
                    </div>

                    <div class="form-group">
                        <label for=""><?php 
echo tpl_university::phone() . ' ' . tpl_university::university();
?>
 : </label>
                        <input type="text" class="form-control"
                               id="<?php 
echo tpl_university::university() . '_' . tpl_university::phone() . '_update';
?>
"
                               name="<?php 
echo tpl_university::university() . '_' . tpl_university::phone() . '_update';
?>
"/>
                    </div>

                    <div class="form-group">
                        <label for=""><?php 
echo tpl_university::address() . ' ' . tpl_university::university();
?>
 : </label>
                        <input type="text" class="form-control"
                               id="<?php 
echo tpl_university::university() . '_' . tpl_university::address() . '_update';
?>
"
                               name="<?php 
コード例 #2
0
                        <th data-field="<?php 
echo tpl_university::id();
?>
" data-halign="center" data-sortable="true"> id</th>
                        <th data-field="<?php 
echo tpl_university::name();
?>
"
                            data-formatter="operate<?php 
echo tpl_university::university();
?>
"
                            data-halign="center" data-sortable="true"> name
                        </th>
                        <th data-field="<?php 
echo tpl_university::phone();
?>
" data-halign="center" data-sortable="true">
                            phone
                        </th>
                        <th data-field="<?php 
echo tpl_university::address();
?>
" data-halign="center" data-sortable="true">
                            address
                        </th>
                        <th data-field="<?php 
echo tpl_students::students() . '_' . tpl_students::id();
?>
"
                            data-halign="center"
コード例 #3
0
 public function ajax_students()
 {
     $db = new data_base(tpl_university::university(), array(tpl_university::id(), tpl_university::active(), tpl_university::address(), tpl_university::date_in(), tpl_university::name(), tpl_university::phone(), data_base::select_multiple_table(tpl_students::students(), tpl_students::students() . '.' . tpl_students::id_university(), tpl_university::university() . '.' . tpl_university::id(), 'COUNT(' . tpl_students::id() . ')', tpl_students::students() . '_' . tpl_students::id())));
     echo json_encode($db->get());
 }