Exemplo n.º 1
0
" class="datepicker" /></td>
	</tr>
	<tr>
		<th>วันเปิดซอง :</th>
		<td>
			<input type="text" name="open_date" value="<?php 
echo DB2Date($notice->open_date);
?>
" class="datepicker" />
		</td>
	</tr>
	<tr>
		<th>ร่วมสังเกตการณ์ :</th>
		<td>
			<input type="text" name="observe_date" value="<?php 
echo DB2Date($notice->observe_date);
?>
" class="datepicker" />
		</td>
	</tr>
	<tr>
		<th>สถานที่ :</th>
		<td>
			<textarea name="place" ><?php 
echo $notice->place;
?>
</textarea>
		</td>
	</tr>
	<tr>
		<th>หน่วยงาน :</th>
Exemplo n.º 2
0
</textarea></div>
			
		</td>
	</tr> -->
	<tr>
		<th>สีพื้นหลัง</th>
		<td>
			<div id="picker"></div>
			<input type="text" id="color" name="background" value="<?php 
echo $coverpage->background == "" ? "#123456" : $coverpage->background;
?>
" /><!--  <input class="tgcolor" type="button" value="เลือกสีพื้นหลัง"> -->
		</td>
	</tr>
	<tr><th>เริ่ม :</th><td><input type="text" name="start_date" value="<?php 
echo DB2Date($coverpage->start_date ? $coverpage->start_date : date("Y-m-d"));
?>
" class="datepicker" /></td></tr>
	<tr><th>สิ้นสุด :</th><td><input type="text" name="end_date" value="<?php 
echo DB2Date($coverpage->end_date);
?>
" class="datepicker" /></td></tr>
	<tr><th></th><td><input type="submit" value="บันทึก" /><?php 
echo form_back();
?>
</td></tr>
</table>
<?php 
echo form_referer();
?>
</form>
Exemplo n.º 3
0
?>
"> </td></tr>
	<tr><th>ยืนยันรหัสผ่าน:</th><td><input type="password" class="text small" name="_password" value="<?php 
echo $user->password;
?>
"> </td></tr>
	<tr><th>ชื่อ : </th><td><input type="text" class="text" name="first_name" value="<?php 
echo $user->profile->first_name;
?>
" /></td></tr>
	<tr><th>นามสกุล : </th><td><input type="text" class="text" name="last_name" value="<?php 
echo $user->profile->last_name;
?>
" /></td></tr>
	<tr><th>วันเกิด : </th><td><input type="text" name="birth_day" value="<?php 
echo DB2Date($user->profile->birth_day);
?>
" class="text datepicker" /></td></tr>
	<tr><th>เพศ : </th><td><?php 
echo form_dropdown('gender', array('m' => 'ชาย', 'f' => 'หญิง'), $user->profile->gender, 'class="text select"');
?>
</td></tr>
	<tr><th>เบอร์โทรศัพท์ : </th><td><input type="text" class="text small" name="phone" value="<?php 
echo $user->profile->phone;
?>
" /></td></tr>
	<tr><th>เบอร์โทรศัพท์มือถือ : </th><td><input type="text" class="text small" name="mobile" value="<?php 
echo $user->profile->mobile;
?>
" /></td></tr>
	<tr><th>ที่อยู่ : </th><td><textarea name="address" class="textarea" ><?php 
Exemplo n.º 4
0
	<li><?php 
echo $document->id ? 'แก้ไขเอกสารการประชุม' : 'เพิ่มเอกสารการประชุม';
?>
</li>
</ul>

<div id="content">
<form method="post" action="documents/save/<?php 
echo $document->id;
?>
" enctype="multipart/form-data" >
<table class="form tab">
	<tr>
		<th>วันที่:</th>
		<td><?php 
echo form_input('start_date', DB2Date($document->start_date), 'class="datepicker"');
?>
</td>
	</tr>
	<tr>
		<th>หัวเรื่อง:</th>
		<td><?php 
echo form_input('title', $document->title, 'class="full"');
?>
</td>
	</tr>
	<tr>
		<th>ผู้จัดการประชุม:</th>
		<td><?php 
echo form_input('host', $document->host, 'class="full"');
?>
Exemplo n.º 5
0
  		<table class="table table-bordered">
  			<tr>
  				<th>สถานะ</th>
  				<th>หมดอายุ</th>
  				<th>รูปแบนเนอร์</th>
  				<th>url</th>
  				<th>อีแมล์</th>
  				<th><a class="btn btn-primary" href="home/banner_form">เพิ่มรายการ</a></th>
  			</tr>
  			<?php 
foreach ($rs as $row) {
    ?>
  			<tr>
  				<td></td>
  				<td><?php 
    echo DB2Date($row->end_date);
    ?>
</td>
  				<td></td>
  				<td><?php 
    echo $row->url;
    ?>
</td>
  				<td><?php 
    echo $row->email;
    ?>
</td>
  				<td>
  					<a class="btn btn-info" href="home/banner_form/<?php 
    echo $row->id;
    ?>
Exemplo n.º 6
0
        <div id="konten">
        		<?foreach($rs as $key=>$row):?>
        		<div style="display: none;" id="tab<?php 
echo $key + 1;
?>
" class="tab_konten">
        			<table width="100%" class="tb1">
                      <tr>
                        <th width="100" style="padding-left:6px;">วันที่</th>
                        <th width="400">เรื่อง</th>
                        <th width="148" style="text-align:center;">จำนวนดาวน์โหลด</th>
  					  </tr>
  					  <?foreach($row->download->order_by('id desc')->get(10) as $item):?>
  					  <tr>
                        <td class="tb1-date"><?php 
echo DB2Date($item->created);
?>
</td>
                        <td valign="top"><a href="downloads/download/<?php 
echo $item->id;
?>
"><?php 
echo $item->title;
?>
</a></td>
                        <td align="center"><?php 
echo $item->counter;
?>
</td>
                      </tr>
  					  <?endforeach;?>
Exemplo n.º 7
0
echo $calendar->className == 'e-violet' ? 'checked' : '';
?>
 /><span class="e-violet">&nbsp;&nbsp;&nbsp;&nbsp;</span>
						</td>
					</tr>
					<tr>
						<th>เริ่มวันที่</th>
						<td><input type="text" name="start" value="<?php 
echo $calendar->start ? DB2Date($calendar->start) : DB2Date(@$_GET['date']);
?>
" class="text datepicker" /></td>
					</tr>
					<tr>
						<th>ถึงวันที่</th>
						<td><input type="text" name="end" value="<?php 
echo $calendar->end ? DB2Date($calendar->end) : DB2Date(@$_GET['date']);
?>
" class="text datepicker" /></td>
					</tr>
					<tr>
						<th>รายละเอียด</th><td><textarea name="detail" class="full editor[calendar]"><?php 
echo stripcslashes($calendar->detail);
?>
</textarea></td>
					</tr>
					
					<tr>
						<th></th>
						<td>
							<input type="submit" name="submit" value="ตกลง" class="submit small" >
							<input type="button" name="cancel" value="ย้อนกลับ" onClick="window.location='private_calendars' " class="submit small" >
Exemplo n.º 8
0
	<?php 
echo approver_dropdown($law);
?>
	<?php 
echo approver_form($law);
?>
	<tr><th>หมวดหมู่ :</th><td><?php 
echo form_dropdown('category_id', $law->category->get_option(), $law->category_id, '');
?>
</td></tr>
	<tr><th>เริ่ม :</th><td><input type="text" name="start_date" value="<?php 
echo DB2Date($law->start_date ? $law->start_date : date("Y-m-d"));
?>
" class="datepicker" /></td></tr>
	<tr><th>สิ้นสุด :</th><td><input type="text" name="end_date" value="<?php 
echo DB2Date($law->end_date);
?>
" class="datepicker" /></td></tr>
	<tr><th>แท็ก :</th><td><input type="text" name="tag" value="" /></td></tr>
	<tr>
		<th>หัวข้อ :</th>
		<td>
			<input type="text" name="title[th]" rel="th" value="<?php 
echo lang_decode($law->title, 'th');
?>
" class="full" />
			<input type="text" name="title[en]" rel="en" value="<?php 
echo lang_decode($law->title, 'en');
?>
" class="full" />
		</td>
Exemplo n.º 9
0
			
			
	})
</script>
<form method="post">
	<div>
		<label>หัวข้อ</label><br />
		<input type="text" name="title" value="<?php 
echo $blogpost->title;
?>
" />
	</div>
	<div>
		<label>เริ่ม</label><br />
		<input type="text" name="start_date" class="datepicker" value="<?php 
echo $blogpost->start_date ? DB2Date($blogpost->start_date) : DB2Date(date("Y-m-d"));
?>
" style="width:150px;"/>
	</div>
	<div>
		<label>แท็ก <span style="font-weight:normal;">(กด enter เพื่อเพิ่มแท็ก)</span></label><br />
		<input type="text" name="tag" value="" />
	</div>
	<div>
		<label>รายละเอียด</label><br />
		<textarea name="detail" class="editor[blog]"><?php 
echo $blogpost->detail;
?>
</textarea>
	</div>
	<hr />
Exemplo n.º 10
0
echo $hilight->pdf;
?>
"/><input type="button" name="browse" value="เลือกไฟล์" onclick="browser($(this).prev(),'pdf')" /></td></tr>
	<tr>
		<th>หัวข้อ :</th>
		<td>
			<input type="text" name="title[th]" rel="th" value="<?php 
echo lang_decode($hilight->title, 'th');
?>
" class="full" />
			<input type="text" name="title[en]" rel="en" value="<?php 
echo lang_decode($hilight->title, 'en');
?>
" class="full" />
		</td>
	</tr>
	<tr><th>ลิ้งไปเว็บไซต์ :</th><td><input class="full" type="text" name="url" value="<?php 
echo $hilight->url;
?>
"/></td></tr>
	<tr><th>เริ่ม :</th><td><input type="text" name="start_date" value="<?php 
echo DB2Date($hilight->start_date ? $hilight->start_date : date("Y-m-d"));
?>
" class="datepicker" /></td></tr>
	<tr><th>สิ้นสุด :</th><td><input type="text" name="end_date" value="<?php 
echo DB2Date($hilight->end_date);
?>
" class="datepicker" /></td></tr>
	<tr><th></th><td><input type="submit" value="บันทึก" /><input type="button" name="back" value="ย้อนกลับ" onclick="window.location = 'hilights/admin/hilights'" /></td></tr>
</table>
</form>
Exemplo n.º 11
0
?>
	<tr><th></th><td><img class="img" style="width:77px; height:64px;" src="<?php 
echo is_file('uploads/knowledge/thumbnail/' . $knowledge->image) ? 'uploads/knowledge/thumbnail/' . $knowledge->image : 'media/images/dummy/77x64.gif';
?>
"  /></td></tr>
	<tr><th>รูปภาพ :</th><td><input type="file" name="image" /></td></tr>
	<tr><th>หมวดหมู่ :</th><td><?php 
echo form_dropdown('category_id', $knowledge->category->get_option(), $knowledge->category_id, '');
?>
</td></tr>
	<tr><th>เริ่ม :</th><td><input type="text" name="start_date" value="<?php 
echo DB2Date($knowledge->start_date ? $knowledge->start_date : date("Y-m-d"));
?>
" class="datepicker" /></td></tr>
	<tr><th>สิ้นสุด :</th><td><input type="text" name="end_date" value="<?php 
echo DB2Date($knowledge->end_date);
?>
" class="datepicker" /></td></tr>
	<tr><th>แท็ก :</th><td><input type="text" name="tag" value="" /></td></tr>
	<tr class="cat17"><th>พยัญชนะ :</th><td><?php 
echo form_dropdown('label', $knowledge->label(), $knowledge->label, '');
?>
</td></tr>
	<tr class="cat17"><th>แสดงหน้าหลัก :</th><td><?php 
echo form_dropdown('main', array(0 => 'ไม่แสดง', 1 => 'แสดง'), $knowledge->main, '');
?>
</td></tr>
	<tr>
		<th>หัวข้อ :</th>
		<td>
			<input type="text" name="title[th]" rel="th" value="<?php 
Exemplo n.º 12
0
		<td><?php 
echo form_input('start_date', DB2Date($meeting->start_date), 'class="datepicker"');
?>
</td>
	</tr>
	<tr>
		<th>วันที่สิ้นสุดประชุม</th>
		<td><?php 
echo form_input('end_date', DB2Date($meeting->end_date), 'class="datepicker"');
?>
</td>
	</tr>
	<tr>
		<th>วันปิดรับลงทะเบียน</th>
		<td><?php 
echo form_input('close_date', DB2Date($meeting->close_date), 'class="datepicker"');
?>
</td>
	</tr>
	<?php 
foreach ($meeting->meeting_document->order_by('id', 'asc')->get() as $doc) {
    ?>
	<tr>
		<th style="vertical-align:top;">เอกสาร</th>
		<td>	
			<?php 
    echo form_input('doc[]', $doc->name);
    ?>
 ไฟล์เอกสาร: 
			<?php 
    echo form_upload('file[]');
Exemplo n.º 13
0
  </div>
  <div class="form-group">
    <label for="status">URL</label>
    <input type="text" class="form-control" name="url" value="<?php 
echo $banner->url;
?>
">
  </div>
  <div class="form-group">
    <label for="status">เริ่ม</label>
    <input type="text" class="form-control" name="start_date" value="<?php 
echo DB2Date($banner->start_date ? $banner->start_date : date("Y-m-d"));
?>
">
  </div>
  <div class="form-group">
    <label for="status">สิ้นสุด</label>
    <input type="text" class="form-control" name="end_date" value="<?php 
echo DB2Date($banner->end_date);
?>
">
  </div>
  <div class="form-group">
    <label for="status">Email</label>
    <input type="text" class="form-control" name="email" value="<?php 
echo $banner->email;
?>
">
  </div>
  <button type="submit" class="btn btn-primary">บันทึกข้อมูล</button>
</form>
Exemplo n.º 14
0
?>
	<tr><th></th><td><img class="img" style="width:77px; height:64px;" src="<?php 
echo is_file('uploads/information/thumbnail/' . $information->image) ? 'uploads/information/thumbnail/' . $information->image : 'media/images/dummy/77x64.gif';
?>
"  /></td></tr>
	<tr><th>รูปภาพ :</th><td><input type="file" name="image" /></td></tr>
	<tr><th>หมวดหมู่ :</th><td><?php 
echo form_dropdown('category_id', $information->category->get_option(), $information->category_id, '');
?>
</td></tr>
	<tr><th>เริ่ม :</th><td><input type="text" name="start_date" value="<?php 
echo DB2Date($information->start_date ? $information->start_date : date("Y-m-d"));
?>
" class="datepicker" /></td></tr>
	<tr><th>สิ้นสุด :</th><td><input type="text" name="end_date" value="<?php 
echo DB2Date($information->end_date);
?>
" class="datepicker" /></td></tr>
	<tr><th>ไฟล์เอกสาร :</th><td><input type="text" name="pdf" value="<?php 
echo $information->pdf;
?>
"/><input type="button" name="browse" value="เลือกไฟล์" onclick="browser($(this).prev(),'pdf')" />(อนุญาติเฉพาะไฟล์นามสกุล  pdf, xls, xlsx, doc,  docx, zip และ rar)</td></tr>
	<tr><th>แท็ก :</th><td><small>กด Enter เพื่อเพิ่มแท็ก</small><br /><input type="text" name="tag" value="" /></td></tr>
	<tr><th>ที่มา :</th><td><input type="text" name="refer" value="<?php 
echo $information->refer;
?>
" /></td></tr>
	<tr>
		<th>หัวข้อ :</th>
		<td>
			<input type="text" name="title[th]" rel="th" value="<?php 
Exemplo n.º 15
0
?>
" method="post" >
<table class="form">
	<tr class="trlang"><th></th><td class="lang"><a href="th" class="active flag th">ไทย</a><a href="en" class="flag en">อังกฤษ</a></td></tr>
	<?php 
echo approver_dropdown($executive);
?>
	<?php 
echo approver_form($executive);
?>
	<tr><th>เริ่ม :</th><td><input type="text" name="start_date" value="<?php 
echo DB2Date($executive->start_date ? $executive->start_date : date("Y-m-d"));
?>
" class="datepicker" /></td></tr>
	<tr><th>สิ้นสุด :</th><td><input type="text" name="end_date" value="<?php 
echo DB2Date($executive->end_date);
?>
" class="datepicker" /></td></tr>
	<tr>
		<th>หัวข้อ :</th>
		<td>
			<input type="text" name="title[th]" rel="th" value="<?php 
echo lang_decode($executive->title, 'th');
?>
" class="full" />
			<input type="text" name="title[en]" rel="en" value="<?php 
echo lang_decode($executive->title, 'en');
?>
" class="full" />
		</td>
	</tr>
Exemplo n.º 16
0
			</ul>
		</td>
	</tr>
	<tr class="type2" style="display:none;">
		<th>เข้าพักวันที่</th>
		<td>
			<?php 
echo form_input('check_in', DB2Date($question->check_in), 'class="datepicker"');
?>
		</td>
	</tr>
	<tr class="type2" style="display:none;">
		<th>ออกจากที่พักวันที่</th>
		<td>
			<?php 
echo form_input('check_out', DB2Date($question->check_out), 'class="datepicker"');
?>
		</td>
	</tr>
	<tr class="type2" style="display:none;">
		<th style="vertical-align:top; padding:8px 5px 5px;">ห้องพัก</th>
		<td><ul>
				<li><input type="radio" name="room_type" value="1" <?php 
echo $question->room_type == 1 ? 'checked="checked"' : '';
?>
 /> ห้องพักเดี่ยวระดับ 9 และระดับ 8 ผู้อำนวยการเท่านั้น</li>
				<li><input type="radio" name="room_type" value="2" <?php 
echo $question->room_type == 2 ? 'checked="checked"' : '';
?>
 /> ต้องการพักห้องเดี่ยว กรณีไม่มีสิทธิพักเดี่ยวต้องเสียส่วนเกินเอง คืนละ <?php 
echo $meeting->money;
Exemplo n.º 17
0
 /> 
					<img src="themes/gcdnew/images/male.jpg" width="16" height="16" />
				</span>
				<span>
					<input type="radio" name="gender" value="f" <?php 
echo $user->profile->gender == "f" ? 'checked="checked"' : '';
?>
 /> 
					<img src="themes/gcdnew/images/female.jpg" width="16" height="16" />
				</span>
			</td>
		</tr>
		<tr>
			<th>วันเกิด:</th>
			<td><?php 
echo form_input('birth_day', DB2Date($user->profile->birth_day), 'class="datepicker"');
?>
</td>
		</tr>
		<tr class="type2">
			<th>บัตรประชาชน:</th>
			<td><?php 
echo form_input('idcard', $user->profile->idcard, 'maxlength="13"');
?>
</td>
		</tr>
		<tr class="type2">
			<th>ตำแหน่ง:</th>
			<td><?php 
echo form_input('position', $user->profile->position);
?>