Line 1: #pragma checksum "\\cthedu\Sites\contuhoc.com\Themes\PowerHub\Views\Catalog\Vendor.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "3101CBDBAF6F9E848669F9826E74CCA319E9FAC1"
Line 2: //------------------------------------------------------------------------------
Line 3: // <auto-generated>
Line 4: // This code was generated by a tool.
Line 5: // Runtime Version:4.0.30319.42000
Line 6: //
Line 7: // Changes to this file may cause incorrect behavior and will be lost if
Line 8: // the code is regenerated.
Line 9: // </auto-generated>
Line 10: //------------------------------------------------------------------------------
Line 11:
Line 12: namespace ASP {
Line 13: using System;
Line 14: using System.Collections.Generic;
Line 15: using System.IO;
Line 16: using System.Linq;
Line 17: using System.Net;
Line 18: using System.Web;
Line 19: using System.Web.Helpers;
Line 20: using System.Web.Security;
Line 21: using System.Web.UI;
Line 22: using System.Web.WebPages;
Line 23: using System.Web.Mvc;
Line 24: using System.Web.Mvc.Ajax;
Line 25: using System.Web.Mvc.Html;
Line 26: using System.Web.Routing;
Line 27: using Nop.Web.Extensions;
Line 28: using Nop.Web.Framework;
Line 29: using Nop.Web.Framework.Security.Captcha;
Line 30: using Nop.Web.Framework.Security.Honeypot;
Line 31: using Nop.Web.Framework.UI;
Line 32:
Line 33: #line 15 "\\cthedu\Sites\contuhoc.com\Themes\PowerHub\Views\Catalog\Vendor.cshtml"
Line 34: using Nop.Core.Domain.Seo;
Line 35:
Line 36: #line default
Line 37: #line hidden
Line 38:
Line 39: #line 16 "\\cthedu\Sites\contuhoc.com\Themes\PowerHub\Views\Catalog\Vendor.cshtml"
Line 40: using Nop.Core.Infrastructure;
Line 41:
Line 42: #line default
Line 43: #line hidden
Line 44:
Line 45: #line 17 "\\cthedu\Sites\contuhoc.com\Themes\PowerHub\Views\Catalog\Vendor.cshtml"
Line 46: using Nop.Web.Models.Catalog;
Line 47:
Line 48: #line default
Line 49: #line hidden
Line 50:
Line 51:
Line 52: public class _Page_Themes_PowerHub_Views_Catalog_Vendor_cshtml : Nop.Web.Framework.ViewEngines.Razor.WebViewPage<VendorModel> {
Line 53:
Line 54: #line hidden
Line 55:
Line 56: public _Page_Themes_PowerHub_Views_Catalog_Vendor_cshtml() {
Line 57: }
Line 58:
Line 59: protected ASP.global_asax ApplicationInstance {
Line 60: get {
Line 61: return ((ASP.global_asax)(Context.ApplicationInstance));
Line 62: }
Line 63: }
Line 64:
Line 65: public override void Execute() {
Line 66:
Line 67: #line 2 "\\cthedu\Sites\contuhoc.com\Themes\PowerHub\Views\Catalog\Vendor.cshtml"
Line 68:
Line 69: Layout = "~/Views/Shared/_ColumnsTwo.cshtml";
Line 70: Html.AddTitleParts(!String.IsNullOrEmpty(Model.MetaTitle) ? Model.MetaTitle : Model.Name);
Line 71: Html.AddMetaDescriptionParts(Model.MetaDescription);
Line 72: Html.AddMetaKeywordParts(Model.MetaKeywords);
Line 73:
Line 74: var canonicalUrlsEnabled = EngineContext.Current.Resolve<SeoSettings>().CanonicalUrlsEnabled;
Line 75: if (canonicalUrlsEnabled)
Line 76: {
Line 77: var vendorUrl = Url.RouteUrl("Vendor", new { SeName = Model.SeName }, this.Request.Url.Scheme);
Line 78: Html.AddCanonicalUrlParts(vendorUrl);
Line 79: }
Line 80:
Line 81:
Line 82: #line default
Line 83: #line hidden
Line 84: WriteLiteral("\r\n");
Line 85:
Line 86: WriteLiteral("<div");
Line 87:
Line 88: WriteLiteral(" class=\"page vendor-page\"");
Line 89:
Line 90: WriteLiteral(">\r\n <div");
Line 91:
Line 92: WriteLiteral(" class=\"page-title\"");
Line 93:
Line 94: WriteLiteral(">\r\n <h1>");
Line 95:
Line 96:
Line 97: #line 20 "\\cthedu\Sites\contuhoc.com\Themes\PowerHub\Views\Catalog\Vendor.cshtml"
Line 98: Write(Model.Name);
Line 99:
Line 100:
Line 101: #line default
Line 102: #line hidden
Line 103: WriteLiteral("</h1>\r\n </div>\r\n <div");
Line 104:
Line 105: WriteLiteral(" class=\"page-body\"");
Line 106:
Line 107: WriteLiteral(">\r\n");
Line 108:
Line 109: WriteLiteral(" ");
Line 110:
Line 111:
Line 112: #line 23 "\\cthedu\Sites\contuhoc.com\Themes\PowerHub\Views\Catalog\Vendor.cshtml"
Line 113: Write(Html.Widget("vendordetails_top", Model.Id));
Line 114:
Line 115:
Line 116: #line default
Line 117: #line hidden
Line 118: WriteLiteral("\r\n ");
Line 119:
Line 120: WriteLiteral("\r\n");
Line 121:
Line 122:
Line 123: #line 25 "\\cthedu\Sites\contuhoc.com\Themes\PowerHub\Views\Catalog\Vendor.cshtml"
Line 124:
Line 125:
Line 126: #line default
Line 127: #line hidden
Line 128:
Line 129: #line 25 "\\cthedu\Sites\contuhoc.com\Themes\PowerHub\Views\Catalog\Vendor.cshtml"
Line 130: if (!String.IsNullOrWhiteSpace(Model.Description))
Line 131: {
Line 132:
Line 133:
Line 134: #line default
Line 135: #line hidden
Line 136: WriteLiteral(" <div");
Line 137:
Line 138: WriteLiteral(" class=\"vendor-description\"");
Line 139:
Line 140: WriteLiteral(">\r\n");
Line 141:
Line 142: WriteLiteral(" ");
Line 143:
Line 144:
Line 145: #line 28 "\\cthedu\Sites\contuhoc.com\Themes\PowerHub\Views\Catalog\Vendor.cshtml"
Line 146: Write(Html.Raw(Model.Description));
Line 147:
Line 148:
Line 149: #line default
Line 150: #line hidden
Line 151: WriteLiteral("\r\n </div>\r\n");
Line 152:
Line 153:
Line 154: #line 30 "\\cthedu\Sites\contuhoc.com\Themes\PowerHub\Views\Catalog\Vendor.cshtml"
Line 155: }
Line 156:
Line 157:
Line 158: #line default
Line 159: #line hidden
Line 160:
Line 161: #line 31 "\\cthedu\Sites\contuhoc.com\Themes\PowerHub\Views\Catalog\Vendor.cshtml"
Line 162:
Line 163:
Line 164:
Line 165: #line default
Line 166: #line hidden
Line 167: WriteLiteral(" ");
Line 168:
Line 169:
Line 170: #line 32 "\\cthedu\Sites\contuhoc.com\Themes\PowerHub\Views\Catalog\Vendor.cshtml"
Line 171: if (Model.AllowCustomersToContactVendors)
Line 172: {
Line 173:
Line 174:
Line 175: #line default
Line 176: #line hidden
Line 177: WriteLiteral(" <div");
Line 178:
Line 179: WriteLiteral(" class=\"contact-vendor\"");
Line 180:
Line 181: WriteLiteral(">\r\n <input");
Line 182:
Line 183: WriteLiteral(" type=\"button\"");
Line 184:
Line 185: WriteAttribute("value", Tuple.Create(" value=\"", 1250), Tuple.Create("\"", 1277)
Line 186:
Line 187: #line 35 "\\cthedu\Sites\contuhoc.com\Themes\PowerHub\Views\Catalog\Vendor.cshtml"
Line 188: , Tuple.Create(Tuple.Create("", 1258), Tuple.Create<System.Object, System.Int32>(T("ContactVendor")
Line 189:
Line 190: #line default
Line 191: #line hidden
Line 192: , 1258), false)
Line 193: );
Line 194:
Line 195: WriteLiteral(" class=\"button-2 contact-vendor-button\"");
Line 196:
Line 197: WriteAttribute("onclick", Tuple.Create(" onclick=\"", 1317), Tuple.Create("\"", 1401)
Line 198: , Tuple.Create(Tuple.Create("", 1327), Tuple.Create("setLocation(\'", 1327), true)
Line 199:
Line 200: #line 35 "\\cthedu\Sites\contuhoc.com\Themes\PowerHub\Views\Catalog\Vendor.cshtml"
Line 201: , Tuple.Create(Tuple.Create("", 1340), Tuple.Create<System.Object, System.Int32>(Url.RouteUrl("ContactVendor", new { vendorId = Model.Id })
Line 202:
Line 203: #line default
Line 204: #line hidden
Line 205: , 1340), false)
Line 206: , Tuple.Create(Tuple.Create("", 1399), Tuple.Create("\')", 1399), true)
Line 207: );
Line 208:
Line 209: WriteLiteral(" />\r\n </div>\r\n");
Line 210:
Line 211:
Line 212: #line 37 "\\cthedu\Sites\contuhoc.com\Themes\PowerHub\Views\Catalog\Vendor.cshtml"
Line 213: }
Line 214:
Line 215:
Line 216: #line default
Line 217: #line hidden
Line 218: WriteLiteral(" ");
Line 219:
Line 220:
Line 221: #line 38 "\\cthedu\Sites\contuhoc.com\Themes\PowerHub\Views\Catalog\Vendor.cshtml"
Line 222: if (Model.Products.Count > 0)
Line 223: {
Line 224:
Line 225:
Line 226: #line default
Line 227: #line hidden
Line 228:
Line 229: #line 40 "\\cthedu\Sites\contuhoc.com\Themes\PowerHub\Views\Catalog\Vendor.cshtml"
Line 230: Write(Html.Partial("_CatalogSelectors", Model.PagingFilteringContext, new ViewDataDictionary()));
Line 231:
Line 232:
Line 233: #line default
Line 234: #line hidden
Line 235:
Line 236: #line 40 "\\cthedu\Sites\contuhoc.com\Themes\PowerHub\Views\Catalog\Vendor.cshtml"
Line 237:
Line 238: }
Line 239:
Line 240:
Line 241: #line default
Line 242: #line hidden
Line 243:
Line 244: #line 42 "\\cthedu\Sites\contuhoc.com\Themes\PowerHub\Views\Catalog\Vendor.cshtml"
Line 245:
Line 246:
Line 247:
Line 248: #line default
Line 249: #line hidden
Line 250: WriteLiteral(" ");
Line 251:
Line 252:
Line 253: #line 43 "\\cthedu\Sites\contuhoc.com\Themes\PowerHub\Views\Catalog\Vendor.cshtml"
Line 254: if (Model.Products.Count > 0)
Line 255: {
Line 256:
Line 257:
Line 258: #line default
Line 259: #line hidden
Line 260: WriteLiteral(" <div");
Line 261:
Line 262: WriteAttribute("class", Tuple.Create(" class=\"", 1697), Tuple.Create("\"", 1789)
Line 263:
Line 264: #line 45 "\\cthedu\Sites\contuhoc.com\Themes\PowerHub\Views\Catalog\Vendor.cshtml"
Line 265: , Tuple.Create(Tuple.Create("", 1705), Tuple.Create<System.Object, System.Int32>(Model.PagingFilteringContext.ViewMode == "list" ? "product-list" : "product-grid"
Line 266:
Line 267: #line default
Line 268: #line hidden
Line 269: , 1705), false)
Line 270: );
Line 271:
Line 272: WriteLiteral(">\r\n <div");
Line 273:
Line 274: WriteLiteral(" class=\"item-grid\"");
Line 275:
Line 276: WriteLiteral(">\r\n");
Line 277:
Line 278:
Line 279: #line 47 "\\cthedu\Sites\contuhoc.com\Themes\PowerHub\Views\Catalog\Vendor.cshtml"
Line 280:
Line 281:
Line 282: #line default
Line 283: #line hidden
Line 284:
Line 285: #line 47 "\\cthedu\Sites\contuhoc.com\Themes\PowerHub\Views\Catalog\Vendor.cshtml"
Line 286: foreach (var product in Model.Products)
Line 287: {
Line 288:
Line 289:
Line 290: #line default
Line 291: #line hidden
Line 292: WriteLiteral(" <div");
Line 293:
Line 294: WriteLiteral(" class=\"item-box col-md-4 col-sm-6 col-xs-12\"");
Line 295:
Line 296: WriteLiteral(">\r\n");
Line 297:
Line 298: WriteLiteral(" ");
Line 299:
Line 300:
Line 301: #line 50 "\\cthedu\Sites\contuhoc.com\Themes\PowerHub\Views\Catalog\Vendor.cshtml"
Line 302: Write(Html.Partial("_ProductBox", item, new ViewDataDictionary { { "ListName", "Vendor: " + Model.Name } }));
Line 303:
Line 304:
Line 305: #line default
Line 306: #line hidden
Line 307: WriteLiteral("\r\n </div>\r\n");
Line 308:
Line 309:
Line 310: #line 52 "\\cthedu\Sites\contuhoc.com\Themes\PowerHub\Views\Catalog\Vendor.cshtml"
Line 311: }
Line 312:
Line 313:
Line 314: #line default
Line 315: #line hidden
Line 316: WriteLiteral(" </div>\r\n </div>\r\n");
Line 317:
Line 318:
Line 319: #line 55 "\\cthedu\Sites\contuhoc.com\Themes\PowerHub\Views\Catalog\Vendor.cshtml"
Line 320: }
Line 321:
Line 322:
Line 323: #line default
Line 324: #line hidden
Line 325: WriteLiteral(" ");
Line 326:
Line 327:
Line 328: #line 56 "\\cthedu\Sites\contuhoc.com\Themes\PowerHub\Views\Catalog\Vendor.cshtml"
Line 329:
Line 330: var pager = Html.Pager(Model.PagingFilteringContext).QueryParam("pagenumber");
Line 331:
Line 332:
Line 333: #line default
Line 334: #line hidden
Line 335: WriteLiteral("\r\n");
Line 336:
Line 337:
Line 338: #line 59 "\\cthedu\Sites\contuhoc.com\Themes\PowerHub\Views\Catalog\Vendor.cshtml"
Line 339:
Line 340:
Line 341: #line default
Line 342: #line hidden
Line 343:
Line 344: #line 59 "\\cthedu\Sites\contuhoc.com\Themes\PowerHub\Views\Catalog\Vendor.cshtml"
Line 345: if (!pager.IsEmpty())
Line 346: {
Line 347:
Line 348:
Line 349: #line default
Line 350: #line hidden
Line 351: WriteLiteral(" <div");
Line 352:
Line 353: WriteLiteral(" class=\"pager\"");
Line 354:
Line 355: WriteLiteral(">\r\n");
Line 356:
Line 357: WriteLiteral(" ");
Line 358:
Line 359:
Line 360: #line 62 "\\cthedu\Sites\contuhoc.com\Themes\PowerHub\Views\Catalog\Vendor.cshtml"
Line 361: Write(pager);
Line 362:
Line 363:
Line 364: #line default
Line 365: #line hidden
Line 366: WriteLiteral("\r\n </div>\r\n");
Line 367:
Line 368:
Line 369: #line 64 "\\cthedu\Sites\contuhoc.com\Themes\PowerHub\Views\Catalog\Vendor.cshtml"
Line 370: }
Line 371:
Line 372:
Line 373: #line default
Line 374: #line hidden
Line 375: WriteLiteral(" ");
Line 376:
Line 377:
Line 378: #line 65 "\\cthedu\Sites\contuhoc.com\Themes\PowerHub\Views\Catalog\Vendor.cshtml"
Line 379: Write(Html.Widget("vendordetails_bottom", Model.Id));
Line 380:
Line 381:
Line 382: #line default
Line 383: #line hidden
Line 384: WriteLiteral("\r\n </div>\r\n</div>\r\n");
Line 385:
Line 386: }
Line 387: }
Line 388: }
Line 389:
|