基于PHP+MYSQL开发的适用于多平台的文档管理系统,支持doc、ppt、excel、pdf、压缩包、图片、音视频 等资源的在线预览和下载,响应速度更快速对SEO更友好,收录更快、排名更强,内置文章、问题、广告管理、TAG标签、内部链接等多个运营模块帮助用户快速搭建起您专属的内容知识付费平台,帮助知识创作者快速转化内容价值。
可以做题库系统
@extends($_viewFrame)
@section('pageTitle'){{modstart_config('siteName').' - '.modstart_config('siteSlogan')}}@endsection
@section('bodyContent')
<div class="ub-search-block">
<div class="title">
海量题库供您搜索
</div>
<div class="form">
<form action="{{modstart_web_url('question/search')}}" method="get">
<div class="box">
<input type="text" name="keywords" class="form form-lg" placeholder="搜索 题目">
<button type="submit" class="btn btn-lg"><i class="iconfont icon-search1"></i> 搜索</button>
</div>
</form>
</div>
</div>
<div class="ub-container margin-top">
<div class="row">
<div class="col-md-9">
<div class="ub-panel">
<div class="head">
<div class="title">标签</div>
</div>
<div class="body">
<div class="ub-nav-category">
@foreach(\Module\Question\Util\QuestionUtil::getTags() as $tagGroup)
<a class="group-title" href="javascript:;">{{$tagGroup['groupTitle']}}</a>
<div class="group-list">
@foreach($tagGroup['groupTags'] as $tag)
<a class="item" href="{{modstart_web_url('question/list')}}/{{\ModStart\Core\Util\TagUtil::urlJoin('',[$tag['id']])}}">{{$tag['title']}}</a>
@endforeach
</div>
@endforeach
</div>
</div>
</div>
@include('module::Partner.View.pc.public.partner',['position'=>'pcHome'])
</div>
<div class="col-md-3">
@include('module::Banner.View.pc.public.banner',['position'=>'pcHome'])
<div class="ub-panel ub-list margin-top">
<div class="head">
<div class="title">最新题目</div>
</div>
<div class="body">
@foreach(\Module\Question\Util\QuestionUtil::listLatestQuestion() as $question)
<a class="item-c" href="{{modstart_web_url('question/view')}}/{{$question['alias']}}">
[{{\ModStart\Core\Type\TypeUtil::name(\Module\Question\Type\QuestionType::class,$question['type'])}}]
{{\ModStart\Core\Util\HtmlUtil::text($question['question'],100)}}
</a>
@endforeach
</div>
</div>
<div class="ub-panel ub-list margin-top">
<div class="head">
<div class="title">最近资讯</div>
</div>
<div class="body">
@foreach(\Module\News\Util\NewsUtil::listLatest() as $new)
<a class="item-c" href="{{modstart_web_url('news')}}/{{$new['id']}}">
{{$new['title']}}
</a>
@endforeach
</div>
</div>
</div>
</div>
</div>
@endsection