Exemplo n.º 1
0
function compareproducts()
{
    $product_vendor = $_POST['product_vendor'];
    $pv = explode(",", $product_vendor);
    $p1 = $pv[0];
    $v1 = $pv[1];
    $p2 = $pv[2];
    $v2 = $pv[3];
    DealCatalogHTML::compareproducts($p1, $v1, $p2, $v2);
}
Exemplo n.º 2
0
function couponsedit()
{
    $id = JRequest::getVar('id', 0, 'get', 'int');
    $db =& JFactory::getDBO();
    $cid = JRequest::getVar('cid', array(0), '', 'array');
    JArrayHelper::toInteger($cid, array(0));
    $id = $cid[0];
    $row =& JTable::getInstance('deal_coupons', 'Table');
    $row->load($id);
    DealCatalogHTML::couponsedit(&$row);
}