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 :  /proc/self/root/home/pathumthani_integration/integration/application/usermanager/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/home/pathumthani_integration/integration/application/usermanager/chpage.php
<?php
	session_start();
	ob_start();
	include("../../config/usermanagerConfig.inc.php");
	include("../../inc/function.php");
	//include("common/function.php");
	
	if($_GET["debug"] == "on"){
		echo "<pre>";
		print_r($_SESSION['SS_PERMISSION']);
		echo "</pre>";
	}
	if($_GET["SESSION"] != ""){
		echo "<pre>";
		if(is_array($_SESSION[$_GET["SESSION"]])){
			print_r($_SESSION[$_GET["SESSION"]]);
		}else{
			echo $_SESSION[$_GET["SESSION"]];
		}
		echo "</pre>";
	}
	
	
	
	if(isset($_POST['bt_swap'])){
	  $name = $_POST['check_siteid'];
	  $_SESSION['SS_SITEID_OLD'] = $_SESSION['SS_SITEID'];
	  $_SESSION['SS_SITEID'] = $_POST['check_siteid'];
	  $_SESSION['SS_UNIT_NAME'] = $_POST['unit_name'][$name];
	  
	  echo "<script> top.location='chpage.php';</script>";
	}
	if($_GET['swap'] == 2){
	  $_SESSION['SS_SITEID'] = $_SESSION['SS_SITEID_IDEN'];
	  unset($_SESSION['SS_SITEID_OLD']);
	  unset($_SESSION['SS_UNIT_NAME']);
	  echo "<script> top.location='chpage.php';</script>";
	}
	
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874">
<title>Control Panel</title>
<STYLE type="text/css">
<!--
body{
margin-left:0; margin-top:0px;
}
table,td{
	color: #FFFFFF;
	size: 10px;
}
-->
</STYLE>
<link href="css/style.css" rel="stylesheet" type="text/css">
</head>

<body background="images/bg_login_2.png" style="background-repeat:repeat-x;" >
<table width="1098" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><img src="images/control_panel/top_banner.jpg" width="1098" height="176"></td>
  </tr>
</table>
<table width="1098" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#242122"  style="font-size:9px;">
  <tr>
    <td width="300" valign="top"><br>
      <TABLE width="250" border="0" align="center" cellpadding="3" cellspacing="0" style="font-size:12px;">
      <TR>
        <TD align="center"><!--<IMG src="img_theme/main/administrator.gif" width="106" height="15" />-->
            <b style="color:#FFFFFF; font-size:16px;">บริหารจัดการระบบ</b></TD>
      </TR>
      <TR>
        <TD align="center" valign="top"><TABLE width="10" border="0" cellspacing="0" cellpadding="1">
            <TR>
              <TD bgcolor="#CCCCCC"><TABLE width="10" border="0" cellspacing="0" cellpadding="0" style="font-size:12px;">
                  <TR>
                    <TD bgcolor="#FFFFFF" valign="top"><?php
						$strSQL = "SELECT
								epm_staff.image,
								epm_staff.staffname
							FROM
								epm_staff
							WHERE epm_staff.staffid =  '".$_SESSION['session_staffid']."'";
					$rsConn = mysql_query($strSQL);
					$Result = mysql_fetch_assoc($rsConn);
						
						
						if($Result['image'] != ''){
						  echo '<img src = "user/user_image/'.$Result['image'].' " width="150" height="180" border="0">';
						}else{
						  echo '<img src = "../../images/nopicture.gif" width="150" height="180" border="0">';
						}
						?>
                    </TD>
                  </TR>
              </TABLE></TD>
            </TR>
        </TABLE></TD>
      </TR>
      <TR>
        <TD align="center" ><STRONG>
          <?=$_SESSION['session_fullname']?>
        </STRONG></TD>
      </TR>
      <TR>
        <TD align="center"><?=$_SESSION['session_title']?></TD>
      </TR>
      <TR>
        <TD align="center" valign="top" class="style4"><?
	$sql_site = " SELECT
					main_menu.NLABEL, main_menu.SITEID, main_menu.PARENT_ID, main_menu.NID
					FROM
					epm_groupmember
					Inner Join epm_staffgroup ON epm_groupmember.gid = epm_staffgroup.gid
					Inner Join main_menu ON epm_staffgroup.org_id = main_menu.NID
					WHERE staffid='".$_SESSION["session_staffid"]."' LIMIT 1
					"; 
	$query_site = mysql_query($sql_site);
	$org_user = mysql_fetch_assoc($query_site);
	$sql_org = "SELECT NLABEL FROM main_menu WHERE NID='".$org_user["PARENT_ID"]."' ";
	$query_org = mysql_query($sql_org);
	$org = mysql_fetch_assoc($query_org);
	
	$arrOrg = explode(" ",$org["NLABEL"]);
	$_SESSION['session_stafforg'] = $arrOrg[0]." ".$arrOrg[1]." ".$arrOrg[2]." ".$arrOrg[3]." ".$org_user["NLABEL"];
	echo $arrOrg[0]." ".$arrOrg[1]." ".$arrOrg[2]." ".$arrOrg[3]." ".$org_user["NLABEL"];
	
			  ?></TD>
      </TR>
      <TR>
        <TD align="center"><!--<A href="http://123.242.173.131/pathumthani_integration/integration/application/usermanager/user/manage_application/mission_main.php?app_id=2" target="_blank"><IMG src="images/icon_user.gif" border="0" align="absmiddle"/></A>-->        
		</TD>
      </TR>
      <TR>
        <TD align="center">[ <A href="logout.php"><STRONG>ออกจากระบบ</STRONG></A> ]</TD>
      </TR>
    </TABLE></td>
    <td valign="top"><br>
      <table width="98%" border="2" cellspacing="0" cellpadding="5" style="border-collapse:collapse; border-color:#FFFFFF; font-size:9px;">
      <tr>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="5">
            <tr>
              <td width="40" valign="top"><img src="images/control_panel/icon_worker.png" width="39" height="39"></td>
              <td width="50%" valign="top"><?=cmdObj_tag( 1, "VIEW", '<SPAN style="size:10px; color:#000066; font-weight:bold;"><A href="../labor/index.php">ระบบคลังข้อมูลด้านแรงงาน</A></SPAN>', '<SPAN style="size:10px; color:#BBBBBB; font-weight:bold;" title="คุณไม่มีสิทธิเข้าถึงระบบนี้">ระบบคลังข้อมูลด้านแรงงาน</SPAN>' );?>
                <br>
                ระบบบันทึกข้อมูลและเชื่อมโยงข้อมูลด้านแรงงาน แหล่งการค้า แหล่งผลิต โครงข่ายคมนาคม โลจิสติกส์ การใช้ประโยชน์ที่ดิน ข้อมูลด้านการพาณิชยกรรม ข้อมูลที่ราชพัสดุ รวมไปถึงแสดงเงื่อนไขของการรายงาน / สืบค้น ข้อมูลโรงงานอุตสาหกรรม </td>
              <td width="43" valign="top"><img src="images/control_panel/icon_homeless.png" width="41" height="40"></td>
              <td width="50%" valign="top"><?=cmdObj_tag( 7, "VIEW", '<SPAN style="size:12px; color:#000066; font-weight:bold;"><A href="../pauper_surway/index.php">ระบบคลังข้อมูลปฐมภูมิสนับสนุนประเด็นยุทธศาสตร์  เพื่อการแก้ไขปัญหาคนจนเมืองและปัญหาคนเร่ร่อน</A></SPAN>', '<SPAN style="size:12px; color:#BBBBBB; font-weight:bold;" title="คุณไม่มีสิทธิเข้าถึงระบบนี้">ระบบคลังข้อมูลปฐมภูมิสนับสนุนประเด็นยุทธศาสตร์  เพื่อการแก้ไขปัญหาคนจนเมืองและปัญหาคนเร่ร่อน</SPAN>' );?>
                <div align="justify">                ระบบบันทึกและนำเข้าข้อมูลคนจนเมือง คนเร่ร่อน และข้อมูลการให้ความช่วยเหลือจากหน่วยงานของส่วนราชการในจังหวัด เพื่อจัดเก็บในคลังข้อมูลปัญหาคนจนเมืองและปัญหาคนเร่ร่อน (Data Center) รวมไปถึงแสดงเงื่อนไขของการรายงาน/สืบค้นข้อมูลปัญหาคนจนเมืองและคนเร่ร่อน สามารถส่งออกข้อมูลในรูปแบบของไฟล์ Microsoft Excel หรือ PDF ได้ </div></td>
            </tr>
            <tr>
              <td valign="top"><img src="images/control_panel/icon_industry.png" width="39" height="41"></td>
              <td valign="top"><?=cmdObj_tag( 2, "VIEW", '<SPAN style="size:12px; color:#000066; font-weight:bold;"><A href="../industry/index.php">ระบบคลังข้อมูลปฐมภูมิสนับสนุนประเด็นยุทธศาสตร์ ด้านอุตสาหกรรม การค้า การผลิต การบริการ</A></SPAN>', '<SPAN style="size:12px; color:#BBBBBB; font-weight:bold;" title="คุณไม่มีสิทธิเข้าถึงระบบนี้">ระบบคลังข้อมูลปฐมภูมิสนับสนุนประเด็นยุทธศาสตร์ ด้านอุตสาหกรรม การค้า การผลิต การบริการ</SPAN>' );?>
                <div align="justify">                ระบบบันทึกข้อมูลและเชื่อมโยงข้อมูลด้านแรงงาน แหล่งการค้า แหล่งผลิต โครงข่ายคมนาคม โลจิสติกส์ การใช้ประโยชน์ที่ดิน ข้อมูลด้านการพาณิชยกรรม ข้อมูลที่ราชพัสดุ รวมไปถึงแสดงเงื่อนไขของการรายงาน / สืบค้น ข้อมูลโรงงานอุตสาหกรรม </div></td>
              <td valign="top"><img src="images/control_panel/icon_demand.png" width="41" height="40"></td>
              <td valign="top"><?=cmdObj_tag( 8, "VIEW", '<SPAN style="size:12px; color:#000066; font-weight:bold;"><A href="http://123.242.173.131/pathumthani_integration/requirement/application/people/index.php"  target="_blank">ระบบคลังข้อมูลปัญหาความต้องการของประชาชน</A></SPAN>', '<SPAN style="size:12px; color:#BBBBBB; font-weight:bold;" title="คุณไม่มีสิทธิเข้าถึงระบบนี้">ระบบคลังข้อมูลปัญหาความต้องการของประชาชน</SPAN>' );?>
                <div align="justify">                ระบบบันทึกข้อมูลปัญหาความต้องการของประชาชนและข้อมูลการให้ความช่วยเหลือ จากหน่วยงานของส่วนราชการในจังหวัด เพื่อจัดเก็บในคลังข้อมูลความต้องการ (Data Center) รวมไปถึงแสดงเงื่อนไขของการรายงาน/สืบค้น ปัญหาความต้องการ สามารถส่งออกข้อมูลในรูปแบบของไฟล์ Microsoft Excel, PDF หรือ Thematic Map ได้ </div></td>
            </tr>
            <tr>
              <td valign="top"><img src="images/control_panel/icon_elder.png" width="39" height="40"></td>
              <td valign="top"><?=cmdObj_tag( 5, "VIEW", '<SPAN style="size:12px; color:#000066; font-weight:bold;"><A href="../elderly/index.php">ระบบคลังข้อมูลปฐมภูมิสนับสนุนประเด็นยุทธศาสตร์  เพื่อส่งเสริมการนำศักยภาพผู้สูงอายุมาใช้ประโยชน์และสามารถพึ่งพาตนเองได้</A></SPAN>', '<SPAN style="size:12px; color:#BBBBBB; font-weight:bold;" title="คุณไม่มีสิทธิเข้าถึงระบบนี้">ระบบคลังข้อมูลปฐมภูมิสนับสนุนประเด็นยุทธศาสตร์  เพื่อส่งเสริมการนำศักยภาพผู้สูงอายุมาใช้ประโยชน์และสามารถพึ่งพาตนเองได้</SPAN>' );?>
                <div align="justify">ระบบบันทึกข้อมูลผู้สูงอายุที่มีศักยภาพ ผู้สูงอายุที่ต้องการความช่วยเหลือ โครงการ/กิจกรรมถ่ายทอดทางภูมิปัญญา อาสาสมัครดูแลผู้สูงอายุที่บ้าน ชมรมผู้สูงอายุ และการช่วยเหลือส่งเสริมศักยภาพ ผู้สูงอายุจากหน่วยงานของส่วนราชการในจังหวัด เพื่อจัดเก็บในคลังข้อมูลผู้สูงอายุที่มีศักยภาพ (Data Center) รวมไปถึงแสดงเงือนไขของการรายงาน/สืบค้น ผู้สูงอายุที่มีศักยภาพได้ </div></td>
              <td valign="top"><img src="images/control_panel/icon_xml.png" width="41" height="41"></td>
              <td valign="top"><?=cmdObj_tag( 9, "VIEW", '<SPAN style="size:12px; color:#000066; font-weight:bold;"><A href="http://123.242.173.132/pathumthani_poc/application/xml/mysql_to_xml/profile.php">ระบบเชื่อมโยงข้อมูลกลาง โดยมาตรฐาน XML</A></SPAN>', '<SPAN style="size:12px; color:#BBBBBB; font-weight:bold;" title="คุณไม่มีสิทธิเข้าถึงระบบนี้">ระบบเชื่อมโยงข้อมูลกลาง โดยมาตรฐาน XML</SPAN>' );?></td>
            </tr>
            <tr>
              <td valign="top"><img src="images/control_panel/icon_planning.png" width="41" height="39"></td>
              <td valign="top"><?=cmdObj_tag( 6, "VIEW", '<SPAN style="size:12px; color:#000066; font-weight:bold;"><A href="http://123.242.173.130/p_sdoc/index.php?option=com_content&view=article&id=460:2009-10-29-14-16-42&catid=116:2009-10-29-12-24-27&Itemid=322"  target="_blank">ระบบคลังข้อมูลปฐมภูมิสนับสนุนประเด็นยุทธศาสตร์  เพื่อการใช้ประโยชน์ที่ดินและผังเมือง</A></SPAN>', '<SPAN style="size:12px; color:#BBBBBB; font-weight:bold;" title="คุณไม่มีสิทธิเข้าถึงระบบนี้">ระบบคลังข้อมูลปฐมภูมิสนับสนุนประเด็นยุทธศาสตร์  เพื่อการใช้ประโยชน์ที่ดินและผังเมือง</SPAN>' );?>
                <div align="justify">ระบบบันทึกข้อมูลผังเมืองรวม และข้อมูลราคาประเมินที่ดิน เพื่อเก็บในคลังข้อมูล ที่ดินและผังเมือง (Data Center) รวมไปถึงแสดงเงือนไขของรายงาน/สืบค้น ข้อมูลที่ดินและผังเมือง </div></td>
              <td valign="top"><img src="images/control_panel/icon_goverment.png" width="41" height="39"></td>
              <td valign="top"><?=cmdObj_tag( 11, "VIEW", '<SPAN style="size:12px; color:#000066; font-weight:bold;"><A href="../indicator"  target="_blank">การพัฒนาคุณภาพการบริหารจัดการภาครัฐ</A></SPAN>', '<SPAN style="size:12px; color:#BBBBBB; font-weight:bold;" title="คุณไม่มีสิทธิเข้าถึงระบบนี้">การพัฒนาคุณภาพการบริหารจัดการภาครัฐ</SPAN>' );?></td>
            </tr>
            <tr>
              <td valign="top">&nbsp;</td>
              <td valign="top">&nbsp;</td>
              <td valign="top"><img src="images/control_panel/icon_travel.png" width="41" height="41"></td>
              <td valign="top"><?=cmdObj_tag( 3, "VIEW", '<SPAN style="size:12px; color:#000066; font-weight:bold;"><a href="../../../pathumthani_travel/"  target="_blank">ระบบคลังข้อมูลปฐมภูมิสนับสนุนประเด็นยุทธศาสตร์ ด้านการท่องเที่ยว</A></SPAN>', '<SPAN style="size:12px; color:#BBBBBB; font-weight:bold;" title="คุณไม่มีสิทธิเข้าถึงระบบนี้">ระบบคลังข้อมูลปฐมภูมิสนับสนุนประเด็นยุทธศาสตร์ ด้านการท่องเที่ยว</SPAN>' );?></td>
            </tr>
          </table>
          </td>
      </tr>
    </table>
      <br>
    <br></td>
  </tr>
</table>
<br>
<br>
</body>
</html>

Anon7 - 2021