Line 1: #pragma checksum "C:\inetpub\wwwroot\Fakulte\Views\Service\AkademikBolumler.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "6261A22B30DCB4C3F4AAB6477DDDEBBAE6FE13A1"
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 CMS.Web.Helpers;
Line 28: using WebMatrix.Data;
Line 29: using WebMatrix.WebData;
Line 30: using Microsoft.Web.Helpers;
Line 31: using DotNetOpenAuth.AspNet;
Line 32: using Microsoft.Web.WebPages.OAuth;
Line 33:
Line 34:
Line 35: public class _Page_Views_Service_AkademikBolumler_cshtml : CMS.Web.Helpers.CMSWebViewPage<IEnumerable<CMS.Web.EKampusServis1.BirimDVO>> {
Line 36:
Line 37: #line hidden
Line 38:
Line 39: #line 11 "C:\inetpub\wwwroot\Fakulte\Views\Service\AkademikBolumler.cshtml"
Line 40:
Line 41: public stringumUrl(string bolumID)
Line 42: {
Line 43: int _bolumID = CMS.General.DataReader.GetInt32(bolumID);
Line 44:
Line 45: List<CMS.Data.Models.WebSite> lstWebSiteUrls = (List<CMS.Data.Models.WebSite>)ViewBag.WebSiteUrls;
Line 46:
Line 47: var item = lstWebSiteUrls.Where(k => k.ID == _bolumID).FirstOrDefault();
Line 48: if (item != null)
Line 49: {
Line 50: return item.url;
Line 51: }
Line 52: else
Line 53: {
Line 54: return "";
Line 55: }
Line 56:
Line 57: }
Line 58:
Line 59: #line default
Line 60: #line hidden
Line 61:
Line 62:
Line 63: public _Page_Views_Service_AkademikBolumler_cshtml() {
Line 64: }
Line 65:
Line 66: protected ASP.global_asax ApplicationInstance {
Line 67: get {
Line 68: return ((ASP.global_asax)(Context.ApplicationInstance));
Line 69: }
Line 70: }
Line 71:
Line 72: public override void Execute() {
Line 73:
Line 74: #line 2 "C:\inetpub\wwwroot\Fakulte\Views\Service\AkademikBolumler.cshtml"
Line 75:
Line 76: ViewBag.PageTitle = string.Format("{0} | {1}", T("Main.AkademikBolumler"), SITE_CONFIG.siteBaslik);
Line 77: ViewBag.SeoKeyWords = SITE_CONFIG.siteAnahtarKelimeler;
Line 78: ViewBag.SeoDescription = SITE_CONFIG.siteAciklama;
Line 79: Layout = "~/Views/Shared/_LayoutMain.cshtml";
Line 80:
Line 81:
Line 82: #line default
Line 83: #line hidden
Line 84: WriteLiteral("\r\n\r\n\r\n\r\n");
Line 85:
Line 86: WriteLiteral("\r\n");
Line 87:
Line 88: DefineSection("js", () => {
Line 89:
Line 90: WriteLiteral("\r\n\r\n <style");
Line 91:
Line 92: WriteLiteral(" type=\"text/css\"");
Line 93:
Line 94: WriteLiteral(">\r\n ul li {\r\n list-style-type: none;\r\n }\r\n\r\n .bol" +
Line 95: "umDetail {\r\n display: none;\r\n }\r\n </style>\r\n\r\n <script");
Line 96:
Line 97: WriteLiteral(" type=\"text/javascript\"");
Line 98:
Line 99: WriteLiteral(@">
Line 100: $(document).ready(function() {
Line 101: $("".bolumItem"").hover(function() {
Line 102:
Line 103: $(this).children("".bolumDetail"").show();
Line 104:
Line 105: }, function() {
Line 106: $(this).children("".bolumDetail"").hide();
Line 107: });
Line 108: });
Line 109: </script>
Line 110:
Line 111: ");
Line 112:
Line 113: });
Line 114:
Line 115: WriteLiteral("\r\n\r\n\r\n<div");
Line 116:
Line 117: WriteLiteral(" class=\"container\"");
Line 118:
Line 119: WriteLiteral(">\r\n <div");
Line 120:
Line 121: WriteLiteral(" class=\"row\"");
Line 122:
Line 123: WriteLiteral(">\r\n <div");
Line 124:
Line 125: WriteLiteral(" class=\"col-md-12\"");
Line 126:
Line 127: WriteLiteral(">\r\n <div");
Line 128:
Line 129: WriteLiteral(" class=\"widget-main\"");
Line 130:
Line 131: WriteLiteral(">\r\n <div");
Line 132:
Line 133: WriteLiteral(" class=\"widget-main-title\"");
Line 134:
Line 135: WriteLiteral(">\r\n <h4");
Line 136:
Line 137: WriteLiteral(" class=\"widget-title text-center\"");
Line 138:
Line 139: WriteLiteral(" id=\"sayfa_ismi4\"");
Line 140:
Line 141: WriteLiteral(">\r\n");
Line 142:
Line 143: WriteLiteral(" ");
Line 144:
Line 145:
Line 146: #line 65 "C:\inetpub\wwwroot\Fakulte\Views\Service\AkademikBolumler.cshtml"
Line 147: Write(T("Main.AkademikBolumler"));
Line 148:
Line 149:
Line 150: #line default
Line 151: #line hidden
Line 152: WriteLiteral("\r\n </h4>\r\n </div>\r\n </div>\r\n " +
Line 153: " <div");
Line 154:
Line 155: WriteLiteral(" style=\"text-align: justify; min-height:390px\"");
Line 156:
Line 157: WriteLiteral(" class=\"blog-post-inner\"");
Line 158:
Line 159: WriteLiteral(">\r\n\r\n");
Line 160:
Line 161:
Line 162: #line 71 "C:\inetpub\wwwroot\Fakulte\Views\Service\AkademikBolumler.cshtml"
Line 163:
Line 164:
Line 165: #line default
Line 166: #line hidden
Line 167:
Line 168: #line 71 "C:\inetpub\wwwroot\Fakulte\Views\Service\AkademikBolumler.cshtml"
Line 169: foreach (var item in Model.Where(k => k.UstBirimID.Equals(CMS.General.DataReader.GetString(WebSiteUrl.fakulteID))).OrderBy(k => k.BirimAdi))
Line 170: {
Line 171:
Line 172:
Line 173: #line default
Line 174: #line hidden
Line 175: WriteLiteral(" <ul");
Line 176:
Line 177: WriteLiteral(" style=\"border-bottom:dashed 1px; border-color:#d5dbe0 !important; list-style:squ" +
Line 178: "are\"");
Line 179:
Line 180: WriteLiteral(" class=\"dropdown\"");
Line 181:
Line 182: WriteLiteral(">\r\n <li");
Line 183:
Line 184: WriteLiteral(" class=\"bolumItem\"");
Line 185:
Line 186: WriteLiteral(">\r\n <a");
Line 187:
Line 188: WriteLiteral(" target=\"_blank\"");
Line 189:
Line 190: WriteAttribute("href", Tuple.Create(" href=\"", 2192), Tuple.Create("\"", 2225)
Line 191:
Line 192: #line 75 "C:\inetpub\wwwroot\Fakulte\Views\Service\AkademikBolumler.cshtml"
Line 193: , Tuple.Create(Tuple.Create("", 2199), Tuple.Create<System.Object, System.Int32>(GetBolumUrl(item.BirimId)
Line 194:
Line 195: #line default
Line 196: #line hidden
Line 197: , 2199), false)
Line 198: );
Line 199:
Line 200: WriteLiteral(" style=\"color:#4782b2\"");
Line 201:
Line 202: WriteLiteral(">");
Line 203:
Line 204:
Line 205: #line 75 "C:\inetpub\wwwroot\Fakulte\Views\Service\AkademikBolumler.cshtml"
Line 206: Write(item.BirimAdi);
Line 207:
Line 208:
Line 209: #line default
Line 210: #line hidden
Line 211: WriteLiteral("</a>\r\n <ul");
Line 212:
Line 213: WriteLiteral(" class=\"bolumDetail\"");
Line 214:
Line 215: WriteLiteral(">\r\n\r\n");
Line 216:
Line 217:
Line 218: #line 78 "C:\inetpub\wwwroot\Fakulte\Views\Service\AkademikBolumler.cshtml"
Line 219:
Line 220:
Line 221: #line default
Line 222: #line hidden
Line 223:
Line 224: #line 78 "C:\inetpub\wwwroot\Fakulte\Views\Service\AkademikBolumler.cshtml"
Line 225: foreach (var subItem in Model.Where(k => k.UstBirimID.Equals(item.BirimId)).OrderBy(k => k.BirimAdi))
Line 226: {
Line 227: string link = GetBolumUrl(subItem.BirimId);
Line 228: if (string.IsNullOrEmpty(link))
Line 229: {
Line 230:
Line 231:
Line 232: #line default
Line 233: #line hidden
Line 234: WriteLiteral(" <li>\r\n " +
Line 235: " <a");
Line 236:
Line 237: WriteAttribute("href", Tuple.Create(" href=\"", 2777), Tuple.Create("\"", 2947)
Line 238:
Line 239: #line 84 "C:\inetpub\wwwroot\Fakulte\Views\Service\AkademikBolumler.cshtml"
Line 240: , Tuple.Create(Tuple.Create("", 2784), Tuple.Create<System.Object, System.Int32>(Url.RouteUrl("bolumdetail", new { @lang=SESSION_LANG_SHORT_TITLE, @title=CMS.General.StaticMethods.ReWriterPath(subItem.BirimAdi), @id=subItem.BirimId, @sira=1 })
Line 241:
Line 242: #line default
Line 243: #line hidden
Line 244: , 2784), false)
Line 245: );
Line 246:
Line 247: WriteLiteral(">\r\n");
Line 248:
Line 249: WriteLiteral(" ");
Line 250:
Line 251:
Line 252: #line 85 "C:\inetpub\wwwroot\Fakulte\Views\Service\AkademikBolumler.cshtml"
Line 253: Write(subItem.BirimAdi);
Line 254:
Line 255:
Line 256: #line default
Line 257: #line hidden
Line 258: WriteLiteral("\r\n </a>\r\n " +
Line 259: " </li>\r\n");
Line 260:
Line 261:
Line 262: #line 88 "C:\inetpub\wwwroot\Fakulte\Views\Service\AkademikBolumler.cshtml"
Line 263: }
Line 264: else
Line 265: {
Line 266:
Line 267:
Line 268: #line default
Line 269: #line hidden
Line 270: WriteLiteral(" <li>\r\n " +
Line 271: " <a");
Line 272:
Line 273: WriteAttribute("href", Tuple.Create(" href=\"", 3327), Tuple.Create("\"", 3339)
Line 274:
Line 275: #line 92 "C:\inetpub\wwwroot\Fakulte\Views\Service\AkademikBolumler.cshtml"
Line 276: , Tuple.Create(Tuple.Create("", 3334), Tuple.Create<System.Object, System.Int32>(link
Line 277:
Line 278: #line default
Line 279: #line hidden
Line 280: , 3334), false)
Line 281: );
Line 282:
Line 283: WriteLiteral(">\r\n");
Line 284:
Line 285: WriteLiteral(" ");
Line 286:
Line 287:
Line 288: #line 93 "C:\inetpub\wwwroot\Fakulte\Views\Service\AkademikBolumler.cshtml"
Line 289: Write(subItem.BirimAdi);
Line 290:
Line 291:
Line 292: #line default
Line 293: #line hidden
Line 294: WriteLiteral("\r\n </a>\r\n " +
Line 295: " </li>\r\n");
Line 296:
Line 297:
Line 298: #line 96 "C:\inetpub\wwwroot\Fakulte\Views\Service\AkademikBolumler.cshtml"
Line 299: }
Line 300:
Line 301:
Line 302: }
Line 303:
Line 304:
Line 305: #line default
Line 306: #line hidden
Line 307: WriteLiteral(" </ul>\r\n </li>\r\n " +
Line 308: " </ul>\r\n");
Line 309:
Line 310:
Line 311: #line 103 "C:\inetpub\wwwroot\Fakulte\Views\Service\AkademikBolumler.cshtml"
Line 312: }
Line 313:
Line 314:
Line 315: #line default
Line 316: #line hidden
Line 317: WriteLiteral("\r\n\r\n\r\n </div>\r\n </div>\r\n </div>\r\n</div>");
Line 318:
Line 319: }
Line 320: }
Line 321: }
Line 322:
|