1
で変数Smartyのを取得する我々は グレゴリオ暦の日付は、私たちはSmartyのTPLファイルにPHPタグ
{$invoice.datecreated}
{php}
include_once ($_SERVER["DOCUMENT_ROOT"] ."/templates/six/jdf.php");
$date = '{$invoice.datecreated}';
list($g_y, $g_m, $g_d) = explode("/", $date);
$str="/";
print "(".gregorian_to_jalali ($g_y, $g_m, $g_d,$str).")";
{/php}
しかし、このコードの一部の代わりに置くことを、次のコードを置く理由ですジャラリ から変更whmcs7日付を作りたいです変数 挿入文字列
$date = '{$invoice.datecreated}';
print $date; // result: invoice.datecreated Instead 2015/01/31
に私はあなたがdoubl必要があると思う私に
正しいです – Darren