|
Server : Apache/2.2.2 (Fedora) System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686 User : apache ( 48) PHP Version : 5.2.9 Disable Function : NONE Directory : /var/www/html/pathumthani_eoffice/application/bin/document_bk v 1test/ |
Upload File : |
<link rel="stylesheet" type="text/css" href="droplinebar.css" />
<?
if( ($type!="personal") && ( ($action!="view") && ($action!="activity") && ($action!="edit") ) ){
?>
<script type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<style type="text/css">
<!--
.style1 {
color: #FFFFFF;
font-weight: bold;
}
-->
</style>
<body onLoad="MM_preloadImages('../../images/bar/menu2_19.jpg')"><table width="100%" height="32" border="0" cellpadding="0" cellspacing="0" background="../../images/bar/menu_10s.jpg">
<tr >
<td align="right" valign="top" width="100%"> </td>
<? if($session_username!="root"){
if(($session_apppermit[1][10]) || ($session_apppermit[1][20])){
?>
<td align="right" valign="top" width="99"><a href="dashboard.php?type=all" target="mainFrame" ><img src="../../images/bar/menu1_03.jpg" alt="˹ѧÊ×Í·Ñé§ËÁ´" name="ALL" width="99" height="32" border="0" id="ALL" /></a></td>
<td align="right" valign="top" width="99"><a href="dashboard.php?type=get" target="mainFrame" > <img src="../../images/bar/menu1_01.jpg" alt="˹ѧÊ×ÍÃѺ" name="GETTING1" width="99" height="32" border="0" id="GETTING1" /></a> </td>
<td align="right" valign="top" width="99"><a href="dashboard.php?type=send" target="mainFrame" > <img src="../../images/bar/menu1_02.jpg" alt="˹ѧÊ×ÍÊè§" name="SENDING" width="99" height="32" border="0" id="SENDING" /></a></td>
<td align="right" valign="top" width="99"><a href="dashboard.php?type=circular" target="mainFrame" > <img src="../../images/bar/menu1_13.jpg" alt="˹ѧÊ×ÍàÇÕ¹" name="Image12" width="99" height="32" border="0"></a></td>
<?
}
if($session_apppermit[16][10]||$session_apppermit[16][20]){ ?>
<td align="right" valign="top" width="99">
<a href="dashboard.php?type=command" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image17','','../../images/bar/menu2_19.jpg',1)" target="mainFrame" ><img src="../../images/bar/menu1_19.jpg" alt="˹ѧÊ×ͤÓÊÑè§" name="Image17" width="99" height="32" border="0" id="Image17" /></a></td>
<?
}
if($session_apppermit[1][300]||$session_apppermit[1][400]||$session_apppermit[1][500]||$session_apppermit[1][600]||$session_apppermit[1][700]){ ?>
<td align="right" valign="top" width="99" height="32"><a href="menu_add_document.php" target="mainFrame" ><img src="../../images/bar/menu1_08.jpg" alt="à¾ÔèÁ¢éÍÁÙÅ" name="ADD" width="99" height="32" border="0" id="ADD" /></a> </td>
<? }?>
<td align="right" valign="top" width="99"><a href="docreg_search.php?action=search" target="mainFrame" ><img src="../../images/bar/menu1_07.jpg" alt="¤é¹ËÒ¢éÍÁÙÅ" name="SEARCH" width="99" height="32" border="0" id="SEARCH" /> </a></td>
<td align="right" valign="top" width="99"><a href="docreg_profile.php?type=profile" target="mainFrame" > <img src="../../images/bar/menu1_04.jpg" alt="Profile Manager" name="PROFILE" width="99" height="32" border="0" id="PROFILE" /></a></td>
<td align="right" valign="top" width="99"><a href="personal_setting.php" target="mainFrame" > <img src="../../images/bar/menu1_05.jpg" alt="µÑ駤èÒáÊ´§¼Å" name="SETTING" width="99" height="32" border="0" id="SETTING" /></a></td>
<?
if($session_permit[300]){ ?>
<td align="right" valign="top" width="99"><a href="report_menu.php" target="mainFrame" > <img src="../../images/bar/menu1_14.jpg" alt="ÃÒ§ҹʶԵÔ" name="Image13" width="99" height="32" border="0"></a> </td>
<?
}elseif($session_username=="root"){ ?>
<td align="right" valign="top" width="99"><a href="admin_menu.php" target="mainFrame" > <img src="../../images/bar/menu1_09.jpg" alt="System manager" name="GETTING" width="99" height="32" border="0" id="GETTING" /></a> </td>
<?
}
}
?>
<td align="center" valign="top"><a href="../control/" target="_parent" ><img src="../../images/bar/menu1_06.jpg" alt="ÍÍ¡¨Ò¡Ãкº" name="LOGOUT" width="99" height="32" border="0" id="LOGOUT" /></a></td>
</tr>
</table>
<!--<div id="mydroplinemenu" class="droplinebar">
<ul>
<li><a href="dashboard.php?type=all" target="mainFrame" ><img src="../../images/bar/menu1_03.jpg" alt="˹ѧÊ×Í·Ñé§ËÁ´" name="ALL" width="99" height="32" border="0" id="ALL" /></a></li>
<li><a href="dashboard.php?type=get" target="mainFrame" > <img src="../../images/bar/menu1_01.jpg" alt="˹ѧÊ×ÍÃѺ" name="GETTING1" width="99" height="32" border="0" id="GETTING1" /></a></li>
<li><a href="dashboard.php?type=send" target="mainFrame" > <img src="../../images/bar/menu1_02.jpg" alt="˹ѧÊ×ÍÊè§" name="SENDING" width="99" height="32" border="0" id="SENDING" /></a></li>
<li><a href="dashboard.php?type=circular" target="mainFrame" > <img src="../../images/bar/menu1_13.jpg" alt="˹ѧÊ×ÍàÇÕ¹" name="Image12" width="99" height="32" border="0"></a></li>
<li>
<a href="docreg_add_step1.php?action=add&type=get" target="mainFrame" >
<img src="../../images/bar/menu1_08.jpg" alt="à¾ÔèÁ¢éÍÁÙÅ" name="ADD" width="99" height="32" border="0" id="ADD" />
</a>
<ul>
<li> <table border="0" width="99" height="32"><tr><td>à¾ÔèÁ</td></tr></table>
</li>
<li> à¾ÔèÁ </li>
<li> à¾ÔèÁ </li>
<li> à¾ÔèÁ </li>
</ul>
</li>
<li><a href="docreg_search.php?action=search" target="mainFrame" ><img src="../../images/bar/menu1_07.jpg" alt="¤é¹ËÒ¢éÍÁÙÅ" name="SEARCH" width="99" height="32" border="0" id="SEARCH" /> </a></li>
<li><a href="docreg_profile.php?type=profile" target="mainFrame" > <img src="../../images/bar/menu1_04.jpg" alt="Profile Manager" name="PROFILE" width="99" height="32" border="0" id="PROFILE" /></a></li>
<li><a href="personal_setting.php" target="mainFrame" > <img src="../../images/bar/menu1_05.jpg" alt="µÑ駤èÒáÊ´§¼Å" name="SETTING" width="99" height="32" border="0" id="SETTING" /></a></li>
<li><a href="report_menu.php" target="mainFrame" > <img src="../../images/bar/menu1_14.jpg" alt="ÃÒ§ҹʶԵÔ" name="Image13" width="99" height="32" border="0"></a></li>
<li><a href="logout.php" target="_parent" ><img src="../../images/bar/menu1_06.jpg" alt="ÍÍ¡¨Ò¡Ãкº" name="LOGOUT" width="99" height="32" border="0" id="LOGOUT" /></a></li>
</ul>
</div>-->
<? }elseif($type=="personal"){ ?>
<table width="100%" height="32" border="0" cellpadding="0" cellspacing="0" background="../../images/bar/menu_10s.jpg">
<tr >
<td align="right" valign="top" width="100%"> </td>
<td width="99" align="center" valign="top" ><a href="?type=all" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image14','','../../images/bar/menu2_15.jpg',1)"><img src="../../images/bar/menu1_15.jpg" alt="˹éÒËÅÑ¡" name="Image14" width="99" height="32" border="0"></a></td>
<td align="center" valign="top"><a href="logout.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('LOGOUT','','../../images/bar/menu2_06.jpg',1)"><img src="../../images/bar/menu1_06.jpg" alt="ÍÍ¡¨Ò¡Ãкº" name="LOGOUT" width="99" height="32" border="0" id="LOGOUT" /> </a> </td>
</tr>
</table>
<? }elseif( ($action=="view") || ($action=="activity") || ($action=="edit") ){?>
<table width="100%" height="32" border="0" cellpadding="0" cellspacing="0" background="../../images/bar/menu_10s.jpg">
<tr >
<td align="right" valign="top" width="100%"> </td>
<!-- <td width="99" align="center" valign="top" >
<a href="?type=all" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('999','','../../images/bar/menu2_15.jpg',1)">
<img src="../../images/bar/menu1_15.jpg" alt="˹éÒËÅÑ¡" name="Image14" width="99" height="32" border="0">
</a>
<a href="?type=all"></a>
</td>-->
<?
if(!$ers[doc_status]=="w"){
if($debug=="on"){echo "<pre>"; print_r($session_permit); echo "</pre>";}
if($session_permit[300] || ($session_staffid==$owner)){ //(($session_permit[300])||($session_permit[400])||($session_permit[500]))
if($type=='get'){ $target="reg_doc_get.php"; }
elseif($type=='send'){ $target="reg_doc_send.php";}
elseif($type=='circular'){ $target="reg_doc_circular.php";}
?>
<? if($session_permit[300]&&$sms_mode=="on"){?>
<td width="99" align="center" valign="top" <? if($action=="edit") {echo "bgcolor='#FFCC00'"; } ?>><nobr><a href="doc_sms_step.php?action=sms&id=<?=$id?>&type=<?=$type?>" style="text-decoration:none" ><img src="../../images/yast_www.png" alt="" width="22" height="22" border=0/><font color="#FFFFFF"><b>SMS</b></font></a></td>
<? }?>
<td width="99" align="center" valign="top" <? if($action=="edit") {echo "bgcolor='#FFCC00'"; } ?>><a href="docreg_getform.php?action=edit&id=<?=$id?>&type=<?=$type?>&action=edit" style="text-decoration:none"><img src="../../images/bar/menu1_16.jpg" alt="á¡éä¢" width="99" height="32" border="0"></a></td>
<td width="99" align="center" valign="top" >
<a href="<?=$PHP_SELF?>?action=del&id=<?=$id?>&page=<?=$page?>&type=<?=$type?>" style="text-decoration:none" onClick="return confirm('¡ÒÃźäÁèÊÒÁÒö¡Ùé¤×¹ä´é ¡Ãسҡ´ OK à¾×èÍÂ×¹Âѹ¡ÒÃź ?')"> <img src="../../images/bar/menu1_17.jpg" alt="ź" width="99" height="32" border="0"> </a> </td>
<?
} if(($session_permit[300]) && ($type!="circular")){
?>
<td width="99" align="center" valign="top" >
<a href="docreg_getact.php?action=activity&id=<?=$id?>&page=<?=$page?>&type=<?=$type?>" style="text-decoration:none">
<img src="../../images/bar/menu1_18.jpg" alt="Êè§µèÍ" width="99" height="32" border="0"></a> </td>
<? }
}
?>
</tr>
</table>
<? }?>