1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- @using M55128_rec.Models.ViewModels.GallerMangerModel;
- @model List<ImageMenuInfoModel>
- @if (ViewBag.t == "1")
- {
- if (Model != null && Model.Count > 0)
- {
-
- <div class="tuku-list-wrapper row tk-newlist" id="tknewwrapper">
- @if (ViewBag.p == 1)
- {
- <input type="hidden" id="totalpage" value="@ViewBag.totalp" />
- }
- @foreach (ImageMenuInfoModel subitem in Model)
- {
- <div class="tuku-list border-1px col-xs-12 col-sm-8 col-md-6 col-lg-4">
- <a @(subitem.HasImage == 1 ? "href="+ ViewBag.qs + "_"+subitem.AreaCode+subitem.PK+".html" : "style=color:rgba(0,0,0,0.4);")>
- @(subitem.AreaCode)@(subitem.GalleryNumber < 10 ? "0" + subitem.GalleryNumber.ToString() : subitem.GalleryNumber.ToString()) @subitem.GalleryName
- </a>
- </div>
- }
- </div>
- }
- <input type="hidden" id="totalpage" value="@ViewBag.totalp" />
- }
- else
- {
- if (Model != null && Model.Count > 0)
- {
- if (ViewBag.p == 1)
- {
- <input type="hidden" id="totalpage" value="@ViewBag.totalp" />
- }
- foreach (ImageMenuInfoModel subitem in Model)
- {
- <div class="tuku-list border-1px col-xs-12 col-sm-8 col-md-6 col-lg-4">
- <a @(subitem.HasImage == 1 ? "href="+ ViewBag.qs + "_"+subitem.AreaCode+subitem.PK+".html" : "style=color:rgba(0,0,0,0.4);")>
- @(subitem.AreaCode)@(subitem.GalleryNumber < 10 ? "0" + subitem.GalleryNumber.ToString() : subitem.GalleryNumber.ToString()) @subitem.GalleryName
- </a>
- </div>
- }
- }
- }
|