当前位置: 首页>>代码示例>>PHP>>正文


PHP vmJsApi::date方法代码示例

本文整理汇总了PHP中vmJsApi::date方法的典型用法代码示例。如果您正苦于以下问题:PHP vmJsApi::date方法的具体用法?PHP vmJsApi::date怎么用?PHP vmJsApi::date使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在vmJsApi的用法示例。


在下文中一共展示了vmJsApi::date方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: displayProductCustomfieldFE


//.........这里部分代码省略.........
                         if (VmConfig::get('stockhandle', 'none') == 'disableit_children' and $available <= 0) {
                             continue;
                         }
                         $parentStock += $available;
                         $priceStr = '';
                         if ($customfield->withPrices) {
                             //$product = $productModel->getProductSingle((int)$child['virtuemart_product_id'],false);
                             $productPrices = $calculator->getProductPrices($productChild);
                             $priceStr = ' (' . $currency->priceDisplay($productPrices['salesPrice']) . ')';
                         }
                         $options[] = array('value' => JRoute::_('index.php?option=com_virtuemart&view=productdetails&virtuemart_category_id=' . $virtuemart_category_id . '&virtuemart_product_id=' . $child['virtuemart_product_id']), 'text' => $child[$customfield->customfield_value] . $priceStr);
                         if ($selected == $child['virtuemart_product_id']) {
                             $selectedFound = true;
                             vmdebug($customfield->virtuemart_product_id . ' $selectedFound by vRequest ' . $selected);
                         }
                         //vmdebug('$child productId ',$child['virtuemart_product_id'],$customfield->customfield_value,$child);
                     }
                 }
                 if (!$selectedFound) {
                     $pos = array_search($customfield->virtuemart_product_id, $product->allIds);
                     if (isset($product->allIds[$pos - 1])) {
                         $selected = $product->allIds[$pos - 1];
                         //vmdebug($customfield->virtuemart_product_id.' Set selected to - 1 allIds['.($pos-1).'] = '.$selected.' and count '.$dynChilds);
                         //break;
                     } elseif (isset($product->allIds[$pos])) {
                         $selected = $product->allIds[$pos];
                         //vmdebug($customfield->virtuemart_product_id.' Set selected to allIds['.$pos.'] = '.$selected.' and count '.$dynChilds);
                     } else {
                         $selected = $customfield->virtuemart_product_id;
                         //vmdebug($customfield->virtuemart_product_id.' Set selected to $customfield->virtuemart_product_id ',$selected,$product->allIds);
                     }
                 }
                 $url = 'index.php?option=com_virtuemart&view=productdetails&virtuemart_category_id=' . $virtuemart_category_id . '&virtuemart_product_id=' . $selected;
                 $html .= JHtml::_('select.genericlist', $options, $fieldname, 'onchange="window.top.location.href=this.options[this.selectedIndex].value" size="1" class="vm-chzn-select" data-dynamic-update="1" ', "value", "text", JRoute::_($url, false), $idTag);
                 if ($customfield->parentOrderable == 0) {
                     if ($product->product_parent_id == 0) {
                         $product->orderable = FALSE;
                     } else {
                         $product->product_in_stock = $parentStock;
                     }
                 } else {
                 }
                 $dynChilds++;
                 $customfield->display = $html;
                 break;
                 /*Date variant*/
             /*Date variant*/
             case 'D':
                 if (empty($customfield->custom_value)) {
                     $customfield->custom_value = 'LC2';
                 }
                 //Customer selects date
                 if ($customfield->is_input) {
                     $customfield->display = '<span class="product_custom_date">' . vmJsApi::jDate($customfield->customfield_value, $customProductDataName) . '</span>';
                     //vmJsApi::jDate($field->custom_value, 'field['.$row.'][custom_value]','field_'.$row.'_customvalue').$priceInput;
                 } else {
                     $customfield->display = '<span class="product_custom_date">' . vmJsApi::date($customfield->customfield_value, $customfield->custom_value, TRUE) . '</span>';
                 }
                 break;
                 /* text area or editor No vmText, only displayed in BE */
             /* text area or editor No vmText, only displayed in BE */
             case 'X':
             case 'Y':
                 $customfield->display = $customfield->customfield_value;
                 break;
                 /* string or integer */
开发者ID:lenard112,项目名称:cms,代码行数:67,代码来源:customfields.php

示例2:

">
					<td align="left">
						<a href="<?php 
        echo $editlink;
        ?>
" rel="nofollow"><?php 
        echo $row->order_number;
        ?>
</a>
						<?php 
        echo shopFunctionsF::getInvoiceDownloadButton($row);
        ?>
					</td>
					<td align="left">
						<?php 
        echo vmJsApi::date($row->created_on, 'LC4', true);
        ?>
					</td>
					<!--td align="left">
						<?php 
        //echo vmJsApi::date($row->modified_on,'LC3',true);
        ?>
					</td -->
					<td align="left">
						<?php 
        echo shopFunctionsF::getOrderStatusName($row->order_status);
        ?>
					</td>
					<td align="left">
						<?php 
        echo $this->currency->priceDisplay($row->order_total, $row->currency);
开发者ID:chaudhary4k4,项目名称:modernstore,代码行数:31,代码来源:list.php

示例3: foreach

?>
</th>
					<th><?php 
echo vmText::_('COM_VIRTUEMART_ORDER_LIST_STATUS');
?>
</th>
					<th><?php 
echo vmText::_('COM_VIRTUEMART_COMMENT');
?>
</th>
				</tr>
			</thead>
			<?php 
foreach ($this->orderdetails['history'] as $this->orderbt_event) {
    echo "<tr >";
    echo "<td class='key'>" . vmJsApi::date($this->orderbt_event->created_on, 'LC2', true) . "</td>\n";
    if ($this->orderbt_event->customer_notified == 1) {
        echo '<td align="center">' . vmText::_('COM_VIRTUEMART_YES') . '</td>';
    } else {
        echo '<td align="center">' . vmText::_('COM_VIRTUEMART_NO') . '</td>';
    }
    if (!isset($this->orderstatuslist[$this->orderbt_event->order_status_code])) {
        if (empty($this->orderbt_event->order_status_code)) {
            $this->orderbt_event->order_status_code = 'unknown';
        }
        $this->orderstatuslist[$this->orderbt_event->order_status_code] = vmText::_('COM_VIRTUEMART_UNKNOWN_ORDER_STATUS');
    }
    echo '<td align="center">' . $this->orderstatuslist[$this->orderbt_event->order_status_code] . '</td>';
    echo "<td>" . $this->orderbt_event->comments . "</td>\n";
    echo "</tr>\n";
}
开发者ID:virtuemart-fr,项目名称:virtuemart-fr,代码行数:31,代码来源:order.php

示例4: foreach

</th>
		<th align="left" ><?php 
echo JText::_('COM_VIRTUEMART_ORDER_COMMENT');
?>
</th>
	</tr>
<?php 
foreach ($this->orderdetails['history'] as $_hist) {
    if (!$_hist->customer_notified) {
        continue;
    }
    ?>
		<tr valign="top">
			<td align="left">
				<?php 
    echo vmJsApi::date($_hist->created_on, 'LC2', true);
    ?>
			</td>
			<td align="left" >
				<?php 
    echo $this->orderstatuses[$_hist->order_status_code];
    ?>
			</td>
			<td align="left" >
				<?php 
    echo $_hist->comments;
    ?>
			</td>
		</tr>
<?php 
}
开发者ID:jputz12,项目名称:OneNow-Vshop,代码行数:31,代码来源:details_history.php

示例5: array

        ?>
			<tr class="row<?php 
        echo $i % 2;
        ?>
">
				<!-- Checkbox -->
				<td><?php 
        echo $checked;
        ?>
</td>
				<!-- Username + time -->
				<?php 
        $link = 'index.php?option=' . $option . '&view=ratings&task=edit_review&virtuemart_rating_review_id=' . $review->virtuemart_rating_review_id;
        ?>
				<td><?php 
        echo JHTML::_('link', $link, $review->customer . ' (' . vmJsApi::date($review->created_on, 'LC2', true) . ')', array("title" => JText::_('COM_VIRTUEMART_RATING_EDIT_TITLE')));
        ?>
</td>
				<!-- Product name TODO Add paren_id in LINK ? not existing here -->
				<?php 
        $link = 'index.php?option=' . $option . '&view=product&task=edit&virtuemart_product_id=' . $review->virtuemart_product_id;
        ?>
				<td><?php 
        echo JHTML::_('link', JRoute::_($link), $review->product_name, array('title' => JText::_('COM_VIRTUEMART_EDIT') . ' ' . $review->product_name));
        ?>
</td>
				<!-- Stars rating -->
				<td align="center">
					
					<?php 
        // echo JHTML::_('image', JURI::root().'/components/com_virtuemart/assets/images/stars/'.round($review->vote).'.gif',$review->vote,array("title" => (JText::_('COM_VIRTUEMART_RATING_TITLE').' : '. $review->vote . ' :: ' . $this->max_rating)));
开发者ID:Gskflute,项目名称:joomla25,代码行数:31,代码来源:list_reviews.php

示例6: count

AdminUIHelper::startAdminArea($this);
/* Load some variables */
$rows = count($this->report);
$intervalTitle = vRequest::getVar('intervals', 'day');
if ($intervalTitle == 'week' or $intervalTitle == 'month') {
    $addDateInfo = true;
} else {
    $addDateInfo = false;
}
//JHtml::_('behavior.framework', true);
?>

<form action="index.php" method="post" name="adminForm" id="adminForm">
    <div id="header">
        <h2><?php 
echo vmText::sprintf('COM_VIRTUEMART_REPORT_TITLE', vmJsApi::date($this->from_period, 'LC', true), vmJsApi::date($this->until_period, 'LC', true));
?>
</h2>
        <div id="filterbox">

            <table>
                <tr>
                    <td align="left" width="100%">
						<?php 
echo vmText::_('COM_VIRTUEMART_ORDERSTATUS') . $this->lists['state_list'];
?>

						<?php 
echo vmText::_('COM_VIRTUEMART_REPORT_INTERVAL') . $this->lists['intervals'];
?>
开发者ID:brenot,项目名称:forumdesenvolvimento,代码行数:30,代码来源:default.php

示例7: displayProductCustomfieldFE


//.........这里部分代码省略.........
                             if (is_numeric($rd) and is_numeric($elem)) {
                                 $text = number_format(round((double) $elem, (int) $rd), $rd);
                             }
                             //vmdebug('($dropdowns[$k] in DIMENSION value = '.$elem.' r='.$rd.' '.$text);
                         } else {
                             if ($soption->voption === 'clabels' and $soption->clabel != '') {
                                 $text = vmText::_($elem);
                             }
                         }
                         if ($elem == '0') {
                             $text = vmText::_('COM_VIRTUEMART_LIST_EMPTY_OPTION');
                         }
                         $options[] = array('value' => $elem, 'text' => $text);
                         if ($productSelection and $productSelection[$k] == $elem) {
                             $selected = $elem;
                         }
                     }
                     if (empty($selected)) {
                         $product->orderable = false;
                     }
                     $idTagK = $idTag . 'cvard' . $k;
                     if ($customfield->showlabels) {
                         if (in_array($soption->voption, self::$dimensions)) {
                             $soption->slabel = vmText::_('COM_VIRTUEMART_' . strtoupper($soption->voption));
                         } else {
                             if (!empty($soption->clabel) and !in_array($soption->voption, self::$dimensions)) {
                                 $soption->slabel = vmText::_($soption->clabel);
                             }
                         }
                         if (isset($soption->slabel)) {
                             $html .= '<span class="vm-cmv-label" >' . $soption->slabel . '</span>';
                         }
                     }
                     $attribs = array('class' => 'vm-chzn-select cvselection no-vm-bind', 'data-dynamic-update' => '1');
                     if ('productdetails' != vRequest::getCmd('view')) {
                         $attribs['reload'] = '1';
                     }
                     $html .= JHtml::_('select.genericlist', $options, $fieldname, $attribs, "value", "text", $selected, $idTagK);
                     $tags[] = $idTagK;
                 }
                 $Itemid = vRequest::getInt('Itemid', '');
                 // '&Itemid=127';
                 if (!empty($Itemid)) {
                     $Itemid = '&Itemid=' . $Itemid;
                 }
                 //create array for js
                 $jsArray = array();
                 $url = '';
                 foreach ($customfield->options as $product_id => $variants) {
                     $url = JRoute::_('index.php?option=com_virtuemart&view=productdetails&virtuemart_category_id=' . $virtuemart_category_id . '&virtuemart_product_id=' . $product_id . $Itemid);
                     $jsArray[] = '["' . $url . '","' . implode('","', $variants) . '"]';
                 }
                 vmJsApi::addJScript('cvfind', false, false);
                 $jsVariants = implode(',', $jsArray);
                 $j = "\n\t\t\t\t\t\tjQuery('#" . implode(',#', $tags) . "').off('change',Virtuemart.cvFind);\n\t\t\t\t\t\tjQuery('#" . implode(',#', $tags) . "').on('change', { variants:[" . $jsVariants . "] },Virtuemart.cvFind);\n\t\t\t\t\t";
                 $hash = md5(implode('', $tags));
                 vmJsApi::addJScript('cvselvars' . $hash, $j, false);
                 //Now we need just the JS to reload the correct product
                 $customfield->display = $html;
                 break;
             case 'A':
                 $html = '';
                 //if($selectedFound) continue;
                 $options = array();
                 $productModel = VmModel::getModel('product');
                 //Note by Jeremy Magne (Daycounts) 2013-08-31
开发者ID:proyectoseb,项目名称:Matrix,代码行数:67,代码来源:customfields.php

示例8: array

        ?>
			<tr class="row<?php 
        echo $i % 2;
        ?>
">
				<!-- Checkbox -->
				<td><?php 
        echo $checked;
        ?>
</td>
				<!-- Username + time -->
				<?php 
        $link = 'index.php?option=' . $option . '&view=ratings&task=edit_review&tsmart_rating_review_id=' . $review->tsmart_rating_review_id;
        ?>
				<td><?php 
        echo JHtml::_('link', $link, $review->customer . ' (' . vmJsApi::date($review->created_on, 'LC2', true) . ')', array("title" => tsmText::_('com_tsmart_RATING_EDIT_TITLE')));
        ?>
</td>
				<!-- Product name TODO Add paren_id in LINK ? not existing here -->
				<?php 
        $link = 'index.php?option=' . $option . '&view=product&task=edit&tsmart_product_id=' . $review->tsmart_product_id;
        ?>
				<td><?php 
        echo JHtml::_('link', JRoute::_($link), $review->product_name, array('title' => tsmText::_('com_tsmart_EDIT') . ' ' . htmlentities($review->product_name)));
        ?>
</td>
				<!-- Stars rating -->
				<td align="center">
					
					<?php 
        // echo JHtml::_('image', JURI::root().'/components/com_tsmart/assets/images/stars/'.round($review->vote).'.gif',$review->vote,array("title" => (vmText::_('com_tsmart_RATING_TITLE').' : '. $review->vote . ' :: ' . $this->max_rating)));
开发者ID:cuongnd,项目名称:etravelservice,代码行数:31,代码来源:list_reviews.php

示例9: foreach

echo JText::_('COM_VIRTUEMART_ORDER_LIST_STATUS');
?>
			</div>
			<div class="col-md-3 span3">
			<?php 
echo JText::_('COM_VIRTUEMART_COMMENT');
?>
			</div>
		</div>
			<?php 
foreach ($this->orderdetails['history'] as $this->orderbt_event) {
    ?>
<div class="row-fluid"><?php 
    ?>
 <div class="col-md-3 span3"> <?php 
    echo vmJsApi::date($this->orderbt_event->created_on, 'LC2', true) . "\n";
    ?>
</div><?php 
    if ($this->orderbt_event->customer_notified == 1) {
        echo '<div class="col-md-3 span3">' . JText::_('COM_VIRTUEMART_YES') . '</div>';
    } else {
        echo '<div class="col-md-3 span3">' . JText::_('COM_VIRTUEMART_NO') . '</div>';
    }
    if (!isset($this->orderstatuslist[$this->orderbt_event->order_status_code])) {
        if (empty($this->orderbt_event->order_status_code)) {
            $this->orderbt_event->order_status_code = 'unknown';
        }
        $_orderStatusList[$this->orderbt_event->order_status_code] = JText::_('COM_VIRTUEMART_UNKNOWN_ORDER_STATUS');
    }
    echo '<div class="col-md-3 span3">' . $this->orderstatuslist[$this->orderbt_event->order_status_code] . '</div>';
    echo '<div class="col-md-3 span3">' . $this->orderbt_event->comments . "</div>\n";
开发者ID:aldegtyarev,项目名称:stelsvelo,代码行数:31,代码来源:default_details.php

示例10: displayProductCustomfieldFE


//.........这里部分代码省略.........
                        													}).children("span:not(:nth-child(3))").hide()
                        															.parent().children("span::nth-child(3)").css({
                        																margin: "0px 0px 0px 0px",
                        																width: "auto",
                        																float: 	"left"
                        															});
                        										
                        									addToCartButtonClassName = addToCartBar.attr("class");
                        									
                        									addToCartBar.removeClass(addToCartButtonClassName)
                        												.addClass(addToCartButtonClassName + "-disabled")
                        												.attr({
                        														disabled: "disabled",
                        														value: 	"'.JText::_('COM_VIRTUEMART_ADDTOCART_CHOOSE_VARIANT').'",
                        													});						
                        									}); 
                        							');
                        						}*/
                    }
                    return $html;
                    break;
                    /* variants*/
                /* variants*/
                case 'V':
                    if ($price == 0) {
                        $price = JText::_('COM_VIRTUEMART_CART_PRICE_FREE');
                    }
                    /* Loads the product price details */
                    return '<input type="text" value="' . JText::_($value) . '" name="field[' . $row . '][custom_value]" /> ' . JText::_('COM_VIRTUEMART_CART_PRICE') . $price . ' ';
                    break;
                    /*Date variant*/
                /*Date variant*/
                case 'D':
                    return '<span class="product_custom_date">' . vmJsApi::date($value, 'LC1', TRUE) . '</span>';
                    //vmJsApi::jDate($field->custom_value, 'field['.$row.'][custom_value]','field_'.$row.'_customvalue').$priceInput;
                    break;
                    /* text area or editor No JText, only displayed in BE */
                /* text area or editor No JText, only displayed in BE */
                case 'X':
                case 'Y':
                    return $value;
                    break;
                    /* string or integer */
                /* string or integer */
                case 'S':
                case 'I':
                    return JText::_($value);
                    break;
                    /* bool */
                /* bool */
                case 'B':
                    if ($value == 0) {
                        return JText::_('COM_VIRTUEMART_NO');
                    }
                    return JText::_('COM_VIRTUEMART_YES');
                    break;
                    /* parent */
                /* parent */
                case 'P':
                    return '<span class="product_custom_parent">' . JText::_($value) . '</span>';
                    break;
                    /* related */
                /* related */
                case 'R':
                    $q = 'SELECT l.`product_name`, p.`product_parent_id` , l.`product_name`, x.`virtuemart_category_id` FROM `#__virtuemart_products_' . VMLANG . '` as l
					 JOIN `#__virtuemart_products` AS p using (`virtuemart_product_id`)
开发者ID:srbsnkr,项目名称:sellingonlinemadesimple,代码行数:67,代码来源:customfields.php

示例11:

        ?>
<br />
                <?php 
        echo '<input type="input" title="Smerovací číslo" name="orders[' . $key . '][zip_code]" value="' . $order->zip_code . '"' . $disabled . '>';
        ?>
<br />
            </td>

		<!-- Payment method -->
			<td><?php 
        echo $order->payment_method;
        ?>
</td>			
		<!-- Order date -->
			<td><?php 
        echo vmJsApi::date($order->created_on, 'LC4', true);
        ?>
</td>					
		<!-- Status -->
			<td style="position:relative;">	
				<?php 
        echo $order->order_status;
        ?>
	
			</td>			
			
		<!-- Total -->
			<td><?php 
        echo $order->order_total;
        ?>
</td>			
开发者ID:Zasilkovna,项目名称:virtuemart3-joomla2,代码行数:31,代码来源:default_export.php

示例12: defined

<?php
/** 
 * details_orders file view orders in com_virtuemart for Template
 * @package    Getshopped
 * @subpackage Template
 * @author Das Infomedia.
 * @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
 */
 // no direct access
defined('_JEXEC') or die('Restricted access');
?>
   <p class="order-date"><?php echo JText::_('COM_VIRTUEMART_ORDER_PRINT_PO_DATE') ?> : <?php echo vmJsApi::date($this->orderdetails['details']['BT']->created_on, 'LC4', true); ?>
   </p>
   
   <div class="col2-set order-info-box">
         <div class="col-md-6">
      <div class="box">
        <div class="box-title">
         <h3><?php echo JText::_('COM_VIRTUEMART_ORDER_PRINT_SHIP_TO_LBL') ?></h3>
         </div> 
      <table class="detail_order_table" border="0">
        <?php
	    foreach ($this->shipmentfields['fields'] as $field) {
		if (!empty($field['value'])) {
		    echo '<tr><td class="key">' . $field['title'] . '</td>'
		    . '<td>' . $field['value'] . '</td></tr>';
		}
	    }
	    ?>
      </table>
      </div>
开发者ID:sergy444,项目名称:joomla,代码行数:31,代码来源:details_order.php

示例13: foreach

    $i = 0;
    $keyword = JRequest::getWord('keyword');
    foreach ($this->ratingslist as $key => $review) {
        $checked = JHTML::_('grid.id', $i, $review->virtuemart_rating_id);
        $published = $this->toggle($review->published, $i, 'published');
        ?>
				<tr >
					<!-- Checkbox -->
					<td><?php 
        echo $checked;
        ?>
</td>
					<!-- Username + time -->
					<td>
					<?php 
        echo $this->editLink($review->virtuemart_product_id, vmJsApi::date($review->created_on, 'LC2', true), 'virtuemart_product_id', array("title" => JText::_('COM_VIRTUEMART_RATING_EDIT_TITLE')), null, 'listreviews');
        ?>
					</td>
					<!-- Product edit link -->
					<td>
						<?php 
        echo $this->editLink($review->virtuemart_product_id, $review->product_name, 'virtuemart_product_id', array('class' => 'hasTooltip', 'title' => JText::_('COM_VIRTUEMART_EDIT') . ' ' . $review->product_name, 'product'));
        ?>
					</td>
					<!-- Stars rating -->
					<td align="center">
						
						<?php 
        // Rating Stars output
        $maxrating = VmConfig::get('vm_maximum_rating_scale', 5);
        $ratingwidth = round($review->rating) * 24;
开发者ID:denis1001,项目名称:Virtuemart-2-Joomla-3-Bootstrap,代码行数:31,代码来源:default_results.php

示例14:

             <span><a href="<?php echo $editlink; ?>"><?php echo $row->order_number; ?></a></span>
            </p>
            <p>
              <span><?php echo JText::_('COM_VIRTUEMART_ORDER_LIST_CDATE'); ?>: </span>
              <span><?php echo vmJsApi::date($row->created_on,'LC4',true); ?></span>
            </p>
             <p>
              <span><?php echo JText::_('COM_VIRTUEMART_ORDER_LIST_STATUS'); ?>: </span>
              <span><?php echo ShopFunctions::getOrderStatusName($row->order_status); ?></span>
            </p>
             <p>
              <span><?php echo JText::_('COM_VIRTUEMART_ORDER_LIST_TOTAL'); ?>: </span>
              <span><span class="price"><?php echo $this->currency->priceDisplay($row->order_total, $row->currency); ?></span></span>
            </p>
           </td>
         </tr>   
      <tr class="<?php echo "row$k"; ?> for-desktop even">
        <td align="left"><a href="<?php echo $editlink; ?>"><?php echo $row->order_number; ?></a></td>
        <td align="left"><?php echo vmJsApi::date($row->created_on,'LC4',true); ?></td>
        <td align="left"><?php echo ShopFunctions::getOrderStatusName($row->order_status); ?></td>
        <td class="a-right"><span class="price"><?php echo $this->currency->priceDisplay($row->order_total, $row->currency); ?></span></td>
      </tr>
      <?php
			$k = 1 - $k;
		}
	?>
    </table>
  </div>
  <?php } ?>
</div>
开发者ID:sergy444,项目名称:joomla,代码行数:30,代码来源:list.php

示例15:

            $invoice_link .= '<span class="hasTip invoice_32" title="' . JText::_('COM_VIRTUEMART_INVOICE') . '"></span></a>';
        }
        ?>
			<td><?php 
        echo $print_link;
        echo $invoice_link;
        ?>
</td>
			<!-- Order date -->
			<td><?php 
        echo vmJsApi::date($order->created_on, 'LC2', true);
        ?>
</td>
			<!-- Last modified -->
			<td><?php 
        echo vmJsApi::date($order->modified_on, 'LC2', true);
        ?>
</td>
			<!-- Status -->
			<td style="position:relative;">
	<?php 
        echo JHTML::_('select.genericlist', $this->orderstatuses, "orders[" . $order->virtuemart_order_id . "][order_status]", '', 'order_status_code', 'order_status_name', $order->order_status, 'order_status' . $i, true);
        ?>
			    <input type="hidden" name="orders[<?php 
        echo $order->virtuemart_order_id;
        ?>
][current_order_status]" value="<?php 
        echo $order->order_status;
        ?>
" />
			    <br />
开发者ID:srbsnkr,项目名称:sellingonlinemadesimple,代码行数:31,代码来源:orders.php


注:本文中的vmJsApi::date方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。