HEX
Server: nginx/1.22.1
System: Linux VM-16-9-centos 3.10.0-1160.99.1.el7.x86_64 #1 SMP Wed Sep 13 14:19:20 UTC 2023 x86_64
User: www (1001)
PHP: 7.3.31
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/www.sanjiangapp.com/template/default/html/search.html
{include file=comm/head.html}

{include file=comm/top.html}

<div class="container pages">

	{include file=comm/position.html}

     <div class="row">
        {pboot:search num=12 order=sorting scode=5 field='title|content'}
            <div class="col-12 col-sm-6 col-lg-3">
              <div class="card">
                  <div class="card-img-150"><a href="[search:link]"><img class="card-img-top" src="[search:ico]" alt="[search:title]"></a></div>
                  <div class="card-body">
                    <h5 class="card-title"><a href="[search:link]">[search:title len=12 mark=1]</a></h5>
                    <p class="card-text">[search:content drophtml=1 dropblank=1 len=50 mark=1]</p>
                  </div>
               </div>
         	</div>
        {/pboot:search}
    </div>

    <!-- 分页 -->
    {pboot:if({page:rows}>0)}
	   <nav aria-label="page navigation" class="my-4">
	     <div class="pagination justify-content-center">
	     	<a class="page-item page-link" href="{page:index}">首页</a>
	     	<a class="page-item page-link" href="{page:pre}">上一页</a>
	      	{page:numbar}<!-- 数字条,小屏幕时自动隐藏-->
	      	<a class="page-item page-link" href="{page:next}">下一页</a>
	      	<a class="page-item page-link" href="{page:last}">尾页</a>
	     </div>
	   </nav>	
	{else}
	   	<div class="text-center my-5 text-secondary">未搜索到任何数据!</div>
	{/pboot:if}
    
     <!-- 搜索-->
     <form class="form-inline mb-5 justify-content-center" action="{pboot:scaction}"  method="get">
		  <div class="form-group mx-sm-3 mb-2">
		    <input type="text" name="keyword" class="form-control" placeholder="请输入关键字">
		  </div>
		  <button type="submit" class="btn btn-info mb-2">搜索</button>
     </form>
</div>

{include file=comm/foot.html}