1 Star 0 Fork 8

黑鸭子/typecho-theme-handsome

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
cross.php 6.48 KB
一键复制 编辑 原始数据 按行查看 历史
我愿人长久 提交于 2017-01-24 00:33 . update 2.0.0 重大更新!
<?php
/**
* 时光机
*
* @package custom
*/
if (!defined('__TYPECHO_ROOT_DIR__')) exit;
$this->need('header.php');
?>
<!-- aside -->
<?php $this->need('aside.php'); ?>
<!-- / aside -->
<!-- content -->
<div id="content" class="app-content" role="main">
<div class="app-content-body ">
<div class="hbox hbox-auto-xs hbox-auto-sm">
<div class="col">
<div style="background:url(<?php $this->options->timepic(); ?>) center center; background-size:cover">
<div class="wrapper-lg bg-white-opacity">
<div class="row m-t">
<div class="col-sm-7">
<a href class="thumb-lg pull-left m-r">
<img src="<?php $this->options->BlogPic() ?>" class="img-circle">
</a>
<div class="clear m-b">
<div class="m-b m-t-sm">
<span class="h3 text-black"><?php $this->options->BlogName() ?></span>
<small class="m-l"><?php $this->options->BlogJob() ?></small>
</div>
<p class="m-b">
<?php if ($this->options->socialtwitter): ?>
<a data-no-instant target="blank" href="<?php $this->options->socialtwitter() ?>" class="btn btn-sm btn-bg btn-rounded btn-default btn-icon"><i class="iconfont icon-twitter"></i></a>
<?php endif; ?>
<?php if ($this->options->socialfacebook): ?>
<a data-no-instant target="blank" href="<?php $this->options->socialfacebook() ?>" class="btn btn-sm btn-bg btn-rounded btn-default btn-icon"><i class="iconfont icon-facebook"></i></a>
<?php endif; ?>
<?php if ($this->options->socialgooglepluse): ?>
<a data-no-instant target="blank" href="<?php $this->options->socialgooglepluse() ?>" class="btn btn-sm btn-bg btn-rounded btn-default btn-icon"><i class="iconfont icon-google"></i></a>
<?php endif; ?>
</p>
<?php if ($this->options->socialgithub): ?>
<a data-no-instant target="blank" href="<?php $this->options->socialgithub() ?>" class="btn btn-sm btn-success btn-rounded">Follow</a>
<?php endif; ?>
</div>
</div>
<div class="col-sm-5">
<?php Typecho_Widget::widget('Widget_Stat')->to($stat); ?>
<div class="pull-right pull-none-xs text-center">
<a class="m-b-md inline m">
<span class="h3 block font-bold"><?php $stat->publishedCommentsNum() ?></span>
<small>comments</small>
</a>
<a class="m-b-md inline m">
<span class="h3 block font-bold"><?php $stat->publishedPostsNum() ?></span>
<small>articles</small>
</a>
<a class="m-b-md inline m">
<span class="h3 block font-bold"><?php $this->commentsNum(); ?></span>
<small>weibo</small>
</a>
</div>
</div>
</div>
</div>
</div>
<div class="wrapper bg-white b-b">
<ul class="nav nav-pills nav-sm">
<li class="active"><a><?php if($this->options->langis == '0'): ?>Small talk<?php elseif($this->options->langis == '1'): ?>我的动态<?php elseif($this->options->langis == '2'): ?>我的動態<?php endif; ?></a></li>
</ul>
</div>
<div class="padder">
<?php $this->need('say.php') ?>
</div><!--end of #pedder-->
</div>
<div class="col w-lg bg-light lter b-l bg-auto">
<div class="wrapper">
<div class="">
<h4 class="m-t-xs m-b-xs"><?php if($this->options->langis == '0'): ?>Contact information<?php elseif($this->options->langis == '1'): ?>联系方式<?php elseif($this->options->langis == '2'): ?>聯繫方式<?php endif; ?></h4>
<ul class="list-group no-bg no-borders pull-in">
<li class="list-group-item">
<a class="pull-left thumb-sm avatar m-r">
<img src="<?php $this->options->themeUrl('img/a4.png') ?>" class="img-circle">
<i class="on b-white bottom"></i>
</a>
<div class="clear">
<div><a>Email</a></div>
<small class="text-muted"><?php if ($this->options->socialemail): ?><?php $this->options->socialemail() ?><?php else: ?>外观设置——输入email地址<?php endif; ?></small>
</div>
</li>
<li class="list-group-item">
<a class="pull-left thumb-sm avatar m-r">
<img src="<?php $this->options->themeUrl('img/a5.png') ?>" class="img-circle">
<i class="on b-white bottom"></i>
</a>
<div class="clear">
<div><a>Tencent QQ</a></div>
<small class="text-muted"><?php if ($this->options->socialqq): ?><?php $this->options->socialqq() ?><?php else: ?>外观设置——输入QQ号码<?php endif; ?></small>
</div>
</li>
<li class="list-group-item">
<a class="pull-left thumb-sm avatar m-r">
<img src="<?php $this->options->themeUrl('img/a6.png') ?>" class="img-circle">
<i class="busy b-white bottom"></i>
</a>
<div class="clear">
<div><a>Sina Weibo</a></div>
<small class="text-muted"><?php if ($this->options->socialweibo): ?><?php $this->options->socialweibo() ?><?php else: ?>外观设置——输入微博ID<?php endif; ?></small>
</div>
</li>
<li class="list-group-item">
<a class="pull-left thumb-sm avatar m-r">
<img src="<?php $this->options->themeUrl('img/a7.png') ?>" class="img-circle">
<i class="busy b-white bottom"></i>
</a>
<div class="clear">
<div><a>网易云音乐</a></div>
<small class="text-muted"><?php if ($this->options->socialmusic): ?><?php $this->options->socialmusic() ?><?php else: ?>外观设置——输入网易云音乐ID<?php endif; ?></small>
</div>
</li>
</ul>
</div>
<div class="panel b-a">
<h4 class="font-thin padder"><?php if($this->options->langis == '0'): ?>About me<?php elseif($this->options->langis == '1'): ?>关于我<?php elseif($this->options->langis == '2'): ?>關於我<?php endif; ?></h4>
<ul class="list-group">
<li class="list-group-item">
<p><?php $this->options->about() ?></p>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- /content -->
<!-- footer -->
<?php $this->need('footer.php'); ?>
<!-- / footer -->
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/Lhx11187/typecho-theme-handsome.git
git@gitee.com:Lhx11187/typecho-theme-handsome.git
Lhx11187
typecho-theme-handsome
typecho-theme-handsome
master

搜索帮助