From: Anthony Talarico Date: Mon, 25 Sep 2017 20:22:49 +0000 (-0400) Subject: adding new fancybox initialization X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=d976a3b94124de7ea2e786d61b1dc33293acdb81;p=WP-Plugins%2Fglm-member-db-for-sale.git adding new fancybox initialization adding mgmt options to import data from ds4, adding js for new version of fancybox for the for sale detail views --- diff --git a/classes/data/dataForSale.php b/classes/data/dataForSale.php index fbc8fbb..8d1f583 100644 --- a/classes/data/dataForSale.php +++ b/classes/data/dataForSale.php @@ -136,6 +136,11 @@ class GlmDataForSale extends GlmDataAbstract 'view_only' => true, 'use' => 'a' ), + 'old_id' => array ( + 'field' => 'old_id', + 'type' => 'integer', + 'use' => 'a' + ), 'topic' => array ( 'field' => 'topic', 'type' => 'list', @@ -184,11 +189,6 @@ class GlmDataForSale extends GlmDataAbstract 'type' => 'checkbox', 'use' => 'a' ), - 'post' => array ( - 'field' => 'post', - 'type' => 'text', - 'use' => 'a' - ), 'location' => array ( 'field' => 'location', 'type' => 'text', diff --git a/config/plugin.ini b/config/plugin.ini index eae9133..f543a57 100644 --- a/config/plugin.ini +++ b/config/plugin.ini @@ -10,5 +10,5 @@ item_expiration[60] = '60 Days' item_expiration[90] = '90 Days' item_expiration[120] = '120 Days' -topics[1] = 'Buy' -topics[2] = 'For Sale' \ No newline at end of file +topics[1] = 'For Sale' +topics[2] = 'Buy' \ No newline at end of file diff --git a/css/admin.css b/css/admin.css index 6545966..ab55707 100644 --- a/css/admin.css +++ b/css/admin.css @@ -1,3 +1,3 @@ -#glm-admin-content-container .admin-item-label,#glm-admin-content-container .admin-item-input,#glm-admin-content-container .admin-item-list{padding:0}.itemTitle-record{float:left}.admin-new-item{margin-bottom:15px}.admin-new-item .admin-new-item-link{padding:5px;background:#3D84D0;color:white;text-decoration:none;border-radius:4px}.no-padding{padding:0}.no-margin{margin:0}#glm-admin-content-container .admin-item-list-header{margin-bottom:20px;padding-bottom:2px;border-bottom:1px solid lightgray}.admin-item-list-row{padding-bottom:5px}.item-company-list-header,.item-date-list-header,.item-title-list-header{font-weight:bold;font-size:16px}.admin-item-list-row:nth-child(odd){background:#e3e3e5}.item-image{display:block;max-width:200px}.item-image-row{border-bottom:1px solid lightgray;padding-bottom:10px} +#glm-admin-content-container .admin-item-label,#glm-admin-content-container .admin-item-input,#glm-admin-content-container .admin-item-list{padding:0}.admin-list-edit-item{padding:5px}.admin-list-edit-items{max-width:100px;float:right}@media (max-width: 641px){.admin-list-edit-items{margin:0 auto;float:none}}.itemTitle-record{float:left}.admin-new-item{margin-bottom:15px}.admin-new-item .admin-new-item-link{padding:5px;background:#3D84D0;color:white;text-decoration:none;border-radius:4px}.no-padding{padding:0}.no-margin{margin:0}#glm-admin-content-container .admin-item-list-header{margin-bottom:20px;padding-bottom:2px;border-bottom:1px solid lightgray}.admin-item-list-row{padding-bottom:5px}.item-company-list-header,.item-date-list-header,.item-title-list-header{font-weight:bold;font-size:16px}.admin-item-list-row:nth-child(odd){background:#e3e3e5}.item-image{display:block;max-width:200px}.item-image-row{border-bottom:1px solid lightgray;padding-bottom:10px} /*# sourceMappingURL=admin.css.map */ diff --git a/css/admin.css.map b/css/admin.css.map index e42d51d..ec9f070 100644 --- a/css/admin.css.map +++ b/css/admin.css.map @@ -1 +1 @@ -{"version":3,"file":"admin.css","sources":["admin.scss"],"sourcesContent":["#glm-admin-content-container .admin-item-label,\n#glm-admin-content-container .admin-item-input,\n#glm-admin-content-container .admin-item-list{\n padding: 0;\n}\n.itemTitle-record{\n float: left;\n}\n.admin-item-input textarea{\n \n}\n.admin-new-item{\n margin-bottom: 15px;\n}\n.admin-new-item .admin-new-item-link{\n padding: 5px;\n background: #3D84D0;\n color: white;\n text-decoration: none;\n border-radius: 4px;\n}\n.no-padding{\n padding: 0;\n}\n.no-margin{\n margin: 0;\n}\n#glm-admin-content-container .admin-item-list-header{\n margin-bottom: 20px;\n padding-bottom: 2px;\n border-bottom: 1px solid lightgray;\n}\n.admin-item-list-row{\n padding-bottom: 5px;\n/* border-bottom: 1px solid lightgray;*/\n}\n.item-company-list-header,.item-date-list-header, .item-title-list-header{\n font-weight: bold;\n font-size: 16px;\n}\n.admin-item-list-row:nth-child(odd){\n background: #e3e3e5;\n}\n.item-image{\n display: block;\n max-width: 200px;\n}\n.item-image-row{\n border-bottom: 1px solid lightgray;\n padding-bottom: 10px;\n}\n"],"names":[],"mappings":"AAAA,AAA6B,4BAAD,CAAC,iBAAiB,CAC9C,AAA6B,4BAAD,CAAC,iBAAiB,CAC9C,AAA6B,4BAAD,CAAC,gBAAgB,AAAA,CACzC,OAAO,CAAE,CAAC,CACb,AACD,AAAA,iBAAiB,AAAA,CACb,KAAK,CAAE,IAAI,CACd,AAID,AAAA,eAAe,AAAA,CACX,aAAa,CAAE,IAAI,CACtB,AACD,AAAgB,eAAD,CAAC,oBAAoB,AAAA,CAChC,OAAO,CAAE,GAAG,CACZ,UAAU,CAAE,OAAO,CACnB,KAAK,CAAE,KAAK,CACZ,eAAe,CAAE,IAAI,CACrB,aAAa,CAAE,GAAG,CACrB,AACD,AAAA,WAAW,AAAA,CACP,OAAO,CAAE,CAAC,CACb,AACD,AAAA,UAAU,AAAA,CACN,MAAM,CAAE,CAAC,CACZ,AACD,AAA6B,4BAAD,CAAC,uBAAuB,AAAA,CAChD,aAAa,CAAE,IAAI,CACnB,cAAc,CAAE,GAAG,CACnB,aAAa,CAAE,mBAAmB,CACrC,AACD,AAAA,oBAAoB,AAAA,CAChB,cAAc,CAAE,GAAG,CAEtB,AACD,AAAA,yBAAyB,CAAC,AAAA,sBAAsB,CAAE,AAAA,uBAAuB,AAAA,CACrE,WAAW,CAAE,IAAI,CACjB,SAAS,CAAE,IAAI,CAClB,AACD,AAAA,oBAAoB,AAAA,UAAW,CAAA,AAAA,GAAG,CAAC,CAC/B,UAAU,CAAE,OAAO,CACtB,AACD,AAAA,WAAW,AAAA,CACP,OAAO,CAAE,KAAK,CACd,SAAS,CAAE,KAAK,CACnB,AACD,AAAA,eAAe,AAAA,CACX,aAAa,CAAE,mBAAmB,CAClC,cAAc,CAAE,IAAI,CACvB"} \ No newline at end of file +{"version":3,"file":"admin.css","sources":["admin.scss"],"sourcesContent":["#glm-admin-content-container .admin-item-label,\n#glm-admin-content-container .admin-item-input,\n#glm-admin-content-container .admin-item-list{\n padding: 0;\n}\n.admin-list-edit-item{\n // float: right;\n padding: 5px;\n}\n.admin-list-edit-items{\n max-width: 100px;\n float: right;\n @media(max-width: 641px){\n margin: 0 auto;\n float: none;\n }\n}\n.itemTitle-record{\n float: left;\n}\n.admin-item-input textarea{\n \n}\n.admin-new-item{\n margin-bottom: 15px;\n}\n.admin-new-item .admin-new-item-link{\n padding: 5px;\n background: #3D84D0;\n color: white;\n text-decoration: none;\n border-radius: 4px;\n}\n.no-padding{\n padding: 0;\n}\n.no-margin{\n margin: 0;\n}\n#glm-admin-content-container .admin-item-list-header{\n margin-bottom: 20px;\n padding-bottom: 2px;\n border-bottom: 1px solid lightgray;\n}\n.admin-item-list-row{\n padding-bottom: 5px;\n/* border-bottom: 1px solid lightgray;*/\n}\n.item-company-list-header,.item-date-list-header, .item-title-list-header{\n font-weight: bold;\n font-size: 16px;\n}\n.admin-item-list-row:nth-child(odd){\n background: #e3e3e5;\n}\n.item-image{\n display: block;\n max-width: 200px;\n}\n.item-image-row{\n border-bottom: 1px solid lightgray;\n padding-bottom: 10px;\n}\n"],"names":[],"mappings":"AAAA,AAA6B,4BAAD,CAAC,iBAAiB,CAC9C,AAA6B,4BAAD,CAAC,iBAAiB,CAC9C,AAA6B,4BAAD,CAAC,gBAAgB,AAAA,CACzC,OAAO,CAAE,CAAC,CACb,AACD,AAAA,qBAAqB,AAAA,CAEjB,OAAO,CAAE,GAAG,CACf,AACD,AAAA,sBAAsB,AAAA,CAClB,SAAS,CAAE,KAAK,CAChB,KAAK,CAAE,KAAK,CAKf,AAJG,MAAM,EAAC,SAAS,EAAE,KAAK,EAH3B,AAAA,sBAAsB,AAAA,CAId,MAAM,CAAE,MAAM,CACd,KAAK,CAAE,IAAI,CAElB,CACD,AAAA,iBAAiB,AAAA,CACb,KAAK,CAAE,IAAI,CACd,AAID,AAAA,eAAe,AAAA,CACX,aAAa,CAAE,IAAI,CACtB,AACD,AAAgB,eAAD,CAAC,oBAAoB,AAAA,CAChC,OAAO,CAAE,GAAG,CACZ,UAAU,CAAE,OAAO,CACnB,KAAK,CAAE,KAAK,CACZ,eAAe,CAAE,IAAI,CACrB,aAAa,CAAE,GAAG,CACrB,AACD,AAAA,WAAW,AAAA,CACP,OAAO,CAAE,CAAC,CACb,AACD,AAAA,UAAU,AAAA,CACN,MAAM,CAAE,CAAC,CACZ,AACD,AAA6B,4BAAD,CAAC,uBAAuB,AAAA,CAChD,aAAa,CAAE,IAAI,CACnB,cAAc,CAAE,GAAG,CACnB,aAAa,CAAE,mBAAmB,CACrC,AACD,AAAA,oBAAoB,AAAA,CAChB,cAAc,CAAE,GAAG,CAEtB,AACD,AAAA,yBAAyB,CAAC,AAAA,sBAAsB,CAAE,AAAA,uBAAuB,AAAA,CACrE,WAAW,CAAE,IAAI,CACjB,SAAS,CAAE,IAAI,CAClB,AACD,AAAA,oBAAoB,AAAA,UAAW,CAAA,AAAA,GAAG,CAAC,CAC/B,UAAU,CAAE,OAAO,CACtB,AACD,AAAA,WAAW,AAAA,CACP,OAAO,CAAE,KAAK,CACd,SAAS,CAAE,KAAK,CACnB,AACD,AAAA,eAAe,AAAA,CACX,aAAa,CAAE,mBAAmB,CAClC,cAAc,CAAE,IAAI,CACvB"} \ No newline at end of file diff --git a/models/admin/forSale/index.php b/models/admin/forSale/index.php index 5d8e26a..f3fec3c 100644 --- a/models/admin/forSale/index.php +++ b/models/admin/forSale/index.php @@ -267,20 +267,20 @@ class GlmMembersAdmin_forSale_index extends GlmDataForSale // echo '
', print_r($this->getList()), '
'; // Compile template data $templateData = array( - 'itemData' => $item_data, - 'memberList' => $member_list, - 'lockedToMember' => $lockedToMember, - 'haveMember' => $haveMember, - 'memberID' => $memberID, - 'itemID' => $this->item_id, - 'haveItem' => $haveItem, - 'itemUpdated' => $itemUpdated, - 'itemUpdateError' => $itemUpdateError, - 'itemAdded' => $itemAdded, - 'itemAddError' => $itemAddError, - 'option' => $option, - 'item' => $item, - 'assetsUrl' => GLM_MEMBERS_FOR_SALE_PLUGIN_URL . 'assets/', + 'itemData' => $item_data, + 'memberList' => $member_list, + 'lockedToMember' => $lockedToMember, + 'haveMember' => $haveMember, + 'memberID' => $memberID, + 'itemID' => $this->item_id, + 'haveItem' => $haveItem, + 'itemUpdated' => $itemUpdated, + 'itemUpdateError' => $itemUpdateError, + 'itemAdded' => $itemAdded, + 'itemAddError' => $itemAddError, + 'option' => $option, + 'item' => $item, + 'assetsUrl' => GLM_MEMBERS_FOR_SALE_PLUGIN_URL . 'assets/', ); diff --git a/models/admin/management/itemsImport.php b/models/admin/management/itemsImport.php new file mode 100644 index 0000000..73aaf98 --- /dev/null +++ b/models/admin/management/itemsImport.php @@ -0,0 +1,299 @@ + + * @license http://www.gaslightmedia.com Gaslightmedia + * @version 0.1 + */ + +/** + * This class performs the work for the default action of the "Members" menu + * option, which is to display the members dashboard. + * + */ +class GlmMembersAdmin_management_itemsImport +{ + + /** + * WordPress Database Object + * + * @var $wpdb + * @access public + */ + public $wpdb; + /** + * Plugin Configuration Data + * + * @var $config + * @access public + */ + public $config; + + /** + * Constructor + * + * This contractor sets up this model. At this time that only includes + * storing away the WordPress data object. + * + * @return object Class object + * + */ + public function __construct ($wpdb, $config) + { + // Save WordPress Database object + $this->wpdb = $wpdb; + + // Save plugin configuration object + $this->config = $config; + + } + + public function addScheme($url, $scheme = 'http://') + { + return parse_url($url, PHP_URL_SCHEME) === null ? + $scheme . $url : $url; + } + + /** + * Perform Model Action + * + * This method does the work for this model and returns any resulting data + * + * @return array Status and data array + * + * 'status' + * + * True if successful and false if there was a fatal failure. + * + * 'menuItemRedirect' + * + * If not false, provides a menu item the controller should + * execute after this one. Normally if this is used, there would also be a + * modelRedirect value supplied as well. + * + * 'modelRedirect' + * + * If not false, provides an action the controller should execute after + * this one. + * + * 'view' + * + * A suggested view name that the controller should use instead of the + * default view for this model or false to indicate that the default view + * should be used. + * + * 'data' + * + * Data that the model is returning for use in merging with the view to + * produce output. + * + */ + public function modelAction ($actionData = false) + { + + + $resultMessage = ''; + $success = false; + $haveMembers = false; + $import = false; + $importNotice = ''; + $option = ''; + + if (isset($_REQUEST['option']) && $_REQUEST['option'] != '') { + $option = $_REQUEST['option']; + } + + switch($option) { + case 'upload_file': + // We're given a CSV file. + // We need to parse it out. File must have header line. + // $file_data = $file_headers = $data = $members = array(); + + // if ( isset( $_FILES ) && isset( $_FILES['file_upload'] ) && ( $fh = fopen( $_FILES['file_upload']['tmp_name'], 'r' ) ) !== false ) { + // $row = 0; + // while( ( $data = fgetcsv( $fh, 1000, ',' ) ) !== false ) { + // if ( $row === 0 ) { + // // First row grab as headers. + // $file_headers = $data; + // } else { + // // All other rows are data. + // $file_data[] = array_combine( $file_headers, $data ); + // } + // $row++; + // } + // fclose( $fh ); + // } + // $resultMessage .= $this->importMemberData( $file_data ); + //$resultMessage .= '
$file_data: ' . print_r( $file_data, true ) . '
'; + break; + + case 'importItems': + $table = GLM_MEMBERS_FOR_SALE_PLUGIN_DB_PREFIX . 'items'; + require_once GLM_MEMBERS_PLUGIN_PATH.'/models/admin/ajax/imageUpload.php'; + $ImageUpload = new GlmMembersAdmin_ajax_imageUpload($this->wpdb, $this->config); + + $img_src = "http://is0.gaslightmedia.com/migcsa/CKImage/"; + + define('BASE_URL', 'http://www.migcsa.org'); + define('PG_DSN', 'pgsql: host=ds4 dbname=migcsa2_update user=postgres'); + + try { + $dsn = PG_DSN; + $driverOptions = array( + PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC, + ); + $dbh = new PDO($dsn, null, null, $driverOptions); + $dbh->setAttribute( + PDO::ATTR_ERRMODE, + PDO::ERRMODE_EXCEPTION + ); + + // FOR SALE + $forsale_sql = "SELECT * FROM forsale;"; + $stmt = $dbh->query($forsale_sql); + $forsale = $stmt->fetchAll(PDO::FETCH_ASSOC); + // $count = 0; + foreach($forsale as $key=>$value){ + + // process the expiration values + if( $value['post'] == "30days" ){ + $post_exp = 30; + } else if( $value['post'] == "60days" ){ + $post_exp = 60; + } else if( $value['post'] == "120days" ){ + $post_exp = 120; + } + + // check for images + if($value['img']){ + $res = $img_src . $value['img']; + $parts = pathinfo($value['img']); + if($parts['extension']){ + $image_1 = $ImageUpload->storeImage($res); + } + + } + if($value['img2']){ + $res = $img_src . $value['img2']; + $parts = pathinfo($value['img2']); + if($parts['extension']){ + $image_2 = $ImageUpload->storeImage($res); + } + } + if($value['img3']){ + $res = $img_src . $value['img3']; + $parts = pathinfo($value['img3']); + if($parts['extension']){ + $image_3 = $ImageUpload->storeImage($res); + } + } + + $this->wpdb->insert( $table, + array( + 'old_id' =>$value['id'], + 'title' =>$value['title'], + 'topic' =>$value['topicid'], + 'descr' =>$value['descr'], + 'item_expiration' =>$post_exp, + 'location' =>$value['location'], + 'contact_email' =>$value['contactemail'], + 'contact_name' =>$value['contactname'], + 'contact_phone' =>$value['contactphone'], + 'visible' =>$value['visable'], + 'company' =>$value['company'], + 'terms' =>$value['terms'], + 'post_date' =>$value['ds'], + 'member' =>$value['member'], + 'image_1' => $image_1['newFileName'], + 'image_2' =>$image_2['newFileName'], + 'image_3' =>$image_3['newFileName'], + ), + array( + '%d', + '%s', + '%d', + '%s', + '%s', + '%s', + '%s', + '%s', + '%s', + '%s', + '%s', + '%s', + '%s', + '%d', + '%s', + '%s', + '%s', + ) + ); + // $count++; + } + + // $forsale_topic_sql = "SELECT * FROM forsale_topic;"; + // $stmt = $dbh->query($forsale_topic_sql); + // $forsale_topic = $stmt->fetchAll(PDO::FETCH_ASSOC); + // foreach($forsale_topic as $key=>$value){ + + // } + + } catch(PDOException $e) { + echo '
'.print_r($e, true).'
'; + } + + if ( isset( $_REQUEST['start'] ) ) { + $start = filter_var( $_REQUEST['start'], FILTER_VALIDATE_INT ); + } else { + $start = 0; + } + // global $wpdb; + + + $url = get_site_url() . '/wp-admin/admin.php?page=glm-members-admin-menu-management&glm_action=itemImport&option=importItems'; + $limit = 200; + + // $sql = "SELECT name,mother_name,misc_info, courier_date FROM chxctyitem LIMIT $limit OFFSET $start"; + // $items = $wpdb->get_results( $sql, ARRAY_A ); + + $count = 0; + // foreach($items as $column=>$data ){ + // $count++; + // // $insert = array(); + + // } +// echo '
', print_r($insert), '
'; + // $wpdb->insert($table, $insert); + + $resultMessage = "
Start: $start
"; + $start += $limit; + $resultMessage .= "

Next

"; + + break; + + default: + break; + } + + $templateData = array( + 'success' => $success, + 'option' => $option, + 'resultMessage' => $resultMessage + ); + + // Return status, suggested view, and data to controller + return array( + 'status' => true, + 'menuItemRedirect' => false, + 'modelRedirect' => false, + 'view' => 'admin/management/itemsImport.html', + 'data' => $templateData + ); + } +} diff --git a/scss/admin.scss b/scss/admin.scss index 9acf9f5..e615741 100644 --- a/scss/admin.scss +++ b/scss/admin.scss @@ -3,6 +3,18 @@ #glm-admin-content-container .admin-item-list{ padding: 0; } +.admin-list-edit-item{ + // float: right; + padding: 5px; +} +.admin-list-edit-items{ + max-width: 100px; + float: right; + @media(max-width: 641px){ + margin: 0 auto; + float: none; + } +} .itemTitle-record{ float: left; } diff --git a/setup/adminTabs.php b/setup/adminTabs.php index d3d0d5c..8a766aa 100644 --- a/setup/adminTabs.php +++ b/setup/adminTabs.php @@ -32,4 +32,20 @@ * ); * -} */ \ No newline at end of file +} */ +if (apply_filters('glm_members_permit_admin_members_management_tab', true)) { + + add_filter('glm-member-db-add-tab-for-management', + function($addOnTabs) { + $newTabs = array( + array( + 'text' => 'For Sale Import', + 'menu' => 'management', + 'action' => 'itemsImport' + ), + ); + $addOnTabs = array_merge($addOnTabs, $newTabs); + return $addOnTabs; + } + ); +} \ No newline at end of file diff --git a/setup/databaseScripts/create_database_V0.0.1.sql b/setup/databaseScripts/create_database_V0.0.1.sql index fd297ce..edbbd4a 100644 --- a/setup/databaseScripts/create_database_V0.0.1.sql +++ b/setup/databaseScripts/create_database_V0.0.1.sql @@ -14,6 +14,7 @@ -- Conditions Table CREATE TABLE {prefix}items ( id INT NOT NULL AUTO_INCREMENT, + old_id int NULL , topic int NULL , title TEXT NULL , company TINYTEXT NULL , @@ -38,9 +39,9 @@ CREATE TABLE {prefix}items ( -- default entries in table INSERT INTO {prefix}items ( -id,title,descr,topic,contact_email,contact_name,contact_phone,post_date,visible, +id,old_id,title,descr,topic,contact_email,contact_name,contact_phone,post_date,visible, terms,location,item_expiration,image_3,post,image_1, company,member,image_2 -) VALUES ( 1, "TITLE", "DESCR", 1, "CONTACT_EMAIL", "CONTACT_NAME", "CONTACT_PHONE", NOW(), true, "TERMS", "LOCATION", 60, "IMAGE_3.jpg", "POST", +) VALUES ( 1, 1,"TITLE", "DESCR", 1, "CONTACT_EMAIL", "CONTACT_NAME", "CONTACT_PHONE", NOW(), true, "TERMS", "LOCATION", 60, "IMAGE_3.jpg", "POST", "IMAGE_1.jpg", "COMPANY", 1, "IMAGE_2.jpg" ); \ No newline at end of file diff --git a/setup/validActions.php b/setup/validActions.php index 688ce03..f3f2398 100644 --- a/setup/validActions.php +++ b/setup/validActions.php @@ -63,6 +63,9 @@ 'forSale' => array( 'index' => GLM_MEMBERS_FOR_SALE_PLUGIN_SLUG, ), + 'management' => array( + 'itemsImport' => GLM_MEMBERS_FOR_SALE_PLUGIN_SLUG, // General Options + ), ), 'frontActions' => array( 'forSale' => array( diff --git a/views/admin/forSale/list.html b/views/admin/forSale/list.html index 1c683ef..0333c3b 100644 --- a/views/admin/forSale/list.html +++ b/views/admin/forSale/list.html @@ -27,9 +27,9 @@
{$data.item_expiration.name}
-
- Edit - Delete +
+ Edit + Delete
{/foreach} diff --git a/views/admin/management/itemsImport.html b/views/admin/management/itemsImport.html new file mode 100644 index 0000000..9acfce1 --- /dev/null +++ b/views/admin/management/itemsImport.html @@ -0,0 +1,16 @@ +{include file='admin/management/header.html'} + +

For Sale Importer

+ +{if $option == ''} +
+ +
+

Import For Sale Items

+{/if} + +{if $resultMessage} + {$resultMessage} +{/if} + +{include file='admin/footer.html'} diff --git a/views/front/forSale/detail.html b/views/front/forSale/detail.html index c349cb1..442c799 100644 --- a/views/front/forSale/detail.html +++ b/views/front/forSale/detail.html @@ -28,17 +28,17 @@
@@ -46,8 +46,6 @@