@{
    string templateDirectory = ViewBag.TemplateDirectory;
}
<div class="index-box-1 com-bd margin-top-10 clearfix">
    <div class="zuixin fl clearfix">
        <div class="title fl">
            <b>最新消息:</b>
        </div>
        <div class="txtScroll-top fl">
            <div class="bd">
                <ul class="infoList">
                    @foreach (dynamic item in Html.InfoDataList(new { ColumnId = 3237, ShowNumber = 5 }))
                    {
                        string url = Html.InfoDataUrl((int)item.ColumnId, (int)item.Id);
                        string thedate = item.Thedate.ToString("MM-dd");
                        <li><a href="@url" target="_blank" class="text-ellipsis">@item.Title</a><span class="date">@thedate</span></li>

                    }
                </ul>
            </div>
        </div>
        <script type="text/javascript">
            jQuery(".txtScroll-top").slide({ titCell: ".hd ul", mainCell: ".bd ul", autoPage: true, effect: "topLoop", autoPlay: true, vis: 1 });
        </script>
    </div>
    <div class="jinri-date fr" id="date">
    </div>
    <script type="text/javascript">
        $(function () {
            var arr = ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"];
            var date = new Date();
            $("#date").html("今日 : " + date.getFullYear() + "年" + (date.getMonth() + 1) + "月"
                + date.getDate() + "日" + " " + arr[date.getDay()])
        })
    </script>
</div>
<div class="index-box-2 margin-top-10 clearfix">
    <div class="fl">
        @Html.Partial("slideModel")
    </div>
    <div class="fl com-bd">
        <div class="slideTxtBox">
            <div class="hd">
                <ul><li><a href="@Html.ColumnUrl(4240)">校园新闻</a></li><li><a href="@Html.ColumnUrl(4242)">招生动态</a></li></ul>
            </div>
            <div class="bd">
                <ul class="m-newslist m-newslist-5">
                    @foreach (dynamic item in Html.InfoDataList(new { ColumnId = 4240, ShowNumber = 7 }))
                    {
                        string url = Html.InfoDataUrl((int)item.ColumnId, (int)item.Id);
                        string thedate = item.Thedate.ToString("MM-dd");
                        <li class="clearfix">
                            <span class="fl title">
                                <a href="@url" target="_self" title="" class="text-ellipsis">@item.Title</a>
                            </span>
                            <span class="date fr">@thedate</span>
                        </li>
                    }
                </ul>
                <ul class="m-newslist m-newslist-5">
                    @foreach (dynamic item in Html.InfoDataList(new { ColumnId = 4242, ShowNumber = 7 }))
                    {
                        string url = Html.InfoDataUrl((int)item.ColumnId, (int)item.Id);
                        string thedate = item.Thedate.ToString("MM-dd");
                        <li class="clearfix">
                            <span class="fl title ">
                                <a href="@url" target="_self" title="" class="text-ellipsis">@item.Title</a>
                            </span>
                            <span class="date fr">@thedate</span>
                        </li>
                    }
                </ul>
            </div>
        </div>
        <script type="text/javascript">jQuery(".slideTxtBox").slide();</script>
    </div>
    <div class="fr">
        <div class="m-index-newsbox1 com-bd">
            <div class="m-index-newstit1">
                通知公告
            </div>
            <div class="m-index-newscon1">
                <ul class="m-newslist m-newslist-1">
                    @foreach (dynamic item in Html.InfoDataList(new { ColumnId = 4241, ShowNumber = 5 }))
                    {
                        string url = Html.InfoDataUrl((int)item.ColumnId, (int)item.Id);
                        string thedate = item.Thedate.ToString("MM-dd");
                        <li class="clearfix">
                            <span class="fl title ">
                                <a href="@url" target="_self" title="" class="text-ellipsis">@item.Title</a>
                            </span>
                        </li>
                    }
                </ul>
            </div>
        </div>
        <div class="m-linkBox margin-top-10">
            <a href="@Html.ColumnUrl(5259)">
                <img src="@templateDirectory/images/alin1.gif" alt="课表查询系统" />
            </a>
        </div>
    </div>
    <div class="clearFix"></div>
</div>
<div class="index-box-3 margin-top-10">
    <div class="school-profile fl">
        <p class="fl passage">
            PageAdmin集成内容发布、文章、产品、图片、招聘、留言、自定义模型、采集等功能于一体的企业级网站管理系统。
            可视 化的管理网站内容和结构：自由的模块布局和组合设计，灵活的内容调用、强大的自定义功能、所见即所得的编辑器等等功能在都体现了网站架构的自由和灵活，网 站可以做得很简洁，也可以做得很复杂，完全可以根据自己需求来架设。
            自由设计网站风格界面：系统采用div+css结构，遵循国际最新W3C网页设计标 准，兼容IE6、IE7、火狐、Opera等主流浏览器.....
            <a href="@Html.ColumnUrl(4236)" style="color: rgb(255, 102, 0);">详细>></a>
        </p>
        <a href="@Html.ColumnUrl(4236)">
            <img src="@templateDirectory/images/xxjj.jpg" alt="学校简介" />
        </a>
    </div>
    <div class="fr">
        <a href="@Html.ColumnUrl(5260)">
            <img src="@templateDirectory/images/alin2.gif" alt="班班通" />
        </a>
        <a href="@Html.ColumnUrl(5260)">
            <img class="middle-img" src="@templateDirectory/images/alin3.gif" alt="校园FTP" />
        </a>
        <a href="@Html.ColumnUrl(5260)">
            <img src="@templateDirectory/images/alin4.gif" alt="我爱我班" />
        </a>
    </div>
</div>
<div class="index-box-4 margin-top-10">
    <img src="@templateDirectory/images/banner.jpg" alt="文明诚信勤奋好学" />
</div>
<div class="index-box-5 margin-top-10">
    <div class="fl m-index-newsbox2 margin-right-10">
        <div class="m-index-newstit2 clearfix">
            <div class="tit fl">
                教育科研
            </div>
            <a href="@Html.ColumnUrl(5237)" class="fr more">
            </a>
        </div>
        <ul class="m-newslist m-newslist-2">
            @foreach (dynamic item in Html.InfoDataList(new { ColumnId = 5237, ShowNumber = 5 }))
            {
                string url = Html.InfoDataUrl((int)item.ColumnId, (int)item.Id);
                string thedate = item.Thedate.ToString("MM-dd");
                <li class="clearfix">
                    <span class="fl title ">
                        <a href="@url" target="_self" title="" class="text-ellipsis">@item.Title</a>
                    </span>
                    <span class="date fr">@thedate</span>
                </li>
            }
        </ul>
    </div>
    <div class="fl m-index-newsbox2">
        <div class="m-index-newstit2 clearfix">
            <div class="tit fl">
                德育之窗
            </div>
            <a href="@Html.ColumnUrl(5239)" class="fr more">
            </a>
        </div>
        <ul class="m-newslist m-newslist-2">
            @foreach (dynamic item in Html.InfoDataList(new { ColumnId = 5239, ShowNumber = 5 }))
            {
                string url = Html.InfoDataUrl((int)item.ColumnId, (int)item.Id);
                string thedate = item.Thedate.ToString("MM-dd");
                <li class="clearfix">
                    <span class="fl title ">
                        <a href="@url" target="_self" title="" class="text-ellipsis">@item.Title</a>
                    </span>
                    <span class="date fr">@thedate</span>
                </li>
            }
        </ul>
    </div>
    <div class="m-index-newsbox1 com-bd fr">
        <div class="m-index-newstit1 ">
            学生随笔
        </div>
        <div class="m-index-newscon1">
            <ul class="m-newslist m-newslist-1 m-newslist-3">
                @foreach (dynamic item in Html.InfoDataList(new { ColumnId = 5246, ShowNumber = 5 }))
                {
                    string url = Html.InfoDataUrl((int)item.ColumnId, (int)item.Id);
                    string thedate = item.Thedate.ToString("MM-dd");
                    <li class="clearfix">
                        <span class="fl title ">
                            <a href="@url" target="_self" title="" class="text-ellipsis">@item.Title</a>
                        </span>
                    </li>
                }
            </ul>
        </div>
    </div>

    <div class="clearFix"></div>
</div>
<div class="index-box-6 margin-top-10">
    <div class="fl m-index-newsbox2 margin-right-10">
        <div class="m-index-newstit2 clearfix">
            <div class="tit fl">
                教工专栏
            </div>
            <a href="@Html.ColumnUrl(5249)" class="fr more">
            </a>
        </div>
        <ul class="m-newslist m-newslist-2">
            @foreach (dynamic item in Html.InfoDataList(new { ColumnId = 5249, ShowNumber = 5 }))
            {
                string url = Html.InfoDataUrl((int)item.ColumnId, (int)item.Id);
                string thedate = item.Thedate.ToString("MM-dd");
                <li class="clearfix">
                    <span class="fl title ">
                        <a href="@url" target="_self" title="" class="text-ellipsis">@item.Title</a>
                    </span>
                    <span class="date fr">@thedate</span>
                </li>
            }
        </ul>
    </div>
    <div class="fl m-index-newsbox2">
        <div class="m-index-newstit2 clearfix">
            <div class="tit fl">
                考试专栏
            </div>
            <a href="@Html.ColumnUrl(5254)" class="fr more">
            </a>
        </div>
        <ul class="m-newslist m-newslist-2">
            @foreach (dynamic item in Html.InfoDataList(new { ColumnId = 5254, ShowNumber = 5 }))
            {
                string url = Html.InfoDataUrl((int)item.ColumnId, (int)item.Id);
                string thedate = item.Thedate.ToString("MM-dd");
                <li class="clearfix">
                    <span class="fl title ">
                        <a href="@url" target="_self" title="" class="text-ellipsis">@item.Title</a>
                    </span>
                    <span class="date fr">@thedate</span>
                </li>
            }
        </ul>
    </div>
    <div class="m-index-newsbox1 com-bd fr">
        <div class="m-index-newstit1 ">
            学生摄影
        </div>
        <div class="m-index-newscon1">
            <ul class="m-newslist m-newslist-1 m-newslist-3">
                @foreach (dynamic item in Html.InfoDataList(new { ColumnId = 5247, ShowNumber = 5 }))
                {
                    string url = Html.InfoDataUrl((int)item.ColumnId, (int)item.Id);
                    string thedate = item.Thedate.ToString("MM-dd");
                    <li class="clearfix">
                        <span class="fl title ">
                            <a href="@url" target="_self" title="" class="text-ellipsis">@item.Title</a>
                        </span>
                    </li>
                }
            </ul>
        </div>
    </div>
    <div class="clearFix"></div>
</div>
<div class="index-box-7 margin-top-10">
    <div class="fl index-pic com-bd">
        <div class="tit">
            图片中心
        </div>
        <div class="picMarquee-left">
            <div class="bd">
                <ul class="picList">
                    @foreach (dynamic item in Html.InfoDataList(new { ColumnId = 4240, ShowNumber = 5, HasThumbnaul = 1 }))
                    {
                        string url = Html.InfoDataUrl((int)item.ColumnId, (int)item.Id);
                        string thumbnail = item.Thumbnail;
                        <li>
                            <div class="pic"><a href="@url" target="_blank"><img src="@thumbnail" /></a></div>
                            <div class="title text-ellipsis"><a href="@url" target="_blank">@item.Title</a></div>
                        </li>
                    }
                </ul>
            </div>
        </div>
     </div>
          
            <script type="text/javascript">
                jQuery(".picMarquee-left").slide({ mainCell: ".bd ul", autoPlay: true, effect: "leftMarquee", vis: 5, interTime: 50 });
            </script>
            <div class="m-index-newsbox1 com-bd fr">
                <div class="m-index-newstit1 ">
                    课改信息
                </div>
                <div class="m-index-newscon1">
                    <ul class="m-newslist m-newslist-1 m-newslist-3">
                        @foreach (dynamic item in Html.InfoDataList(new { ColumnId = 5250, ShowNumber = 5 }))
                        {
                            string url = Html.InfoDataUrl((int)item.ColumnId, (int)item.Id);
                            string thedate = item.Thedate.ToString("MM-dd");
                            <li class="clearfix">
                                <span class="fl title ">
                                    <a href="@url" target="_self" title="" class="text-ellipsis">@item.Title</a>
                                </span>
                            </li>
                        }
                    </ul>
                </div>
            </div>
            <div class="clearFix"></div>
        </div>
<div class="index-box-8 margin-top-10 com-bd">
    <ul class="clearfix">
        <li class="com-bd fl">
            <a href="#">
                <img src="@templateDirectory/images/1.jpg" alt="友情链接" />
            </a>
        </li>
        <li class="com-bd fl">
            <a href="#">
                <img src="@templateDirectory/images/02.jpg" alt="友情链接" />
            </a>
        </li>
        <li class="com-bd fl">
            <a href="#">
                <img src="@templateDirectory/images/3.jpg" alt="友情链接" />
            </a>
        </li>
        <li class="com-bd fl">
            <a href="#">
                <img src="@templateDirectory/images/4.jpg" alt="友情链接" />
            </a>
        </li>
        <li class="com-bd fl">
            <a href="#">
                <img src="@templateDirectory/images/5.jpg" alt="友情链接" />
            </a>
        </li>
        <li class="com-bd fl">
            <a href="#">
                <img src="@templateDirectory/images/6.jpg" alt="友情链接" />
            </a>
        </li>
    </ul>
</div>




