function printElement($el, $indent = '') { if (strlen($indent) > 10) { var_dump('Recursed to deep, backing out'); return; } print $indent . $el->getName() . "\n"; foreach ($el->attributes() as $k => $v) { print $indent . $k . ' => ' . $v . "\n"; } foreach ($el->children() as $child) { printElement($child, $indent . ' '); } }
<?php while ($product_feedback_row = mysql_fetch_array($product_feedbacks_records)) { ?> <tr> <td align="center"><?php echo $page * $limit + $ct - $limit; ?> </td> <td align="left"><a href="view_product_feedback.php?feedback_id=<?php echo $product_feedback_row['nRId']; ?> "> <p class="cart_listingtbl"><?php printElement($product_feedback_row['product_name']); ?> </p> </a></td> <td align="center"><a href="view_product_feedback.php?feedback_id=<?php echo $product_feedback_row['nRId']; ?> "><p class="cart_listingtbl"><?php echo date("m/d/Y", strtotime($product_feedback_row['vDateAdded'])); ?> </p></a></td> <td align="left"><a href="view_product_feedback.php?feedback_id=<?php echo $product_feedback_row['nRId']; ?> "> <p class="cart_listingtbl"><?php
<div clasS="col-xs-12 nopadding"> <?php //Ottengo tutti i custom post type di Galleria About $args = array('post_type' => 'baa_gallerie', 'posts_per_page' => -1, 'tax_query' => array(array('taxonomy' => 'galleria_type', 'field' => 'slug', 'terms' => 'about'))); $posts = get_posts($args); ?> <!-- Slider main container --> <div class="swiper-container"> <!-- Additional required wrapper --> <div class="swiper-wrapper"> <!-- Slides --> <?php foreach ($posts as $post) { printElement($post); } ?> </div> <!-- If we need navigation buttons --> <?php if (count($posts) > 1) { ?> <div class="swiper-button-prev"></div> <div class="swiper-button-next"></div> <?php } ?>
<div clasS="col-xs-12 nopadding"> <?php //Ottengo tutti i custom post type di Galleria Project $args = array('post_type' => 'baa_gallerie', 'posts_per_page' => -1, 'tax_query' => array(array('taxonomy' => 'galleria_type', 'field' => 'slug', 'terms' => 'visit'))); $fields = get_posts($args); ?> <!-- Slider main container --> <div class="swiper-container"> <!-- Additional required wrapper --> <div class="swiper-wrapper"> <!-- Slides --> <?php foreach ($fields as $field) { printElement($field); } ?> </div> <!-- If we need navigation buttons --> <?php if (count($fields) > 1) { ?> <div class="swiper-button-prev"></div> <div class="swiper-button-next"></div> <?php } ?>
?> "> <img src="<?php echo $imageurl; ?> " width="132" height="126" alt="<?php printElement($prd_name); ?> " /> </a> <div class="home_catname"> <a href="<?php echo generalMethods::getProductdetailNavigationURL($row["product_id"], $page, $pagegroup); ?> "><?php printElement($prd_name_shot); ?> </a> <?php if ($row["eMadetoOrder"] != 'Y' && $display_product_price != 0) { ?> <div class="home_price"> <p>Price : <?php if ($discountprice != 0) { ?> <?php echo $currency_attributes[0]; ?> <?php echo $discountprice; ?> (<strike><?php
<tr> <td valign="middle" align="right"> <label><span class="required">*</span> Email</label></td> <td valign="top" align="left"> <input type="text" name="txtShippingEmail" value="<?php echo printElement($txtShippingEmail); ?> " size="30" maxlength="100" id="txtShippingEmail"> <!-- <label class="spclatnsion2">What is this</label> <p class="spclatnsion3" >Thsi is a small msgs</p>--> </td> </tr> <tr> <td valign="middle" align="right"> <label><span class="required">*</span> Phone</label></td> <td valign="top" align="left"> <input type="text" name="txtShippingPhone" value="<?php echo printElement($txtShippingPhone); ?> " size="20" maxlength="30" id="txtShippingPhone"> </td> </tr> </table> </div> </div> </div> </td> </tr> <tr> <td align="center" colspan="3" >
<div class="clear"></div> </div> <div class="clear"></div> </div> <div class="clear"></div> <div class="vendorprofileproducts"> <h2 class="link_style12"> <a href="javascript:void()" onclick="return showSelllerProduct('<?php echo $functionParam; ?> ','start')"><b>VIEW ALL PRODUCT MADE BY <?php /* printElement(strtoupper($txtArtistFullName)); */ printElement(strtoupper($txtCompany)); ?> </b></a></h2> <div class="clear"></div> </div> </div> <div class="clear"></div> </div> <div class="clear"></div> </div> <div class="clear"></div> <?php
<?php if (mysql_num_rows($orderResult) > 0) { ?> <?php while ($ordRow = mysql_fetch_array($orderResult)) { $orderTotal = $ordRow["total"]; $link = 'vieworder.php?orderid=' . $ordRow["order_id"]; ?> <tr> <td valign="top" align="left"><?php echo htmlentities($ordRow["order_id"]); ?> </td> <td valign="top" align="left"><?php echo printElement($ordRow["user_name"]); ?> </td> <td valign="top" align="left"><?php echo getOrderStatus($ordRow["order_id"]); ?> </td> <td valign="top" align="left"><?php echo dateFormat($ordRow["order_date"], "Y-m-d", "m/d/Y"); ?> </td> <td valign="top" align="left"><?php echo $adminSymbol; ?> <?php echo htmlentities(number_format($orderTotal, 2, '.', ''));
?> </p> </a></td> <td align="center"><a href="view_vendor_feedback.php?feedback_id=<?php echo $vendor_feedback_row['artist_feedback_id']; ?> "><p class="cart_listingtbl"><?php echo date("m/d/Y", strtotime($vendor_feedback_row['date_added'])); ?> </p></a></td> <td align="left"><a href="view_vendor_feedback.php?feedback_id=<?php echo $vendor_feedback_row['artist_feedback_id']; ?> "> <p class="cart_listingtbl"><?php printElement(strlen($vendor_feedback_row['feedback_content']) > 45 ? substr($vendor_feedback_row['feedback_content'], 0, 45) . "..." : $vendor_feedback_row['feedback_content']); ?> </p> </a></td> <td align="left" > <a class="cart_delete" href="list_vendor_feedbacks.php?feedback_id=<?php echo $vendor_feedback_row['artist_feedback_id']; ?> &delete_permanent=Y" id="delete" onclick ="return confirmDelete();">Delete</a> </td> </tr> <?php $ct++; ?> <?php }
<th align="center"><b>Discount</b></th> <th align="center"><b>Total</b></th> </tr> <?php //AND det.artist_id =".$row['artist_id']." $sqlDetailsRow = "SELECT det.product_name, det.product_price, det.product_quantity, det.product_discount, det.order_id, SUM( (\n det.product_price - ( det.product_price * det.product_discount /100 ) ) * det.product_quantity\n ) AS total\n FROM " . $tableprefix . "order_details det WHERE det.order_id =" . $row['order_id'] . " AND det.artist_id =" . $row['artist_id'] . " "; $resultDetailsRow = mysql_query($sqlDetailsRow) or die(mysql_error()); if (mysql_num_rows($resultDetailsRow) > 0) { while ($detailsRow = mysql_fetch_array($resultDetailsRow)) { ?> <tr> <td> <?php printElement($detailsRow['product_name']); ?> </td> <td align="center"> <?php echo $adminCurrency['currency_symbol']; ?> <?php echo number_format($detailsRow['product_price'], 2); ?> </td> <td align="center"> <?php echo $detailsRow['product_quantity']; ?> </td>
<p><?php printElement($feedBack); ?> </p> <div class="vendor_review_list_ftr"> <div class="rating"> <div class="rating_<?php echo GetSellerRatingStar($row['artist_feedback_id']); ?> "></div> </div> <div class="postedby"> By : <?php printElement($row['first_name'] . " " . $row['last_name']); ?> </div> <div class="clear"></div> </div> </div> <?php } } else { ?> <br> <p> No reviews posted .</p> <?php } ?> <div class="clear"></div>
<div class="prdct_img"> <a href="<?php echo generalMethods::getProductdetailNavigationURL($rw["product_id"], $page, $pagegroup); ?> "> <?php php; ?> <img src="<?php echo getProductImageUrl($product_id); ?> " alt="<?php printElement($productname); ?> " title="<?php echo printElement($productname); ?> " height="105" width="110"/> </a> </div> <div class="prdct_name"> <a href="<?php echo generalMethods::getProductdetailNavigationURL($rw["product_id"], $page, $pagegroup); ?> "> <?php echo htmlentities(stripslashes($productname)) . $discountstr . $optionsStr; ?> </a> </div> <div class="clear"></div>
//$statusimg = "tick.gif"; $changestatuslink = "ChangeStatus(".$row["product_id"].",'Y');"; }*/ $link1 = "<a style = 'cursor:pointer' href=\"#\" class='smalllink' onclick=\"{$changestatuslink}\">"; ?> <tr class="brdr_new"> <td><?php echo $page * $limit + $j - $limit; ?> </td> <td align="left"><?php echo stripslashes($row["product_name"]); ?> </td> <td align="left"><?php echo printElement($row["vendorname"]); ?> </td> <td><?php echo $adminCurrency['currency_symbol']; ?> <?php echo htmlentities($row["product_price"]); ?> </td> <td><?php echo htmlentities($row["discount"]); ?> </td> <td><?php echo htmlentities($row["category_name"]);
$cat_name = getProductPageLink("categorydetail.php", $currentCategory_id, stripslashes($prow['product_name'])); $cat_name1 = str_replace('->', '', $cat_name); $cat_name1 = getProductCategoryName($productid); ?> <li style="list-style: none"> <label> </label> <input type="hidden" id="sellerid" name="sellerid" value="<?php printElement($artistid); ?> "> <input type="hidden" id="seller_product_id" name="seller_product_id" value="<?php printElement($productid); ?> "> <input type="hidden" id="seller_productoption_id" name="seller_productoption_id" value="<?php printElement($productoptionid); ?> "> <input type="hidden" id="cat_name" name="cat_name" value="<?php echo $cat_name1; ?> "> <input name="btnContactSeller" id="btnContactSeller" type="button" value="Send" class="comm_btnpcm_blue" onclick="contactSellerMail()"> <input name="btnClose" id="btnClose" type="button" value="Close" class="comm_btnpcm_blue" onclick="contactSellerclose()"> </li> </ul> </div> <div class="clear"></div> </div> </div>
printElement($subject); ?> "> </li> <li style="list-style: none"> <label>Your Message*</label> <textarea name="txtMessage" id="txtMessage" cols="" rows=""><?php printElement($txtMessage); ?> </textarea> </li> <li style="list-style: none"> <label> </label> <input type="hidden" id="sellerid" name="sellerid" value="<?php printElement($artistid); ?> "> <input name="btnSendMessage" id="btnSendMessage" type="button" value="Send Message" class="comm_btnpcm_blue" onclick="sendMessageToSeller('<?php echo $functionParam; ?> ')"> </li> </ul> </div> <div class="clear"></div> </div> <div class="clear"></div> </div>
<div clasS="col-xs-12 nopadding"> <?php //Ottengo tutti i custom post type di Galleria Project $args = array('post_type' => 'baa_gallerie', 'posts_per_page' => -1, 'tax_query' => array(array('taxonomy' => 'galleria_type', 'field' => 'slug', 'terms' => 'project'))); $projects = get_posts($args); ?> <!-- Slider main container --> <div class="swiper-container"> <!-- Additional required wrapper --> <div class="swiper-wrapper"> <!-- Slides --> <?php foreach ($projects as $project) { printElement($project); } ?> </div> <!-- If we need navigation buttons --> <?php if (count($projects) > 1) { ?> <div class="swiper-button-prev"></div> <div class="swiper-button-next"></div> <?php } ?>
<?php } } ?> </ul> <?php } else { ?> <a href="<?php echo generalMethods::getCategorydetailNavigationURL($rowcategories["category_id"]); ?> " title="<?php printElement($rowcategories["category_name"]); ?> "><?php printElement($category_name); ?> </a> <?php } $rootflage1 = 0; ?> </li> <?php } } ?> <!--Select parent catgeory ends-->
>View 24</option> <option value="12" <?php if (isset($_REQUEST['txtPageLimit']) && $_REQUEST['txtPageLimit'] == 12) { echo "selected='selected'"; } ?> >View 12</option> </select> </div> <div class="pcm_searchnsort" style="float: right;"> <div class="pcm_search_cat"> <a href="javascript:void(0)" data-hint="Search products,within the selected category!" class="hint--left"> <input name="txtSearch" type="text" value="<?php echo printElement($txtSearch); ?> "> <input name="txtSearchBtn" type="button" onclick="clickSearch();"> </a> </div> <?php /*echo $showproductlisting;*/ ?> <select name="txtPriceSort" id='txtPriceSort' class="sortbox" onchange="clickSearch();"> <option value="">Sort by price</option> <option value="DESC" <?php if ($sortBy == 'DESC') { echo "selected='selected'"; } ?>
$sellerLink = SITE_URL . "/store/" . $row['artist_name']; } else { $sellerLink = SITE_URL . "/showportfolio.php?artistid=" . $row['artist_id']; } $displayName = $row["company"]; if ($displayName == "") { $displayName = $row["first_name"] . $row["last_name"]; } ?> <div class="seller_lst_wrap"> <h3><a href="<?php echo $sellerLink; ?> "> <?php printElement($displayName); ?> </a> </h3> <?php /* ?> <div class="image_div"> <a href="<?php echo $sellerLink; ?>"> <img src="./portfolios/<?php echo $foto; ?>" width="100" height="100"/></a> </div> <div class="sellerlst_content"> <div> <table width="88%" cellpadding="0" cellspacing="0"> <tr><td> <?php /* $desc = $row["artist_description"];