本文整理汇总了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/>