<?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/>