| Server IP : 104.21.80.248 / Your IP : 172.71.28.155 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/2564_old/modules/tkk2_backup/ |
Upload File : |
<?
CheckUser($_SESSION['user_user'], $_SESSION['user_pwd']);
?>
<TABLE cellSpacing=0 cellPadding=0 width=100% height=500 border=0>
<TBODY>
<TR>
<TD vAlign=top>
<A HREF="?name=tkk3&file=tabainperson"> <img src="images/back.png" align="absmiddle" ></A> <B>หนังสือค้างส่ง ของ สารบรรณกลาง</B>
<table width="100%" align=center cellspacing="2" cellpadding="0" >
<tr bgcolor="6dbae0">
<td width="100" align=center ><font color="#FFFFFF"><B>เลขรับ</B></font></td>
<td width="120" align=center ><font color="#FFFFFF"><B>เลขที่หนังสือ</B></font></td>
<td align=center width="350"><font color="#FFFFFF"><B>เรื่อง</B></font></td>
<td align=center width="70"><font color="#FFFFFF"><B>จัดการ</B></font></td>
</tr>
<?
//CheckUser($_SESSION['user_user']);
$db->connectdb(DB_NAME,DB_USERNAME,DB_PASSWORD);
$res[user] = $db->select_query("SELECT * FROM ".TB_user." WHERE username='".$_SESSION['user_user']."' ");
$arr[user] = $db->fetch($res[user]);
$limit = 10 ;
$SUMPAGE = $db->num_rows(TB_TKK2,"id","$SQLwhere category='B1' ");
$page=$_GET[page];
if (empty($page)){
$page=1;
}
$rt = $SUMPAGE%$limit ;
$totalpage = ($rt!=0) ? floor($SUMPAGE/$limit)+1 : floor($SUMPAGE/$limit);
$goto = ($page-1)*$limit ;
$res[tkk2] = $db->select_query("SELECT * FROM ".TB_TKK2." WHERE category='D1' and namecom='".$arr[user][id]."' ORDER BY post_date DESC LIMIT $goto, $limit ");
$count=0;
while($arr[tkk2] = $db->fetch($res[tkk2])){
if ($i%2==0)
{
?><tr bgcolor="#F0FFFF" class="unnamed1"><?
} else {
?><tr bgcolor="#FFFFFF" class="unnamed2"><?
} ?>
<td valign="top"> <?echo $arr[tkk2][idtabain];?></td>
<td valign="top"> <?echo $arr[tkk2][tabain];?></td>
<td valign="top">ไม่ม่ข้อความหัวเรื่อง</td>
<td align="center"valign="top"><A HREF="?name=tkk2&file=editrubnew&op=tkk2_edit&id=<? echo $arr[tkk2][id];?>">คลิกแก้ไขลงทะเบียนรับ</a></B></td>
</tr>
<?
$i++;
$count++;
if (($count%1) == 0) { echo ""; $count=0; }
}
$db->closedb ();
?>
</table>
<?
SplitPage($page,$totalpage,"?name=tkk2&file=sarabanarea&op=tkk2_read&category=".$_GET[category]."");
echo $ShowSumPages ;
echo $ShowPages ;
?>
</TD>
</TR>
</TBODY>
</TABLE>