!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/mis2222/application/views/eregis/   drwxrwxrwx
Free 50.65 GB of 127.8 GB (39.63%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     v_addFee.php (11.06 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$row_fee 
= (isset($qu_fee) && $qu_fee!=NULL) ? $qu_fee->row() : NULL;
?>
<table width="100%" align="center">
    <tr>
        <td>
            <div align="center">
            <table width="100%">
                <tr>
                    <td colspan="2" align="center" class="h error">ข้อมูลค่าใช้จ่าย</td>
                </tr>
                <tr>
                    <td align="right">
<?php
                    
echo anchor_popup($this->config->item("rg_folder")."bdpbri/fee_print""<img src=\"".base_url().$this->config->item("rg_print")."\" width=\"15\" height=\"14\" align=\"absmiddle\" border=\"0\" />");
?>
                    </td>
                </tr>
                <tr>
                    <td><?php echo form_open($this->config->item("rg_folder")."bdpbri/fee_insert_update", array("name" => "myform""id" => "myform"));?>
                    <table class="szone">
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone2"><font size="2">ลำดับที่</font></td>
                            <td><input type="text" name="feeSeq" id="feeSeq" value="<?php echo set_value('feeSeq',setValue('feeSeq',$row_fee));?>" size="3" maxlength="3" />
                            <font size="2" color="<?php echo $font_color_err;?>">*</font>
                            <br /><?php echo form_error('feeSeq');?></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone2"><font size="2">รายการค่าใช้จ่าย</font></td>
                            <td><input type="text" name="feeName" id="feeName" value="<?php echo set_value('feeName',setValue('feeName',$row_fee));?>" size="30" />
                            <font size="2" color="<?php echo $font_color_err;?>">*</font>
                            <br /><?php echo form_error('feeName');?></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone2"><font size="2">ประเภทค่าใช้จ่าย</font></td>
                            <td><font size="2">
                            <input type="radio" name="feeType" id="feeType" value="A" <?php echo (setValue('feeType',$row_fee)!='D') ? "checked" '';?> /> Fix ตามกระทรวงฯ/สบช. กำหนด<br />
                            <input type="radio" name="feeType" id="feeType" value="D" <?php echo (setValue('feeType',$row_fee)=='D') ? "checked" '';?>/> กำหนดเอง</td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone2"><font size="2">ประเภทการจ่าย</font></td>
                            <td>
<?php
                            
echo form_dropdown('feePytId'$rs_pytset_value('feePytId',setValue('feePytId'$row_fee)));
?>                        
                            <font size="2" color="<?php echo $font_color_err;?>">*</font>
                            <br /><?php echo form_error('feePytId');?></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone2"><font size="2">ประเภทการคำนวณ</font></td>
                            <td><font size="2">
                            <input type="radio" name="feeCalType" id="feeCalType" value="Y" <?php echo (setValue('feeCalType',$row_fee)!='N') ? 'checked' '';?> /> ใช้คำนวณ
                            <input type="radio" name="feeCalType" id="feeCalType" value="N" <?php echo (setValue('feeCalType',$row_fee)=='N') ? 'checked' ''?> /> ไม่ใช้คำนวณ</font></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone2"><font size="2">ประเภทการเบิก</font></td>
                            <td><font size="2"><input type="radio" name="feeCanRefund" id="feeCanRefund" value="Y" <?php echo (setValue('feeCanRefund',$row_fee)!='N') ? 'checked' '';?> /> เบิกได้ตามสิทธิ์
                            <input type="radio" name="feeCanRefund" id="feeCanRefund" value="N" <?php echo (setValue('feeCanRefund',$row_fee)=='N') ? 'checked' '';?> /> เบิกไม่ได้</font></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone2"><font size="2">การออกเอกสาร</font></td>
                            <td><font size="2"><input type="radio" name="feeOutBudget" id="feeOutBudget" value="N" <?php echo (setValue('feeOutBudget',$row_fee)!='Y') ? 'checked' '';?> /> ใบเสร็จรับเงิน (เงินในงบประมาณ)<br />
                            <input type="radio" name="feeOutBudget" id="feeOutBudget" value="Y" <?php echo (setValue('feeOutBudget',$row_fee)=='Y') ? 'checked' '';?> /> ใบสำคัญรับเงิน (เงินนอกงบประมาณ)
                            </font></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone2"><font size="2">หมวดค่าใช้จ่าย</font></td>
                            <td>
<?php
                            
echo form_dropdown('feeFgId'$rs_fgset_value('feeFgId',setValue('feeFgId'$row_fee)));
?>
                            <font size="2" color="<?php echo $font_color_err;?>">*</font>
                            <br /><?php echo form_error('feeFgId');?></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone2"><font size="2">ลักษณะการจ่าย</font></td>
                            <td><font size="2"><input type="radio" name="feeOnTop" id="feeOnTop" value="N" <?php echo (setValue('feeOnTop',$row_fee)!="Y") ? 'checked' '';?> /> จ่ายทุกคน<br />
                            <input type="radio" name="feeOnTop" id="feeOnTop" value="Y" <?php echo (setValue('feeOnTop',$row_fee)=="Y") ? 'checked' '';?> /> จ่ายเฉพาะโควต้าพิเศษ (On Top)</font></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone2"><font size="2">ระดับการศึกษาที่ต้องจ่าย</font></td>
                            <td>
<?php
                            
echo form_dropdown('feeElvId'$rs_elvsetValue('feeElvId'$row_fee));
?>
                            </td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td colspan="2" align="center">
                            <input type="submit" name="add" id="add" value="บันทึก" />
                            <input type="reset" name="clear" value="เคลียร์ข้อมูล" />
                            <input type="hidden" name="feeId" id="feeId" value="<?php echo setValue('feeId',$row_fee);?>" /></td>
                        </tr>
                    </table><?php echo form_close();?></td>
                </tr>
                <?php echo form_open($this->config->item("rg_folder")."bdpbri/fee_search");?>
                <tr> 
                    <td align="right">
                    <font size="2"><b>รายการค่าใช้จ่าย</b></font>
                    <input type="text" name="feeNameSearch" id="feeNameSearch" value="<?php echo set_value('feeNameSearch');?>" />
                    <input type="submit" name="search" value="ค้นหา" />
                    <br /><?php echo form_error('feeNameSearch');?>
                    </td>
                </tr><?php echo form_close();?>
<?php
                
if(isset($rs_fee) && $rs_fee->num_rows() > $this->config->item("rg_max_row")) {
?>
                    <tr>
                        <td colspan="3"><font size="2"><b>
                        แสดง <?php echo $this->config->item("rg_max_row");?> รายการจาก <?php echo $rs_fee->num_rows();?> รายการ</font></b></td>
                    <tr>
<?php
                
}
?>                <tr>
                    <td><table width="100%" align="center" class="headCol">
                        <tr bgcolor="<?php echo $this->config->item("rg_table_color");?>">
                            <th class="seqCol"><font size="2" color="<?php echo $font_color_table;?>">ลำดับที่</font></th>
                            <th><font color="<?php echo $font_color_table;?>" size="2"><b>รายการค่าใช้จ่าย</b></font></th>
                            <th class="domAmtCol"><font color="<?php echo $font_color_table;?>" size="2"><b>ประเภทค่าใช้จ่าย</b></font></th>
                            <th class="domAmtCol"><font color="<?php echo $font_color_table;?>" size="2"><b>ประเภทการเบิก</b></font></th>
                            <th class="domAmtCol"><font color="<?php echo $font_color_table;?>" size="2"><b>การออกเอกสาร</b></font></th>
                            <th class="editCol"><font color="<?php echo $font_color_table;?>" size="2">แก้ไข</font></td>
                            <th class="deleteCol"><font color="<?php echo $font_color_table;?>" size="2">ลบ</font></td>
                        </tr>
<?php
            $i 
0;
            if(isset(
$rs_fee) && $rs_fee->num_rows()) {
                foreach(
$rs_fee->result() as $row) {
                    if(
$i >= $this->config->item("rg_max_row"))
                        break;
                    echo 
"<tr onmouseover=\"bgColor='".$tr_color_even."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>
                            <td align="center"><font size="2"><?php echo $i+1;?></font></td>
                            <td class="indent"><span class="hand" onClick="sendPost('f_detail',
                            {'feeId':<?php echo $row->feeId;?>},
                             '<?php echo site_url($this->config->item('rg_folder').'bdpbri/fee_detail');?>',{'width':450,'height':500})" /><?php echo $row->feeName;?></span></td>
                            <td align="center"><font size="2"><?php echo $row->feeType;?></font></td>
                            <td align="center"><font size="2"><?php echo $row->feeCanRefund;?></font></td>
                            <td align="center"><font size="2"><?php echo $row->feeOutBudget;?></font></td>
                            <td align="center">
                            <img class="hand" src="<?php echo base_url().$this->config->item("rg_edit");?>" align="absmiddle" border="0" 
                            onClick="sendPost('hidform',
                            {'feeId':<?php echo $row->feeId;?>},
                             '<?php echo site_url($this->config->item('rg_folder').'bdpbri/fee_input');?>')" /></td>
                            <td align="center"><span onClick="confirmDel2({feeId:<?php echo $row->feeId;?>}, 'm_form1','<?php echo site_url($this->config->item('rg_folder').'bdpbri/fee_delete');?>')" /><img src="<?php echo base_url().$this->config->item("rg_delete");?>" align="absmiddle" border="0" width="16" height="19" class="hand"/></span></td>
                        </tr>
<?php
                    $i
++;
                }
            } else {
?>
                        <tr>
                            <td colspan="7" height="22" align="center"><font size="2" color="<?php echo $font_color_err;?>">** ไม่ปรากฏรายการในฐานข้อมูล **</font></td>
                        </tr>
<?php
            
}
?>
                    </table></td>
                </tr>
                <tr>
                    <td align="right"><font size="2">รวม <?php echo $i;?> รายการ</font></td>
                </tr>
            </table></div>
        <br></td>
    </tr>
    <tr>
        <td><table width="100%">
            <tr>
                <td width="8%"><font size="2" color="<?php echo $font_color_err;?>"><b>หมายเหตุ : </b></font></td>
                <td><font size="2" color="<?php echo $font_color_err;?>">* หมายถึง ต้องกรอกข้อมูลให้สมบูรณ์</font></td>
            </tr>
            <tr>
                <td></td>
                <td><font size="2" color="<?php echo $font_color_err;?>">ใช้เมาส์คลิกที่รายการค่าใช้จ่ายเพื่อดูรายละเอียดค่าใช้จ่าย</font></td>
            </tr>
            <tr>
                <td></td>
                <td><font size="2" color="<?php echo $font_color_err;?>">A = Fix ตามกระทรวงฯ/สบช. กำหนด, D = กำหนดเอง</font></td>
            </tr>
            <tr>
                <td></td>
                <td><font size="2" color="<?php echo $font_color_err;?>">Y = เบิกได้ตามสิทธิ์, N = เบิกไม่ได้</font></td>
            </tr>
            <tr>
                <td></td>
                <td><font size="2" color="<?php echo $font_color_err;?>">N = ใบเสร็จรับเงิน (เงินในงบประมาณ), Y = ใบสำคัญรับเงิน (เงินนอกงบประมาณ)</font></td>
            </tr>
        </table></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.0071 ]--