Beispiel #1
0
			echo "<div style=\"margin-left:0px;margin-bottom:30px;\" alegn=\"left\" >";
			?>
			
			</div>
			<div class="grid_4">
			<div class="da-panel collapsible">
			<div class="da-panel-header">
            <span class="da-panel-title">
			<img src="<?php echo base_url().$this->config->item("emt_dandelion_folder"); ?>images/icons/black/16/list.png" />
			ผู้ดูแลระบบของหน่วยงาน 
            </span>
			</div>
			<div class="da-panel-content">
			<div style="text-align:right;">ค้นหาหน่วยงาน : <?php
			$js = 'id="s_deptId"';
			echo form_dropdown("s_deptId", $rs_dp, emt_getval("deptId", $row_dp), $js);
			?>
			<?php
			echo "<table class=\"da-table\" style=\"width:100%;font-size:16px;\" align=\"center\" border=\"0\" >";
				echo "<thead>";
					echo "<tr>";
						echo "<th width=\"10%\" >ลำดับที่</th>";
						echo "<th width=\"15%\" >รหัสบุคลากร</th>";
						echo "<th width=\"40%\" >ผู้ดูแลระบบของหน่วยงาน</th>";
						echo "<th>หน่วยงาน</th>";
						echo "<th class=\"action\" width=\"80px;\" >ดำเนินการ</th>";
					echo "</tr>";
				echo "</thead>";
				echo "<tbody>";
				foreach($arr_adp as $dp_key => $dp_val){
					// department	#C2CFDF
				<tr>
					<td><label>ถึงวันที่ : </label></td>
					<td>
						<?php
						if(emt_getval("cms_unend_date", $row)==1){
							$str = "ไม่ระบุ";
						} else {
							$str = $num_th(dateDisplay(emt_getval("cms_end_date", $row)));
						}
						echo $str;
						?>
					</td>
				</tr>
				<?php
				$cms_placeName = emt_getval("cms_placeName", $row);
				$cms_placeDetail = emt_getval("cms_placeDetail", $row);
				if($cms_placeName!="" OR $cms_placeDetail!=""){
				?>
				<tr>
					<td><label>สถานที่ประชุม : </label></td>
					<td>
						<?php
						$cms_placeDetail = ($cms_placeDetail != '') ? "ห้องประชุม ".$cms_placeDetail : '';
						echo $num_th($cms_placeName . " " . $cms_placeDetail);
						?>
					</td>
				</tr>
				<?php
				}
				?>
			</tbody>
Beispiel #3
0
						echo "</tbody>";
					echo "</table>";
				echo "</div></div>";				
				echo "</td></tr>";
			}
		?>
		
		<tr>
			<td colspan="2" id="button">
				<input type="hidden" name="agdt_id" id="agdt_id" value="<?php echo $agdt_id; ?>" />
				<input type="hidden" name="mt_id" id="mt_id" value="<?php echo $mt_id; ?>" />
				<input type="hidden" name="cms_id" id="cms_id" value="<?php echo $cms_id; ?>" />
				<input type="hidden" name="agdt_level" id="agdt_level" value="<?php echo $agdt_level; ?>" />
				<input type="hidden" name="mt_edit" id="mt_edit" value="<?php echo $mt_edit; ?>" />
				<input type="hidden" name="agdt_flag_extra" id="agdt_flag_extra" value="<?php echo emt_getval("agdt_flag_extra", $row); ?>" />
				<input type="hidden" name="ags_flag_extra" id="ags_flag_extra" value="<?php echo emt_getval("ags_flag_extra", $row); ?>" />
				
				<?php
				if(isset($edit) AND $edit){ // Edit
				?>
				<input type="hidden" name="agdt_seq" id="agdt_seq" value="<?php echo $agdt_seq; ?>" />
				<input type="hidden" name="agdt_parent_id" id="agdt_parent_id" value="<?php echo $agdt_parent_id; ?>" />
				<?php
				}
				?>
				
				<!--<input type="hidden" name="no_ag" id="no_ag" value="<?php echo $no_ag; ?>" />-->
				
				<input type="submit" name="submit" id="submit" value="บันทึก" />
			</td>
		</tr>
<!-- fancybox -->
<script type="text/javascript" src="<?php echo base_url(); ?>js/emt_js/fancybox.js"></script>
<?php 
echo link_tag('css/emt_css/fancybox/fancybox.css');
if(isset($rs_cms)){
	$row_cms = $rs_cms->row();
	$cms_id = $row_cms->cms_id;
}
else{
	echo "<div style=\"text-align:center;padding:10px;margin10px;color:#FF0000;\"><h3>ไม่พบรหัสการประชุมหลัก กรุณาเข้าเมนูนี้ใหม่อีกครั้ง!</h3></div>";
}
if(isset($rs_mt)){
	$row = $rs_mt->row();
	$mt_id = $row->mt_id;
	$mts_id = $row->mt_mts_id;
}
else{
	echo "<div style=\"text-align:center;padding:10px;margin10px;color:#FF0000;\"><h3>ไม่พบรหัสการประชุม กรุณาเข้าเมนูนี้ใหม่อีกครั้ง!</h3></div>";
}
$num_th = $this->config->item('emt_cv_th');	
?>
<script language="javascript">
$(document).ready(function(){
	
	//Add event
	$("#back").click(back);
	
	//Function
	function back(){
		url = site_url+"announceMeeting/announceMeetingShow";
Beispiel #5
0
							}); 
						} 
						 
						// make_autocom(" id ของ input ตัวที่ต้องการแสดงให้เห็น "," id ของ input ตัวที่ต้องการรับค่า");  
						make_autocom("agdt_by","agdt_by_id"); 
					</script>
				</div>
			</td>
		</tr>
		<tr>
			<td align="left">ประเด็นเสนอ :</td>
			<td>
				<?php
					$default_present = isset($default_present) ? $default_present : '';
				?>
				<textarea title="ประเด็นเสนอ" name="agdt_present" id="agdt_present" rows="2" cols="40"><?php echo emt_getval("agdt_present", $row, $default_present);?></textarea>
			</td>
		</tr>
		<script type="text/javascript">//<![CDATA[
window.CKEDITOR_BASEPATH='<?php echo base_url();?>ckeditor/';
//]]></script>
<script type="text/javascript" src="<?php echo base_url();?>ckeditor/ckeditor.js?t=B5GJ5GG"></script>

<script type="text/javascript">//<![CDATA[
CKEDITOR.replace('agdt_detail', {"height":200,"width":700,"toolbar":[["Bold","Italic","Underline","Strike","Subscript","Superscript","-","Cut","Copy","Paste","-","Undo","Redo","-",'NumberedList','BulletedList',"-","Indent","Outdent","-","Link","Unlink","-","Table","Font","FontSize"]]});
CKEDITOR.replace('agdt_present', {"height":200,"width":700,"toolbar":[["Bold","Italic","Underline","Strike","Subscript","Superscript","-","Cut","Copy","Paste","-","Undo","Redo","-",'NumberedList','BulletedList',"-","Indent","Outdent","-","Link","Unlink","-","Table","Font","FontSize"]]});
//]]></script>
		<tr>
			<td align="left">เอกสารแนบ :</td>
			<td>
				<div style="min-height:100px;background:#FCFCFC;margin:10px 3px;width:300px;border:1px solid #CCC;" id="T8A_wrap_list">
			รับรองมติการประชุมฯ
        </span>
     </div>
	<div class="da-panel-content">
		<?php
			$action = "emeeting/emeetingNoticeApprvAgenda";
			echo form_open($this->config->item("emt_path").$action,"frmSetDate");
		?>
		<div style="width:100%;">
			<table class="da-table da-detail-view">
				<tbody>
					<tr>		
						<th align="right"><label>วันที่สิ้นสุดการรับรองมติ</label></th>
						<td>
							<?php
								$mt_eapprv_date = emt_dateForm(emt_getval("mt_eapprv_date", $row),"/");
								if(!$mt_eapprv_date) {
									$mt_eapprv_date = date("d/m/Y");
								}
							?>
							<script type="text/javascript">
								DateInput("mt_eapprv_date", true, "DD/MM/YYYY","<?php echo $mt_eapprv_date;?>");
							</script>
						</td>
					</tr>
					<tr>
						<td align="right" colspan="2" >
							<input type="hidden" name="cms_id" value="<?php echo $cms_id; ?>" />
							<input type="hidden" name="mt_id" value="<?php echo $mt_id; ?>" />
							<input type="submit" class="da-button green" name="submit" value="บันทึก" />
						</td>
Beispiel #7
0
				</td>
			</tr>
			<tr>
					<td colspan="2" align="center">
						<label>
							<input type="hidden" name="step" value="1" />
							<input type="hidden" name="cms_id" 
							value="<?php echo emt_getval("cms_id", $row);?>" />
							<input type="hidden" name="mt_typeAgenda" 
							value="<?php echo emt_getval("cms_typeAgenda", $row);?>" />
							<?php
							if( $status != "edit" ){
								echo "<input type=\"submit\" name=\"submit\" value=\"ถัดไป  >\"  class=\"da-button blue\"/>";
							} else {
								$cms_id = emt_getval("cms_id", $row);
								$mt_id = emt_getval("mt_id", $row);
								echo "<input type=\"hidden\" name=\"cms_id\" value=\"{$cms_id}\" />";
								echo "<input type=\"hidden\" name=\"mt_id\" value=\"{$mt_id}\" />";
								echo "<input class=\"da-button green\" type=\"submit\" name=\"submit\" value=\"ตกลง\" />";
							}
							?>
						</label>
					</td>
				</tr>
		</table>
		<?php
		// Close Form
		echo form_close();
		?>
									</div>
						</div>
Beispiel #8
0
					<td><label>เวลา : </label></td>
					<td>
						<?php 
						$mt_start_time = emt_getval("mt_start_time", $row);
						$tmp = explode(":", $mt_start_time);
						$mt_start_time = $tmp[0] . "." . $tmp[1];
						$mt_end_time = emt_getval("mt_end_time", $row);
						$tmp = explode(":", $mt_end_time);
						$mt_end_time = $tmp[0] . "." . $tmp[1];
						echo $num_th($mt_start_time . " - " . $mt_end_time)."  น.";
						?>
					</td>
				</tr>
				<?php
				$mt_placeName = emt_getval("mt_placeName", $row);
				$mt_placeDetail = emt_getval("mt_placeDetail", $row);
				if($mt_placeName!="" OR $mt_placeDetail!=""){
				?>
				<tr>
					<td><label>สถานที่ประชุม : </label></td>
					<td>
						<?php
						$mt_placeDetail = ($mt_placeDetail != '') ? "ห้องประชุม ".$mt_placeDetail : '';
						echo $num_th($mt_placeName . " " . $mt_placeDetail);
						?>
					</td>
				</tr>
				<?php
				}
				?>
			</tbody>
									</tr>
								</tbody>
							</table>
						</div>
					</td>
				</tr>
				-->
				<tr>
					<td colspan="2" align="center">
						<label>
							<input type="hidden" name="step" value="1" />
							<?php
							if( ! $edit){
								echo "<input type=\"submit\" name=\"submit\" value=\"ถัดไป  >\" />";
							} else {
								$cms_id = emt_getval("cms_id", $row);
								echo "<input type=\"hidden\" name=\"cms_id\" value=\"{$cms_id}\" />";
								echo "<input type=\"submit\" name=\"submit\" value=\"ตกลง\" />";
							}
							?>
						</label>
					</td>
				</tr>
			</tbody>
		</table>
		<?php
		// Close Form
		echo form_close();
		?>
	</div>
</div>
Beispiel #10
0
					}
					/*
					$tmp = getNowDateFw2();
						if(isset($birthDate) <> ''){
							$tmp = set_value($birthDate);
						}
					*/
				?>
				<td colspan="2"><script>DateInput('birthDate', true, 'DD/MM/YYYY','<?php echo $tmp;?>');</script></td>
			</tr>
			<tr>
				<td><b>วันเริ่มเข้าทำงาน</b></td>
				<?php
					//if ( isset($firstadmidDate) <> '' )  $tmp = set_value($firstadmidDate);
					if(isset($ps_row)){
						$tmp = emt_dateForm(emt_getval("firstadmidDate", $ps_row),"/");
					}
					else{
						$tmp = set_value('firstadmidDate');
						if($tmp == ''){
							$tmp = getNowDateFw2();
						}
					}
				?>
				<td colspan="2"><script>DateInput('firstadmidDate', true, 'DD/MM/YYYY','<?php echo $tmp;?>');</script></td>
			</tr>
			<tr>
				<td><b>หน่วยงานย่อย</b></td>
				<td colspan="2">
					<?php 	if(isset($ps_row)){
								$deptId = $ps_row->deptId;
Beispiel #11
0
			<tr>
				<th><label>SMS</label></th>
				
				<td>
				<!-- <span href="" class="subindex" title="ส่วนนี้ใช้สำหรับกำหนดการส่ง SMS ตามปฏิทินข้อมูลของวันนั้นๆ "> -->
				<input title="กำหนดการส่ง SMS ตามปฏิทินข้อมูลของวันนั้นๆ" type="checkbox" <?php if(emt_getval('cgm_sms_status', $rm)=="Y"){echo "checked";}?> name="sms" id="sms" value="Y" />
				<!-- </span> -->
				</td>
			</tr>
			<tr>
				<th><label>เวลาแจ้งเตือน SMS / นาที </label></th>
				
				<td>
				<!--- <span href="" class="subindex" title="กำหนดช่วงเวลาการแจ้งเตือนทางSMSว่าจะให้แจ้งเตือนเป็นเวลาเท่าไหล่ก่อนถึงเวลากำหนดในการประชุม โดนมีตัวอย่างรูปแบบดังนี้ เช่น 1:50 , 2:59 , 1:00 "> -->
				<input placeholder="1:50 or 2:59" class="validate" title="กำหนดช่วงเวลาการแจ้งเตือนทางSMSว่าจะให้แจ้งเตือนเป็นเวลาเท่าไหล่ก่อนถึงเวลากำหนดในการประชุม โดนมีตัวอย่างรูปแบบดังนี้ เช่น 1:50 , 2:59 , 1:00" 
				type="text" name="notice_time" id="notice_time" value="<?php echo emt_getval('cgm_notice_time', $rm);?>"  size="10"/>
				<!-- </span> -->
				<span class="red">*</span>
				</td>
			</tr>
			<tr>
			<div class="da-button-row">
				<td colspan="3">
					
					<input type="reset" name="btnClear" id="btnClear" value="เคลียร์ค่า" class="da-button gray left" />
				<div class="da-button-row" align="right">	
					<input type="submit" name="btnSubmit" id="btnSubmit" value="บันทึก" class="da-button green" />
				</div>	
				</td>
			</div>	
			</tr>
Beispiel #12
0
				<img src="http://cvs.buu.ac.th/mispbri/css/emt_css/dandelion/HTML/images/icons/black/16/list.png">
				บันทึกมติการประชุม
			</span>
		</div>
	<div id="content-body">
	<?php
		//$action = "emeeting/emeetingSave";
		//echo form_open($this->config->item("emt_path").$action,"frmCms");
		$ck_edit = $status;
		
		$mt_start_time = emt_getval("mt_start_time", $row);
		$tmp = explode(":", $mt_start_time);
		$mt_start_time_h 	= $tmp[0];
		$mt_start_time_m 	= $tmp[1];
		
		$mt_end_time = emt_getval("mt_end_time", $row);
		$tmp = explode(":", $mt_end_time);
		$mt_end_time_h 		= $tmp[0];
		$mt_end_time_m 		= $tmp[1];
		?>
		<div class="da-button-row">
		<h4>เวลาเริ่มการประชุม
		<input id="mt_start_time_h" type="text" name="mt_start_time_h" size="2" value="<?php echo $mt_start_time_h;?>" /> :
		<input id="mt_start_time_m" type="text" name="mt_start_time_m" size="2" value="<?php echo $mt_start_time_m;?>" /> &nbsp;&nbsp; น. 
		<input id="save_start_time" class="da-button blue" type="button" name="save_start_time" value="บันทึกเวลาเริ่ม" />  
		</h4>
		</div>
		<table style="width:100%;" align="center" class="da-table">
			<thead>
				<tr>
					<th>ระเบียบวาระการประชุม</th>