コード例 #1
0
ファイル: Action.class.php プロジェクト: sanggao/SqlTrace
 public function display($data = '', $tpl = '')
 {
     if (!$tpl) {
         $tpl = str_replace("Action", '', getC()) . '/' . getM();
     }
     if ($data) {
         extract($data);
     }
     include './view/' . $tpl . '.php';
 }
コード例 #2
0
ファイル: print_tbs.php プロジェクト: rajasadev/erte
            //jsPrintSetup.setSilentPrint(false);
        </script>
    </head>
    <body onLoad="
            closeMe();
            self.focus()">
        <div class="layout">
            <center>
                PEMERINTAH KABUPATEN PASURUAN<BR>
                PERUSAHAAN DAERAH AIR MINUM<BR>
                Jl. Pattimura Nomor 7, Telp (0343) 633802 Pandaan<BR>
                KABUPATEN PASURUAN<BR>
                <hr>
                <u><b>DAFTAR REKENING DITAGIH (TBS)</b></u><br>
                <?php 
$bulan = getM();
$tahun = getY();
?>
                NOMOR : <?php 
$nomor = $nomor . "/PDAM." . $unit . "/" . bulanromawi($bulan) . "/" . $tahun;
echo $nomor;
?>
<br><br>
            </center>  
            Telah disetorkan ke kantor pusat PDAM Kabupaten Pasuruan, Uang Sebesar Rp. <span id="penerimaan"> </span>
            <b id="penerimaanterbilang"> </b>
            Yaitu hasil dari penerimaan Penagihan Rekening Air, Non Air dan Lainnya dari : <br>
            <center>
                <br>
                <table border="0">
                    <tr>
コード例 #3
0
ファイル: cetakIkhtisar.php プロジェクト: rajasadev/erte
            </center>
            <center>
                <table border="0" width="100%" cellspacing="0">
                    <tr>
                        <td colspan="11">
                    <center>
                        IKHTISAR REKENING AIR - IRA
                    </center>
                    </td>
                    </tr>
                    <tr>
                        <td colspan="11" width="500">
                    <center>
                        BULAN : 
                        <?php 
echo strtoupper(bulannama(getM()) . " " . date("Y"));
?>
                    </center>
                    </td>
                    </tr>
                    <tr>
                        <td><center>UNIT <?php 
echo strtoupper($this->mikhtisar->nama_unit($data));
?>
</center></td>
                    </tr>
                </table>
            </center>
        </div>

        <div class="layout">
コード例 #4
0
ファイル: index.php プロジェクト: sanggao/SqlTrace
<?php

/**
 * PHP SqlTrace
 * ============================================================================
 * * 版权所有 
 * 博客地址: http://gaozhongyi.sinaapp.com/;
 * ----------------------------------------------------------------------------
 * 这不是一个自由软件!您只能在不用于商业目的的前提下对程序代码进行修改和
 * 使用;不允许对程序代码以任何形式任何目的的再发布。您也可以加入QQ群119286361做
 * 深层次的探讨
 * 注意:打开页面后,请勿频繁手动刷新页面。否则会产品额外sql记录。
 * ============================================================================
 * $Author: gaozhongyi 
 * $QQ : 673973036  $qq群:119286361
 * $Date 2015/12/19 $end
*/
require './lib/mysql.class.php';
require './common/function.php';
require './lib/Action.class.php';
define('__ROOT__', dirname($_SERVER['SCRIPT_FILENAME']));
define('TRACE_PATH', __ROOT__ . '/runtime/trace.log');
$controller = getC();
$method = getM();
include './controller/' . $controller . '.class.' . 'php';
$class = new $controller();
$class->{$method}();
//添加注释