Annotation of /com_supacart/trunk/admin_files/html/product.product_list.php
Parent Directory
|
Revision Log
Revision 4 - (view) (download)
| 1 : | andphe | 4 | <?php |
| 2 : | defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); | ||
| 3 : | /** | ||
| 4 : | * | ||
| 5 : | * @version $Id: product.product_list.php 777 2007-03-21 08:08:26Z soeren_nb $ | ||
| 6 : | * @package SupaCart | ||
| 7 : | * @subpackage html | ||
| 8 : | * See COPYRIGHT.php for copyright notices and details. | ||
| 9 : | * @license GNU/GPL Version 2, see LICENSE.php | ||
| 10 : | * SupaCart is free software, originally derived from Virtuemart. This version may have been modified pursuant | ||
| 11 : | * to the GNU General Public License, and as distributed it includes or | ||
| 12 : | * is derivative of works licensed under the GNU General Public License or | ||
| 13 : | * other free or open source software licenses. | ||
| 14 : | * See /administrator/components/com_supacart/COPYRIGHT.php for copyright notices and details. | ||
| 15 : | * | ||
| 16 : | * http://www.supacart.com | ||
| 17 : | */ | ||
| 18 : | mm_showMyFileName( __FILE__ ); | ||
| 19 : | global $ps_product, $ps_product_category; | ||
| 20 : | |||
| 21 : | $keyword = mosgetparam($_REQUEST, 'keyword' ); | ||
| 22 : | $vendor = mosgetparam($_REQUEST, 'vendor', ''); | ||
| 23 : | $product_parent_id = mosgetparam($_REQUEST, 'product_parent_id', null); | ||
| 24 : | $category_id = mosgetparam($_REQUEST, 'category_id', null); | ||
| 25 : | $product_type_id = mosgetparam($_REQUEST, 'product_type_id', null); // Changed Product Type | ||
| 26 : | $search_date = mosgetparam($_REQUEST, 'search_date', null); // Changed search by date | ||
| 27 : | |||
| 28 : | $now = getdate(); | ||
| 29 : | $nowstring = $now["hours"].":".$now["minutes"]." ".$now["mday"].".".$now["mon"].".".$now["year"]; | ||
| 30 : | if(isset($_REQUEST['search_order']) && @$_REQUEST['search_order'] == '<') { | ||
| 31 : | $search_order = '<'; | ||
| 32 : | } | ||
| 33 : | else { | ||
| 34 : | $search_order = '>'; | ||
| 35 : | } | ||
| 36 : | $search_type = mosGetParam($_REQUEST, 'search_type', 'product'); | ||
| 37 : | |||
| 38 : | require_once( CLASSPATH . "pageNavigation.class.php" ); | ||
| 39 : | require_once( CLASSPATH . "htmlTools.class.php" ); | ||
| 40 : | |||
| 41 : | ?> | ||
| 42 : | <div align="right"> | ||
| 43 : | |||
| 44 : | <form style="float:right;" action="<?php $_SERVER['PHP_SELF'] ?>" method="get"><?php echo $VM_LANG->_PHPSHOP_PRODUCT_LIST_SEARCH_BY_DATE ?> | ||
| 45 : | <select class="inputbox" name="search_type"> | ||
| 46 : | <option value="product"><?php echo $VM_LANG->_PHPSHOP_PRODUCT_LIST_SEARCH_BY_DATE_TYPE_PRODUCT ?></option> | ||
| 47 : | <option value="price" <?php echo $search_type == "price" ? 'selected="selected"' : ''; ?>><?php echo $VM_LANG->_PHPSHOP_PRODUCT_LIST_SEARCH_BY_DATE_TYPE_PRICE ?></option> | ||
| 48 : | <option value="withoutprice" <?php echo $search_type == "withoutprice" ? 'selected="selected"' : ''; ?>><?php echo $VM_LANG->_PHPSHOP_PRODUCT_LIST_SEARCH_BY_DATE_TYPE_WITHOUTPRICE ?></option> | ||
| 49 : | </select> | ||
| 50 : | <select class="inputbox" name="search_order"> | ||
| 51 : | <option value="<"><?php echo $VM_LANG->_PHPSHOP_PRODUCT_LIST_SEARCH_BY_DATE_BEFORE ?></option> | ||
| 52 : | <option value=">" <?php echo $search_order == ">" ? 'selected="selected"' : ''; ?>><?php echo $VM_LANG->_PHPSHOP_PRODUCT_LIST_SEARCH_BY_DATE_AFTER ?></option> | ||
| 53 : | </select> | ||
| 54 : | <input type="hidden" name="option" value="com_supacart" /> | ||
| 55 : | <input class="inputbox" type="text" size="15" name="search_date" value="<?php echo mosgetparam($_REQUEST, 'search_date', $nowstring) ?>" /> | ||
| 56 : | <input type="hidden" name="page" value="product.product_list" /> | ||
| 57 : | <input class="button" type="submit" name="search" value="<?php echo $VM_LANG->_PHPSHOP_SEARCH_TITLE?>" /> | ||
| 58 : | <br/> | ||
| 59 : | <select class="inputbox" id="category_id" name="category_id" onchange="window.location='<?php echo $_SERVER['PHP_SELF'] ?>?option=com_supacart&page=product.product_list&category_id='+document.getElementById('category_id').options[selectedIndex].value;"> | ||
| 60 : | <option value=""><?php echo $VM_LANG->_SEL_CATEGORY ?></option> | ||
| 61 : | <?php | ||
| 62 : | $ps_product_category->list_tree( $category_id ); | ||
| 63 : | ?> | ||
| 64 : | </select> | ||
| 65 : | </form> | ||
| 66 : | <br/> | ||
| 67 : | </div> | ||
| 68 : | <?php | ||
| 69 : | |||
| 70 : | if (!$perm->check("admin")) { | ||
| 71 : | $q = "SELECT vendor_id FROM #__{sc}_auth_user_vendor WHERE user_id='".$auth['user_id']."'"; | ||
| 72 : | $db->query( $q ); | ||
| 73 : | $db->next_record(); | ||
| 74 : | $vendor = $db->f("vendor_id"); | ||
| 75 : | } | ||
| 76 : | |||
| 77 : | $search_sql = " (#__{sc}_product.product_name LIKE '%$keyword%' OR \n"; | ||
| 78 : | $search_sql .= "#__{sc}_product.product_sku LIKE '%$keyword%' OR \n"; | ||
| 79 : | $search_sql .= "#__{sc}_product.product_s_desc LIKE '%$keyword%' OR \n"; | ||
| 80 : | $search_sql .= "#__{sc}_product.product_desc LIKE '%$keyword%'"; | ||
| 81 : | $search_sql .= ") \n"; | ||
| 82 : | |||
| 83 : | // Check to see if this is a search or a browse by category | ||
| 84 : | // Default is to show all products | ||
| 85 : | if (!empty($category_id)) { | ||
| 86 : | $list = "SELECT #__{sc}_category.category_name,#__{sc}_product.product_id,#__{sc}_product.product_name,#__{sc}_product.product_sku,#__{sc}_product.vendor_id,product_publish"; | ||
| 87 : | $list .= " FROM #__{sc}_product, #__{sc}_product_category_xref, #__{sc}_category WHERE "; | ||
| 88 : | $count = "SELECT count(*) as num_rows FROM #__{sc}_product, #__{sc}_product_category_xref, #__{sc}_category WHERE "; | ||
| 89 : | |||
| 90 : | $q = "#__{sc}_product_category_xref.category_id='$category_id' "; | ||
| 91 : | $q .= "AND #__{sc}_category.category_id=#__{sc}_product_category_xref.category_id "; | ||
| 92 : | $q .= "AND #__{sc}_product.product_id=#__{sc}_product_category_xref.product_id "; | ||
| 93 : | $q .= "AND #__{sc}_product.product_parent_id='' "; | ||
| 94 : | if (!$perm->check("admin")) { | ||
| 95 : | $q .= "AND #__{sc}_product.vendor_id = '$ps_vendor_id' "; | ||
| 96 : | } | ||
| 97 : | elseif( !empty($vendor) ) { | ||
| 98 : | $q .= "AND #__{sc}_product.vendor_id='$vendor' "; | ||
| 99 : | } | ||
| 100 : | if( !empty( $keyword)) { | ||
| 101 : | $q .= " AND $search_sql"; | ||
| 102 : | } | ||
| 103 : | $count .= $q; | ||
| 104 : | $q .= "ORDER BY product_publish DESC,product_name "; | ||
| 105 : | } | ||
| 106 : | elseif (!empty($keyword)) { | ||
| 107 : | $list = "SELECT * FROM #__{sc}_product WHERE "; | ||
| 108 : | $count = "SELECT COUNT(*) as num_rows FROM #__{sc}_product WHERE "; | ||
| 109 : | $q = $search_sql; | ||
| 110 : | $q .= "AND #__{sc}_product.product_parent_id='' "; | ||
| 111 : | if (!$perm->check("admin")) { | ||
| 112 : | $q .= "AND #__{sc}_product.vendor_id = '$ps_vendor_id' "; | ||
| 113 : | } | ||
| 114 : | elseif( !empty($vendor) ) { | ||
| 115 : | $q .= "AND #__{sc}_product.vendor_id='$vendor' "; | ||
| 116 : | } | ||
| 117 : | $count .= $q; | ||
| 118 : | $q .= " ORDER BY product_publish DESC,product_name "; | ||
| 119 : | } | ||
| 120 : | elseif (!empty($product_parent_id)) { | ||
| 121 : | $list = "SELECT * FROM #__{sc}_product WHERE "; | ||
| 122 : | $count = "SELECT COUNT(*) as num_rows FROM #__{sc}_product WHERE "; | ||
| 123 : | $q = "product_parent_id='$product_parent_id' "; | ||
| 124 : | $q .= !empty($vendor) ? "AND #__{sc}_product.vendor_id='$vendor'" : ""; | ||
| 125 : | if( !empty( $keyword)) { | ||
| 126 : | $q .= " AND $search_sql"; | ||
| 127 : | } | ||
| 128 : | //$q .= "AND #__{sc}_product.product_id=#__{sc}_product_reviews.product_id "; | ||
| 129 : | //$q .= "AND #__{sc}_category.category_id=#__{sc}_product_category_xref.category_id "; | ||
| 130 : | $count .= $q; | ||
| 131 : | $q .= " ORDER BY product_publish DESC,product_name "; | ||
| 132 : | } | ||
| 133 : | /** Changed Product Type - Begin */ | ||
| 134 : | elseif (!empty($product_type_id)) { | ||
| 135 : | $list = "SELECT * FROM #__{sc}_product,#__{sc}_product_product_type_xref WHERE "; | ||
| 136 : | $count = "SELECT count(*) as num_rows FROM #__{sc}_product,#__{sc}_product_product_type_xref WHERE "; | ||
| 137 : | $q = "#__{sc}_product.product_id=#__{sc}_product_product_type_xref.product_id "; | ||
| 138 : | $q .= "AND product_type_id='$product_type_id' "; | ||
| 139 : | if (!$perm->check("admin")) { | ||
| 140 : | $q .= "AND #__{sc}_product.vendor_id = '$ps_vendor_id' "; | ||
| 141 : | } | ||
| 142 : | elseif( !empty($vendor) ) { | ||
| 143 : | $q .= "AND #__{sc}_product.vendor_id='$vendor' "; | ||
| 144 : | } | ||
| 145 : | if( !empty( $keyword)) { | ||
| 146 : | $q .= " AND $search_sql"; | ||
| 147 : | } | ||
| 148 : | $q .= " ORDER BY product_publish DESC,product_name "; | ||
| 149 : | $count .= $q; | ||
| 150 : | } /** Changed Product Type - End */ | ||
| 151 : | /** Changed search by date - Begin */ | ||
| 152 : | elseif (!empty($search_date)) { | ||
| 153 : | list($time,$date) = explode(" ",$search_date); | ||
| 154 : | list($d["search_date_hour"],$d["search_date_minute"]) = explode(":",$time); | ||
| 155 : | list($d["search_date_day"],$d["search_date_month"],$d["search_date_year"]) = explode(".",$date); | ||
| 156 : | $d["search_date_use"] = true; | ||
| 157 : | if (process_date_time($d,"search_date",$VM_LANG->_PHPSHOP_SEARCH_LBL)) { | ||
| 158 : | $date = $d["search_date"]; | ||
| 159 : | switch( $search_type ) { | ||
| 160 : | case "product" : | ||
| 161 : | $list = "SELECT * FROM #__{sc}_product WHERE "; | ||
| 162 : | $count = "SELECT COUNT(*) as num_rows FROM #__{sc}_product WHERE "; | ||
| 163 : | break; | ||
| 164 : | case "withoutprice" : | ||
| 165 : | case "price" : | ||
| 166 : | $list = "SELECT DISTINCT #__{sc}_product.product_id,product_name,product_sku,vendor_id,"; | ||
| 167 : | $list .= "product_publish,product_parent_id FROM #__{sc}_product "; | ||
| 168 : | $list .= "LEFT JOIN #__{sc}_product_price ON #__{sc}_product.product_id = #__{sc}_product_price.product_id WHERE "; | ||
| 169 : | $count = "SELECT DISTINCT count(*) as num_rows FROM #__{sc}_product "; | ||
| 170 : | $count.= "LEFT JOIN #__{sc}_product_price ON #__{sc}_product.product_id = #__{sc}_product_price.product_id WHERE "; | ||
| 171 : | break; | ||
| 172 : | } | ||
| 173 : | $where = array(); | ||
| 174 : | // $where[] = "#__{sc}_product.product_parent_id='0' "; | ||
| 175 : | if (!$perm->check("admin")) { | ||
| 176 : | $where[] = " #__{sc}_product.vendor_id = '$ps_vendor_id' "; | ||
| 177 : | } | ||
| 178 : | elseif( !empty($vendor) ) { | ||
| 179 : | $where[] = " #__{sc}_product.vendor_id='$vendor' "; | ||
| 180 : | } | ||
| 181 : | $q = ""; | ||
| 182 : | switch( $search_type ) { | ||
| 183 : | case "product" : | ||
| 184 : | $where[] = "#__{sc}_product.mdate ". $search_order . " $date "; | ||
| 185 : | break; | ||
| 186 : | case "price" : | ||
| 187 : | $where[] = "#__{sc}_product_price.mdate ". $search_order . " $date "; | ||
| 188 : | $q = "GROUP BY #__{sc}_product.product_sku "; | ||
| 189 : | break; | ||
| 190 : | case "withoutprice" : | ||
| 191 : | $where[] = "#__{sc}_product_price.mdate IS NULL "; | ||
| 192 : | $q = "GROUP BY #__{sc}_product.product_sku "; | ||
| 193 : | break; | ||
| 194 : | } | ||
| 195 : | |||
| 196 : | $q = implode(" AND ",$where) . $q . " ORDER BY #__{sc}_product.product_publish DESC,#__{sc}_product.product_name "; | ||
| 197 : | $count .= $q; | ||
| 198 : | } | ||
| 199 : | else { | ||
| 200 : | echo "<script type=\"text/javascript\">alert('".$d["error"]."')</script>\n"; | ||
| 201 : | } | ||
| 202 : | } | ||
| 203 : | /** Changed search by date - End */ | ||
| 204 : | else { | ||
| 205 : | $list = "SELECT * FROM #__{sc}_product WHERE "; | ||
| 206 : | $count = "SELECT COUNT(*) as num_rows FROM #__{sc}_product WHERE "; | ||
| 207 : | $q = "product_parent_id='0' "; | ||
| 208 : | if (!$perm->check("admin")) { | ||
| 209 : | $q .= "AND #__{sc}_product.vendor_id = '$ps_vendor_id' "; | ||
| 210 : | } | ||
| 211 : | elseif( !empty($vendor) ) { | ||
| 212 : | $q .= "AND #__{sc}_product.vendor_id='$vendor' "; | ||
| 213 : | } | ||
| 214 : | //$q .= "AND #__{sc}_product.product_id=#__{sc}_product_reviews.product_id "; | ||
| 215 : | //$q .= "AND #__{sc}_category.category_id=#__{sc}_product_category_xref.category_id "; | ||
| 216 : | $count .= $q; | ||
| 217 : | $q .= " ORDER BY product_publish DESC,product_name "; | ||
| 218 : | } | ||
| 219 : | $db->query($count); | ||
| 220 : | $db->next_record(); | ||
| 221 : | $num_rows = $db->f("num_rows"); | ||
| 222 : | |||
| 223 : | // Create the Page Navigation | ||
| 224 : | $pageNav = new vmPageNav( $num_rows, $limitstart, $limit ); | ||
| 225 : | |||
| 226 : | $limitstart = $pageNav->limitstart; | ||
| 227 : | $list .= $q . " LIMIT $limitstart, " . $limit; | ||
| 228 : | |||
| 229 : | // Create the List Object with page navigation | ||
| 230 : | $listObj = new listFactory( $pageNav ); | ||
| 231 : | |||
| 232 : | // print out the search field and a list heading | ||
| 233 : | $listObj->writeSearchHeader($VM_LANG->_PHPSHOP_PRODUCT_LIST_LBL, '', 'product', 'product_list'); | ||
| 234 : | |||
| 235 : | // start the list table | ||
| 236 : | $listObj->startTable(); | ||
| 237 : | |||
| 238 : | // these are the columns in the table | ||
| 239 : | $columns = Array( "#" => "", | ||
| 240 : | "<input type=\"checkbox\" name=\"toggle\" value=\"\" onclick=\"checkAll(".$num_rows.")\" />" => "", | ||
| 241 : | $VM_LANG->_PHPSHOP_PRODUCT_LIST_NAME => "width=\"30%\"", | ||
| 242 : | $VM_LANG->_PHPSHOP_PRODUCT_LIST_SKU => "width=\"15%\"", | ||
| 243 : | $VM_LANG->_PHPSHOP_CATEGORY => "width=\"15%\"", | ||
| 244 : | $VM_LANG->_PHPSHOP_MANUFACTURER_MOD => "width=\"15%\"", | ||
| 245 : | $VM_LANG->_PHPSHOP_REVIEWS => "width=\"10%\"", | ||
| 246 : | $VM_LANG->_PHPSHOP_PRODUCT_LIST_PUBLISH => "width=\"5%\"", | ||
| 247 : | $VM_LANG->_PHPSHOP_PRODUCT_CLONE => "", | ||
| 248 : | $VM_LANG->_E_REMOVE => "width=\"5%\"" | ||
| 249 : | ); | ||
| 250 : | $listObj->writeTableHeader( $columns ); | ||
| 251 : | |||
| 252 : | if ($num_rows > 0) { | ||
| 253 : | |||
| 254 : | $db->query($list); | ||
| 255 : | $i = 0; | ||
| 256 : | $db_cat = new ps_DB; | ||
| 257 : | $tmpcell = ""; | ||
| 258 : | |||
| 259 : | while ($db->next_record()) { | ||
| 260 : | |||
| 261 : | $listObj->newRow(); | ||
| 262 : | |||
| 263 : | // The row number | ||
| 264 : | $listObj->addCell( $pageNav->rowNumber( $i ) ); | ||
| 265 : | |||
| 266 : | // The Checkbox | ||
| 267 : | $listObj->addCell( mosHTML::idBox( $i, $db->f("product_id"), false, "product_id" ) ); | ||
| 268 : | |||
| 269 : | // The link to the product form / to the child products | ||
| 270 : | $tmpcell = "<a href=\"".$sess->url( $_SERVER['PHP_SELF'] . "?page=$modulename.product_form&limitstart=$limitstart&keyword=".urlencode($keyword)."&product_id=" . $db->f("product_id")."&product_parent_id=".$product_parent_id )."\">".$db->f("product_name"). "</a>"; | ||
| 271 : | if( $ps_product->parent_has_children( $db->f("product_id") ) ) { | ||
| 272 : | $tmpcell .= " <a href=\""; | ||
| 273 : | $tmpcell .= $sess->url($_SERVER['PHP_SELF'] . "?page=$modulename.product_list&product_parent_id=" . $db->f("product_id")); | ||
| 274 : | $tmpcell .= "\">[ ".$VM_LANG->_PHPSHOP_PRODUCT_FORM_ITEM_INFO_LBL. " ]</a>"; | ||
| 275 : | } | ||
| 276 : | $listObj->addCell( $tmpcell ); | ||
| 277 : | |||
| 278 : | // The product sku | ||
| 279 : | $listObj->addCell( $db->f("product_sku") ); | ||
| 280 : | |||
| 281 : | // The Categories or the parent product's name | ||
| 282 : | $tmpcell = ""; | ||
| 283 : | if( empty($product_parent_id) ) { | ||
| 284 : | $db_cat->query("SELECT #__{sc}_category.category_id, category_name FROM #__{sc}_category,#__{sc}_product_category_xref | ||
| 285 : | WHERE #__{sc}_category.category_id=#__{sc}_product_category_xref.category_id | ||
| 286 : | AND #__{sc}_product_category_xref.product_id='".$db->f("product_id") ."'"); | ||
| 287 : | while($db_cat->next_record()) { | ||
| 288 : | $tmpcell .= $db_cat->f("category_name") . "<br/>"; | ||
| 289 : | } | ||
| 290 : | } | ||
| 291 : | else { | ||
| 292 : | $tmpcell .= $VM_LANG->_PHPSHOP_CATEGORY_FORM_PARENT .": <a href=\""; | ||
| 293 : | $url = $_SERVER['PHP_SELF'] . "?page=$modulename.product_form&limitstart=$limitstart&keyword=".urlencode($keyword)."&product_id=$product_parent_id"; | ||
| 294 : | $tmpcell .= $sess->url( $url ); | ||
| 295 : | $tmpcell .= "\">".$ps_product->get_field($product_parent_id,"product_name"). "</a>"; | ||
| 296 : | } | ||
| 297 : | $listObj->addCell( $tmpcell ); | ||
| 298 : | |||
| 299 : | $listObj->addCell( $ps_product->get_mf_name($db->f("product_id")) ); | ||
| 300 : | |||
| 301 : | $db_cat->query("SELECT count(*) as num_rows FROM #__{sc}_product_reviews WHERE product_id='".$db->f("product_id")."'"); | ||
| 302 : | $db_cat->next_record(); | ||
| 303 : | if ($db_cat->f("num_rows")) { | ||
| 304 : | $tmpcell = $db_cat->f("num_rows")." "; | ||
| 305 : | $tmpcell .= "<a href=\"".$_SERVER["PHP_SELF"]."?option=com_supacart&page=product.review_list&product_id=".$db->f("product_id")."\">"; | ||
| 306 : | $tmpcell .= "[".$VM_LANG->_PHPSHOP_SHOW."]</a>"; | ||
| 307 : | } | ||
| 308 : | else { | ||
| 309 : | $tmpcell = " - "; | ||
| 310 : | } | ||
| 311 : | $listObj->addCell( $tmpcell ); | ||
| 312 : | |||
| 313 : | $tmpcell = "<a href=\"". $sess->url( $_SERVER['PHP_SELF']."?page=product.product_list&category_id=$category_id&product_id=".$db->f("product_id")."&func=changePublishState" ); | ||
| 314 : | if ($db->f("product_publish")=='N') { | ||
| 315 : | $tmpcell .= "&task=publish\">"; | ||
| 316 : | } | ||
| 317 : | else { | ||
| 318 : | $tmpcell .= "&task=unpublish\">"; | ||
| 319 : | } | ||
| 320 : | $tmpcell .= vmCommonHTML::getYesNoIcon( $db->f("product_publish"), "Publish", "Unpublish" ); | ||
| 321 : | $tmpcell .= "</a>"; | ||
| 322 : | $listObj->addCell( $tmpcell ); | ||
| 323 : | |||
| 324 : | $tmpcell = "<a title=\"".$VM_LANG->_PHPSHOP_PRODUCT_CLONE."\" onmouseout=\"MM_swapImgRestore();\" onmouseover=\"MM_swapImage('copy_$i','','". IMAGEURL ."ps_image/copy.png',1);\" href=\""; | ||
| 325 : | $url = $_SERVER['PHP_SELF'] . "?page=$modulename.product_form&clone_product=1&limitstart=$limitstart&keyword=".urlencode($keyword)."&product_id=" . $db->f("product_id"); | ||
| 326 : | if( !empty($product_parent_id) ) | ||
| 327 : | $url .= "&product_parent_id=$product_parent_id"; | ||
| 328 : | $tmpcell .= $sess->url( $url ); | ||
| 329 : | $tmpcell .= "\"><img src=\"".IMAGEURL."/ps_image/copy.png\" name=\"copy_$i\" border=\"0\" alt=\"".$VM_LANG->_PHPSHOP_PRODUCT_CLONE."\" /></a>"; | ||
| 330 : | $listObj->addCell( $tmpcell ); | ||
| 331 : | |||
| 332 : | $listObj->addCell( $ps_html->deleteButton( "product_id", $db->f("product_id"), "productDelete", $keyword, $limitstart ) ); | ||
| 333 : | |||
| 334 : | $i++; | ||
| 335 : | } | ||
| 336 : | } | ||
| 337 : | |||
| 338 : | $listObj->writeTable(); | ||
| 339 : | |||
| 340 : | $listObj->endTable(); | ||
| 341 : | |||
| 342 : | $listObj->writeFooter( $keyword, "&product_parent_id=$product_parent_id&category_id=$category_id&product_type_id=$product_type_id&search_date$search_date"); | ||
| 343 : | |||
| 344 : | ?> |
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |
Web Hosting provided by Network Redux.

