| Server IP : 172.67.187.206 / Your IP : 172.71.28.156 Web Server : Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/5.6.30 System : Windows NT WIN-ECQAAA40806 6.2 build 9200 (Windows Server 2012 Standard Edition) i586 User : SYSTEM ( 0) PHP Version : 5.6.30 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /Inetpub/www/myoffice/2563/modules_backup301262/tkk2/ |
Upload File : |
<TABLE cellSpacing=0 cellPadding=0 width=100% height="450"border=0>
<TBODY>
<TR>
<TD vAlign=top align=center><center><B>ตรวจสอบหนังสือส่ง</B></center>
<!-- tkk2 -->
<table align=center width="600" cellspacing="2" cellpadding="1" background="images/1234.jpg">
<?
// CheckUser($_SESSION['user_user']);
$db->connectdb(DB_NAME,DB_USERNAME,DB_PASSWORD);
$res[usersch] = $db->select_query("SELECT * FROM ".TB_usersch." WHERE username='".$_SESSION['usersch_user']."' ");
$arr[usersch] = $db->fetch($res[usersch]);
//แสดงบทความ
$db->connectdb(DB_NAME,DB_USERNAME,DB_PASSWORD);
$SUMPAGE = $db->num_rows(TB_TKK2,"id","category");
$page=$_GET[page];
if (empty($page)){
$page=1;
}
$res[tkk2] = $db->select_query("SELECT * FROM ".TB_TKK2." WHERE posted='".$arr[usersch][id]."' ORDER BY update_date DESC LIMIT 1 ");
while($arr[tkk2] = $db->fetch($res[tkk2]))
{
$res[working] = $db->select_query("SELECT * FROM ".TB_WORKING_CAT." WHERE id='".$arr[tkk2][group_ska]."' ");
$arr[working] = $db->fetch($res[working]);
if ($i%2==0)
{
?><tr bgcolor="#FFFFC6" class="unnamed1"><?
} else {
?><tr bgcolor="#E6FEDE" class="unnamed2"><?
} ?>
<tr>
<td valign="top">
<table width="600" height="300">
<tr>
<td width="100" height="22" align="right" valign="top"><strong></strong></td>
<td width="500" align="right" valign="top">
<A HREF="popup.php?name=tkk2&file=addarea&op=tkk2_add" onClick="return hs.htmlExpand(this, { contentId: 'highslide-html', objectType: 'iframe', objectWidth: 900, objectHeight: 800} )" class="highslide"></center>
<div align=right><b><A HREF="?name=tkk2&file=editsent&op=tkk2_edit&id=<?echo $arr[tkk2][id];?>"><FONT COLOR="red" size=3>แก้ไขหนังสือ</a></b></td>
</tr>
<tr>
<td height="22" align="right" valign="top"><strong>เลขที่หนังสือ :</strong></td>
<td align="left" valign="top">
<?echo $arr[tkk2][tabain];?>
</td>
</tr>
<tr>
<td height="22" align="right" valign="top"><strong>ลงวันที่ :</strong></td>
<td align="left" valign="top">
<?echo "".thai_date_fullmonth(strtotime($arr[tkk2][date])."" );?>
</td>
</tr>
<tr>
<td height="24" align="right" valign="top"><strong>เรื่อง :</strong></td>
<td align="left" valign="top">
<?echo $arr[tkk2][topic];?>
</td>
</tr>
<tr>
<td height="22" align="right" valign="top"><strong>ผู้ส่ง :</strong></td>
<td align="left" valign="top">
<?=$arr[usersch][name];?>
</td>
</tr>
<tr>
<td height="24" align="right" valign="top"><strong>ส่งถึง :</strong></td>
<td align="left" valign="top">
<? echo $arr[working][category_name];?>
</td>
</tr>
<tr>
<td height="24" align="right" valign="top"><strong>เอกสารแนบ :</strong></td>
<td align="left" valign="top">
<?
if($arr[tkk2][full_text]){
?>
<a href="data/tkk2/<?=$arr[tkk2][full_text];?>"target="_blank"><b>หนังสือนำ</b></A> ,
<? } else {
echo "";
}?>
<?
if($arr[tkk2][full_texts]){
?>
<a href="data/tkk2/<?=$arr[tkk2][full_texts];?>"target="_blank"><b>เอกสารแนบ1</b></A> ,
<? } else {
echo "";
}?>
<?
if($arr[tkk2][full_textu]){
?>
<a href="data/tkk2/<?=$arr[tkk2][full_textu];?>"target="_blank"><b>เอกสารแนบ2</b></A> ,
<? } else {
echo "";
}?>
<?
if($arr[tkk2][full_texto]){
?>
<a href="data/tkk2/<?=$arr[tkk2][full_texto];?>"target="_blank"><b>เอกสารแนบ3</b></A>
<? } else {
echo "";
}?>
</td>
</tr>
</table>
</td>
</TR>
<?
$count++;
if (($count%1) == 0) { echo ""; $count=0; }
}
$db->closedb ();
//จบการแสดงข่าวสาร
?>
</table>
</TR>
</TD>
</TABLE>
<!-- End tkk2 -->
</TD>
</TR>
</TBODY>
</TABLE>