Пример #1
0
echo set_form_value('TYPE_CODE', $page_var['model']);
?>
">
                <?php 
echo form_error('TYPE_CODE');
?>
            </div>
            <div class="form-group has-error">
                <label for="TYPE_SUBJECT">ชื่อประเภทการฝึกอบรม *</label>
                <input type="text" 
                        class="form-control" 
                        id="TYPE_SUBJECT" 
                        name="TYPE_SUBJECT" 
                        placeholder="ชื่อประเภทการฝึกอบรม"
                        value="<?php 
echo set_form_value('TYPE_SUBJECT', $page_var['model']);
?>
">
                <?php 
echo form_error('TYPE_SUBJECT');
?>
            </div>
            <div class="form-group require">
                <?php 
echo form_label('สถานะ', 'TYPE_STATUS');
?>
                <?php 
echo form_dropdown('TYPE_STATUS', $STATUSES, set_value('TYPE_STATUS', isset($page_var['model']['TYPE_STATUS']) ? $page_var['model']['TYPE_STATUS'] : ''), 'class="form-control"');
?>
                <?php 
echo form_error('TYPE_STATUS');
Пример #2
0
echo form_open('certificate_sign/index', ['method' => 'GET', 'class' => 'form-search']);
?>
	<div class="box box-solid box-primary">
		<div class="box-header">
			<h3 class="box-title">เงื่อนไขการค้นหา</h3>
		</div><!-- /.box-header -->
		<div class="box-body">
			<div class="form-group">
				<?php 
echo lang('GMS_CERTIFICATE_SIGN_SIGN_ID', 'SIGN_ID');
?>
				<input type="text"
						name="SIGN_ID"
						class="form-control"
						value="<?php 
echo set_form_value('SIGN_ID', $page_var['search_params']);
?>
">
			</div>
		</div><!-- /.box-body -->
		<div class="box-footer text-center">
			<input type="submit" value="ค้นหา" class="btn btn-primary">
		</div><!-- /.box-footer -->
	</div><!-- /.box -->
<?php 
echo form_close();
?>

<div class="row">
	<div class="col-md-12">
		<div class="box box-primary">
Пример #3
0
				<div class="box-body">
					<div class="form-group has-error">
						<?php 
echo form_label('ปีงบประมาณ *', 'TERM_YEAR');
?>
						<input type="text" 
								name="TERM_YEAR" 
								class="form-control require-field has-dependency"
								data-require-field-alert-text="กรุณาเลือก ปีงบประมาณ"
								data-dependency-for="TERM_GEN"
								data-url-dependency-for-term-gen="<?php 
echo site_url(['term', 'get_html_options_for_dropdown_term_gen']);
?>
" 
								value="<?php 
echo set_form_value('TERM_YEAR', isset($page_var['gms_term']) ? $page_var['gms_term'] : null, date('Y') + 543);
?>
">
					</div>
					<div class="form-group has-error">
						<?php 
echo form_label('ประเภทการฝึกอบรม *', 'TYPE_ID');
?>
						<?php 
echo form_dropdown('TYPE_ID', $page_var['gms_type_list'], [], 'class="form-control require-field has-dependency" data-url-dependency="' . site_url(['sports', 'get_html_options_by_type_id']) . '"' . ' data-require-field-alert-text="กรุณาเลือก ประเภทการฝึกอบรม"');
?>
					</div>
					<div class="form-group has-error">
						<?php 
echo form_label('ชนิดกีฬา *', 'SPORT_ID');
?>
Пример #4
0
				<?php 
echo lang('GMS_WORK_AMPHUR_ID', 'AMPHUR_ID');
?>
				<?php 
echo form_dropdown('AMPHUR_ID', isset($page_var['amphur_list']) ? $page_var['amphur_list'] : [], set_form_value('AMPHUR_ID', $page_var['model']), 'class="form-control"' . (isset($page_var['amphur_list']) ? '' : ' disabled'));
?>
				<?php 
echo form_error('AMPHUR_ID');
?>
			</div>
			<div class="form-group">
				<?php 
echo lang('GMS_WORK_TUMBOL_ID', 'TUMBOL_ID');
?>
				<?php 
echo form_dropdown('TUMBOL_ID', isset($page_var['tumbol_list']) ? $page_var['tumbol_list'] : [], set_form_value('TUMBOL_ID', $page_var['model']), 'class="form-control"' . (isset($page_var['tumbol_list']) ? '' : ' disabled'));
?>
				<?php 
echo form_error('TUMBOL_ID');
?>
			</div>
		</div>
		<div class="box-footer text-center">
			<button type="submit" name="submit" class="btn btn-primary btn-save">บันทึก</button>
			<button type="reset" name="reset" class="btn btn-warning btn-reset">ยกเลิก</button>
			<?php 
if (isset($page_var['model']['WORK_ID']) === TRUE) {
    ?>
				<?php 
    echo anchor(['member', $page_var['model']['MEMBER_ID'], 'work', 'delete', $page_var['model']['WORK_ID']], '<i class="fa fa-times"></i> ลบ', 'class="btn btn-danger btn-delete" data-value="' . $page_var['model']['WORK_ID'] . '"');
    ?>
Пример #5
0
                                value="<?php 
echo set_form_value('TYPE_CODE', $page_var['search_params']);
?>
">
                    </div>
                    <div class="form-group">
                        <?php 
echo form_label('ชื่อประเภท', 'TYPE_SUBJECT');
?>
                        <input type="text"
                              class="form-control"
                              id="TYPE_SUBJECT"
                              name="TYPE_SUBJECT"
                              placeholder="ชื่อประเภท"
                              value="<?php 
echo set_form_value('TYPE_SUBJECT', $page_var['search_params']);
?>
">
                    </div>
                </div><!-- /.box-body -->

                <div class="box-footer">
                    <button type="submit" class="btn btn-primary"><i class="fa fa-search"></i> ค้นหา</button>
                </div>
            <?php 
echo form_close();
?>
        </div><!-- /.box -->
    </div><!--/.col (left) -->
</div>   <!-- /.row -->
<div class="row">
Пример #6
0
echo lang('GMS_CANCEL_RESULT_CANCEL_SUBJECT', 'CANCEL_SUBJECT');
?>
				<input type="text" name="CANCEL_SUBJECT" class="form-control" value="<?php 
echo set_form_value('CANCEL_SUBJECT', $page_var['model']);
?>
">
				<?php 
echo form_error('CANCEL_SUBJECT');
?>
			</div>
			<div class="form-group require">
				<?php 
echo lang('GMS_CANCEL_RESULT_CANCEL_STATUS', 'CANCEL_STATUS');
?>
				<?php 
echo form_dropdown('CANCEL_STATUS', $STATUSES, set_form_value('CANCEL_STATUS', $page_var['model']), 'class="form-control"');
?>
				<?php 
echo form_error('CANCEL_STATUS');
?>
			</div>
		</div>
		<div class="box-footer text-center">
			<button type="submit" name="submit" class="btn btn-primary btn-save">บันทึก</button>
			<button type="reset" name="reset" class="btn btn-warning btn-reset">ยกเลิก</button>
			<?php 
if (empty($page_var['model']) === FALSE) {
    ?>
				<?php 
    echo anchor(['cancel_result', 'delete', $page_var['model']['CANCEL_ID']], '<i class="fa fa-times"></i> ลบ', 'class="btn btn-danger btn-delete" data-value="' . $page_var['model']['CANCEL_ID'] . '"');
    ?>
Пример #7
0
						name="PREFIX_TH"
						class="form-control"
						value="<?php 
echo set_form_value('PREFIX_TH', $page_var['search_params']);
?>
">
			</div>
			<div class="form-group">
				<?php 
echo form_label('คำนำหน้าภาษาไทยย่อ', 'PREFIX_TH_SH');
?>
				<input type="text"
						name="PREFIX_TH_SH"
						class="form-control"
						value="<?php 
echo set_form_value('PREFIX_TH_SH', $page_var['search_params']);
?>
">
			</div>
		</div><!-- /.box-body -->
		<div class="box-footer text-center">
			<input type="submit" value="ค้นหา" class="btn btn-primary">
		</div><!-- /.box-footer -->
	</div><!-- /.box -->
<?php 
echo form_close();
?>

<div class="row">
	<div class="col-md-12">
		<div class="box box-primary">
Пример #8
0
echo form_open_multipart($page_var['form_url']);
?>
	<div class="box box-primary">
		<div class="box-header">
			<h3 class="box-title"><?php 
echo $page_var['form_header'];
?>
</h3>
		</div>
		<div class="box-body">
			<div class="form-group require">
				<?php 
echo lang('GMS_TERM_POSITION_POSITION_NAME', 'POSITION_NAME');
?>
				<input type="text" name="POSITION_NAME" class="form-control" value="<?php 
echo set_form_value('POSITION_NAME', $page_var['model']);
?>
">
				<?php 
echo form_error('POSITION_NAME');
?>
			</div>
		</div>
		<div class="box-footer text-center">
			<button type="submit" name="submit" class="btn btn-primary btn-save">บันทึก</button>
			<button type="reset" name="reset" class="btn btn-warning btn-reset">ยกเลิก</button>
			<?php 
if (empty($page_var['model']) === FALSE) {
    ?>
				<?php 
    echo anchor(['term_position', 'delete', $page_var['model']['POSITION_ID']], '<i class="fa fa-times"></i> ลบ', 'class="btn btn-danger btn-delete" data-value="' . $page_var['model']['POSITION_ID'] . '"');
Пример #9
0
			</div>
			<div class="form-group">
				<?php 
echo form_label('ถึงวันที่ ', 'TERM_TIME_END');
?>
				<input type="text" name="TERM_TIME_END" class="form-control show-detail" data-detail-for="TERM_ID" readonly value="<?php 
echo set_form_value('TERM_TIME_END', isset($page_var['gms_term']) ? $page_var['gms_term'] : null);
?>
">
			</div>
			<div class="form-group">
				<?php 
echo form_label('สถานที่ฝึกอบรม', 'TERM_LOCATION');
?>
				<input type="text" name="TERM_LOCATION" class="form-control show-detail" data-detail-for="TERM_ID" readonly value="<?php 
echo set_form_value('TERM_LOCATION', isset($page_var['gms_term']) ? $page_var['gms_term'] : null);
?>
">
			</div>
		</div>
		<div class="box-footer text-center">
			<button type="submit" name="submit" class="btn btn-primary btn-save">บันทึก</button>
			<button type="reset" name="reset" class="btn btn-warning btn-reset">ยกเลิก</button>
			<?php 
if (isset($page_var['model']['HISTORY_ID']) === TRUE) {
    ?>
				<?php 
    echo anchor(['member', $page_var['model']['MEMBER_ID'], 'history', 'delete', $page_var['model']['HISTORY_ID']], '<i class="fa fa-times"></i> ลบ', 'class="btn btn-danger btn-delete" data-value="' . $page_var['model']['HISTORY_ID'] . '"');
    ?>
			<?php 
}
Пример #10
0
						name="CANCEL_CODE"
						class="form-control"
						value="<?php 
echo set_form_value('CANCEL_CODE', $page_var['search_params']);
?>
">
			</div>
			<div class="form-group">
				<?php 
echo lang('GMS_CANCEL_RESULT_CANCEL_SUBJECT', 'CANCEL_SUBJECT');
?>
				<input type="text"
						name="CANCEL_SUBJECT"
						class="form-control"
						value="<?php 
echo set_form_value('CANCEL_SUBJECT', $page_var['search_params']);
?>
">
			</div>
		</div><!-- /.box-body -->
		<div class="box-footer text-center">
			<input type="submit" value="ค้นหา" class="btn btn-primary">
		</div><!-- /.box-footer -->
	</div><!-- /.box -->
<?php 
echo form_close();
?>

<div class="row">
	<div class="col-md-12">
		<div class="box box-primary">
Пример #11
0
echo lang('GMS_DIRECTOR_EDU_EDU_DEPT', 'EDU_DEPT');
?>
				<input type="text" name="EDU_DEPT" class="form-control" value="<?php 
echo set_form_value('EDU_DEPT', $page_var['model']);
?>
">
				<?php 
echo form_error('EDU_DEPT');
?>
			</div>
			<div class="form-group require">
				<?php 
echo lang('GMS_DIRECTOR_EDU_EDU_INSTITUTE', 'EDU_INSTITUTE');
?>
				<input type="text" name="EDU_INSTITUTE" class="form-control" value="<?php 
echo set_form_value('EDU_INSTITUTE', $page_var['model']);
?>
">
				<?php 
echo form_error('EDU_INSTITUTE');
?>
			</div>
		</div>
		<div class="box-footer text-center">
			<button type="submit" name="submit" class="btn btn-primary btn-save">บันทึก</button>
			<button type="reset" name="reset" class="btn btn-warning btn-reset">ยกเลิก</button>
			<?php 
if (isset($page_var['model']['DI_EDU_ID']) === TRUE) {
    ?>
				<?php 
    echo anchor(['member', $page_var['model']['MEMBER_ID'], 'director_edu', 'delete', $page_var['model']['DI_EDU_ID']], '<i class="fa fa-times"></i> ลบ', 'class="btn btn-danger btn-delete" data-value="' . $page_var['model']['DI_EDU_ID'] . '"');
Пример #12
0
?>
                                <?php 
echo form_dropdown('SPORT_ID', isset($gms_sport_list) ? $gms_sport_list : ['all' => 'ทั้งหมด'], set_form_value('SPORT_ID', $search_params), 'id="SPORT_ID" class="form-control"');
?>
                            </div>
                            <div class="form-group">
                                <?php 
echo form_label('ชื่อหลักสูตร', 'COURSE_SUBJECT');
?>
                                <input type="text"
                                        class="form-control"
                                        id="COURSE_SUBJECT"
                                        name="COURSE_SUBJECT"
                                        placeholder="ชื่อหลักสูตร"
                                        value="<?php 
echo set_form_value('COURSE_SUBJECT', $search_params);
?>
">
                            </div>
                        </div><!-- /.box-body -->

                        <div class="box-footer">
                            <input type="submit" name="search" value="ค้นหา" class="btn btn-primary">
                        </div>
                    <?php 
echo form_close();
?>
                </div><!-- /.box -->


Пример #13
0
			<h3 class="box-title"><?php 
echo $page_var['form_header'];
?>
</h3>
		</div>
		<div class="box-body">
			<div class="form-group require">
				<?php 
echo form_hidden('MEMBER_ID', set_form_value('MEMBER_ID', $page_var['model']));
?>

				<?php 
echo lang('GMS_DIRECTOR_PRODUCE_PROD_SUBJECT', 'PROD_SUBJECT');
?>
				<input type="text" name="PROD_SUBJECT" class="form-control" value="<?php 
echo set_form_value('PROD_SUBJECT', $page_var['model']);
?>
">
				<?php 
echo form_error('PROD_SUBJECT');
?>
			</div>
		</div>
		<div class="box-footer text-center">
			<button type="submit" name="submit" class="btn btn-primary btn-save">บันทึก</button>
			<button type="reset" name="reset" class="btn btn-warning btn-reset">ยกเลิก</button>
			<?php 
if (isset($page_var['model']['DI_PROD_ID']) === TRUE) {
    ?>
				<?php 
    echo anchor(['member', $page_var['model']['MEMBER_ID'], 'director_produce', 'delete', $page_var['model']['DI_PROD_ID']], '<i class="fa fa-times"></i> ลบ', 'class="btn btn-danger btn-delete" data-value="' . $page_var['model']['DI_PROD_ID'] . '"');
Пример #14
0
echo lang('GMS_DIRECTOR_WORK_WORK_POSITION', 'WORK_POSITION');
?>
				<input type="text" name="WORK_POSITION" class="form-control" value="<?php 
echo set_form_value('WORK_POSITION', $page_var['model']);
?>
">
				<?php 
echo form_error('WORK_POSITION');
?>
			</div>
			<div class="form-group require">
				<?php 
echo lang('GMS_DIRECTOR_WORK_WORK_DEPT', 'WORK_DEPT');
?>
				<input type="text" name="WORK_DEPT" class="form-control" value="<?php 
echo set_form_value('WORK_DEPT', $page_var['model']);
?>
">
				<?php 
echo form_error('WORK_DEPT');
?>
			</div>
		</div>
		<div class="box-footer text-center">
			<button type="submit" name="submit" class="btn btn-primary btn-save">บันทึก</button>
			<button type="reset" name="reset" class="btn btn-warning btn-reset">ยกเลิก</button>
			<?php 
if (isset($page_var['model']['DI_WORK_ID']) === TRUE) {
    ?>
				<?php 
    echo anchor(['member', $page_var['model']['MEMBER_ID'], 'director_work', 'delete', $page_var['model']['DI_WORK_ID']], '<i class="fa fa-times"></i> ลบ', 'class="btn btn-danger btn-delete" data-value="' . $page_var['model']['DI_WORK_ID'] . '"');
Пример #15
0
?>
				<?php 
echo isset($page_var['upload_error']['GENERAL_SIGN']) ? $page_var['upload_error']['GENERAL_SIGN'] : '';
?>
			</div>
			<div class="form-group text-left">
				<?php 
echo get_element_image_preview(isset($page_var['model']['GENERAL_SIGN']) === FALSE ? '' : base_url($UPLOAD_PATH_GMS_CERTIFICATE_SIGN . $page_var['model']['GENERAL_SIGN']), 'GENERAL_SIGN');
?>
			</div>
			<div class="form-group require">
				<?php 
echo lang('GMS_CERTIFICATE_SIGN_MANAGER_NAME', 'MANAGER_NAME');
?>
				<input type="text" name="MANAGER_NAME" class="form-control" value="<?php 
echo set_form_value('MANAGER_NAME', $page_var['model']);
?>
">
				<?php 
echo form_error('MANAGER_NAME');
?>
			</div>
			<div class="form-group require">
				<?php 
echo lang('GMS_CERTIFICATE_SIGN_MANAGER_SIGN', 'MANAGER_SIGN');
?>
				<?php 
echo form_upload(['name' => 'MANAGER_SIGN', 'class' => 'has-preview']);
?>
				<?php 
echo form_error('MANAGER_SIGN');