当前位置: 首页>>代码示例>>PHP>>正文


PHP SC_Utils_Ex::sfDispDBDate方法代码示例

本文整理汇总了PHP中SC_Utils_Ex::sfDispDBDate方法的典型用法代码示例。如果您正苦于以下问题:PHP SC_Utils_Ex::sfDispDBDate方法的具体用法?PHP SC_Utils_Ex::sfDispDBDate怎么用?PHP SC_Utils_Ex::sfDispDBDate使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在SC_Utils_Ex的用法示例。


在下文中一共展示了SC_Utils_Ex::sfDispDBDate方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: is_array

    }
    if ($this->_sections['cnt']['show']) {
        for ($this->_sections['cnt']['index'] = $this->_sections['cnt']['start'], $this->_sections['cnt']['iteration'] = 1; $this->_sections['cnt']['iteration'] <= $this->_sections['cnt']['total']; $this->_sections['cnt']['index'] += $this->_sections['cnt']['step'], $this->_sections['cnt']['iteration']++) {
            $this->_sections['cnt']['rownum'] = $this->_sections['cnt']['iteration'];
            $this->_sections['cnt']['index_prev'] = $this->_sections['cnt']['index'] - $this->_sections['cnt']['step'];
            $this->_sections['cnt']['index_next'] = $this->_sections['cnt']['index'] + $this->_sections['cnt']['step'];
            $this->_sections['cnt']['first'] = $this->_sections['cnt']['iteration'] == 1;
            $this->_sections['cnt']['last'] = $this->_sections['cnt']['iteration'] == $this->_sections['cnt']['total'];
            ?>
                    <li>
                        <p class="voicetitle"><?php 
            echo is_array($_tmp = is_array($_tmp = $this->_tpl_vars['arrReview'][$this->_sections['cnt']['index']]['title']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp)) ? $this->_run_mod_handler('h', true, $_tmp) : smarty_modifier_h($_tmp);
            ?>
</p>
                        <p class="voicedate"><?php 
            echo is_array($_tmp = is_array($_tmp = $this->_tpl_vars['arrReview'][$this->_sections['cnt']['index']]['create_date']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp)) ? $this->_run_mod_handler('sfDispDBDate', true, $_tmp, false) : SC_Utils_Ex::sfDispDBDate($_tmp, false);
            ?>
 投稿者:<?php 
            if (is_array($_tmp = $this->_tpl_vars['arrReview'][$this->_sections['cnt']['index']]['reviewer_url']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp)) {
                ?>
<a href="<?php 
                echo is_array($_tmp = $this->_tpl_vars['arrReview'][$this->_sections['cnt']['index']]['reviewer_url']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
                ?>
" target="_blank"><?php 
                echo is_array($_tmp = is_array($_tmp = $this->_tpl_vars['arrReview'][$this->_sections['cnt']['index']]['reviewer_name']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp)) ? $this->_run_mod_handler('h', true, $_tmp) : smarty_modifier_h($_tmp);
                ?>
</a><?php 
            } else {
                echo is_array($_tmp = is_array($_tmp = $this->_tpl_vars['arrReview'][$this->_sections['cnt']['index']]['reviewer_name']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp)) ? $this->_run_mod_handler('h', true, $_tmp) : smarty_modifier_h($_tmp);
            }
            ?>
开发者ID:geany-y,项目名称:cube2,代码行数:31,代码来源:%%D7^D78^D78E6C58%%detail.tpl.php

示例2: is_array

        ?>
            <tr>
                <td class="left"><?php 
        echo is_array($_tmp = is_array($_tmp = $this->_tpl_vars['log']['module_name']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp)) ? $this->_run_mod_handler('h', true, $_tmp) : smarty_modifier_h($_tmp);
        ?>
</td>
                <td><?php 
        if (is_array($_tmp = $this->_tpl_vars['log']['error_flg']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp)) {
            echo smarty_function_t(array('string' => 'tpl_Failure_01'), $this);
        } else {
            echo smarty_function_t(array('string' => 'tpl_Success_01'), $this);
        }
        ?>
</td>
                <td class="left"><?php 
        echo is_array($_tmp = is_array($_tmp = is_array($_tmp = $this->_tpl_vars['log']['update_date']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp)) ? $this->_run_mod_handler('sfDispDBDate', true, $_tmp) : SC_Utils_Ex::sfDispDBDate($_tmp)) ? $this->_run_mod_handler('h', true, $_tmp) : smarty_modifier_h($_tmp);
        ?>
</td>
                <td>
                        <a href="<?php 
        echo is_array($_tmp = @ROOT_URLPATH) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
        echo is_array($_tmp = @ADMIN_DIR) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
        ?>
ownersstore/log.php?mode=detail&amp;log_id=<?php 
        echo is_array($_tmp = $this->_tpl_vars['log']['log_id']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
        ?>
">
                        <?php 
        echo smarty_function_t(array('string' => 'tpl_Details_01'), $this);
        ?>
</a>
开发者ID:Rise-Up-Cambodia,项目名称:Rise-Up,代码行数:31,代码来源:%%52^529^52980CD7%%log.tpl.php

示例3: is_array

            ?>
</td>
                        <td class="center"><a href="../order/edit.php?order_id=<?php 
            echo is_array($_tmp = $this->_tpl_vars['arrPurchaseHistory'][$this->_sections['cnt']['index']]['order_id']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
            ?>
" ><?php 
            echo is_array($_tmp = $this->_tpl_vars['arrPurchaseHistory'][$this->_sections['cnt']['index']]['order_id']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
            ?>
</a></td>
                        <td class="center"><?php 
            echo smarty_function_t(array('string' => "tpl_&#36; T_ARG1_01", 'escape' => 'none', 'T_ARG1' => is_array($_tmp = is_array($_tmp = $this->_tpl_vars['arrPurchaseHistory'][$this->_sections['cnt']['index']]['payment_total']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp)) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)), $this);
            ?>
</td>
                        <td class="center"><?php 
            if ((is_array($_tmp = $this->_tpl_vars['arrPurchaseHistory'][$this->_sections['cnt']['index']]['status']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp)) == 5) {
                echo is_array($_tmp = is_array($_tmp = $this->_tpl_vars['arrPurchaseHistory'][$this->_sections['cnt']['index']]['commit_date']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp)) ? $this->_run_mod_handler('sfDispDBDate', true, $_tmp) : SC_Utils_Ex::sfDispDBDate($_tmp);
            } else {
                echo smarty_function_t(array('string' => 'tpl_Not shipped_01'), $this);
            }
            ?>
</td>
                        <td class="center"><?php 
            echo is_array($_tmp = is_array($_tmp = $this->_tpl_vars['arrPurchaseHistory'][$this->_sections['cnt']['index']]['payment_method']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp)) ? $this->_run_mod_handler('h', true, $_tmp) : smarty_modifier_h($_tmp);
            ?>
</td>
                    </tr>
                <?php 
        }
    }
    ?>
            </table>
开发者ID:Rise-Up-Cambodia,项目名称:Rise-Up,代码行数:31,代码来源:%%05^053^0531CD23%%edit.tpl.php

示例4: is_array

                    echo is_array($_tmp = is_array($_tmp = $this->_tpl_vars['arrResults'][$this->_sections['cnt']['index']]['order_name02']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp)) ? $this->_run_mod_handler('h', true, $_tmp) : smarty_modifier_h($_tmp);
                    ?>
</td>
            <?php 
                    $this->assign('payment_id', $this->_tpl_vars['arrResults'][$this->_sections['cnt']['index']]['payment_id']);
                    ?>
            <td class="center"><?php 
                    echo is_array($_tmp = $this->_tpl_vars['arrPayments'][$this->_tpl_vars['payment_id']]) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
                    ?>
</td>
            <td class="right"><?php 
                    echo is_array($_tmp = is_array($_tmp = $this->_tpl_vars['arrResults'][$this->_sections['cnt']['index']]['total']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp)) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp);
                    ?>
</td>
            <td class="center"><?php 
                    echo is_array($_tmp = is_array($_tmp = is_array($_tmp = $this->_tpl_vars['arrResults'][$this->_sections['cnt']['index']]['commit_date']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp)) ? $this->_run_mod_handler('sfDispDBDate', true, $_tmp) : SC_Utils_Ex::sfDispDBDate($_tmp)) ? $this->_run_mod_handler('default', true, $_tmp, "未発送") : smarty_modifier_default($_tmp, "未発送");
                    ?>
</td>
            <td class="center"><?php 
                    echo is_array($_tmp = $this->_tpl_vars['arrORDERSTATUS'][$this->_tpl_vars['status']]) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
                    ?>
</td>
            <td class="center">
                <input type="checkbox" name="pdf_order_id[]" value="<?php 
                    echo is_array($_tmp = $this->_tpl_vars['arrResults'][$this->_sections['cnt']['index']]['order_id']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
                    ?>
" id="pdf_order_id_<?php 
                    echo is_array($_tmp = $this->_tpl_vars['arrResults'][$this->_sections['cnt']['index']]['order_id']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
                    ?>
"/><label for="pdf_order_id_<?php 
                    echo is_array($_tmp = $this->_tpl_vars['arrResults'][$this->_sections['cnt']['index']]['order_id']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
开发者ID:nassos9090,项目名称:plugin,代码行数:31,代码来源:%%0F^0F2^0F2A7EAD%%index.tpl.php

示例5: search

 static function search(LC_Page $objPage, SC_FormParam $objFormParam, SC_Query $objQuery)
 {
     // edit_** を除外する
     $objSql = new SC_DeviceAndroidSelect_Ex($objFormParam->getSearchArray(), "master");
     $objPage->tpl_linemax = $objSql->getCount();
     if ($objPage->tpl_linemax == 0) {
         return;
     }
     $objPage->page_max = $objFormParam->getValue("search_page_max", SEARCH_PMAX);
     $objPage->page = $objFormParam->getValue("search_pageno", 1);
     $objPage->objPageNavi = new SC_PageNavi_Ex($objPage->page, $objPage->tpl_linemax, $objPage->page_max, 'eccube.moveSearchPage', NAVI_PMAX);
     $objPage->arrPagenavi = $objPage->objPageNavi->arrPagenavi;
     $objSql->setOrder("device_name ASC");
     $objPage->arrData = $objSql->getList($objPage->objPageNavi, $objPage->page_max);
     $objPage->arrData = SC_Utils_Ex::makeArrayIDToKey("device_id", $objPage->arrData);
     foreach ($objPage->arrData as $device_id => &$arrData) {
         $arrData["category_id"] = $objQuery->getCol("category_id", "cp_dtb_device_categories", "device_id=?", (array) $device_id);
         $release_date = SC_Utils_Ex::sfDispDBDate($arrData["release_date"], false);
         if ($release_date) {
             $arrData["release_date"] = str_replace("1970/01/01", "", $release_date);
         }
         $last_access_date = SC_Utils_Ex::sfDispDBDate($arrData["last_access_date"], false);
         if ($last_access_date) {
             $arrData["last_access_date"] = str_replace("1970/01/01", "", $last_access_date);
         }
         $device_name = trim($arrData["device_name"]);
         $arrData["disp_device_name"] = str_replace("(", "\n(", $device_name);
     }
 }
开发者ID:alice-asahina,项目名称:support_device,代码行数:29,代码来源:SC_Helper_Device.php

示例6: setOrderData

 private function setOrderData()
 {
     $arrOrder = array();
     // DBから受注情報を読み込む
     $this->lfGetOrderData($this->arrData['order_id']);
     // 購入者情報
     $text = '〒 ' . $this->arrDisp['order_zip01'] . ' - ' . $this->arrDisp['order_zip02'];
     $this->lfText(23, 43, $text, 10);
     //購入者郵便番号
     $text = $this->arrPref[$this->arrDisp['order_pref']] . $this->arrDisp['order_addr01'];
     $this->lfText(27, 47, $text, 10);
     //購入者都道府県+住所1
     $this->lfText(27, 51, $this->arrDisp['order_addr02'], 10);
     //購入者住所2
     $text = $this->arrDisp['order_name01'] . ' ' . $this->arrDisp['order_name02'] . ' 様';
     $this->lfText(27, 59, $text, 11);
     //購入者氏名
     // お届け先情報
     $this->SetFont('SJIS', '', 10);
     $this->lfText(25, 125, SC_Utils_Ex::sfDispDBDate($this->arrDisp['create_date']), 10);
     //ご注文日
     $this->lfText(25, 135, $this->arrDisp['order_id'], 10);
     //注文番号
     $this->SetFont('Gothic', 'B', 15);
     $this->Cell(0, 10, $this->tpl_title, 0, 2, 'C', 0, '');
     //文書タイトル(納品書・請求書)
     $this->Cell(0, 66, '', 0, 2, 'R', 0, '');
     $this->Cell(5, 0, '', 0, 0, 'R', 0, '');
     $this->SetFont('SJIS', 'B', 15);
     $this->Cell(67, 8, number_format($this->arrDisp['payment_total']) . ' 円', 0, 2, 'R', 0, '');
     $this->Cell(0, 45, '', 0, 2, '', 0, '');
     $this->SetFont('SJIS', '', 8);
     $monetary_unit = '円';
     $point_unit = 'Pt';
     // 購入商品情報
     for ($i = 0; $i < count($this->arrDisp['quantity']); $i++) {
         // 購入数量
         $data[0] = $this->arrDisp['quantity'][$i];
         // 税込金額(単価)
         $data[1] = SC_Helper_DB_Ex::sfCalcIncTax($this->arrDisp['price'][$i], $this->arrDisp['tax_rate'][$i], $this->arrDisp['tax_rule'][$i]);
         // 小計(商品毎)
         $data[2] = $data[0] * $data[1];
         $arrOrder[$i][0] = $this->arrDisp['product_name'][$i] . ' / ';
         $arrOrder[$i][0] .= $this->arrDisp['product_code'][$i] . ' / ';
         if ($this->arrDisp['classcategory_name1'][$i]) {
             $arrOrder[$i][0] .= ' [ ' . $this->arrDisp['classcategory_name1'][$i];
             if ($this->arrDisp['classcategory_name2'][$i] == '') {
                 $arrOrder[$i][0] .= ' ]';
             } else {
                 $arrOrder[$i][0] .= ' * ' . $this->arrDisp['classcategory_name2'][$i] . ' ]';
             }
         }
         $arrOrder[$i][1] = number_format($data[0]);
         $arrOrder[$i][2] = number_format($data[1]) . $monetary_unit;
         $arrOrder[$i][3] = number_format($data[2]) . $monetary_unit;
     }
     $arrOrder[$i][0] = '';
     $arrOrder[$i][1] = '';
     $arrOrder[$i][2] = '';
     $arrOrder[$i][3] = '';
     $i++;
     $arrOrder[$i][0] = '';
     $arrOrder[$i][1] = '';
     $arrOrder[$i][2] = '商品合計';
     $arrOrder[$i][3] = number_format($this->arrDisp['subtotal']) . $monetary_unit;
     $i++;
     $arrOrder[$i][0] = '';
     $arrOrder[$i][1] = '';
     $arrOrder[$i][2] = '送料';
     $arrOrder[$i][3] = number_format($this->arrDisp['deliv_fee']) . $monetary_unit;
     $i++;
     $arrOrder[$i][0] = '';
     $arrOrder[$i][1] = '';
     $arrOrder[$i][2] = '手数料';
     $arrOrder[$i][3] = number_format($this->arrDisp['charge']) . $monetary_unit;
     $i++;
     $arrOrder[$i][0] = '';
     $arrOrder[$i][1] = '';
     $arrOrder[$i][2] = '値引き';
     $arrOrder[$i][3] = '- ' . number_format($this->arrDisp['use_point'] * POINT_VALUE + $this->arrDisp['discount']) . $monetary_unit;
     $i++;
     $arrOrder[$i][0] = '';
     $arrOrder[$i][1] = '';
     $arrOrder[$i][2] = '請求金額';
     $arrOrder[$i][3] = number_format($this->arrDisp['payment_total']) . $monetary_unit;
     // ポイント表記
     if ($this->arrData['disp_point'] && $this->arrDisp['customer_id']) {
         $i++;
         $arrOrder[$i][0] = '';
         $arrOrder[$i][1] = '';
         $arrOrder[$i][2] = '';
         $arrOrder[$i][3] = '';
         $i++;
         $arrOrder[$i][0] = '';
         $arrOrder[$i][1] = '';
         $arrOrder[$i][2] = '利用ポイント';
         $arrOrder[$i][3] = number_format($this->arrDisp['use_point']) . $point_unit;
         $i++;
         $arrOrder[$i][0] = '';
         $arrOrder[$i][1] = '';
//.........这里部分代码省略.........
开发者ID:ryoogata,项目名称:eccube-SQLAzureSupport-plugin,代码行数:101,代码来源:SC_Fpdf.php

示例7: setOrderData

 function setOrderData()
 {
     $arrOrder = array();
     // DBから受注情報を読み込む
     $this->lfGetOrderData($this->arrData['order_id']);
     // 購入者情報
     //        $text = '〒 '.$this->arrDisp['order_zip01'].' - '.$this->arrDisp['order_zip02'];
     $text = t('c_postal code mark_01') . $this->arrDisp['order_zipcode'];
     $this->lfText(23, 43, $text, 10);
     //購入者郵便番号
     $text = $this->arrPref[$this->arrDisp['order_pref']] . $this->arrDisp['order_addr01'];
     $this->lfText(27, 47, $text, 10);
     //購入者都道府県+住所1
     $this->lfText(27, 51, $this->arrDisp['order_addr02'], 10);
     //購入者住所2
     $text = t('f_NAME_FULL_SIR_01', array('T_ARG1' => $this->arrDisp['order_name01'], 'T_ARG2' => $this->arrDisp['order_name02']));
     $this->lfText(27, 59, $text, 11);
     //購入者氏名
     // お届け先情報
     $this->SetFont('SJIS', '', 10);
     $this->lfText(25, 125, SC_Utils_Ex::sfDispDBDate($this->arrDisp['create_date']), 10);
     //ご注文日
     $this->lfText(25, 135, $this->arrDisp['order_id'], 10);
     //注文番号
     $this->SetFont('Gothic', 'B', 15);
     $this->Cell(0, 10, $this->tpl_title, 0, 2, 'C', 0, '');
     //文書タイトル(納品書・請求書)
     $this->Cell(0, 66, '', 0, 2, 'R', 0, '');
     $this->Cell(5, 0, '', 0, 0, 'R', 0, '');
     $this->SetFont('SJIS', 'B', 15);
     $this->Cell(67, 8, t('c_$ T_ARG1_01', array('T_ARG1' => number_format($this->arrDisp['payment_total']))), 0, 2, 'R', 0, '');
     $this->Cell(0, 45, '', 0, 2, '', 0, '');
     $this->SetFont('SJIS', '', 8);
     $point_unit = t('c_Pts_01');
     // 購入商品情報
     for ($i = 0; $i < count($this->arrDisp['quantity']); $i++) {
         // 購入数量
         $data[0] = $this->arrDisp['quantity'][$i];
         // 税込金額(単価)
         $data[1] = SC_Helper_DB_Ex::sfCalcIncTax($this->arrDisp['price'][$i]);
         // 小計(商品毎)
         $data[2] = $data[0] * $data[1];
         $arrOrder[$i][0] = $this->arrDisp['product_name'][$i] . ' / ';
         $arrOrder[$i][0] .= $this->arrDisp['product_code'][$i] . ' / ';
         if ($this->arrDisp['classcategory_name1'][$i]) {
             $arrOrder[$i][0] .= ' [ ' . $this->arrDisp['classcategory_name1'][$i];
             if ($this->arrDisp['classcategory_name2'][$i] == '') {
                 $arrOrder[$i][0] .= ' ]';
             } else {
                 $arrOrder[$i][0] .= ' * ' . $this->arrDisp['classcategory_name2'][$i] . ' ]';
             }
         }
         $arrOrder[$i][1] = number_format($data[0]);
         $arrOrder[$i][2] = t('c_$ T_ARG1_01', array('T_ARG1' => number_format($data[1])));
         $arrOrder[$i][3] = t('c_$ T_ARG1_01', array('T_ARG1' => number_format($data[2])));
     }
     $arrOrder[$i][0] = '';
     $arrOrder[$i][1] = '';
     $arrOrder[$i][2] = '';
     $arrOrder[$i][3] = '';
     $i++;
     $arrOrder[$i][0] = '';
     $arrOrder[$i][1] = '';
     $arrOrder[$i][2] = t('c_Product total_01');
     $arrOrder[$i][3] = t('c_$ T_ARG1_01', array('T_ARG1' => number_format($this->arrDisp['subtotal'])));
     $i++;
     $arrOrder[$i][0] = '';
     $arrOrder[$i][1] = '';
     $arrOrder[$i][2] = t('c_Shipping fee_01');
     $arrOrder[$i][3] = t('c_$ T_ARG1_01', array('T_ARG1' => number_format($this->arrDisp['deliv_fee'])));
     $i++;
     $arrOrder[$i][0] = '';
     $arrOrder[$i][1] = '';
     $arrOrder[$i][2] = t('c_Processing fee_01');
     $arrOrder[$i][3] = t('c_$ T_ARG1_01', array('T_ARG1' => number_format($this->arrDisp['charge'])));
     $i++;
     $arrOrder[$i][0] = '';
     $arrOrder[$i][1] = '';
     $arrOrder[$i][2] = t('c_Discount_01');
     $arrOrder[$i][3] = t('c_$ T_ARG1_01', array('T_ARG1' => '- ' . number_format($this->arrDisp['use_point'] * POINT_VALUE + $this->arrDisp['discount'])));
     $i++;
     $arrOrder[$i][0] = '';
     $arrOrder[$i][1] = '';
     $arrOrder[$i][2] = t('c_Billing amount_01');
     $arrOrder[$i][3] = t('c_$ T_ARG1_01', array('T_ARG1' => number_format($this->arrDisp['payment_total'])));
     // ポイント表記
     if ($this->arrData['disp_point'] && $this->arrDisp['customer_id']) {
         $i++;
         $arrOrder[$i][0] = '';
         $arrOrder[$i][1] = '';
         $arrOrder[$i][2] = '';
         $arrOrder[$i][3] = '';
         $i++;
         $arrOrder[$i][0] = '';
         $arrOrder[$i][1] = '';
         $arrOrder[$i][2] = t('c_Used points_01');
         $arrOrder[$i][3] = number_format($this->arrDisp['use_point']) . $point_unit;
         $i++;
         $arrOrder[$i][0] = '';
         $arrOrder[$i][1] = '';
//.........这里部分代码省略.........
开发者ID:Rise-Up-Cambodia,项目名称:Rise-Up,代码行数:101,代码来源:SC_Fpdf.php

示例8: setOrderData

 function setOrderData()
 {
     // DBから受注情報を読み込む
     $this->lfGetOrderData($this->arrData['order_id']);
     // 購入者情報
     $text = "〒 " . $this->arrDisp['order_zip01'] . " - " . $this->arrDisp['order_zip02'];
     $this->lfText(23, 43, $text, 10);
     //購入者郵便番号
     $text = $this->arrPref[$this->arrDisp['order_pref']] . $this->arrDisp['order_addr01'];
     $this->lfText(27, 47, $text, 10);
     //購入者都道府県+住所1
     $this->lfText(27, 51, $this->arrDisp['order_addr02'], 10);
     //購入者住所2
     $text = $this->arrDisp['order_name01'] . " " . $this->arrDisp['order_name02'] . " 様";
     $this->lfText(27, 59, $text, 11);
     //購入者氏名
     // お届け先情報
     $this->pdf->SetFontSize(10);
     $this->lfText(25, 125, SC_Utils_Ex::sfDispDBDate($this->arrDisp['create_date']), 10);
     //ご注文日
     $this->lfText(25, 135, $this->arrDisp['order_id'], 10);
     //注文番号
     $this->pdf->SetFont('', 'B', 15);
     $this->pdf->Cell(0, 10, $this->lfConvSjis($this->tpl_title), 0, 2, 'C', 0, '');
     //文書タイトル(納品書・請求書)
     $this->pdf->Cell(0, 66, '', 0, 2, 'R', 0, '');
     $this->pdf->Cell(5, 0, '', 0, 0, 'R', 0, '');
     $this->pdf->Cell(67, 8, $this->lfConvSjis(number_format($this->arrDisp['payment_total']) . " 円"), 0, 2, 'R', 0, '');
     $this->pdf->Cell(0, 45, '', 0, 2, '', 0, '');
     $this->pdf->SetFontSize(8);
     $monetary_unit = $this->lfConvSjis("円");
     $point_unit = $this->lfConvSjis('Pt');
     // 購入商品情報
     for ($i = 0; $i < count($this->arrDisp['quantity']); $i++) {
         // 購入数量
         $data[0] = $this->arrDisp['quantity'][$i];
         // 税込金額(単価)
         $data[1] = SC_Helper_DB_Ex::sfCalcIncTax($this->arrDisp['price'][$i]);
         // 小計(商品毎)
         $data[2] = $data[0] * $data[1];
         $arrOrder[$i][0] = $this->lfConvSjis($this->arrDisp['product_name'][$i] . " / ");
         $arrOrder[$i][0] .= $this->lfConvSjis($this->arrDisp['product_code'][$i] . " / ");
         if ($this->arrDisp['classcategory_name1'][$i]) {
             $arrOrder[$i][0] .= $this->lfConvSjis(" [ " . $this->arrDisp['classcategory_name1'][$i]);
             if ($this->arrDisp['classcategory_name2'][$i] == "") {
                 $arrOrder[$i][0] .= " ]";
             } else {
                 $arrOrder[$i][0] .= $this->lfConvSjis(" * " . $this->arrDisp['classcategory_name2'][$i] . " ]");
             }
         }
         $arrOrder[$i][1] = number_format($data[0]);
         $arrOrder[$i][2] = number_format($data[1]) . $monetary_unit;
         $arrOrder[$i][3] = number_format($data[2]) . $monetary_unit;
     }
     $arrOrder[$i][0] = "";
     $arrOrder[$i][1] = "";
     $arrOrder[$i][2] = "";
     $arrOrder[$i][3] = "";
     $i++;
     $arrOrder[$i][0] = "";
     $arrOrder[$i][1] = "";
     $arrOrder[$i][2] = $this->lfConvSjis("商品合計");
     $arrOrder[$i][3] = number_format($this->arrDisp['subtotal']) . $monetary_unit;
     $i++;
     $arrOrder[$i][0] = "";
     $arrOrder[$i][1] = "";
     $arrOrder[$i][2] = $this->lfConvSjis("送料");
     $arrOrder[$i][3] = number_format($this->arrDisp['deliv_fee']) . $monetary_unit;
     $i++;
     $arrOrder[$i][0] = "";
     $arrOrder[$i][1] = "";
     $arrOrder[$i][2] = $this->lfConvSjis("手数料");
     $arrOrder[$i][3] = number_format($this->arrDisp['charge']) . $monetary_unit;
     $i++;
     $arrOrder[$i][0] = "";
     $arrOrder[$i][1] = "";
     $arrOrder[$i][2] = $this->lfConvSjis("値引き");
     $arrOrder[$i][3] = "- " . number_format($this->arrDisp['use_point'] * POINT_VALUE + $this->arrDisp['discount']) . $monetary_unit;
     $i++;
     $arrOrder[$i][0] = "";
     $arrOrder[$i][1] = "";
     $arrOrder[$i][2] = $this->lfConvSjis("請求金額");
     $arrOrder[$i][3] = number_format($this->arrDisp['payment_total']) . $monetary_unit;
     // ポイント表記
     if ($this->arrData['disp_point'] && $this->arrDisp['customer_id']) {
         $i++;
         $arrOrder[$i][0] = "";
         $arrOrder[$i][1] = "";
         $arrOrder[$i][2] = "";
         $arrOrder[$i][3] = "";
         $i++;
         $arrOrder[$i][0] = "";
         $arrOrder[$i][1] = "";
         $arrOrder[$i][2] = $this->lfConvSjis("利用ポイント");
         $arrOrder[$i][3] = number_format($this->arrDisp['use_point']) . $point_unit;
         $i++;
         $arrOrder[$i][0] = "";
         $arrOrder[$i][1] = "";
         $arrOrder[$i][2] = $this->lfConvSjis("加算ポイント");
         $arrOrder[$i][3] = number_format($this->arrDisp['add_point']) . $point_unit;
//.........这里部分代码省略.........
开发者ID:nanasess,项目名称:ec-azure,代码行数:101,代码来源:SC_Fpdf.php

示例9: is_array

        ?>
img/contents/infottl_day_left.jpg" width="12" height="10" alt="" border="0">
						</td>
						<td background="<?php 
        echo is_array($_tmp = $this->_tpl_vars['TPL_DIR']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
        ?>
img/contents/infottl_bg01.jpg">
						    <img src="<?php 
        echo is_array($_tmp = $this->_tpl_vars['TPL_DIR']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
        ?>
img/contents/icon.jpg"
						         width="15"
						         height="9"
						         alt="">
						    <span class="infodate"><?php 
        echo is_array($_tmp = is_array($_tmp = is_array($_tmp = $this->_tpl_vars['info']['disp_date']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp)) ? $this->_run_mod_handler('sfDispDBDate', true, $_tmp, false) : SC_Utils_Ex::sfDispDBDate($_tmp, false)) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp);
        ?>
</span>
						</td>
						<td background="<?php 
        echo is_array($_tmp = $this->_tpl_vars['TPL_DIR']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
        ?>
img/contents/infottl_day_right.jpg">
						    <img src="<?php 
        echo is_array($_tmp = $this->_tpl_vars['TPL_DIR']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
        ?>
img/contents/infottl_day_right.jpg"
						         width="5"
						         height="10"
						         alt=""
						         border="0">
开发者ID:RyotaKaji,项目名称:eccube-2.4.1,代码行数:31,代码来源:%%86^864^8644F0D6%%home.tpl.php

示例10: is_array

<div id="header">
    <div id="header-contents">
        <div id="logo"><a href="<?php 
echo is_array($_tmp = @ADMIN_HOME_URLPATH) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
?>
"><img src="<?php 
echo is_array($_tmp = $this->_tpl_vars['TPL_URLPATH']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
?>
img/header/logo.jpg" width="172" height="25" alt="EC-CUBE" /></a></div>
        <div id="site-check">
            <p class="info"><span><strong>ログイン&nbsp;:&nbsp;</strong><?php 
echo is_array($_tmp = is_array($_tmp = $_SESSION['login_name']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp)) ? $this->_run_mod_handler('h', true, $_tmp) : smarty_modifier_h($_tmp);
?>
</span>&nbsp;様,&nbsp;&nbsp;
            <span><strong>最終ログイン日時&nbsp;:&nbsp;</strong><?php 
echo is_array($_tmp = is_array($_tmp = is_array($_tmp = $_SESSION['last_login']) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp)) ? $this->_run_mod_handler('sfDispDBDate', true, $_tmp, true) : SC_Utils_Ex::sfDispDBDate($_tmp, true)) ? $this->_run_mod_handler('h', true, $_tmp) : smarty_modifier_h($_tmp);
?>
</span></p>
            <ul>
                <li><a href="<?php 
echo is_array($_tmp = @HTTP_URL) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
echo is_array($_tmp = @DIR_INDEX_PATH) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
?>
" class="btn-tool-format" target="_blank"><span>SITE CHECK</span></a></li>
                <li><a href="<?php 
echo is_array($_tmp = @ADMIN_LOGOUT_URLPATH) ? $this->_run_mod_handler('script_escape', true, $_tmp) : smarty_modifier_script_escape($_tmp);
?>
" class="btn-tool-format">LOGOUT</a></li>
            </ul>
        </div>
    </div>
开发者ID:geany-y,项目名称:cube2,代码行数:31,代码来源:%%B7^B7E^B7E43223%%main_frame.tpl.php


注:本文中的SC_Utils_Ex::sfDispDBDate方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。