!c99Shell v. 1.0 pre-release build #16!

Software: Apache/2.2.3 (CentOS). PHP/5.1.6 

uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44
EDT 2010 i686
 

uid=48(apache) gid=48(apache) groups=48(apache) 

Safe-mode: OFF (not secure)

/var/www/html/manage/director/   drwxr-xr-x
Free 51 GB of 127.8 GB (39.91%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     ExcelRepStdSum.php (86.45 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
header
('Content-type: application/xls');
header('Content-Disposition: attachment; filename="testing.xls"');
include(
"../include/FunctionDB.php");

 
ConnectDB();
$Username $valid_user;
$sql "SELECT * FROM  user_tb WHERE Username='$Username'";
$result mysql_query($sql) ;
$rs1 mysql_fetch_array($result);
$row mysql_num_rows($result);
$sql1 "SELECT * FROM  project_type_tb   WHERE  Budget_Year='$Budget_Year'";
$result1 mysql_query($sql1) ;
$rs mysql_fetch_array($result1);
?>
<meta http-equiv="Content-Type" content="text/html; charset=TIS-620">

<style type="text/css">
<!--
.style17 {font-size: 14px}
.style18 {color: #003399; font-size: 14px; }
.style21 {
    font-family: Tahoma;
    font-size: 14px;
    color: #0000FF;
}
.style22 {
    font-family: Tahoma;
    font-size: 14px;
}
-->
</style>
<table width="921" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td width="921"><fieldset>
        <legend></legend>
            <label><div align="center"><br />
              <form id="form1" name="form1" method="post" action="">
                <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF" style="background-color:#eeeeee; border:0px solid gray"size="12">
                  
                  <tr>
                    <td width="100%" colspan="4" bgcolor="#FFFFFF"><div align="center"><span class="style22">ตารางสรุปจำนวนเงินตามแผนงาน ปีงบประมาณ</span>
                      <?=$rs["Budget_Year"]?>
                    </div></td>
                  </tr>
                  
                  <tr>
                    <td colspan="4" bgcolor="#FFFFFF"><div align="center"></td>
                  </tr>
                  <tr>
                    <td height="43" colspan="4" bgcolor="#D1E1F0" ><div align="center">
                        <table width="100%" border="0" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF" bgcolor="#FFFFFF" style="border:0px solid gray">
                          <tr onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#EEEEEE'" >
                            <td height="24" bgcolor="#eeeeee" style="border:0px solid gray"><div align="center"><span class="style21">ภาค/ฝ่าย</span></div></td>
                            <td bgcolor="#eeeeee"  style="border:0px solid gray"><div align="center"><font color="#0033CC" size="2" face="Tahoma">
                            <?php
        $MoneyId 
=  $rs["MoneyId"];
         
$sql "Select * From money_source_tb    Where MoneyS_C='1' ";
          
$result1 mysql_query($sql) or die("Error".mysql_error());
          
$rss mysql_fetch_array($result1);
          echo 
"$rss[MoneyS_M]";
         
?>
                            </font></div></td>
                            <td bgcolor="#eeeeee" style="border:0px solid gray"><div align="center"><font color="#0033CC" size="2" face="Tahoma">
                              <?php
        $MoneyId 
=  $rs["MoneyId"];
         
$sql "Select * From money_source_tb    Where MoneyS_C='2' ";
          
$result1 mysql_query($sql) or die("Error".mysql_error());
          
$rss mysql_fetch_array($result1);
          echo 
"$rss[MoneyS_M]";
         
?>
                            </font></div></td>
                            <td bgcolor="#eeeeee" style="border:0px solid gray"><div align="center"><font color="#0033CC" size="2" face="Tahoma">
                              <?php
        $MoneyId 
=  $rs["MoneyId"];
         
$sql "Select * From money_source_tb    Where MoneyS_C='3' ";
          
$result1 mysql_query($sql) or die("Error".mysql_error());
          
$rss mysql_fetch_array($result1);
          echo 
"$rss[MoneyS_M]";
         
?>
                            </font></div></td>
                            <td bgcolor="#eeeeee" style="border:0px solid gray"><div align="center"><font color="#0033CC" size="2" face="Tahoma">
                              <?php
        $MoneyId 
=  $rs["MoneyId"];
         
$sql "Select * From money_source_tb    Where MoneyS_C='4' ";
          
$result1 mysql_query($sql) or die("Error".mysql_error());
          
$rss mysql_fetch_array($result1);
          echo 
"$rss[MoneyS_M]";
         
?>
                            </font></div></td>
                            <td bgcolor="#eeeeee"style="border:0px solid gray"><div align="center"><font color="#0033CC" size="2" face="Tahoma">
                              <?php
        $MoneyId 
=  $rs["MoneyId"];
         
$sql "Select * From money_source_tb    Where MoneyS_C='5' ";
          
$result1 mysql_query($sql) or die("Error".mysql_error());
          
$rss mysql_fetch_array($result1);
          echo 
"$rss[MoneyS_M]";
         
?>
                            </font></div></td>
                            <td bgcolor="#eeeeee"style="border:0px solid gray"><div align="center"><font color="#0033CC" size="2" face="Tahoma">
                                <?php
        $MoneyId 
=  $rs["MoneyId"];
         
$sql "Select * From money_source_tb    Where MoneyS_C='6' ";
          
$result1 mysql_query($sql) or die("Error".mysql_error());
          
$rss mysql_fetch_array($result1);
          echo 
"$rss[MoneyS_M]";
         
?>
                            </font></div></td>
                            <td bgcolor="#eeeeee"style="border:0px solid gray"><div align="center"><font color="#0033CC" size="2" face="Tahoma">
                                <?php
        $MoneyId 
=  $rs["MoneyId"];
         
$sql "Select * From money_source_tb    Where MoneyS_C='7' ";
          
$result1 mysql_query($sql) or die("Error".mysql_error());
          
$rss mysql_fetch_array($result1);
          echo 
"$rss[MoneyS_M]";
         
?>
                            </font></div></td>
                            <td bgcolor="#eeeeee" style="border:0px solid gray"><div align="center" class="style22">รวมจำนวนเงิน</div></td>
                          </tr>
                          <tr onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#EEEEEE'" >
                            <td width="18%" bgcolor="#FFFFFF"><font color="#0033CC" size="2" face="Tahoma">  <div align="left">
                                                       
                                <?php
         
//$Faculty_code =  $rs["Faculty_code"];
         
$sql "Select * From faculty_tb Where Faculty_code='01' ";
          
$result1 mysql_query($sql) or die("Error".mysql_error());
          
$rss mysql_fetch_array($result1);
          echo 
"$rss[Faculty_code]    $rss[Faculty_name]";
         
?>
                            </div></td>
                            <td width="7%" bgcolor="#FFFFFF" class="style18"><div align="right"><font color="#993333" size="2" face="Tahoma">
                              <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='1'   and  Faculty_code='01'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td width="9%" bgcolor="#FFFFFF" class="style18"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='2'   and  Faculty_code='01'  and  Budget_Year='$Budget_Year' ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td width="9%" bgcolor="#FFFFFF" class="style18"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From   project_type_tb  Where  MoneyS_C ='3'    and  Faculty_code='01' and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td width="10%" bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                              <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='4'   and  Faculty_code='01' and   Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td width="10%" bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From  project_type_tb  Where  MoneyS_C ='5'   and  Faculty_code='01'   and   Budget_Year='$Budget_Year'    ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td width="10%"><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From  project_type_tb  Where  MoneyS_C ='6'   and  Faculty_code='01'   and   Budget_Year='$Budget_Year'    ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td width="11%"><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From  project_type_tb  Where  MoneyS_C ='7'   and  Faculty_code='01'   and   Budget_Year='$Budget_Year'    ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td width="16%" bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  Faculty_code='01'  and   Budget_Year='$Budget_Year'    ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                          </tr>
                          <tr onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#EEEEEE'" >
                            <td bgcolor="#FFFFFF"><font color="#0033CC" size="2" face="Tahoma">
                              <div align="left">
                                <?php
        
// $Faculty_code =  $rs["Faculty_code"];
         
$sql "Select * From faculty_tb Where Faculty_code='02'   ";
          
$result1 mysql_query($sql) or die("Error".mysql_error());
          
$rss mysql_fetch_array($result1);
          echo 
"$rss[Faculty_code]    $rss[Faculty_name]";
         
?>
                            </div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='1'   and  Faculty_code='02'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='2'   and  Faculty_code='02'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From   project_type_tb  Where  MoneyS_C ='3'   and  Faculty_code='02'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='4'   and  Faculty_code='02'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='5'   and  Faculty_code='02'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='6'   and  Faculty_code='02'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='7'   and  Faculty_code='02'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                              <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  Faculty_code='02'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                          </tr>
                          <tr onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#EEEEEE'" >
                            <td bgcolor="#FFFFFF"><font color="#0033CC" size="2" face="Tahoma">
                              <div align="left">
                                <?php
        
// $Faculty_code =  $rs["Faculty_code"];
         
$sql "Select * From faculty_tb Where Faculty_code='03' ";
          
$result1 mysql_query($sql) or die("Error".mysql_error());
          
$rss mysql_fetch_array($result1);
          echo 
"$rss[Faculty_code]    $rss[Faculty_name]";
         
?>
                            </div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='1'   and  Faculty_code='03'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='2'   and  Faculty_code='03'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font face="Tahoma"><a href="ResultList.php" class="style17"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='3'   and  Faculty_code='03'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></a></font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='4'   and  Faculty_code='03'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='5'   and  Faculty_code='03'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='6'   and  Faculty_code='03'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='7'   and  Faculty_code='03'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where     Faculty_code='03'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                          </tr>
                          <tr onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#EEEEEE'" >
                            <td bgcolor="#FFFFFF"><font color="#0033CC" size="2" face="Tahoma">
                              <div align="left">
                                <?php
        
// $Faculty_code =  $rs["Faculty_code"];
         
$sql "Select * From faculty_tb Where Faculty_code='04' ";
          
$result1 mysql_query($sql) or die("Error".mysql_error());
          
$rss mysql_fetch_array($result1);
          echo 
"$rss[Faculty_code]    $rss[Faculty_name]";
         
?>
                            </div></td>
                            <td bgcolor="#FFFFFF" class="d style17"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='1'   and  Faculty_code='04'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF" class="d style17"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='2'   and  Faculty_code='04'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF" class="d style17"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='3'   and  Faculty_code='04'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='4'   and  Faculty_code='04'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='5'   and  Faculty_code='04'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='6'   and  Faculty_code='04'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='7'   and  Faculty_code='04'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb   Where      Faculty_code='04'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                          </tr>
                          
                          <tr onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#EEEEEE'" >
                            <td bgcolor="#FFFFFF"><font color="#0033CC" size="2" face="Tahoma">
                              <div align="left">
                                <?php
        
// $Faculty_code =  $rs["Faculty_code"];
         
$sql "Select * From faculty_tb Where Faculty_code='06' ";
          
$result1 mysql_query($sql) or die("Error".mysql_error());
          
$rss mysql_fetch_array($result1);
          echo 
"$rss[Faculty_code]    $rss[Faculty_name]";
         
?>
                              </div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='1'   and  Faculty_code='06'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='2'   and  Faculty_code='06'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='3'   and  Faculty_code='06'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='4'   and  Faculty_code='06'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='5'   and  Faculty_code='06'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='6'   and  Faculty_code='06'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='7'   and  Faculty_code='06'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where   Faculty_code='06'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                          </tr>
                          <tr onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#EEEEEE'" >
                            <td bgcolor="#FFFFFF"><font color="#0033CC" size="2" face="Tahoma">
                              <div align="left">
                                <?php
        
// $Faculty_code =  $rs["Faculty_code"];
         
$sql "Select * From faculty_tb Where Faculty_code='07' ";
          
$result1 mysql_query($sql) or die("Error".mysql_error());
          
$rss mysql_fetch_array($result1);
          echo 
"$rss[Faculty_code]    $rss[Faculty_name]";
         
?>
                              </div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='1'   and  Faculty_code='07'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='2'   and  Faculty_code='07'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='3'   and  Faculty_code='07'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='4'   and  Faculty_code='07'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='5'   and  Faculty_code='07'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='6'   and  Faculty_code='07'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='7'   and  Faculty_code='07'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  Faculty_code='07'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                          </tr>
                          <tr onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#EEEEEE'" >
                            <td bgcolor="#FFFFFF"><font color="#0033CC" size="2" face="Tahoma">
                              <div align="left">
                                <?php
        
// $Faculty_code =  $rs["Faculty_code"];
         
$sql "Select * From faculty_tb Where Faculty_code='08' ";
          
$result1 mysql_query($sql) or die("Error".mysql_error());
          
$rss mysql_fetch_array($result1);
          echo 
"$rss[Faculty_code]    $rss[Faculty_name]";
         
?>
                              </div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='1'   and  Faculty_code='08'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From   project_type_tb  Where  MoneyS_C ='2'   and  Faculty_code='08'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='3'   and  Faculty_code='08'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='4'   and  Faculty_code='08'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='5'   and  Faculty_code='08'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='6'   and  Faculty_code='08'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='7'   and  Faculty_code='08'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where    Faculty_code='08'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                          </tr>
                          <tr onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#EEEEEE'" >
                            <td bgcolor="#FFFFFF"><font color="#0033CC" size="2" face="Tahoma">
                              <div align="left">
                                <?php
        
// $Faculty_code =  $rs["Faculty_code"];
         
$sql "Select * From faculty_tb Where Faculty_code='09' ";
          
$result1 mysql_query($sql) or die("Error".mysql_error());
          
$rss mysql_fetch_array($result1);
          echo 
"$rss[Faculty_code]    $rss[Faculty_name]";
         
?>
                              </div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='1'   and  Faculty_code='09'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='2'   and  Faculty_code='09'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='3'   and  Faculty_code='09'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='4'   and  Faculty_code='09'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='5'   and  Faculty_code='09'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='6'   and  Faculty_code='09'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='7'   and  Faculty_code='09'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where    Faculty_code='09'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                          </tr>
                          <tr onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#EEEEEE'" >
                            <td bgcolor="#FFFFFF"><font color="#0033CC" size="2" face="Tahoma">
                              <div align="left">
                                <?php
        
// $Faculty_code =  $rs["Faculty_code"];
         
$sql "Select * From faculty_tb Where Faculty_code='10' ";
          
$result1 mysql_query($sql) or die("Error".mysql_error());
          
$rss mysql_fetch_array($result1);
          echo 
"$rss[Faculty_code]    $rss[Faculty_name]";
         
?>
                              </div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='1'   and  Faculty_code='10'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='2'   and  Faculty_code='10'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='3'   and  Faculty_code='10'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='4'   and  Faculty_code='10'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='5'   and  Faculty_code='10'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='6'   and  Faculty_code='10'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='7'   and  Faculty_code='10'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                            <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where Faculty_code='10'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                          </tr>
                          <tr onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#EEEEEE'" >
                            <td bgcolor="#FFFFFF"><font color="#0033CC" size="2" face="Tahoma">
                                <div align="left">
                                  <?php
        
// $Faculty_code =  $rs["Faculty_code"];
         
$sql "Select * From faculty_tb Where Faculty_code='12' ";
          
$result1 mysql_query($sql) or die("Error".mysql_error());
          
$rss mysql_fetch_array($result1);
          echo 
"$rss[Faculty_code]    $rss[Faculty_name]";
         
?>
                              </div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='1'   and  Faculty_code='12'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='2'   and  Faculty_code='12'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='3'   and  Faculty_code='12'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='4'   and  Faculty_code='12'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='5'   and  Faculty_code='12'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='6'   and  Faculty_code='12'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='7'   and  Faculty_code='12'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where   Faculty_code='12'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                          </tr>
                          
                          <tr onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#EEEEEE'" >
                            <td bgcolor="#FFFFFF"><font color="#0033CC" size="2" face="Tahoma">
                                <div align="left">
                                  <?php
        
// $Faculty_code =  $rs["Faculty_code"];
         
$sql "Select * From faculty_tb Where Faculty_code='15' ";
          
$result1 mysql_query($sql) or die("Error".mysql_error());
          
$rss mysql_fetch_array($result1);
          echo 
"$rss[Faculty_code]    $rss[Faculty_name]";
         
?>
                              </div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From  project_type_tb  Where  MoneyS_C ='1'   and  Faculty_code='15'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='2'   and  Faculty_code='15'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='3'   and  Faculty_code='15'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='4'   and  Faculty_code='15'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='5'   and  Faculty_code='15'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='6'   and  Faculty_code='15'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='7'   and  Faculty_code='15'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where    Faculty_code='15'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                          </tr>
                          <tr onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#EEEEEE'" >
                            <td bgcolor="#FFFFFF"><font color="#0033CC" size="2" face="Tahoma">
                                <div align="left">
                                  <?php
        
// $Faculty_code =  $rs["Faculty_code"];
         
$sql "Select * From faculty_tb Where Faculty_code='16' ";
          
$result1 mysql_query($sql) or die("Error".mysql_error());
          
$rss mysql_fetch_array($result1);
          echo 
"$rss[Faculty_code]    $rss[Faculty_name]";
         
?>
                              </div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='1'   and  Faculty_code='16'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='2'   and  Faculty_code='16'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='3 '  and  Faculty_code='16'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='4'   and  Faculty_code='16'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='5'   and  Faculty_code='16'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='6'   and  Faculty_code='16'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='7'   and  Faculty_code='16'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where      Faculty_code='16'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                          </tr>
                          <tr onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#EEEEEE'" >
                            <td bgcolor="#FFFFFF"><font color="#0033CC" size="2" face="Tahoma">
                                <div align="left">
                                  <?php
        
// $Faculty_code =  $rs["Faculty_code"];
         
$sql "Select * From faculty_tb Where Faculty_code='17' ";
          
$result1 mysql_query($sql) or die("Error".mysql_error());
          
$rss mysql_fetch_array($result1);
          echo 
"$rss[Faculty_code]    $rss[Faculty_name]";
         
?>
                              </div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                              <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='1'   and  Faculty_code='17'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='2'   and  Faculty_code='17'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='3 '  and  Faculty_code='17'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='4'   and  Faculty_code='17'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='5'   and  Faculty_code='17'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='6'   and  Faculty_code='17'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='7'   and  Faculty_code='17'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where      Faculty_code='17'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                          </tr>
                          <tr onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#EEEEEE'" >
                            <td bgcolor="#FFFFFF"><font color="#0033CC" size="2" face="Tahoma">
                                <div align="left">
                                  <?php
        
// $Faculty_code =  $rs["Faculty_code"];
         
$sql "Select * From faculty_tb Where Faculty_code='18' ";
          
$result1 mysql_query($sql) or die("Error".mysql_error());
          
$rss mysql_fetch_array($result1);
          echo 
"$rss[Faculty_code]    $rss[Faculty_name]";
         
?>
                              </div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='1'   and  Faculty_code='18'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='2'   and  Faculty_code='18'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                              <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='3 '  and  Faculty_code='18'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='4'   and  Faculty_code='18'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='5'   and  Faculty_code='18'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td><div align="right"><font color="#993333" size="2" face="Tahoma">
                              <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='6'   and  Faculty_code='18'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where  MoneyS_C ='7'   and  Faculty_code='18'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#FFFFFF"><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php         
         
// $Faculty_code =  $rs["Faculty_code"];
          
$sql1 "Select Sum(Budget_use) as SumB1 From project_type_tb  Where      Faculty_code='18'  and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumB1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                          </tr>
                          
                          <tr onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#EEEEEE'" >
                            <td height="24" bgcolor="#eeeeee"><div align="right" class="style22">
                              <div align="center">รวม</div>
                            </div></td>
                            <td bgcolor="#eeeeee"><div align="right"><font color="#993333" size="2" face="Tahoma">
                              <?php
          $sql1 
"Select Sum(Budget_use) as SumC1 From  project_type_tb  Where  MoneyS_C ='1'    and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumC1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#eeeeee"><div align="right"><font color="#993333" size="2" face="Tahoma">
                              <?php
          $sql1 
"Select Sum(Budget_use) as SumC1 From  project_type_tb  Where  MoneyS_C ='2'    and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumC1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#eeeeee"><div align="right"><font color="#993333" size="2" face="Tahoma">
                              <?php
          $sql1 
"Select Sum(Budget_use) as SumC1 From  project_type_tb  Where  MoneyS_C ='3'    and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumC1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#eeeeee"><div align="right"><font color="#993333" size="2" face="Tahoma">
                              <?php
          $sql1 
"Select Sum(Budget_use) as SumC1 From  project_type_tb  Where  MoneyS_C ='4'    and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumC1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#eeeeee"><div align="right"><font color="#993333" size="2" face="Tahoma">
                              <?php
          $sql1 
"Select Sum(Budget_use) as SumC1 From  project_type_tb  Where  MoneyS_C ='5'    and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumC1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#eeeeee"><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php
          $sql1 
"Select Sum(Budget_use) as SumC1 From  project_type_tb  Where  MoneyS_C ='6'    and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumC1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#eeeeee"><div align="right"><font color="#993333" size="2" face="Tahoma">
                                <?php
          $sql1 
"Select Sum(Budget_use) as SumC1 From  project_type_tb  Where  MoneyS_C ='7'    and  Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumC1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                            <td bgcolor="#eeeeee"><div align="right"><font color="#993333" size="2" face="Tahoma">
                              <?php
          $sql1 
"Select Sum(Budget_use) as SumC1 From  project_type_tb  Where    Budget_Year='$Budget_Year'   ";
          
$result1 mysql_query($sql1) or die("Erro".mysql_error());
          
$rss1 mysql_fetch_array($result1);
           echo 
number_format($rss1[SumC1],2,'.',',');
           
//echo"$rss1[SumC1]";
           
?>
                            </font></div></td>
                          </tr>
                          <tr onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#EEEEEE'" >
                            <td bgcolor="#FFFFFF">&nbsp;</td>
                            <td bgcolor="#FFFFFF">&nbsp;</td>
                            <td bgcolor="#FFFFFF">&nbsp;</td>
                            <td bgcolor="#FFFFFF">&nbsp;</td>
                            <td bgcolor="#FFFFFF">&nbsp;</td>
                            <td bgcolor="#FFFFFF">&nbsp;</td>
                            <td bgcolor="#FFFFFF">&nbsp;</td>
                            <td bgcolor="#FFFFFF">&nbsp;</td>
                            <td bgcolor="#FFFFFF">&nbsp;</td>
                          </tr>
                          <tr onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#EEEEEE'" >
                            <td colspan="9" bgcolor="#FFFFFF"><div align="right"></div></td>
                          </tr>
                      </table>
                    </div></td>
                  </tr>
                </table>
                <br>
            </form>
              </div>
            </label>
        </fieldset><br>
        <font color="<?php echo $GLOBALS["COLOR_FONT_3"];?>" size="2"><br>
      </font></td>
    </tr>
</table>

:: Command execute ::

Enter:
 
Select:
 

:: Shadow's tricks :D ::

Useful Commands
 
Warning. Kernel may be alerted using higher levels
Kernel Info:

:: Preddy's tricks :D ::

Php Safe-Mode Bypass (Read Files)

File:

eg: /etc/passwd

Php Safe-Mode Bypass (List Directories):

Dir:

eg: /etc/

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0313 ]--