$review = $lsm->getResponseContent();
if (!$review || (int) $lsm->getResponseStatus() != 200) {
    Util::getTemplate('500.php');
    return;
}
Util::getHeader();
if (DEBUG_API_CALLS) {
    echo "<pre class='debug'>";
    var_dump($review);
    echo "</pre>";
}
?>

<!-- Page Heading -->
<div class="row">
    <div class="col-lg-12">
        <h1 class="page-header">Review Created Successfully</h1>
    </div>  
</div>

 <div class="row">
    <div class="col-md-12">
        <?php 
$review->partnerID = $PartnerReview->partnerID;
echo ApiLinks::linksToHtml($review);
?>
    </div>
</div>  

<?php 
Util::getFooter();
Exemplo n.º 2
0
$status = (int) $lsm->getResponseStatus();
if (!$response || $status < 200 || $status > 204 || @(!$response->isSuccess)) {
    Util::getTemplate('500.php');
    return;
}
Util::getHeader();
if (DEBUG_API_CALLS) {
    echo "<pre class='debug'>";
    var_dump($response);
    echo "</pre>";
}
?>
<div class="row">
    <div class="col-lg-12">
        <h1 class="page-header">Order Successfully Marked As Shipped</h1>
    </div>
</div>


<div class="row">
    <div class="col-lg-12">
        <?php 
//force our system to use the current product ID as the product ID in question
$response->orderID = (int) $_REQUEST['q'];
echo ApiLinks::linksToHtml($response);
?>
    </div>
</div>

<?php 
Util::getFooter();
Exemplo n.º 3
0
echo $partner->contactName;
?>
">
            </div>

            <div class="form-group">
                <input type="email" class="form-control" placeholder="Email" name="email" disabled value="<?php 
echo $partner->email;
?>
">
            </div>

            <div class="form-group">
                <input type="tel" class="form-control" placeholder="Phone" name="phone" disabled value="<?php 
echo $partner->phone;
?>
">
            </div>
    </div>
</div>

<div class="row">
    <div class="col-lg-12">
        <?php 
echo ApiLinks::linksToHtml($partner);
?>
    </div>
</div>

<?php 
Util::getFooter();
                <a href="<?php 
    echo $product->link[0]->url;
    ?>
">
                    <img class="img-responsive" src="http://placehold.it/700x300" alt="">
                </a>
            </div>
            <div class="col-md-5">
                <h3><?php 
    echo $product->productName;
    ?>
</h3>
                <h4>$<?php 
    echo money_format('%i', $product->price);
    ?>
</h4>
                <p><?php 
    echo $product->description;
    ?>
</p>
                <?php 
    echo ApiLinks::linksToHtml($product);
    ?>
            </div>
            <div class="clearfix"></div>
        </div>

        <?php 
}
//foreach products as product
Util::getFooter();
Exemplo n.º 5
0
echo date("Y/d/m H:i:s", $order->datePurchased);
?>
</p>
        <?php 
if ($order->dateRefunded) {
    ?>
            <p><strong>Refunded:</strong> <?php 
    echo date("Y/d/m H:i:s", $order->dateRefunded);
    ?>
</p>
            <?php 
}
if ($orderStatus == "Shipped") {
    ?>
            <p><strong>Tracking Number:</strong> <?php 
    echo $order->trackingNumber;
    ?>
</p>
            <?php 
}
?>

        <?php 
echo ApiLinks::linksToHtml($order);
?>
        
    </div>
</div>  

<?php 
Util::getFooter();
Exemplo n.º 6
0
echo $customer->lastName;
?>
">
            </div>

            <div class="form-group">
                <input type="email" class="form-control" placeholder="Email" name="email" disabled value="<?php 
echo $customer->email;
?>
">
            </div>

            <div class="form-group">
                <input type="tel" class="form-control" placeholder="Phone" name="phone" disabled value="<?php 
echo $customer->phone;
?>
">
            </div>
    </div>
</div>

<div class="row">
    <div class="col-lg-12">
        <?php 
echo ApiLinks::linksToHtml($customer);
?>
    </div>
</div>

<?php 
Util::getFooter();
Exemplo n.º 7
0
                        </tr>
                        <?php 
    }
}
?>
            </tbody>
            <tfoot>
                <tr>
                    <th>Prod ID</th>
                    <th>Qty</th>
                    <th>Cost</th>
                    <th>Price</th>
                    <th>Total Cost</th>
                    <th>Total Price</th>
                    <th>Total Profit</th>
                </tr>
            </tfoot>            
        </table>
    </div>
</div>

<div class="row">
    <div class="col-lg-12">
        <?php 
echo ApiLinks::linksToHtml($report);
?>
    </div>
</div>

<?php 
Util::getFooter();