private void GetLinks(int pageID, bool oneColumn, out string leftSideLinks, out string rightSideLinks, out string pageTitle, out string header, out string footer)
        {
            var id = pageID;

            //if (maxColWidth > 0)
            //{
            //    leftColWidth.Text = "width:" + maxColWidth + "px; overflow:hidden;white-space:nowrap;";
            //    rightColWidth.Text = "width:" + maxColWidth + "px; overflow:hidden;white-space:nowrap;";
            //}
            leftSideLinks = "";
            rightSideLinks = "";
            pageTitle = "";
            header = "";
            footer = "";

            if (id == 0)
                return;

            var service = new com.dailyez.Service();
            var page = service.GetPage(ConfigurationManager.AppSettings["webServiceKey"], id);

            pageTitle = page.Title;
            header = page.Extra_HTML;
            footer = page.Footer_HTML;

            var links = service.GetLinksFromPage(ConfigurationManager.AppSettings["webServiceKey"], id);

            if (page.Auto_Ordering)
                Code.Utility.BubbleSortList(links);

            var leftLinks = "";
            var rightLinks = "";
            var tmp = "";

            var style = "";
            if (oneColumn)
            {
                foreach (var link in links)
                {
                    if (link.IsLink)
                    {
                        tmp += CreateATag(link);
                        tmp += "<br/>";
                    }
                    else
                    {
                        tmp += string.Format("<span style=\"{0}\" class=\"header\"><h2 style='font-size:16px; margin:0;'>{1}</h2></span>", GetStyle(link.Title), FormatTitle(link.Title));
                        tmp += "<br/>";
                    }
                }
                leftLinks = tmp;
            }
            else
            {
                var colLength = links.Length / 2;

                if (((links.Length) % 2) == 1)
                    colLength++;
                var counter = 0;
                foreach (var link in links)
                {
                    if (link.IsLink)
                    {
                        tmp += GetFavIconHtml(link.URL, _favIcons) + CreateATag(link);
                        tmp += "<br/>";
                    }
                    else
                    {
                        tmp += string.Format("<span style=\"{0}\" class=\"header\"><h2 style='font-size:14px; line-height:20px; margin:0;'>{1}</h2></span>", GetStyle(link.Title), FormatTitle(link.Title));
                    }

                    counter++;

                    if (counter != colLength) continue;
                    leftLinks = tmp;
                    tmp = "";
                }
                rightLinks = tmp;
            }
            leftSideLinks = leftLinks;
            rightSideLinks = rightLinks;
        }