<tr> <td align="left" valign="top"><table width="100%" height="10" border="0" cellpadding="0" cellspacing="0"> <tr> <td></td> </tr> </table> <table width="700" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="150" height="20" align="right"><strong> <font color="#000000" size="2">วันที่สมัครสมาชิก</font> </strong></td> <td height="20" align="center">:</td> <td width="540" height="20" align="left"><table width="530" border="0" align="left" cellpadding="0" cellspacing="0"> <tr> <td align="left"><font size="2"> <?php $regDate = $r5[8]; echo DateThai($regDate); ?> </font></td> <td width="50" align="right"><font size="2"><a href="del-member.php?member_id=<?php echo $member_id; ?> " onclick="javascript:if(!confirm('ท่านต้องการลบข้อมูลจริงหรือไม่')){return false;}"><img src="images/del.gif" width="40" height="15" border="0" /></a></font></td> </tr> </table></td> </tr> <tr> <td width="150" height="20" align="right"><strong><font color="#000000" size="2">ชื่อที่ใช้เรียก </font></strong> </td> <td height="20" align="center">:</td> <td width="540" height="20" align="left"><font color="#000000" size="2"><?php echo $r5[1]; ?>
echo $arr_rs['PRENAME']; ?> </td> <td> <?php echo $arr_rs['FNAME']; ?> </td> <td> <?php echo $arr_rs['LNAME']; ?> </td> <td> <?php echo DateThai($arr_rs['BIRTH']); ?> </td> <td> <?php echo $arr_rs['AGE']; ?> </td> <td> <?php echo $arr_rs['DISABTYPE']; ?> </td> <td> <?php echo $arr_rs['DISABTYPE_NAME'];
<?php function DateThai($strDate) { $strYear = date("Y", strtotime($strDate)) + 543; $strMonth = date("n", strtotime($strDate)); $strDay = date("j", strtotime($strDate)); $strHour = date("H", strtotime($strDate)); $strMinute = date("i", strtotime($strDate)); $strSeconds = date("s", strtotime($strDate)); $strMonthCut = array("", "ม.ค.", "ก.พ.", "มี.ค.", "เม.ย.", "พ.ค.", "มิ.ย.", "ก.ค.", "ส.ค.", "ก.ย.", "ต.ค.", "พ.ย.", "ธ.ค."); $strMonthThai = $strMonthCut[$strMonth]; return "{$strDay} {$strMonthThai} {$strYear}, {$strHour}:{$strMinute}"; } $strDate = "2008-08-14 13:42:44"; echo "ThaiCreate.Com Time now : " . DateThai($strDate);
include("menu_center.php"); $dd = date("Y-m-d"); $tt = date("H:i:s"); ?> </p> <p> </p> <div id="box500"><h3> <img src="img/icon/16/star.png"> สวัดดีครับ คุณ <a href="#"><?php echo $_SESSION["member_name"]; ?> </a></h3> <table style="border: none;font-size: 12px;color: #5b5b5b;width: 100%;margin: 10px 0 10px 0;"> <tr> <td style="border: none;padding: 4px;" width="7%"><img src="img/icon/calendar_empty_32.png"></td> <td style="border: none;padding: 4px;" width="93%"><b>วันนี้วันที่ <?php echo DateThai($dd); ?> </b></td> </tr> <tr> <td style="border: none;padding: 4px;" width="7%"><img src="img/icon/clock_32.png"></td> <td style="border: none;padding: 4px;" width="93%"><b>เวลา <?php echo $tt; ?> </b></td> </tr> </table> </div>
?> </td> <td align="center" valign="middle"><?php echo $row['CID']; ?> </td> <td align="center" valign="middle"><?php echo $row['PRENAME']; ?> </td> <td align="center" valign="middle"><?php echo $row['FNAME']; ?> </td> <td align="center" valign="middle"><?php echo DateThai($row['BIRTH']); ?> </td> <td align="center" valign="middle"><?php echo $row['AGE']; ?> </td> <td align="center" valign="middle"><?php echo $row['HOUSE']; ?> </td> <td align="center" valign="middle"><?php echo $row['VNAME']; ?> </td> <td align="center" valign="middle"><?php
.center { text-align: center; } </style> <?php foreach ($team as $t) { ?> <div class="container"> <table> <tr> <td colspan="28"><b>หอผู้ป่วย</b> <u><?php echo $ward_name->ward; ?> </u> โรงพยาบาลขอนแก่น <b>วันที่</b> <u><?php echo DateThai($event_date); ?> </u> <b>เวลา</b> <u><?php echo $event->period == 3 ? '00.00 - 08.00' : ($event->period == 1 ? '08.00 - 16.00' : '16.00 - 00.00'); ?> น.</u> <b>เวร</b> <u><?php echo $event->period == 3 ? 'ดึก' : ($event->period == 1 ? 'เช้า' : 'บ่าย'); ?> </u> <b>ผู้มอบหมายงาน</b>.......................... </td> </tr> <tr> <td colspan="28"><b>*ระดับการดูแลขั้นต่ำ</b> 4=ต้องการดูแลมากตลอดเวลา ,3=มาก ,2=ปานกลาง ,1=น้อย ให้ 4a=หนักมาก ,3a=หนัก ,3b=หนักปานกลาง ,2a ,2b ,2c พัก (a = 13 - 16, b = 9 - 12, c = 5 - 8, d = 4)</td> </tr> <tr><td> <table class="coll center" border ="1" width="100%"> <thead>
</table> </div> <?php } } else { $blogEngine = new Blog(); $blogEngine->ViewerBlog($path->Level(2)); echo '<div class="body-blog">'; $blog = parent::ViewTableWhere('blog', 'title', $path->Level(2), 0, 1); $blog = $blog[0]; echo BB::Code($blog['fulltext']); echo '</div><div class="body-credit">'; if ($blog['created'] == $blog['modified']) { echo '<u>' . _BLOG_CREATED . '</u> ' . DateThai($blog['created'], 'f'); } else { echo '<u>' . _BLOG_MODIFIED . '</u> ' . DateThai($blog['modified'], 'f'); } echo '</div><div id="blog-title"><h3>COMMENT</h3></div><table width="100%" border="0" cellpadding="2" cellspacing="0"><tr><td width="50%" valign="top">'; echo '<div id="blog-comment">'; if (parent::CountRow('blog_comment', 'blogid', $blogEngine->GetBlogID($path->Level(2))) == 0) { echo _COMMENT_NONE; } foreach (parent::ViewTableWhere('blog_comment', 'blogid', $blogEngine->GetBlogID($path->Level(2)), 'commentid DESC', 20) as $comment) { echo '<div class="comment-list"><div class="comment-name"><strong>' . $comment['name'] . '</strong><font size="1"> on '; $totalcDays = LastDays($_SERVER['REQUEST_TIME']); $totalmDays = LastDays($comment['created']); if ($totalcDays - $totalmDays == 0) { echo 'Today'; } else { if ($totalcDays - $totalmDays == 1) { echo 'Yesterday';
echo $arr_rs['DISABID']; ?> </td> <td> <?php echo $arr_rs['DISABTYPE']; ?> </td> <td> <?php echo $arr_rs['DISABCAUSE']; ?> </td> <td> <?php echo DateThai($arr_rs['DATE_DISAB']); ?> </td> <td> <?php echo $arr_rs['HOUSE']; ?> </td> <td> <?php echo $arr_rs['VHID']; ?> </td> </tr>
<!-- <div class="row"> <a class="btn btn-primary" role="button" style="margin-top: 0px" onClick="javascript:window.open('add_form.php', '', 'nenuber=no,toorlbar=no,location=no,scrollbars=no, status=no,resizable=no,width=500,height=650,top=0,left=150 ')">พิมพ์ข้อมูลทั้งหมด</a> </div> <div class="row"> <a class="btn btn-primary" role="button" style="margin-top: 0px" onClick="javascript:window.open('add_form.php', '', 'nenuber=no,toorlbar=no,location=no,scrollbars=no, status=no,resizable=no,width=500,height=650,top=0,left=150 ')">พิมพ์ข้อมูลที่อยู่</a> </div>--> </div> </center> </div> <div class="row"> <div class="col-xs-6 col-xs-offset-4"> <h4 style="color: red;">แก้ไขข้อมูลล่าสุดเมื่อ <?php // $strDate = "2008-08-14 13:42:44"; // echo "ThaiCreate.Com Time now : " . DateThai($strDate); echo DateThai($person['LASTUPDATE']); ?> </h4> </div> </div> <fieldset class="scheduler-border"> <legend class="scheduler-border"><h4>1) ข้อมูลส่วนตัว</h4></legend> <div class="row"> <div class="col-xs-3"> <h5>ชื่อ-นามสกุลไทย</h5> </div> <div class="col-xs-3" style="margin-top: 1px"> <!--<p>--> <h6> <?php if ($person['TITLE_ID'] != 0) {
<?php include "../chart/chart_60up_amp.php"; ?> </div> </div> <!----> <!----> <div class="panel panel-info"> <div class="panel-heading"> ข้อมูล กลุ่มอายุ <?php echo $age; ?> ปีขึ้นไป ระดับอำเภอ ประมวลผล ณ วันที่ <?php echo DateThai($d_update); ?> <a href="../exportxls/age_group_export_excel.php?id=<?php echo $id; ?> &age=<?php echo $age; ?> &table=<?php echo $table; ?> "class="btn btn-default btn-sm " role="button"> ส่งออก Excel </a> </div> <div class="panel-body">
echo $arr_rs['INSTYPE']; ?> </td> <td> <?php echo $arr_rs['INSID']; ?> </td> <td> <?php echo DateThai($arr_rs['STARTDATE']); ?> </td> <td> <?php echo DateThai($arr_rs['EXPIREDATE']); ?> </td> <td> <?php echo $arr_rs['HOUSE']; ?> </td> <td> <?php echo $arr_rs['VHID']; ?> </td> </tr>
?> </span> <span class="subject_l"><?php echo !empty($_POST) ? $subject_l : ""; ?> </span> <span class="print_p"><?php echo !empty($_POST) ? $p : ""; ?> </span> <span class="print_y"><?php echo !empty($_POST) ? $y : ""; ?> </span> <span class="other1_date"><?php echo !empty($_POST) ? DateThai($other1_date) : ""; ?> </span> <span class="other1_point"><?php echo !empty($_POST) ? $other1_point : ""; ?> </span> <span class="other1_max"><?php echo !empty($_POST) ? $other1_maxpoint : ""; ?> </span> <span class="otherdetail"><?php echo !empty($_POST) ? $otherdetail : ""; ?> </span>
$xml = file_get_contents($url); $xmlDoc = new DOMDocument(); $xmlDoc->loadXML($xml); $items = $xmlDoc->getElementsByTagName("item"); for ($i = 0; $i < $items->length; $i++) { $item = $items->item($i); // $titles = $item->getElementsByTagName("guid"); $titles = $item->getElementsByTagName("title"); $dates = $item->getElementsByTagName("pubDate"); $links = $item->getElementsByTagName("link"); // echo ($i+1).". ".utf8_to_tis620($titles->item(0)->nodeValue). ""; //$datex=print "".$dates->item(0)->nodeValue.""; $word = explode(" ", "" . $dates->item(0)->nodeValue . ""); //echo "".$word[0]."" ; $ThaiTime = "" . $word[3] . "-" . $word[2] . "-" . $word[1] . " " . $word[4] . ""; $ThaiDate = DateThai($ThaiTime); $Time = strtotime($ThaiTime); //echo TIMESTAMP."-".$Time; if (ISO == 'utf-8') { echo " <img src=images/a.gif> <a href='" . $links->item(0)->nodeValue . "' target='_blank' /><b>" . $titles->item(0)->nodeValue . "</b></a>(" . $ThaiDate . ")"; echo " " . HotNewsIcon(TIMESTAMP, $Time, "images/icon_new.gif") . ""; } else { echo " <img src=images/a.gif> <a href='" . utf8_to_tis620($links->item(0)->nodeValue) . "' target='_blank' /><b>" . utf8_to_tis620($titles->item(0)->nodeValue) . "</b></a>(" . $ThaiDate . ")"; echo " " . HotNewsIcon(TIMESTAMP, $Time, "images/icon_new.gif") . ""; } } echo "</marquee></TD></TR>"; echo "</table>"; //News Icon function HotNewsIcon($Ntime = "", $Otime = "", $Icon = "") {
?> </span> <span class="teacher"><?php echo !empty($_POST) ? $teacher : ""; ?> </span> <span class="misssub"><?php echo !empty($_POST) ? $misssub : ""; ?> </span> <span class="section"><?php echo !empty($_POST) ? $section : ""; ?> </span> <span class="missday"><?php echo !empty($_POST) ? DateThai($missday) : ""; ?> </span> <span class="subteacher"><?php echo !empty($_POST) ? $subteacher : ""; ?> </span> <span class="tel"><?php echo !empty($_POST) ? $tel : ""; ?> </span> <span class="missdetail"><?php echo !empty($_POST) ? $missdetail : ""; ?> </span> <span class="otherdetail"><?php
$pt[$i]['bed_type'] = $p->bed_type; $pt[$i]['bed_no'] = $p->bed_no; $pt[$i]['fullname'] = $p->title . $p->name . ' ' . $p->surname; $i++; } ?> <div class="container"> <table> <tr> <td colspan="28"><b>หอผู้ป่วย</b> <u><?php echo $ward_name->ward; ?> </u> โรงพยาบาลขอนแก่น <br/><b>วันที่</b> <u><?php echo DateThai($event->date); ?> </u> <b>เวลา</b> <u><?php echo $event->period == 1 ? '00.00 - 08.00' : ($event->period == 2 ? '08.00 - 16.00' : '16.00 - 00.00'); ?> น.</u> <b>เวร</b> <u><?php echo $event->period == 1 ? 'ดึก' : ($event->period == 2 ? 'เช้า' : 'บ่าย'); ?> </u></td> </tr> <tr> <td style="vertical-align: top; padding: 10px; "> <table class="coll center" border ="1" padding='20'> <thead>
print $fund->name; ?> </td> <td> <?php print $fund->type; ?> </td> <td> <?php print DateThai($fund->apply_start); ?> </td> <td> <?php print DateThai($fund->apply_end); ?> </td> <td align="right"> <a href="fund_form?id={{ $fund->id }}" class="btn btn-info"> <i class="fa fa-edit"></i> {{ trans('fund.manage_funds-edit_btn') }} </a> <button type="button" data-id="<?php print $fund->id; ?> " class="btn btn-danger" data-singleton="true" data-toggle="confirmation" data-placement="top" data-btn-ok-label="ตกลง" data-btn-cancel-label="ยกเลิก" data-original-title="{{ trans('fund.manage_funds-confirm_delete') . ' ' . $fund->name }}"> <i class="fa fa-trash-o"></i> {{ trans('fund.manage_funds-delete_btn') }} </button> </td> </tr> @endforeach
echo $arr_rs['HOUSE']; ?> </td> <td> <?php echo $arr_rs['VHID']; ?> </td> <td> <?php echo $arr_rs['TYPEAREA']; ?> </td> <td> <?php echo DateThai($arr_rs['DUPDATE']); ?> </td> </tr> <?php } } ?> </table> </div> <script> window.onbeforeunload = function(){return false;}; setTimeout(function(){window.close();}, 10000); </script> </body>
?> <font color="#0080FF"><?php echo $vn_total; ?> </font> <sup style="font-size: 20px"><font color="#FA58AC">ครั้ง</font></sup> </h3> <small class="label label-warning"><i class="fa fa-clock-o"></i> ผู้รับบริการวันนี้</small> <?php function DateThai($strDate) { $timezone = date_default_timezone_set("Asia/Bangkok"); $strYear = date("Y", strtotime($strDate)) + 543; $strMonth = date("n", strtotime($strDate)); $strDay = date("j", strtotime($strDate)); $strHour = date("H", strtotime($strDate)); $strMinute = date("i", strtotime($strDate)); $strSeconds = date("s", strtotime($strDate)); $strMonthCut = array("", "ม.ค.", "ก.พ.", "มี.ค.", "เม.ย.", "พ.ค.", "มิ.ย.", "ก.ค.", "ส.ค.", "ก.ย.", "ต.ค.", "พ.ย.", "ธ.ค."); $strMonthThai = $strMonthCut[$strMonth]; return "{$strDay} {$strMonthThai} {$strYear} เวลา {$strHour}:{$strMinute}:{$strSeconds} น."; } $strDate = "now"; echo "" . DateThai($strDate); ?> </div> <div class="icon"><i class="fa fa-stethoscope text-blue"></i></div> </div> </li> </aside>