本文整理汇总了PHP中System_helper::Get_Bangla_Month方法的典型用法代码示例。如果您正苦于以下问题:PHP System_helper::Get_Bangla_Month方法的具体用法?PHP System_helper::Get_Bangla_Month怎么用?PHP System_helper::Get_Bangla_Month使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类System_helper
的用法示例。
在下文中一共展示了System_helper::Get_Bangla_Month方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: isset
?>
</td>
<td><?php
echo isset($report_lists[$i - 1]) && $report_lists[$i]['wardid'] == $report_lists[$i - 1]['wardid'] ? '' : $report_lists[$i]['wardname'];
?>
</td>
<td><?php
echo $report_lists[$i]['uisc_name'];
?>
</td>
<td>
<?php
//echo System_helper::Get_Eng_to_Bng();
$date = explode('-', $report_lists[$i]['invoice_date']);
echo System_helper::Get_Eng_to_Bng($date[2]) . ' ';
echo System_helper::Get_Bangla_Month($date[1]) . ', ';
echo System_helper::Get_Eng_to_Bng($date[0]);
?>
</td>
<td style="text-align: center;"><?php
echo System_helper::Get_Eng_to_Bng($union_total);
?>
</td>
</tr>
<?php
}
?>
<!-- <tr style="background-color: #cccccc">-->
<!-- <td colspan="2"> </td>-->
<!-- <td >--><?php
//echo $this->lang->line('MUNICIPALITY');
示例2:
</div>
<div class="col-sm-4 col-xs-8">
<select name="month" class="form-control">
<?php
for ($i = 1; $i < 13; $i++) {
if (strlen($i) == 1) {
$option = "0" . $i;
} else {
$option = $i;
}
?>
<option value="<?php
echo $option;
?>
"><?php
echo System_helper::Get_Bangla_Month($option);
?>
</option>
<?php
}
?>
</select>
</div>
</div>
<div class="row show-grid ">
<div class="col-xs-4">
<label class="control-label pull-right"><?php
echo $CI->lang->line('YEAR');
?>
</label>
示例3: sprintf
?>
</a>
<div class="clearfix"></div>
<span class="pull-right"><?php
echo $this->lang->line('REPORT_CURRENT_DATE_VIEW');
?>
</span>
</div>
<div class="col-lg-12">
<div class="col-lg-12 text-center">
<h4><?php
echo $this->lang->line('REPORT_HEADER_TITLE');
?>
</h4>
<h5><?php
echo sprintf($this->lang->line('LAST_MONTH_TOP_INCOME_TITLE'), System_helper::Get_Bangla_Month($month));
?>
</h5>
</div>
<table class="table table-responsive table-bordered">
<thead>
<tr>
<th><?php
echo $this->lang->line('SERIAL');
?>
</th>
<th><?php
echo $this->lang->line('UNION');
?>
</th>
<th><?php
示例4:
<h4><?php
echo $this->lang->line('REPORT_HEADER_TITLE');
?>
</h4>
<h5><?php
echo $title;
?>
</h5>
</div>
<table class="table table-responsive table-bordered">
<thead>
<tr>
<th colspan="21" class="text-center">
<?php
echo System_helper::Get_Bangla_Month($month) . " " . $this->lang->line('MONTH');
?>
,
<?php
echo System_helper::Get_Eng_to_Bng($year);
?>
</th>
</tr>
<tr>
<!-- <th>--><?php
//echo $this->lang->line('DIVISION_NAME');
?>
<!--</th>-->
<!-- <th>--><?php
//echo $this->lang->line('ZILLA_NAME');
?>
示例5: date
?>
</span>
</div>
<div class="col-lg-12">
<div class="col-lg-12 text-center">
<h4><?php
echo $this->lang->line('REPORT_HEADER_TITLE');
?>
</h4>
<h5><?php
echo $title;
?>
</h5>
</div>
<?php
$month_name = System_helper::Get_Bangla_Month($month);
$s_date = $year . '-' . $month . '-' . date('d');
$date = date($s_date);
// current date
$date_one = strtotime(date("Y-m-d", strtotime($date)) . " -1 day");
$date_two = strtotime(date("Y-m-d", strtotime($date)) . " -2 days");
$date_three = strtotime(date("Y-m-d", strtotime($date)) . " -3 days");
$date_four = strtotime(date("Y-m-d", strtotime($date)) . " -4 days");
$date_five = strtotime(date("Y-m-d", strtotime($date)) . " -5 days");
$date_six = strtotime(date("Y-m-d", strtotime($date)) . " -6 days");
$date_seven = strtotime(date("Y-m-d", strtotime($date)) . " -7 days");
?>
<table class="table table-responsive table-bordered">
<thead>
<tr>
<th colspan="21" class="text-center">