Midikonfirmander

Midikonfirmander

 
Hej, går du i 5. klasse, og er du vild med at gå på opdagelse, elsker du musik, gode fortællinger og seje løb?
Så har du mulighed for at være med til noget spændende om lørdagen, hvor dine forældre alligevel bare har travlt med kedelige ting som rengøring og indkøb.
Vi kalder det Midi-konfirmand.
Som Midi-konfirmand mødes du med andre på din alder, oplever kirken og kristendommen på en sej og anderledes måde. Vi synger, laver sjove løb (også på kirkegården), kommer op i kirketårnet, hører gode fortællinger og meget mere.
 
Det foregår på følgende datoer:
 
Datoer følger senere.
 
Deltagelse er gratis, men tilmelding er nødvendig.
Klik her for yderligere oplysninger.
Exception in template (Designs/Dwsimple/Paragraph/Calendar.cshtml): System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel.
   at System.Net.HttpWebRequest.GetResponse()
   at System.Xml.XmlDownloadManager.GetNonFileStream(Uri uri, ICredentials credentials, IWebProxy proxy, RequestCachePolicy cachePolicy)
   at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
   at System.Xml.XmlTextReaderImpl.FinishInitUriString()
   at System.Xml.XmlReaderSettings.CreateReader(String inputUri, XmlParserContext inputContext)
   at System.Xml.Linq.XDocument.Load(String uri, LoadOptions options)
   at CompiledRazorTemplates.Dynamic.cdefbbcafcdd.b__0(TextWriter __razor_helper_writer)
   at CompiledRazorTemplates.Dynamic.cdefbbcafcdd.Execute()
   at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context)
   at RazorEngine.Razor.Parse[T](String razorTemplate, T model, String cacheName)
   at Dynamicweb.Rendering.Template.Output()
@using System.Xml.Linq; @using System.Text; @using System.Globalization; @{ init(); } @functions { private int columnsWritten { get; set; } private int columns { get; set; } public void init() { columnsWritten = Dynamicweb.Input.FormatInteger(System.Web.HttpContext.Current.Items["currentColumns"]); columns = GetInteger("Item.Width"); System.Web.HttpContext.Current.Items["currentColumns"] = columnsWritten + GetInteger("Item.Width"); } public void Fluid() { columnsWritten = Dynamicweb.Input.FormatInteger(System.Web.HttpContext.Current.Items["currentColumns"]); columns = 12; System.Web.HttpContext.Current.Items["currentColumns"] = columnsWritten + 12; } public string ColumnClass() { if (GetString("Item.WidthMobile") == "hide"){ return "col-md-" + GetString("Item.Width") + " hidden-xs"; } else { return "col-md-" + GetString("Item.Width") + " col-xs-" + GetString("Item.WidthMobile"); } } public string NewRow() { if (columns + columnsWritten > 12) { System.Web.HttpContext.Current.Items["currentColumns"] = columns; return "</div><div class=\"row\">"; } else { return string.Empty; } } } @NewRow() <div class="@ColumnClass()"> <h1>@GetString("Item.Titel")</h1> @if (@GetString("Item.LayoutMode") == "list") { @CalendarList(); } else { string thisyear = ""; <ul class="timeline hidden-xs"> @{ DateTime EndDate = DateTime.Now.AddDays(GetInteger("Item.Days")); String StartDate = DateTime.Now.ToString("dd/MM/yyyy"); String Limit = int.Parse(GetString("Item.CountLimit"), NumberStyles.AllowThousands).ToString(); if (GetBoolean("Item.StartDateNow") == false){ EndDate = Convert.ToDateTime(GetString("Item.StartDate")).AddDays(GetInteger("Item.Days")); StartDate = GetString("Item.StartDate"); } string linkstring = GetString("Item.FeedLink")+"&InKontonr="+GetString("Item.AccountNumber")+"&InMaksAntalAftaler="+Limit+"&InDatoFra="+StartDate+"&InDatoTil="+EndDate.ToString("dd/MM/yyyy"); if (GetString("Item.Show.Filter") != "alle"){ linkstring += "&InAftaletypeID=" + GetString("Item.Show.Filter"); } XDocument xdoc = XDocument.Load(linkstring); var elements = xdoc.Element("DATA").Elements("AFTALE"); foreach (var el in elements) { string id = "0"; string type = "alle"; DateTime date; string title = "Title"; string description = "Description"; string fulldate = "Date"; string cleanDate = ""; string location = ""; string document = ""; string document_type = "document"; if (el.Elements("ID").Any()){ id = el.Element("ID").Value; } if (el.Elements("AFTALETYPE").Any()){ type = el.Element("AFTALETYPE").Value; } if (el.Elements("DATO_FRA").Any() && el.Elements("KL_FRA").Any()) { date = DateTime.Parse(el.Element("DATO_FRA").Value + " " + el.Element("KL_FRA").Value, new CultureInfo("da-DK")); cleanDate = date.ToString("dddd d. MMMM kl. HH:mm", new CultureInfo("da-DK")); } if (el.Elements("OVERSKRIFT").Any()){ title = el.Element("OVERSKRIFT").Value; } if (el.Elements("BESKRIVELSE").Any()){ description = el.Element("BESKRIVELSE").Value; } if (el.Elements("DATO_FORMATERET").Any()){ fulldate = el.Element("DATO_FORMATERET").Value; } if (el.Elements("STED").Any()){ location = el.Element("STED").Value; } if (el.Elements("OFFENTLIGE_DOKUMENTER").Any() && el.Element("OFFENTLIGE_DOKUMENTER").Elements("DOKUMENT").Any() && el.Element("OFFENTLIGE_DOKUMENTER").Element("DOKUMENT").Elements("URL").Any()){ document = "http://kalender.brandsoft.dk/bska/" + el.Element("OFFENTLIGE_DOKUMENTER").Element("DOKUMENT").Element("URL").Value; } if (el.Elements("OFFENTLIGE_DOKUMENTER").Any() && el.Element("OFFENTLIGE_DOKUMENTER").Elements("DOKUMENT").Any() && el.Element("OFFENTLIGE_DOKUMENTER").Element("DOKUMENT").Elements("DOKUMENTTYPE").Any()){ document_type = el.Element("OFFENTLIGE_DOKUMENTER").Element("DOKUMENT").Element("DOKUMENTTYPE").Value; } <li class="event"> <div class="event-date"> <h3>@title</h3> </div> <div class="event-body"> <div class="row"> <div class="col-md-12"> <p> @description </p> <!--<p><i>@location</i></p>--> @if (document != ""){ <a href="@document" class="btn btn-dw-primary pull-right" download>Download dokument</a> } </div> </div> </div> <div class="event-footer"> <ul class="aux-info-cells"> <li><span class="label label-default">@type</span> &nbsp;&nbsp; @fulldate</li> </ul> </div> </li> } } </ul> <div class="hidden-lg hidden-md hidden-sm"> @CalendarList(); </div> } </div> @helper CalendarList(){ <ul class="list-listings blog-list"> @{ DateTime EndDate = DateTime.Now.AddDays(GetInteger("Item.Days")); String StartDate = DateTime.Now.ToString("dd/MM/yyyy"); String Limit = int.Parse(GetString("Item.CountLimit"), NumberStyles.AllowThousands).ToString(); if (GetBoolean("Item.StartDateNow") == false){ EndDate = Convert.ToDateTime(GetString("Item.StartDate")).AddDays(GetInteger("Item.Days")); StartDate = GetString("Item.StartDate"); } string linkstring = GetString("Item.FeedLink")+"&InKontonr="+GetString("Item.AccountNumber")+"&InMaksAntalAftaler="+Limit+"&InDatoFra="+StartDate+"&InDatoTil="+EndDate.ToString("dd/MM/yyyy"); if (GetString("Item.Show.Filter") != "alle"){ linkstring += "&InAftaletypeID=" + GetString("Item.Show.Filter"); } XDocument xdoc = XDocument.Load(linkstring); var elements = xdoc.Element("DATA").Elements("AFTALE"); foreach (var el in elements) { string id = "0"; string type = "alle"; DateTime date; string title = "Title"; string description = "Description"; string fulldate = "Date"; string cleanDate = ""; string location = ""; string document = ""; string document_type = "document"; if (el.Elements("ID").Any()){ id = el.Element("ID").Value; } if (el.Elements("AFTALETYPE").Any()){ type = el.Element("AFTALETYPE").Value; } if (el.Elements("DATO_FRA").Any() && el.Elements("KL_FRA").Any()) { date = DateTime.Parse(el.Element("DATO_FRA").Value + " " + el.Element("KL_FRA").Value, new CultureInfo("da-DK")); cleanDate = date.ToString("dddd d. MMMM kl. HH:mm", new CultureInfo("da-DK")); } if (el.Elements("OVERSKRIFT").Any()){ title = el.Element("OVERSKRIFT").Value; } if (el.Elements("BESKRIVELSE").Any()){ description = el.Element("BESKRIVELSE").Value; } if (el.Elements("DATO_FORMATERET").Any()){ fulldate = el.Element("DATO_FORMATERET").Value; } if (el.Elements("STED").Any()){ location = el.Element("STED").Value; } if (el.Elements("OFFENTLIGE_DOKUMENTER").Any() && el.Element("OFFENTLIGE_DOKUMENTER").Elements("DOKUMENT").Any() && el.Element("OFFENTLIGE_DOKUMENTER").Element("DOKUMENT").Elements("URL").Any()){ document = "http://kalender.brandsoft.dk/bska/" + el.Element("OFFENTLIGE_DOKUMENTER").Element("DOKUMENT").Element("URL").Value; } if (el.Elements("OFFENTLIGE_DOKUMENTER").Any() && el.Element("OFFENTLIGE_DOKUMENTER").Elements("DOKUMENT").Any() && el.Element("OFFENTLIGE_DOKUMENTER").Element("DOKUMENT").Elements("DOKUMENTTYPE").Any()){ document_type = el.Element("OFFENTLIGE_DOKUMENTER").Element("DOKUMENT").Element("DOKUMENTTYPE").Value; } <li class="blog-list-caption"> <a href="#" onclick="toggle_visibility('@id');"> <div class="listing-body"> <h2>@title</h2> <span class="label label-default">@type</span><span class="list-item-info"><text>&nbsp;&nbsp;</text>@cleanDate</span> <p></p> @if (GetBoolean("Item.ShowInfo")){ <p id="@id" style="display: block">@description</p> } else { <p id="@id" style="display: none">@description</p> } <p></p> @if (document != ""){ if (document_type != "OFFENTLIGT_AFTALE_BILLEDE"){ <a href="@document" class="btn btn-dw-primary" download>Download dokument</a> } <p></p> } <!--<span class="list-item-info">@location</span>--> </div> </a> @if (document != ""){ if (document_type == "OFFENTLIGT_AFTALE_BILLEDE"){ <div class="listing-image"> <img class="img-responsive" src="@document" alt=""></img> </div> } } </li> } } </ul> } <script type="text/javascript"> function toggle_visibility(id) { var e = document.getElementById(id); if(e.style.display == 'block') e.style.display = 'none'; else e.style.display = 'block'; } </script>