本文整理匯總了PHP中FORMAT::CHECKLIST方法的典型用法代碼示例。如果您正苦於以下問題:PHP FORMAT::CHECKLIST方法的具體用法?PHP FORMAT::CHECKLIST怎麽用?PHP FORMAT::CHECKLIST使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類FORMAT
的用法示例。
在下文中一共展示了FORMAT::CHECKLIST方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: explode
<?php
require "../../../frame/engine.php";
ENGINE::START();
$user = USER::VERIFY(0, TRUE);
$tid = $_GET['ticket'];
$mid = $_GET['model'];
$type = $_GET['type'];
$release = explode(" ", $_GET['release']);
$T = ENGINE::TICKETINFO($tid);
$repair_price = $T['INFO']['t_repair_price'];
$arr = FORMAT::CHECKLIST(array($T['STATUS']['t_simcard'], $T['STATUS']['t_sdcard'], $T['STATUS']['t_case'], $T['STATUS']['t_charger'], $T['STATUS']['t_power'], $T['STATUS']['t_buttons'], $T['STATUS']['t_inaudio'], $T['STATUS']['t_exaudio'], $T['STATUS']['t_touch'], $T['STATUS']['t_housing'], $T['STATUS']['t_charging'], $T['STATUS']['t_service']));
$title = "\n\t\t<b>Device:</b> " . $T['MODE']['m_name'] . "<br/>\n\t\t<b>Estimate:</b> \$" . $T['INFO']['t_estimate_price'] . "<br/>\n\t\t<b>Repair Time:</b> " . $T['INFO']['t_repair_time'] . "<br/>\n\t\t" . $arr . "\n\t";
$PHY = $T['INFO']['t_phy'] == 1 ? "Yes" : "No";
$LIQ = $T['INFO']['t_liq'] == 1 ? "Yes" : "No";
$SOF = $T['INFO']['t_sof'] == 1 ? "Yes" : "No";
$MANU = $T['MANU']['m_name'];
$MODEL = str_replace($MANU . " ", "", $T['MODE']['m_name']);
$PHONE = FORMAT::PHONE($T['CUST']['c_phone']);
$CD = date("M d, Y h:i A", strtotime($T['INFO']['t_created']));
$ED = date("M d, Y h:i A", strtotime($T['INFO']['t_estimate_created']));
$RD = date("M d, Y h:i A", strtotime($T['INFO']['t_repair_created']));
?>
<form style="width:492px;height:170px;" id="checkoutf<?php
echo $tid;
?>
">
<div style="width:52%;height:157px;float:left;overflow-y:scroll;">
<?php
echo <<<STR
<div style="width:100%;border-bottom: 1px solid #ACB1B7;" class="aname"><center>CUSTOMER</center></div><br/>