protected function _getPrice($productId) { $percent = fruitframe_get_user_percent(); $summ = getPrice($productId); if (is_user_logged_in() && $percent) { return calcSumm($summ, $percent); } return $summ; }
function rest_get($req) { global $JSON; if (checkPrivileges($req[0]) == false) { return; } $resp = reqRouter($req, "GET"); $response; switch ($resp) { case 1: global $routes; $order = @$routes[$req[0]]["orderBy"]; if (isset($order)) { $response = sql_GET_ALL($req[0], [$order, "ASC"]); } else { $response = sql_GET_ALL($req[0], [$routes[$req[0]]['identifier'], "ASC"]); } break; case 2: $response = sql_GET($req); break; case 3: $response = sql_GET_ROW($req); break; case 4: $response = sql_GET_SORT($req, true); break; case 5: $response = sql_GET_SORT($req, false); break; case 6: $response = sql_GET_COLUMNS(); break; case 7: $response = sql_GET_JOIN($JSON); break; case 8: $response = getPrice($JSON); break; case 9: $response = getByTime($req, $JSON); break; case 0: default: rest_error("Mal-Formed request, check url params", 400); return; } if (isset($response) && (is_array($response) && count($response) > 0)) { rest_success(json_encode($response)); } else { rest_error("Empty Results, Check if item exists in dataBase, Check Url requested.", 404); } return 0; }
/** * The core processing logic (not reusable) * @return \Closure * */ public function processNode() { return function ($node) { $link = $node->filter('h3 > a')->link(); $name = $node->filter('h3 > a')->text(); $price = $node->filter('.pricePerUnit')->text(); // We need to load the next page to get size and description $nextPage = $this->client->click($link); $description = $nextPage->filter('.productText')->first()->text(); $html = $nextPage->html(); $size = round(mb_strlen($html, '8bit') / 1024) . "kb"; $this->results['results'][] = ['name' => c($name), 'price' => getPrice($price), 'description' => c($description), 'size' => $size]; }; }
echo $product['name']; ?> "> <span class="item"> <span class="item-left"> <img src="<?php echo getProductPicture($product['picture']); ?> " width="50" alt="" /> <span class="item-info"> <span><strong><?php echo cutString($product['name'], 15); ?> </strong></span> <span><?php echo getPrice($product['price']); ?> </span> </span> </span> <span class="item-right"> <button class="btn-remove-cart-product" data-id="<?php echo $product['id']; ?> " class="btn btn-xs btn-danger pull-right"> <span class="glyphicon glyphicon-trash"></span> </button> </span> </span> </li> <?php
<button name="logOut" value="out" class="btn btn-primary" type="submit"><span class="glyphicon glyphicon-log-out"></span> Log Out</button> </form> </div><!--/.navbar-collapse --> </div> </nav> <div class="jumbotron"> </div> '; //if(isset($_SESSION["Email"])){ $userEmail = $_GET["UserEmail"]; $hotelName = $_GET['HotelName']; $hotelAddr = $_GET['HotelAddr']; //can be change, before confirmation $roomType = $_GET['RoomType']; $roomQuant = $_GET['RoomQuant']; $roomPrice = getPrice($hotelName, $hotelAddr, $roomType); $startDate = $_GET['StartDate']; $endDate = $_GET['EndDate']; //left is room quantity //} ?> <div class="container theme-showcase" role="main"> <div class="jumbotron"> <a><h4>Booking information:</h4></a> <hr> <div class="container"> <form action="edit2.php" class="form-signin" role="form" method="post"> <?php echo "\n <input type='hidden' name='HotelAddr' value='{$hotelAddr}' />\n <input type='hidden' name='HotelQuant' value='{$hotelQuant}' />\n <input type='hidden' name='OldStartDate' value='{$startDate}' />\n <input type='hidden' name='OldEndDate' value='{$endDate}' />\n <input type='hidden' name='RoomType' value='{$roomType}' />\n <input type='hidden' name='RoomQuant' value='{$roomQuant}' />";
<?php ActiveForm::end(); NavBar::end(); ?> </div> <div class="row"> <div class="col-sm-12"> <?php $i = 1; $endTag = 0; foreach ($freeObj as $model) { if ($i == 1) { echo Html::beginTag('div', ['class' => 'row row-flex row-flex-wrap']); $endTag = 1; } echo Html::tag('div', Html::tag('div', Html::tag('div', Html::tag('div', Html::tag('h2', Html::a($model->name, Url::to(['/tour/view', 'id' => $model->id, 'datebegin' => $dateBegin]), []), []) . Html::img(getPhoto($model), ['class' => 'main-tour-image']), ['class' => 'col-sm-12']), ['class' => 'row']) . Html::tag('div', Html::tag('div', Html::tag('div', Html::tag('p', 'Продолжительность ' . $model->duration . ' часов', ['class' => 'duration']) . Html::tag('p', 'Цена от ' . getPrice($model) . ' руб.', ['class' => 'duration']) . Html::a('Подробнее', Url::to(['/tour/view', 'id' => $model->id, 'datebegin' => $dateBegin]), ['class' => 'btn btn-success bottom-preview']), ['class' => 'flex-description-tour']), ['class' => 'col-sm-12']), ['class' => 'row']), ['class' => 'item-card']), ['class' => 'col-sm-4']); if ($i == 3) { echo Html::endTag('div'); $endTag = 2; $i = 0; } $i++; } if ($endTag == 1) { echo Html::tag('div', '', ['class' => 'col-sm-6']); echo Html::endTag('div'); } ?> </div><!-- /.col-sm-12 --> </div><!-- /.row -->
} else { $date = getNextDay($date); addNode($doc, $stocks, 'nextdate', $date); if (isToday($date) == true) { if (isMarketOpen() == true) { $rc = '4'; $message = 'The Stock Market is Still Open.'; } } } break; case '2': // Get Price $symbol = $_GET[s]; $date = $_GET[d]; $price = getPrice($symbol, $date); if ($price == -1) { $rc = '4'; $message = 'Error getting price for ' . $symbol . ' on ' . $date . '.'; break; } // Get Stock ID $sql = "select id from stocks where symbol = '" . $symbol . "'"; $rows = mysql_query($sql); $cols = mysql_fetch_array($rows); $stock = $cols['id']; // Delete Old Price $sql = "delete from prices where stock = " . $stock . " and thedate = '" . $date . "'"; if (!mysql_query($sql)) { $rc = '4'; $message = mysql_error();
<td> <div style="font-size: 1.45em; width: 400px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden;"> <?php the_title(); ?> </div> <div style="font-size: 0.95em; margin-top: 4px; color: #666666; width: 400px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden;"> <?php echo $address; ?> </div> </td> <td> <div style="font-size: 1.45em; color: #005826; text-align: right;"> <?php echo getPrice(); ?> </div> <div style="font-size: 0.95em; margin-top: 4px; color: #666666; text-align: right;"> <?php echo getMetaData('et_er_rent_tenure'); ?> </div> </td> <td style="width: 20px;"> </td> <td style="padding-left: 20px; border-left: 1px solid #eeeeee;"> <div class="font-size-90 bold view-details-button"> <a href="/terrerohomes/property/?p_id=<?php echo get_the_ID(); ?>
<?php echo TImage::displayImageUploader($this->conf, $this->content, $this->adext); ?> <?php if (PAIDSYSTEM) { $paidconfig = getPaidSystemConfig(); if (isset($paidconfig->enable_image_pack) && $paidconfig->enable_image_pack == 1) { ?> <input type="checkbox" id="images_pack" value="1" <?php if (@$this->adext->images == 1) { echo "checked"; } ?> name="images_pack" /> <span class="option_photo"><?php echo sprintf(JText::_('PAIDSYSTEM_IMAGE_PACK_NB_IMAGES'), $paidconfig->num_images, getPrice($paidconfig->image_price)); ?> </span> <script type="text/javascript"> <?php $maximages = $this->conf->nb_images + $paidconfig->num_images; ?> function updateImagesPackPrice() { if(jQ('#images_pack').is(':checked')) { jQ('#totalcount').html('<?php echo $maximages; ?> '); max_total_file_count = <?php echo $maximages; ?>
<td> </td> <td> </td> <td> </td> <td><h5>Estimated shipping</h5></td> <td class="text-right"><h5><strong id="cart-shipping"><?php echo getPrice($shipping); ?> </strong></h5></td> </tr> <tr> <td> </td> <td> </td> <td> </td> <td><h3>Total</h3></td> <td class="text-right"><h3><strong id="cart-total"><?php echo getPrice($total); ?> </strong></h3></td> </tr> <tr> <td> </td> <td> </td> <td> </td> <td> <a href="index.php" type="button" class="btn btn-default"> <span class="glyphicon glyphicon-shopping-cart"></span> Continue Shopping </a> </td> <td> <button type="button" class="btn btn-success"> Checkout <span class="glyphicon glyphicon-play"></span>
$p = 2900 * $area; } } return max(450, $p); } function getPrice($area, $detail) { if ($detail == "High") { $price = getHighPrice($area); } else { $price = getStandardPrice($area); } return number_format($price, 2); } $price = getPrice($area, "Standed"); $hprice = getPrice($area, "High"); $mail->Body = "From: " . $name_field . "\r\nEmail: " . $email_field . "\r\n"; $mail->Body .= "Company: " . $company . "\r\nTelephone: " . $tel . "\r\n\r\n"; $mail->Body .= "Level of detail:\r\n"; $mail->Body .= "Standard: " . $detail . ", High: " . $detailhigh . "\r\n"; $mail->Body .= "Request Sample Data: " . $sample . "\r\n\r\n"; if ($additional != "") { $mail->Body .= "Additional Instructions:\r\n" . $additional . "\r\n\r\n"; } $mail->Body .= "Area: " . $area . " km2\r\n"; $mail->Body .= "Standard Price: £" . $price . "\r\n"; $mail->Body .= "High Price: £" . $hprice . "\r\n\r\n"; if ($detail == "Yes") { $mail->Body .= "Quote requested Standard level of detail\r\n"; } if ($detailhigh == "Yes") {
$pass = LeeLee431; try { //create PDO connection $db = new PDO('mysql:host=localhost;dbname=Software', $user, $pass); $db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); } catch (PDOException $e) { //show error echo '<p class="bg-danger">' . $e->getMessage() . '</p>'; exit; } if ($_GET['func'] == 'getImage') { getImage($_GET['ID'], $db); } elseif ($_GET['func'] == 'getName') { getName($_GET['ID'], $db); } elseif ($_GET['func'] == 'getPrice') { getPrice($_GET['ID'], $db); } elseif ($_GET['func'] == 'getDesc') { getDesc($_GET['ID'], $db); } function getImage($id, $db) { $sql = "SELECT * FROM Product WHERE ID={$id}"; $query = $db->prepare($sql); $query->execute(); $results = $query->fetchAll(PDO::FETCH_ASSOC); foreach ($results as $row) { } echo $row['Picture']; } function getName($id, $db) {
function setMoneyBalances($sElement, $sMethod, $userId) { $userFunds = getStat($sMethod, $userId); $elementP = getPrice($sElement, $sMethod); $balance = $userFunds - $elementP; if ($balance >= 0) { setStat($sMethod, $userId, $balance); return 'success'; } }
break; case 'get_contact_by_supplier_id': $resp = get_contact_by_supplier_id($param1, $param2, $param3, $pgIndex, $recordPerPage); break; case 'get_supplier_contact_by_id': $resp = get_supplier_contact_by_id($param1); break; case 'get_all_stock': $resp = getAllStockMaster($param1, $pgIndex, $recordPerPage); break; case 'get_stock_by_stock_id': $resp = getStockMasterById($param1); break; case 'get_price': $arrObj = Zend_Json::decode(htmlspecialchars_decode($param1), Zend_Json::TYPE_ARRAY); $resp = getPrice($arrObj, $module); break; case 'get_stock_status': $arrObj = Zend_Json::decode(htmlspecialchars_decode($param1), Zend_Json::TYPE_ARRAY); $resp = getStockStatus($arrObj); break; case 'get_all_purchase_order': $resp = getAllPurchaseOrder($param1, $pgIndex, $recordPerPage); break; case 'get_purchase_order_by_order_no': $resp = getPurchaseOrderByOrderNo($param1); break; case 'get_purchase_order_item_details_by_order_no': $resp = getPurchaseOrderItemDetailsByOrderNo($param1); break; case 'get_purchase_order_item_details':
<?php include 'sidebar-product.php'; ?> <div class="col-md-9"> <div class="product-full"> <div class="thumbnail"> <img class="img-responsive" src="<?php echo getProductPicture($full_product['picture']); ?> " alt=""> <div class="caption-full"> <h4 class="pull-right"><?php echo getPrice($full_product['price']); ?> </h4> <h4><?php echo $full_product['name']; ?> </h4> <?php echo nl2br($full_product['description']); ?> </div> <div class="ratings"> <?php echo getProductRating($full_product['rating']); ?> </div>
require_once "../service/db_connect.php"; if (!isset($_POST["method"]) || empty($_POST["method"])) { header("Content-Type: application/json"); echo json_encode(array("result" => "fail")); die; } $method = $_POST["method"]; switch ($method) { case 'insert': insertSizePrice(); break; case 'delete': deleteSizePrice(); break; case 'getPrice': getPrice(); break; default: header("Content-Type: application/json"); echo json_encode(array("result" => "no_method")); break; } function getPrice() { try { $dbh = dbConnect::getInstance()->dbh; } catch (PDOException $e) { echo "Error!: " . $e->getMessage() . "<br/>"; die; } $sql = 'SELECT min(price) as price from size_price where size_area >= :area ';
<!-- Countdown --> <div class="countdown" id="countdown"> <div class="container"> <div class="row"> <div class="form-and-links-container col-sm-8 col-sm-offset-2"> <div class="countdown-label"> <div id="price"> <p class="text-center"><strong>We Buy</strong> : RM<?php getPrice('1', 'we_buy'); ?> /g <i class=<?php getStats('1', 'we_buy'); ?> ></i></p> <p class="text-center"><strong>We Sell</strong> : RM<?php getPrice('1', 'we_sell'); ?> /g <i class=<?php getStats('1', 'we_sell'); ?> ></i></p> </div> </div> </div> </div> </div> </div> <!-- /Countdown --> <div class="container"> <!-- Description --> <div class="row">
} //if(getOwnershipStatus($value, $pid)){//firefox needs this otherwise it displays unowned decks /****************Deck Prices**********************/ $dkVstyleAssArr = getDeckVstylesAss($value); $sDeck = getDeckInfoFromId($value, 'short_name'); $deckMxLv = getDeckInfo($sDeck, 'levels'); //$userDks = getUserDecks($userID); $pkanjiRE = getPrice('kanjiRE', 'gc'); $pkanjiH = getPrice('kanjiH', 'gc'); $pkanjiE = getPrice('kanjiE', 'gc'); $pengKR = getPrice('engKR', 'gc'); $pengH = getPrice('engH', 'gc'); $pengK = getPrice('engK', 'gc'); $paudioR = getPrice('audioR', 'gc'); $paudioE = getPrice('audioE', 'gc'); $paudioK = getPrice('audioK', 'gc'); //Set Cell Contents $ownsRE = getDeckInfoFromId($value, 'kanjiRE') ? getOwnershipDeckVstyle($key, 'kanjiRE', $pid) : ''; $ownsE = getDeckInfoFromId($value, 'kanjiE') ? getOwnershipDeckVstyle($key, 'kanjiE', $pid) : ''; $ownsH = getDeckInfoFromId($value, 'kanjiH') ? getOwnershipDeckVstyle($key, 'kanjiH', $pid) : ''; $ownsAudR = getDeckInfoFromId($value, 'audioR') ? getOwnershipDeckVstyle($key, 'audioR', $pid) : ''; $ownsAudE = getDeckInfoFromId($value, 'audioE') ? getOwnershipDeckVstyle($key, 'audioE', $pid) : ''; $ownsAudK = getDeckInfoFromId($value, 'audioK') ? getOwnershipDeckVstyle($key, 'audioK', $pid) : ''; //$ownsE = (isHKid($value) == FALSE ? getOwnershipDeckVstyle($key,'kanjiE',$pid) : ''); //$ownsH = (isHKid($value) == FALSE ? getOwnershipDeckVstyle($key,'kanjiH',$pid) : ''); if ($ownsRE == TRUE) { // If own this decks KanjiRE $clvRE = getSkill($sDeck . '_kanjiRE_lv', $pid); $percRE = $clvRE == 1 ? 0 : round($clvRE / $deckMxLv * 100, 0); $finRE = $percRE == 100 ? "success sparkley" : ($percRE <= 25 && $percRE != 0 ? "warning" : ($percRE == 0 ? "danger" : "")); //Style it based off their progress
onClick="buyVstyle('<?php echo $cvset; ?>','<?php echo getDeckInfo($cvset, 'id'); ?>','<?php echo $userID; ?>','gc', 'audioE')" > <a href="#2"> Audio Flashcards: Learn English. <span class="text-info">Click to buy for <?php echo getPrice('audioE', 'gc');?> Gold</span> </a> </li><?php }?> </li><!-- END MEDIUM AUDIO FLASHCARDS--> <!--***************HARD AUDIO MODE OWNED OR NOT OWNED*************--> <li><? if(getOwnershipDeckVstyle($cvset,'audioK',$userID)==TRUE && getDeckInfo($cvset, 'audioK')==1){?> <li role="presentation" class="<?php if($vstyle == 'audioK'){echo "";}?>" onClick="vsChange('vStyle','audioK')" > <a href="#3"> Audio Flashcards: Learn Kanji <span class="badge"><small><i>Lv.<?= $vsLvAHard; if($vsLvAHard==$mxDkLv){echo " (Max)";}?></i></small></span> </a> </li><? }else if(getOwnershipDeckVstyle($cvset,'audioK',$userID)==FALSE && getDeckInfo($cvset, 'audioK')==1){?> <li role="presentation" class="vsBuy" onClick="buyVstyle('<?php echo $cvset; ?>','<?php echo getDeckInfo($cvset, 'id'); ?>','<?php echo $userID; ?>','gc', 'audioK')" > <a href="#3"> Audio Flashcards: Learn Kanji. Click to buy <span class="text-default"><?php echo getPrice('audioK', 'gc');?> Gold </a> </li><?php }?> </li><!--END HARD MODE AUDIO--> </ul> </div>
<?php require 'shape.php'; function getPrice(shape $shape) { return $shape->getArea() * 0.25; } $rect = new rect(5, 7); $circ = new circle(5); echo getPrice($rect) . "\n"; echo getPrice($circ) . "\n";
// echo '<br>'; return $totalPrice; } } } //var_dump(getPrice(getBriefName($str,$briefName),$prodData,'444')); $path = '/Users/apple/Sites/calculate/1.csv'; $handle = fopen($path, 'r'); //echo $handle; while (!feof($handle)) { $result = fgetcsv($handle); //获取数据,把关键的第8,13,19,22,23,24项放进数组搞成新的 //8实际支付金额 13收货地址 19产品名称 22物流公司 23地址 24数量 //实际支付金额<400的话 //var_dump($result[8]); $briefName1 = getBriefName($result[19], $briefName); $realPrice = getPrice($briefName1, $prodData, $result[8], $result[24]); settype($result[8], 'float'); $money = $result[8] - $realPrice; $expPrice = getExpressPrice($result[22], $result[13], $exPrice); $giftPrice1 = getGiftPrice($briefName1, $productMatchGift, $giftPrice, $result[8]); $result1 = array($result[8], $result[13], $result[19], $result[22], $result[23], $result[24], $realPrice, $money, $expPrice, $giftPrice1); //print_r($result[8].' '.$result[13].' '.$result[19].' '.$result[22].' '.$result[23].' '.$result[24]); print_r('产品名' . $briefName1[0] . '售价' . $result[8] . ' ' . $result[22] . ' ' . $result[24] . '件 ' . $realPrice . ' ' . $expPrice . ' ' . $giftPrice1); //print_r($result); echo '<br />'; fputcsv($handle1, $result1); //print_r(count($result)); } fclose($handle1); fclose($handle);
private function getResultRates($r1, $r2) { $array = array(); if ($r1->getEndPeriod() <= $r2->getEndPeriod()) { $days = new DateInterval('P-1D'); $end = clone $r2->getStartPeriod(); $end->add($days); $array[] = new DRate($r1->getPrice(), $r1->getPeriod(), 1, $r1->getLine(), $r1->getStartPeriod(), $end); $array[] = new DRate($r1->getPrice(), $r1->getPeriod(), 1, $r1->getLine(), $r2->getStartPeriod(), $r1->getEndPeriod()); $array[] = new DRate($r2->getPrice(), $r2->getPeriod(), 1, $r2->getLine(), $r2->getStartPeriod(), $r1->getEndPeriod()); $start = clone $r1->getEndPeriod(); $days = clone 'P1D'; $start->add($days); $array[] = new DRate($r2 > getPrice(), $r2->getPeriod(), 1, $r2->getLine(), $start, $r2->getEndPeriod()); } if ($r1->getEndPeriod() > $r2->getEndPeriod()) { $days = new DateInterval('P-1D'); $end = clone $r2->getStartPeriod(); $end->add($days); $array[] = new DRate($r1->getPrice(), $r1->getPeriod(), 1, $r1->getLine(), $r1->getStartPeriod(), $end); $array[] = new DRate($r1->getPrice(), $r1->getPeriod(), 1, $r1->getLine(), $r2->getStartPeriod(), $r2->getEndPeriod()); $array[] = new DRate($r2->getPrice(), $r2->getPeriod(), 1, $r2->getLine(), $r2->getStartPeriod(), $r2->getEndPeriod()); $start = clone $r2->getEndPeriod(); $days = clone 'P1D'; $start->add($days); if ($start <= $r1->getEndPeriod()) { $array[] = new DRate($r1 > getPrice(), $r1->getPeriod(), 1, $r1->getLine(), $start, $r1->getEndPeriod()); } } return $array; }
<?php require_once '../includes/session-start.req-inc.php'; require_once '../functions/cart-functions.php'; require_once '../functions/dbconnect.php'; require_once '../Functions/utils-function.php'; require_once '../functions/category-functions.php'; require_once '../functions/products-functions.php'; if (isPostRequest()) { $clearcart = filter_input(INPUT_POST, 'clearcart'); if ($clearcart === 'clear') { $_SESSION['cart'] = null; } } else { startCart(); $total = 0.0; $checkoutProducts = array(); $items = getCart(); foreach ($items as $id) { $checkoutProducts[] = getProduct($id); $prices = getPrice($id); $total = $total + $prices['price']; } } include '../includes/checkout.html.php'; ?> <form method="post" action="#"> <button type="submit" name="clearcart" value="clear">Clear Cart</button> </form> </body> </html>
function getGuestData($guest, $prixPromo, $oldResa = "") { $guestData = array('nom' => $guest['nom'], 'prenom' => $guest['prenom'], 'is_icam' => 0, 'sexe' => guessSexe($guest['prenom']), 'repas' => getBoolIntValues('repas', $guest, $oldResa, $prixPromo['prixInvite']['repas']), 'buffet' => getBoolIntValues('buffet', $guest, $oldResa, $prixPromo['prixInvite']['buffet']), 'plage_horaire_entrees' => $guest['plage_horaire_entrees'], 'tickets_boisson' => intval($guest['tickets_boisson'])); if (!empty($oldResa['inscription'])) { $guestData['inscription'] = $oldResa['inscription']; } $guestData['price'] = getPrice($guestData, 'prixInvite', $prixPromo); return $guestData; }
echo site_url() . '/admin/art/index?art_id=' . $clipart['clipart_id']; ?> "><img style="width: 60px;" src="<?php echo $url_image->thumb; ?> " alt=""/></a> </td> <td><a target="_blank" href="http://store.9file.net/en/user/files/<?php echo $clipart['username']; ?> "><?php echo $clipart['username']; ?> </a></td> <td><?php echo getPrice($clipart['price']); ?> </td> </tr> <?php } ?> </tbody> </table> </div> </div> </div> </div> <!-- order info --> <div class="col-md-3">
$i = 1; if (count($Orders) > 0) { foreach ($Orders as $order) { $rowColor = $i % 2 != 0 ? '#dfdfdf' : '#eeeeee'; $rowColor1 = $i % 2 != 0 ? '#eeeeee' : '#f6f2f2'; $id = $order['id']; $order_id = $order['order_id']; $order_numer = $order['order_number']; //$date = date("m-d-Y h:m A", strtotime($order['created_date'])); $current_time = $order['created_date']; $datew = new DateTime($current_time, new DateTimeZone('America/New_York')); date_default_timezone_set('America/New_York'); $temp_times = date("Y-m-d h:iA", $datew->format('U')); $date = date("m-d-Y", strtotime($order['created_date'])) . ' ' . date("h:iA", strtotime("-180 minutes", strtotime($temp_times))); $customer = companyName($order['customer_company']); $price = getPrice($id); $tax_status = getTaxStatusChk($order['customer_company']); if ($tax_status == '1') { $tax_line = '8.875'; } else { $tax_line = '0'; } $tax = $tax_line * ($price[0]['sub_total'] / 100); $grand_tot = $price[0]['sub_total'] + $tax; ?> <tr class="trigger" id="<?php echo $id; ?> "> <td width="210" height="36" align="center" bgcolor="<?php
?> </i></small></span></a></li><?php } else { if (getOwnershipDeckVstyle($cvset, 'kanjiH', $userID) == FALSE && $cvset != 'hirkat' && $cvset != 'katakana') { ?> <li role="presentation" class="vsBuy" onClick="buyVstyle('<?php echo $cvset; ?> ','<?php echo getDeckInfo($cvset, 'id'); ?> ','<?php echo $userID; ?> ','dmd', 'kanjiH')" ><a href="#3">Buy <span class="label label-danger">Hard</span> Get Kanji, Guess Reading for <?php echo getPrice('kanjiH', 'dmd'); ?> DMD here!</a></li><?php } } ?> </ul> </div> </div> <div class="row"><?php include_once $_SERVER['DOCUMENT_ROOT'] . "/scripts/scriptprogress.php"; ?> </div> </div> <div class="container panel panel-<?php echo $vstyleBG;