if (empty($variable->all)) { echo '<tr><td colspan="5" style="text-align:center; color:#aaa; line-height:30px;">ไม่พบข้อมูล</td></tr>'; } foreach ($variable as $item) { ?> <tr> <td><?php echo $item->type; ?> </td> <td><?php echo $item->detail; ?> </td> <td><?php echo mysql_to_th($item->created, "F", TRUE); ?> </td> <td><?php echo $item->user->firstname . " " . $item->user->lastname; ?> </td> </tr> <?php } ?> </tbody> <tfoot> <tr> <td colspan="5" ><?php
</script> <div id="inbox"> <h1>อ่านข้อความ</h1> <div class="blogrow"> <img class="avatar" src="uploads/users/<?php echo $from_user->profile->avatar; ?> " width="48" height="48"> <div class="create"><B><a href="users/profile/<?php echo $from_user->id; ?> "><?php echo $from_user->display; ?> </a></B> <?php echo mysql_to_th($pm->created, 'S', TRUE); ?> <div style="position:absolute; top:53px; right:15px;"><a href="pms/delete/<?php echo $pm->id; ?> ">ลบ</a> | <a id="rep" href="#">ตอบกลับ</a></div></div> <div>เรื่อง : <?php echo $pm->subject; ?> </div> <div style="margin:0 0 0 60px;"><?php echo $pm->message; ?> </div> <div class="clear"></div> </div>
<td><?php echo mysql_to_th($meeting->start_date, 'F'); ?> </td> </tr> <tr> <th>วันที่สิ้นสุดประชุม</th> <td><?php echo mysql_to_th($meeting->end_date, 'F'); ?> </td> </tr> <tr> <th>ปิดระบบลงทะเบียน</th> <td><?php echo mysql_to_th($meeting->close_date, 'F'); ?> </td> </tr> <tr> <th style="vertical-align:top; padding:8px 5px 5px;">เอกสาร</th> <td> <ul> <?php foreach ($meeting->meeting_document->order_by('id', 'asc')->get() as $doc) { ?> <li><a href="meetings/download/<?php echo $doc->id; ?> "><span class="icon icon-page-save"></span> <?php echo $doc->name;
<html xmlns="http://www.w3.org/1999/xhtml"> <head><base href="http://km.ddc.moph.go.th/conference/" /> <meta charset="UTF-8"> <title>Siteadmin</title> <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'> </head> <body> <div style="text-align:center;"> <h4>รายงานรายชื่อบุคคลากรสาธารณสุขที่ลงทะเบียนเข้าร่วมงาน <br>สัมมนาวิชาการป้องกันควบคุมโรคแห่งชาติ </h4> </div> <div style="text-align:right;">ข้อมูล ณ วันที่ <?php echo mysql_to_th(date("Y-m-d H:i:s")); ?> </div> <hr> <?php $no = 0; foreach ($result as $key => $value) { $no++; ?> <fieldset style=""> <legend style="font-size:16px;margin-bottom:15px;padding-left:15px;"> </legend> <div class="col-xs-5" style="padding-top:0px;"><?php echo $value->prefix_code . $value->sortorder; ?> ::: <?php
</ul> <?php foreach ($categories as $key => $category) { ?> <div id="tabs-<?php echo $key + 1; ?> "> <?php foreach ($category->article->order_by('id', 'desc')->limit(5)->get() as $article) { ?> <div class="box"> <a href="#" class="thumb"><img src="themes/thaigcd/photo/thumb1.jpg" width="77" height="64" /></a> <div class="box_info"> <span><?php echo mysql_to_th($article->created); ?> </span> <a href="#"><h3><?php echo lang_get($article->title, 'th'); ?> </h3></a> <p><?php echo lang_get($article->intro, 'th'); ?> </p> </div> </div> <div class="clear"></div> <?php }
<img src="uploads/users/thumbs50x50/<?php echo $comment->user->profile->avatar; ?> " /> <?php } ?> <p>#<?php echo $key + 1; ?> By <span class="display"><?php echo $comment->user_id ? $comment->user->display : $comment->name . '[Guest]'; ?> </span></p> <p>@<?php echo mysql_to_th($comment->created); ?> </p> </div> <div class="comment"> <p><?php echo $comment->comment; ?> </p> </div> <div class="option"> <?php if ($comment->user_id == $this->session->userdata('id')) { ?> <a href="informations/commentdel/<?php
<div class="col-md-7"> <?foreach($rs as $row):?> <div class="col-left1"> <a href="talks/view/<?php echo $row->id; ?> "><span class="title-page2"><?php echo lang_decode($row->title); ?> </span></a> <div class="by">By <span class="text-by"><?php echo lang_decode($row->category->name); ?> </span> - <?php echo mysql_to_th($row->created); ?> </div> <div style="overflow: hidden; height:180px;"><?php echo strip_tags(lang_decode($row->detail), '<br>'); ?> </div><br> <a href="talks/view/<?php echo $row->id; ?> "><?php echo lang("view_all"); ?> </a> <div class="by" style="margin-top:40px;"> </div> </div>
foreach ($notices as $notice) { ?> <li> <a class="thumb" href="notices/view/<?php echo $notice->id; ?> " target="_self"> <img class="pull-left" width="77" height="64" src="<?php echo is_file('uploads/notice/thumbnail/' . $notice->image) ? 'uploads/notice/thumbnail/' . $notice->image : 'themes/thaigcd/photo/nophoto.gif'; ?> " alt="<?php echo lang_decode($notice->title); ?> " style="margin-right:5px;"> <span class="pull-left" style="margin-top:10px;"><span class="date"><?php echo mysql_to_th($notice->start_date, 'S', false); ?> </span><br> <?php echo lang_decode($notice->title); ?> </span> </a> <br clear="all"> </li> <?php } ?> </ul> <a class="pull-right" href="notices">ดูทั้งหมด</a> <br clear="all">
<table class="tbnotify"> <tbody> <tr><th colspan="2">ร่วมสังเกตการณ์เปิดซองสอบราคา</th></tr> <tr><td width="24%"><strong>ยื่นซองสอบราคา :</strong></td><td width="76%"><?php echo mysql_to_th($notice->start_notice, 'F'); ?> - <?php echo mysql_to_th($notice->end_notice, 'F'); ?> </td></tr> <tr><td><strong>วันเปิดซอง :</strong></td><td><?php echo mysql_to_th($notice->open_date, 'F'); ?> </td></tr> <tr><td><strong>ร่วมสังเกตการณ์ :</strong></td><td><?php echo mysql_to_th($notice->observe_date, 'F'); ?> </td></tr> <tr> <td><strong>สถานที่ :</strong></td> <td><?php echo $notice->place; ?> </td> </tr> <tr> <td><strong>หน่วยงาน : </strong></td> <td><?php echo $notice->dept; ?> </td>
echo $user->id; ?> " target="_blank"><?php echo $user->profile->first_name . ' ' . $user->profile->last_name; ?> </a></td> <td><?php echo $user->username; ?> </td> <td><?php echo $user->level->level; ?> </td> <td><?php echo mysql_to_th($user->created); ?> </td> <td> <a class="btn" href="users/admin/users/form/<?php echo $user->id; ?> " >แก้ไข</a> <a class="btn" href="users/admin/users/delete/<?php echo $user->id; ?> " onclick="return confirm('<?php echo lang('notice_confirm_delete'); ?> ')">ลบ</a> </td>
<img src="http://intranet.m-society.go.th/upload/newsletters/<?php echo $row['img_title']; ?> " width="158" height="110" class="img-pr-news"> <?php } ?> </a> </div> <div class="media-body"> <h4 class="media-heading"><?php echo $row['title']; ?> </h4> <span><?php echo mysql_to_th($row['create_date']); ?> </span> </div> </div> <?php } ?> <br clear="all"> <?php //echo $rs->pagination(); ?> </div>
<?php if($webboard_quizs->group_id != 0):?> <img src="themes/gcdnew/images/ico_lock.png" alt="กระทู้เฉพาะกลุ่ม" title="<?php echo lang_decode($webboard_quiz->group->name,'th')?>" height="24" width="24"> <?php else:?> <?php if($webboard_quizs->webboard_answer->result_count() > 15):?> <img src="themes/gcdnew/images/ico_hit.png" alt="กระทู้น่าสนใจ" title="กระทู้น่าสนใจ"> <?php else:?> <?php if($webboard_quizs->type == "normal"):?> <img src="themes/gcdnew/images/ico_regular.png" alt="กระทู้ปกติ" title="กระทู้ปกติ" height="24" width="24"> <?php elseif($webboard_quizs->type == "vote"):?> <img src="themes/gcdnew/images/ico_pollboard.png" alt="โพล" title="โพล" height="24" width="24"> <?php endif;?> <?php endif;?> <?php endif;?> <br><img src="themes/gcdnew/images/ico_time.png" style="margin-bottom: -2px;" height="12" width="12"> <span class="f10"><?php echo mysql_to_th($webboard_ans->created,'S',TRUE)?> <?php if($webboard_quizs->group_id != 0):?>(<?php echo lang_decode($webboard_quizs->group->name,'th')?>)<?php endif;?></span> <div class="boxrequestdel"><img src="themes/gcdnew/images/ico_deletepost.gif" height="11" width="11"> <a rel="lightbox" href="webboards/relate/<?php echo $webboard_quizs->id?>/<?php echo $webboard_ans->id ?>?iframe=true&width=350&height=200" class="link_prev">แจ้งลบความคิดเห็นนี้</a> | <img src="themes/gcdnew/images/ico_refpost.gif" height="11" width="11"> <a href="webboards/reply/<?php echo $webboard_quizs->id?>/<?php echo $webboard_ans->id?>/quote" class="link_prev">อ้างถึงข้อความนี้</a></div> </div> <div class="post"> <?php if(is_owner($webboard_ans->user_id)):?> <div style="float:right;"><a href="webboards/reply/<?php echo $webboard_quizs->id?>/<?php echo $webboard_ans->id?>/edit">แก้ไข</a> | <a href="webboards/delete_answer/<?php echo $webboard_ans->id?>" onclick="return confirm('ต้องการลบความเห็นนี้?')">ลบ</a></div> <?php endif;?> <?php echo censor(link_filter($webboard_ans->detail))?> <?php if($webboard_ans->user->profile->signature != ""):?> <div> <img src="themes/gcdnew/images/sigline.gif" style="margin:5px 0; display:block;"> <?php echo $webboard_ans->user->profile->signature?> </div> <?php endif;?>
" class="topicpost"><?php echo lang_decode($category->name, 'th'); ?> </a><br><?php echo $category->description; ?> </td> <td width="9%"><?php echo $category->webboard_quiz->result_count(); ?> กระทู้<br><?php echo $category->webboard_answer->result_count(); ?> ตอบ</td> <td width="18%">กระทู้ล่าสุด <br><span class="f10"><?php echo mysql_to_th($category->webboard_quiz->order_by("id", "desc")->limit(1)->get()->created, 'S', TRUE); ?> </span><br>โดย <a href="users/profile/<?php echo $category->webboard_quiz->user->id; ?> " class="name"><?php echo $category->webboard_quiz->user->display; ?> </a></td> </tr> <?php } ?> </tbody> </table> </div>
<?php echo $user->email; ?> <div class="paddtop20bot20"><input name="" class="btn_toboss" type="button" rel="lightbox" href="executives/contact/13?iframe=true&width=455&height=450"></div> </div> </div><!--box--> <div class="clear"></div> <?php echo $user->executive->pagination(); ?> <?php foreach ($user->executive as $executive) { ?> <div class="box-executive-list"> <span><?php echo mysql_to_th($executive->start_date); ?> </span> <a href="executives/view/<?php echo $executive->id; ?> "><h3><?php echo lang_decode($executive->title); ?> </h3></a> <?php echo lang_decode($executive->intro); ?> </div> <?php }
?> </td> </tr> <tr class="type2" style="display:none;"> <th>เข้าพักวันที่</th> <td> <?php echo mysql_to_th($question->check_in, 'F'); ?> </td> </tr> <tr class="type2" style="display:none;"> <th>ออกจากที่พักวันที่</th> <td> <?php echo mysql_to_th($question->check_out, 'F'); ?> </td> </tr> <tr class="type2" style="display:none;"> <th style="vertical-align:top; padding:8px 5px 5px;">ห้องพัก</th> <td> <?php echo $room_type[$question->room_type]; ?> <?php if ($question->r_status == 'confirm' && $question->room_type == 3) { ?> <span class="icon icon-tick"></span> <?php }
<table class="list"> <tr> <th>หัวข้อ</th><th>เริ่มแสดง</th><th><a class="btn" href="blogs/post/">เขียนบทความ</a></th> </tr> <?php foreach ($blog->blogpost->order_by('id', 'desc')->get_page(10) as $blogpost) { ?> <tr class="<?php echo alternator('even', 'odd'); ?> "> <td><?php echo $blogpost->title; ?> </td><td><?php echo mysql_to_th($blogpost->start_date); ?> </td><td><a class="btn" href="blogs/post/<?php echo $blogpost->id; ?> ">แก้ไข</a> <a class="btn" href="blogs/delete/<?php echo $blogpost->id; ?> "> ลบ</a></td> </tr> <?php } ?> </table> <?php echo $blog->blogpost->pagination();
<div id="inbox"> <h1>กล่องข้อความ</h1> <?php foreach ($user->pm->order_by('id', 'desc')->get() as $row) { ?> <div class="blogrow" style="position:relative;"> <?php $from_user = new user($row->from_user_id); ?> <img class="avatar" src="<?php echo avatar($from_user->profile->avatar); ?> " width="48" height="48"> <div class="create"><?php echo mysql_to_th($row->created, 'S', TRUE); ?> </div> <?php if ($row->status == 0) { ?> <img src="themes/gcdnew/images/notice_newpm.gif" style="position:absolute; top:12px; left:195px;" alt="ข้อความใหม่" title="ข้อความใหม่"> <?php } ?> <a href="users/profile/<?php echo $from_user->id; ?> "><?php echo $from_user->display; ?> </a> ฝากข้อความถึงคุณ <a href="pms/view_message/<?php
<div class="title"> <h2><?php echo month_th($month) . ' ' . year_th($year); ?> </h2> </div> <div class="archive_list"> <ul> <?php foreach ($blog->blogpost as $blogpost) { ?> <li><a href="blogs/<?php echo $blog->id . '/' . $blogpost->id; ?> "><?php echo $blogpost->title; ?> - <?php echo mysql_to_th($blogpost->created); ?> </a></li> <?php } ?> </ul> </div> <ul>
<div class="textbreadcrumb">ปฏิทินปฏิบัติงาน</div> <div class="location"><a href="home">หน้าแรก</a> > <a href="calendars">ปฏิทินปฏิบัติงาน</a> > <?php echo $calendar->title; ?> </div> </td> <td width="10" align="right" class="breadcrumb_right"></td> </tr> <tr> <td></td> <td class="content"> <h1><?php echo $calendar->title; ?> </h1> เริ่ม <?php echo mysql_to_th($calendar->start); ?> ถึง <?php echo mysql_to_th($calendar->end); ?> <br> <?php echo $calendar->detail; ?> </td> <td></td> </tr> </tbody> </table> </div>
foreach (lang_filter($category->information->where("start_date <= date(sysdate()) and (end_date >= date(sysdate()) or end_date = date('0000-00-00')) and status = 'approve'"))->order_by('id', 'desc')->get() as $information) { ?> <div class="box"> <a href="informations/view/<?php echo $information->id; ?> " class="thumb" <?php echo pathinfo($information->pdf, PATHINFO_EXTENSION) == "pdf" ? 'target="_blank"' : ''; ?> ><img src="<?php echo is_file('uploads/information/thumbnail/' . $information->image) ? 'uploads/information/thumbnail/' . $information->image : 'themes/thaigcd/photo/nophoto.gif'; ?> " width="77" height="64" /></a> <div class="box_info"> <span><?php echo mysql_to_th($information->start_date); ?> - <?php echo $information->group_id ? lang_decode($information->group->name) : lang_decode($information->user->group->name); ?> </span> <a href="informations/view/<?php echo $information->id; ?> " <?php echo pathinfo($information->pdf, PATHINFO_EXTENSION) == "pdf" ? 'target="_blank"' : ''; ?> ><h3><?php echo lang_decode($information->title); ?> <?php
<ul class="mediapublic"> <?php foreach ($media as $mediapublic) { ?> <li> <a href="mediapublics/download/<?php echo $mediapublic->id; ?> "><?php echo lang_decode($mediapublic->title); ?> <span class="date"><?php echo mysql_to_th($mediapublic->created, 'S', TRUE); ?> </span></a> </li> <?php } ?> </ul> <a class="pull-right" href="mediapublics/index/<?php echo $group_id; ?> ">ดูทั้งหมด</a> <br clear="all">
echo $key + 1; ?> "></a> <img class="avatar" src="<?php echo avatar($blogcomment->user->profile->avatar, 'thumbs50x50/'); ?> " /> <p>#<?php echo $key + 1; ?> By <span class="display"><?php echo $blogcomment->user->display; ?> </span></p> <p>@<?php echo mysql_to_th($blogcomment->created); ?> </p> </div> <div class="comment"> <p><?php echo $blogcomment->comment; ?> </p> </div> <div class="option"> <?php if ($blog->id == $this->session->userdata('id')) { ?> <a href="blogs/commentdel/<?php
echo $knowledges->pagination(); ?> <?php foreach ($knowledges as $knowledge) { ?> <div class="box-tag"> <a href="knowledges/view/<?php echo $knowledge->id; ?> " class="thumb"><img class="photo" src="<?php echo is_file('uploads/knowledge/thumbnail/' . $knowledge->image) ? 'uploads/knowledge/thumbnail/' . $knowledge->image : 'themes/thaigcd/photo/nophoto.gif'; ?> " width="77" height="64" /></a> <div class="box_info box-tag-detail"> <span><?php echo mysql_to_th($knowledge->start_date); ?> </span> <a href="knowledges/view/<?php echo $knowledge->id; ?> "><h3 style="color:#006600;"><?php echo lang_decode($knowledge->title); ?> </h3></a> <p><?php echo lang_decode($knowledge->intro); ?> </p> </div> </div>
echo $value->status == 1 ? "On" : "Off"; ?> </button> <?php } ?> </td> <td><?php echo $value->title; ?> <small style="color: #428bca;" >(<?php echo number_format($value->total_image, 0); ?> รูป)</small></td> <td><small><?php echo mysql_to_th($value->created, "S", TRUE) . "<br />" . mysql_to_th($value->updated, "S", TRUE); ?> </small></td> <td> <?php if (permission("galleries", "create")) { ?> <a href="admin/galleries/form/<?php echo $value->id; ?> " class="btn btn-primary" ><span class="glyphicon glyphicon-wrench" ></span> แก้ไข</a> <?php } ?> <?php if (permission("galleries", "delete")) {
foreach ($notices as $notice) { ?> <div class="box <?php echo alternator('', 'alt'); ?> "> <a href="notices/view/<?php echo $notice->id; ?> " class="thumb"><img src="<?php echo is_file('uploads/notice/thumbnail/' . $notice->image) ? 'uploads/notice/thumbnail/' . $notice->image : 'themes/thaigcd/photo/nophoto.gif'; ?> " width="77" height="64" /></a> <div class="box_info"> <span><?php echo mysql_to_th($notice->start_date); ?> </span> <a href="notices/view/<?php echo $notice->id; ?> "><h3><?php echo lang_decode($notice->title); ?> </h3></a> </div> </div> <div class="clear"></div> <?php }
echo $meeting->camp->name; ?> </h3> <table style="width=100%;padding:5px 5px" border="1%"> <tr style="text-align:center;font-weight:bold"> <th width="25%">วันที่ </th><th width="25%">ห้องพักเดี่ยว</th><th width="25%">ห้องพักคู่</th><th width="25%">รวม</th> </tr> <?php foreach ($dates as $date) { ?> <tr <?php echo cycle(); ?> > <td style="text-align:center;"><?php echo mysql_to_th($date['check_in']); ?> </td> <td style="text-align:center;"><?php echo $meeting->question->where('meeting_id', $meeting->id)->where('check_in', $date['check_in'])->where_in('room_type', array('1', '2'))->count(); ?> </td> <td style="text-align:center;"><?php echo $meeting->question->where('meeting_id', $meeting->id)->where('check_in', $date['check_in'])->where_in('room_type', array('3', '4'))->count(); ?> </td> <td style="text-align:center;"><?php echo $meeting->question->where('meeting_id', $meeting->id)->where('check_in', $date['check_in'])->where_in('room_type', array('1', '2', '3', '4'))->count(); ?> </td> </tr>
//$this->load->helper('html'); foreach ($rs as $row) { //dbConvert($row); ?> <tr> <td><?php echo $row->title; ?> </td> <td><?php echo mysql_to_th($row->start_date); ?> ถึง <?php echo mysql_to_th($row->end_date); ?> </td> <td class="td-actions"> <div class="hidden-phone visible-desktop action-buttons"> <a class="green" href="calendars/admin/calendars/form/<?php echo $row->id; ?> ?module=<?php echo $_GET['module']; ?> "> <i class="icon-pencil bigger-130"></i> </a>
<?php echo $title; ?> </a> <br /> <small><?php echo mb_substr($detail, 0, 280, "utf-8"); ?> </small> </td> <td><?php echo @number_format($value->views, 0); ?> </td> <td><?php echo mysql_to_th($value->created, "F", true); ?> </td> </tr> <?php } ?> </tbody> <tfoot> <tr> <td colspan="3" ><?php echo $variable->pagination(); ?> </td> </tr>
<h2>ฝนสะสมรายวันจากเรดาร์</h2> <small><?php echo mysql_to_th(date("Y-m-d H:i:s"), "F", TRUE); ?> </small> <iframe src="http://164.115.100.119/Gmap/RadarGMaps.php" scrolling="no" style="border: none; height: 1200px; width: 100%;" ></iframe>
echo $topic->id; ?> " target="_blank"><?php echo $topic->title; ?> </a></td> <td><?php echo $topic->user->profile->first_name . ' ' . $topic->user->profile->last_name; ?> </a></td> <td><?php echo lang_decode($topic->user->group->name, 'th'); ?> </a></td> <td><?php echo mysql_to_th($topic->created); ?> </a></td> <td><a href="docs/report/<?php echo $topic->id; ?> " ><span class="icon icon-chart-pie"></span> รายงาน</a></td> <?php if (is_authen('questionaire', 'edit')) { ?> <td><a href="docs/form/<?php echo $topic->id; ?> " ><span class="icon icon-table-edit"></span> แก้ไข</a></td> <?php }