20181009 update

master
string1995 5 years ago
parent 0a5c3672b1
commit 9f52207670
  1. 354
      404.php
  2. 15
      allc.html
  3. 181
      blog/contact.php
  4. 185
      blog/content/contact.php
  5. 177
      blog/content/flex-slider/flexslider.css
  6. 11
      blog/content/flex-slider/jquery.flexslider-min.js
  7. BIN
      blog/content/flex-slider/theme/arrows.png
  8. BIN
      blog/content/flex-slider/theme/bg_control_nav.png
  9. BIN
      blog/content/flex-slider/theme/bg_direction_nav.png
  10. BIN
      blog/content/flex-slider/theme/blocks.png
  11. BIN
      blog/content/images/01.jpg
  12. BIN
      blog/content/images/02.jpg
  13. BIN
      blog/content/images/03.jpg
  14. BIN
      blog/content/images/04.jpg
  15. BIN
      blog/content/images/05.jpg
  16. BIN
      blog/content/images/banner.jpg
  17. BIN
      blog/content/images/carousel-left-arrow.png
  18. BIN
      blog/content/images/carousel-right-arrow.png
  19. BIN
      blog/content/images/clients/AE.png
  20. BIN
      blog/content/images/clients/Altoids.png
  21. BIN
      blog/content/images/clients/Facebook.png
  22. BIN
      blog/content/images/clients/GE.png
  23. BIN
      blog/content/images/clients/Glad.png
  24. BIN
      blog/content/images/clients/Jameson.png
  25. BIN
      blog/content/images/clients/Juicy-Fruit.png
  26. BIN
      blog/content/images/clients/Microsoft.png
  27. BIN
      blog/content/images/clients/Nike.png
  28. BIN
      blog/content/images/clients/Skittles.png
  29. BIN
      blog/content/images/clients/Smuin.png
  30. BIN
      blog/content/images/clients/Westfield.png
  31. BIN
      blog/content/images/clients/Zynga.png
  32. BIN
      blog/content/images/clients/orbitlogo.png
  33. BIN
      blog/content/images/coded-with-love.png
  34. BIN
      blog/content/images/contact_us.jpg
  35. BIN
      blog/content/images/customizable.png
  36. BIN
      blog/content/images/facebook.png
  37. BIN
      blog/content/images/for-portfolio.png
  38. BIN
      blog/content/images/github.png
  39. BIN
      blog/content/images/ico-arrow.gif
  40. BIN
      blog/content/images/image-gallery.png
  41. BIN
      blog/content/images/jquery-code.png
  42. BIN
      blog/content/images/linkedin.png
  43. BIN
      blog/content/images/logo.png
  44. BIN
      blog/content/images/photos/01.jpg
  45. BIN
      blog/content/images/photos/02.jpg
  46. BIN
      blog/content/images/photos/03.jpg
  47. BIN
      blog/content/images/photos/04.jpg
  48. BIN
      blog/content/images/photos/05.jpg
  49. BIN
      blog/content/images/photos/06.jpg
  50. BIN
      blog/content/images/photos/07.jpg
  51. BIN
      blog/content/images/photos/08.jpg
  52. BIN
      blog/content/images/photos/09.jpg
  53. BIN
      blog/content/images/photos/10.jpg
  54. BIN
      blog/content/images/prettyPhoto/dark_rounded/Thumbs.db
  55. BIN
      blog/content/images/prettyPhoto/dark_rounded/btnNext.png
  56. BIN
      blog/content/images/prettyPhoto/dark_rounded/btnPrevious.png
  57. BIN
      blog/content/images/prettyPhoto/dark_rounded/contentPattern.png
  58. BIN
      blog/content/images/prettyPhoto/dark_rounded/default_thumbnail.gif
  59. BIN
      blog/content/images/prettyPhoto/dark_rounded/loader.gif
  60. BIN
      blog/content/images/prettyPhoto/dark_rounded/sprite.png
  61. BIN
      blog/content/images/prettyPhoto/dark_square/Thumbs.db
  62. BIN
      blog/content/images/prettyPhoto/dark_square/btnNext.png
  63. BIN
      blog/content/images/prettyPhoto/dark_square/btnPrevious.png
  64. BIN
      blog/content/images/prettyPhoto/dark_square/contentPattern.png
  65. BIN
      blog/content/images/prettyPhoto/dark_square/default_thumbnail.gif
  66. BIN
      blog/content/images/prettyPhoto/dark_square/loader.gif
  67. BIN
      blog/content/images/prettyPhoto/dark_square/sprite.png
  68. BIN
      blog/content/images/prettyPhoto/default/default_thumb.png
  69. BIN
      blog/content/images/prettyPhoto/default/loader.gif
  70. BIN
      blog/content/images/prettyPhoto/default/sprite.png
  71. BIN
      blog/content/images/prettyPhoto/default/sprite_next.png
  72. BIN
      blog/content/images/prettyPhoto/default/sprite_prev.png
  73. BIN
      blog/content/images/prettyPhoto/default/sprite_x.png
  74. BIN
      blog/content/images/prettyPhoto/default/sprite_y.png
  75. BIN
      blog/content/images/prettyPhoto/facebook/btnNext.png
  76. BIN
      blog/content/images/prettyPhoto/facebook/btnPrevious.png
  77. BIN
      blog/content/images/prettyPhoto/facebook/contentPatternBottom.png
  78. BIN
      blog/content/images/prettyPhoto/facebook/contentPatternLeft.png
  79. BIN
      blog/content/images/prettyPhoto/facebook/contentPatternRight.png
  80. BIN
      blog/content/images/prettyPhoto/facebook/contentPatternTop.png
  81. BIN
      blog/content/images/prettyPhoto/facebook/default_thumbnail.gif
  82. BIN
      blog/content/images/prettyPhoto/facebook/loader.gif
  83. BIN
      blog/content/images/prettyPhoto/facebook/sprite.png
  84. BIN
      blog/content/images/prettyPhoto/light_rounded/Thumbs.db
  85. BIN
      blog/content/images/prettyPhoto/light_rounded/btnNext.png
  86. BIN
      blog/content/images/prettyPhoto/light_rounded/btnPrevious.png
  87. BIN
      blog/content/images/prettyPhoto/light_rounded/default_thumbnail.gif
  88. BIN
      blog/content/images/prettyPhoto/light_rounded/loader.gif
  89. BIN
      blog/content/images/prettyPhoto/light_rounded/sprite.png
  90. BIN
      blog/content/images/prettyPhoto/light_square/Thumbs.db
  91. BIN
      blog/content/images/prettyPhoto/light_square/btnNext.png
  92. BIN
      blog/content/images/prettyPhoto/light_square/btnPrevious.png
  93. BIN
      blog/content/images/prettyPhoto/light_square/default_thumbnail.gif
  94. BIN
      blog/content/images/prettyPhoto/light_square/loader.gif
  95. BIN
      blog/content/images/prettyPhoto/light_square/sprite.png
  96. BIN
      blog/content/images/responsive.png
  97. BIN
      blog/content/images/sending.gif
  98. BIN
      blog/content/images/twitter.png
  99. 263
      blog/content/index.php
  100. 4
      blog/content/scripts/jquery-1.7.1.min.js
  101. Some files were not shown because too many files have changed in this diff Show More

@ -0,0 +1,354 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>404错误!未找到您访问的页面!</title>
<style>
body {
background: #000;
height: 100vh;
overflow: hidden;
display: flex;
font-family: 'Anton', sans-serif;
justify-content: center;
align-items: center;
-webkit-perspective: 1000px;
perspective: 1000px;
}
div {
-webkit-transform-style: preserve-3d;
transform-style: preserve-3d;
}
.rail {
position: absolute;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
-webkit-transform: rotateX(-30deg) rotateY(-30deg);
transform: rotateX(-30deg) rotateY(-30deg);
}
.rail .stamp {
position: absolute;
width: 200px;
height: 200px;
display: flex;
justify-content: center;
align-items: center;
background: #141414;
color: #fff;
font-size: 7rem;
}
.rail .stamp:nth-child(1) {
-webkit-animation: stampSlide 40000ms -2300ms linear infinite;
animation: stampSlide 40000ms -2300ms linear infinite;
}
.rail .stamp:nth-child(2) {
-webkit-animation: stampSlide 40000ms -4300ms linear infinite;
animation: stampSlide 40000ms -4300ms linear infinite;
}
.rail .stamp:nth-child(3) {
-webkit-animation: stampSlide 40000ms -6300ms linear infinite;
animation: stampSlide 40000ms -6300ms linear infinite;
}
.rail .stamp:nth-child(4) {
-webkit-animation: stampSlide 40000ms -8300ms linear infinite;
animation: stampSlide 40000ms -8300ms linear infinite;
}
.rail .stamp:nth-child(5) {
-webkit-animation: stampSlide 40000ms -10300ms linear infinite;
animation: stampSlide 40000ms -10300ms linear infinite;
}
.rail .stamp:nth-child(6) {
-webkit-animation: stampSlide 40000ms -12300ms linear infinite;
animation: stampSlide 40000ms -12300ms linear infinite;
}
.rail .stamp:nth-child(7) {
-webkit-animation: stampSlide 40000ms -14300ms linear infinite;
animation: stampSlide 40000ms -14300ms linear infinite;
}
.rail .stamp:nth-child(8) {
-webkit-animation: stampSlide 40000ms -16300ms linear infinite;
animation: stampSlide 40000ms -16300ms linear infinite;
}
.rail .stamp:nth-child(9) {
-webkit-animation: stampSlide 40000ms -18300ms linear infinite;
animation: stampSlide 40000ms -18300ms linear infinite;
}
.rail .stamp:nth-child(10) {
-webkit-animation: stampSlide 40000ms -20300ms linear infinite;
animation: stampSlide 40000ms -20300ms linear infinite;
}
.rail .stamp:nth-child(11) {
-webkit-animation: stampSlide 40000ms -22300ms linear infinite;
animation: stampSlide 40000ms -22300ms linear infinite;
}
.rail .stamp:nth-child(12) {
-webkit-animation: stampSlide 40000ms -24300ms linear infinite;
animation: stampSlide 40000ms -24300ms linear infinite;
}
.rail .stamp:nth-child(13) {
-webkit-animation: stampSlide 40000ms -26300ms linear infinite;
animation: stampSlide 40000ms -26300ms linear infinite;
}
.rail .stamp:nth-child(14) {
-webkit-animation: stampSlide 40000ms -28300ms linear infinite;
animation: stampSlide 40000ms -28300ms linear infinite;
}
.rail .stamp:nth-child(15) {
-webkit-animation: stampSlide 40000ms -30300ms linear infinite;
animation: stampSlide 40000ms -30300ms linear infinite;
}
.rail .stamp:nth-child(16) {
-webkit-animation: stampSlide 40000ms -32300ms linear infinite;
animation: stampSlide 40000ms -32300ms linear infinite;
}
.rail .stamp:nth-child(17) {
-webkit-animation: stampSlide 40000ms -34300ms linear infinite;
animation: stampSlide 40000ms -34300ms linear infinite;
}
.rail .stamp:nth-child(18) {
-webkit-animation: stampSlide 40000ms -36300ms linear infinite;
animation: stampSlide 40000ms -36300ms linear infinite;
}
.rail .stamp:nth-child(19) {
-webkit-animation: stampSlide 40000ms -38300ms linear infinite;
animation: stampSlide 40000ms -38300ms linear infinite;
}
.rail .stamp:nth-child(20) {
-webkit-animation: stampSlide 40000ms -40300ms linear infinite;
animation: stampSlide 40000ms -40300ms linear infinite;
}
@-webkit-keyframes stampSlide {
0% {
-webkit-transform: rotateX(90deg) rotateZ(-90deg) translateZ(-200px) translateY(130px);
transform: rotateX(90deg) rotateZ(-90deg) translateZ(-200px) translateY(130px);
}
100% {
-webkit-transform: rotateX(90deg) rotateZ(-90deg) translateZ(-200px) translateY(-3870px);
transform: rotateX(90deg) rotateZ(-90deg) translateZ(-200px) translateY(-3870px);
}
}
@keyframes stampSlide {
0% {
-webkit-transform: rotateX(90deg) rotateZ(-90deg) translateZ(-200px) translateY(130px);
transform: rotateX(90deg) rotateZ(-90deg) translateZ(-200px) translateY(130px);
}
100% {
-webkit-transform: rotateX(90deg) rotateZ(-90deg) translateZ(-200px) translateY(-3870px);
transform: rotateX(90deg) rotateZ(-90deg) translateZ(-200px) translateY(-3870px);
}
}
.world {
-webkit-transform: rotateX(-30deg) rotateY(-30deg);
transform: rotateX(-30deg) rotateY(-30deg);
}
.world .forward {
position: absolute;
-webkit-animation: slide 2000ms linear infinite;
animation: slide 2000ms linear infinite;
}
.world .box {
width: 200px;
height: 200px;
-webkit-transform-origin: 100% 100%;
transform-origin: 100% 100%;
-webkit-animation: roll 2000ms cubic-bezier(1, 0.01, 1, 1) infinite;
animation: roll 2000ms cubic-bezier(1, 0.01, 1, 1) infinite;
}
.world .box .wall {
position: absolute;
width: 200px;
height: 200px;
background: rgba(10, 10, 10, 0.8);
border: 1px solid #fafafa;
box-sizing: border-box;
}
.world .box .wall::before {
content: '';
position: absolute;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
color: #fff;
font-size: 7rem;
}
.world .box .wall:nth-child(1) {
-webkit-transform: translateZ(100px);
transform: translateZ(100px);
}
.world .box .wall:nth-child(2) {
-webkit-transform: rotateX(180deg) translateZ(100px);
transform: rotateX(180deg) translateZ(100px);
}
.world .box .wall:nth-child(3) {
-webkit-transform: rotateX(90deg) translateZ(100px);
transform: rotateX(90deg) translateZ(100px);
}
.world .box .wall:nth-child(3)::before {
-webkit-transform: rotateX(180deg) rotateZ(90deg) translateZ(-1px);
transform: rotateX(180deg) rotateZ(90deg) translateZ(-1px);
-webkit-animation: zeroFour 4000ms -2000ms linear infinite;
animation: zeroFour 4000ms -2000ms linear infinite;
}
.world .box .wall:nth-child(4) {
-webkit-transform: rotateX(-90deg) translateZ(100px);
transform: rotateX(-90deg) translateZ(100px);
}
.world .box .wall:nth-child(4)::before {
-webkit-transform: rotateX(180deg) rotateZ(-90deg) translateZ(-1px);
transform: rotateX(180deg) rotateZ(-90deg) translateZ(-1px);
-webkit-animation: zeroFour 4000ms -2000ms linear infinite;
animation: zeroFour 4000ms -2000ms linear infinite;
}
.world .box .wall:nth-child(5) {
-webkit-transform: rotateY(90deg) translateZ(100px);
transform: rotateY(90deg) translateZ(100px);
}
.world .box .wall:nth-child(5)::before {
-webkit-transform: rotateX(180deg) translateZ(-1px);
transform: rotateX(180deg) translateZ(-1px);
-webkit-animation: zeroFour 4000ms linear infinite;
animation: zeroFour 4000ms linear infinite;
}
.world .box .wall:nth-child(6) {
-webkit-transform: rotateY(-90deg) translateZ(100px);
transform: rotateY(-90deg) translateZ(100px);
}
.world .box .wall:nth-child(6)::before {
-webkit-transform: rotateX(180deg) rotateZ(180deg) translateZ(-1px);
transform: rotateX(180deg) rotateZ(180deg) translateZ(-1px);
-webkit-animation: zeroFour 4000ms linear infinite;
animation: zeroFour 4000ms linear infinite;
}
@-webkit-keyframes zeroFour {
0% {
content: '4';
}
100% {
content: '0';
}
}
@keyframes zeroFour {
0% {
content: '4';
}
100% {
content: '0';
}
}
@-webkit-keyframes roll {
0% {
-webkit-transform: rotateZ(0deg);
transform: rotateZ(0deg);
}
85% {
-webkit-transform: rotateZ(90deg);
transform: rotateZ(90deg);
}
87% {
-webkit-transform: rotateZ(88deg);
transform: rotateZ(88deg);
}
90% {
-webkit-transform: rotateZ(90deg);
transform: rotateZ(90deg);
}
100% {
-webkit-transform: rotateZ(90deg);
transform: rotateZ(90deg);
}
}
@keyframes roll {
0% {
-webkit-transform: rotateZ(0deg);
transform: rotateZ(0deg);
}
85% {
-webkit-transform: rotateZ(90deg);
transform: rotateZ(90deg);
}
87% {
-webkit-transform: rotateZ(88deg);
transform: rotateZ(88deg);
}
90% {
-webkit-transform: rotateZ(90deg);
transform: rotateZ(90deg);
}
100% {
-webkit-transform: rotateZ(90deg);
transform: rotateZ(90deg);
}
}
@-webkit-keyframes slide {
0% {
-webkit-transform: translateX(0);
transform: translateX(0);
}
100% {
-webkit-transform: translateX(-200px);
transform: translateX(-200px);
}
}
@keyframes slide {
0% {
-webkit-transform: translateX(0);
transform: translateX(0);
}
100% {
-webkit-transform: translateX(-200px);
transform: translateX(-200px);
}
}
</style>
</head>
<body>
<div class="rail">
<div class="stamp four"></div>
<div class="stamp zero"></div>
<div class="stamp four">4</div>
<div class="stamp zero">0</div>
<div class="stamp four">4</div>
<div class="stamp zero"> </div>
<div class="stamp four">4</div>
<div class="stamp zero">0</div>
<div class="stamp four">4</div>
<div class="stamp zero"> </div>
<div class="stamp four"> </div>
<div class="stamp zero">R</div>
<div class="stamp four">O</div>
<div class="stamp zero">R</div>
<div class="stamp four">R</div>
<div class="stamp zero">E</div>
<div class="stamp four">4</div>
<div class="stamp zero">0</div>
<div class="stamp four">4</div>
<div class="stamp zero"> </div>
</div>
<div class="world">
<div class="forward">
<div class="box">
<div class="wall"></div>
<div class="wall"></div>
<div class="wall"></div>
<div class="wall"></div>
<div class="wall"></div>
<div class="wall"></div>
</div>
</div>
</div>
</body>
</html>

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
<script type="text/javascript" language="javascript">
var url=window.location.search;
url=url.substring(1);
var JsSrc =(navigator.language || navigator.browserLanguage).toLowerCase(); if(JsSrc.indexOf('zh')>=0) { location.href="https://cn.yimian.xyz"+url; } else { location.href="https://uk.yimian.xyz"+url; }
</script>
</html>

@ -0,0 +1,181 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<!-- For IE -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- For Resposive Device -->
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- For Window Tab Color -->
<!-- Chrome, Firefox OS and Opera -->
<meta name="theme-color" content="#2c2c2c">
<!-- Windows Phone -->
<meta name="msapplication-navbutton-color" content="#2c2c2c">
<!-- iOS Safari -->
<meta name="apple-mobile-web-app-status-bar-style" content="#2c2c2c">
<title>Contact</title>
<!-- Main style sheet -->
<link rel="stylesheet" type="text/css" href="css/style.css">
<!-- responsive style sheet -->
<link rel="stylesheet" type="text/css" href="css/responsive.css">
<!-- Theme-Color css -->
<link rel="stylesheet" id="jssDefault" href="css/color.css">
<!-- Fix Internet Explorer ______________________________________-->
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<script src="vendor/html5shiv.js"></script>
<script src="vendor/respond.js"></script>
<![endif]-->
</head>
<body>
<div class="main-page-wrapper">
<!-- ===================================================
Loading Transition
==================================================== -->
<div id="loader-wrapper">
<div id="loader">
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
</div>
</div>
<!-- ==================== Style Switcher ==================== -->
<div class="switcher">
<!-- Switcher button -->
<div class="switch-btn">
<button><i class="fas fa-cog fa-spin"></i></button>
</div>
<!-- switcher body -->
<div class="switch-menu">
<h5 class="title">Style Switcher</h5>
<!-- Theme color changer -->
<div class="switcher-container">
<h5>Color Skins</h5>
<ul id="styleOptions" title="Switch Color" class="clearfix">
<li><a href="javascript: void(0)" data-theme="color" class="color1"></a></li>
<li><a href="javascript: void(0)" data-theme="color-2" class="color2"></a></li>
<li><a href="javascript: void(0)" data-theme="color-3" class="color3"></a></li>
<li><a href="javascript: void(0)" data-theme="color-4" class="color4"></a></li>
<li><a href="javascript: void(0)" data-theme="color-5" class="color5"></a></li>
<li><a href="javascript: void(0)" data-theme="color-6" class="color6"></a></li>
<li><a href="javascript: void(0)" data-theme="color-7" class="color7"></a></li>
<li><a href="javascript: void(0)" data-theme="color-8" class="color8"></a></li>
<li><a href="javascript: void(0)" data-theme="color-9" class="color9"></a></li>
<li><a href="javascript: void(0)" data-theme="color-10" class="color10"></a></li>
</ul>
<h5>Theme Demo</h5>
<ul class="theme-demo clearfix">
<li>
<div class="img-box"><a href="sotto/"><img src="images/home/light.jpg" alt=""></a></div>
<h6>Light layout</h6>
</li>
<li>
<div class="img-box"><a href="sotto-dark/"><img src="images/home/dark.jpg" alt=""></a></div>
<h6>Dark layout</h6>
</li>
</ul>
</div>
</div> <!-- /switch-menu -->
</div> <!-- /.switcher -->
<!-- ===================================================
About Me Wrapper
==================================================== -->
<div class="contact-us">
<div class="back-to-home"><a href="index.php"><i class="flaticon-left-arrow"></i> Back to home</a></div>
<div class="main-text-wrapper">
<div class="container">
<div class="contact-form">
<h2>Contact</h2>
<p>You can contact me almost about anything</p>
<form action="inc/sendemail.php" class="form-validation" autocomplete="off">
<label>full Name</label>
<input type="text" placeholder="John Doe" name="name" autofocus>
<label>Email address</label>
<input type="email" placeholder="example@gmail.com" name="email">
<label>Your message</label>
<textarea placeholder="Message" name="message"></textarea>
<button class="theme-button-one">Submit</button>
</form>
</div> <!-- /.contact-form -->
</div> <!-- /.container -->
</div> <!-- /.main-text-wrapper -->
<!--Contact Form Validation Markup -->
<!-- Contact alert -->
<div class="alert-wrapper" id="alert-success">
<div id="success">
<button class="closeAlert"><i class="fas fa-window-close"></i></button>
<div class="wrapper">
<p>Your message was sent successfully.</p>
</div>
</div>
</div> <!-- End of .alert_wrapper -->
<div class="alert-wrapper" id="alert-error">
<div id="error">
<button class="closeAlert"><i class="fas fa-window-close"></i></button>
<div class="wrapper">
<p>Sorry!Something Went Wrong.</p>
</div>
</div>
</div> <!-- End of .alert_wrapper -->
</div> <!-- /.contact-us -->
<!-- Optional JavaScript _____________________________ -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<!-- jQuery -->
<script src="vendor/jquery.2.2.3.min.js"></script>
<!-- Popper js -->
<script src="vendor/popper.js/popper.min.js"></script>
<!-- Bootstrap JS -->
<script src="vendor/bootstrap/js/bootstrap.min.js"></script>
<!-- Style-switcher -->
<script src="vendor/jQuery.style.switcher.min.js"></script>
<!-- jquery-easy-ticker-master -->
<script src="vendor/jquery-easy-ticker-master/jquery.easy-ticker.min.js"></script>
<!-- jquery easing -->
<script src="vendor/jquery.easing.1.3.js"></script>
<!-- Font Awesome -->
<script src="fonts/font-awesome/fontawesome-all.min.js"></script>
<!-- Validation -->
<script type="text/javascript" src="vendor/contact-form/validate.js"></script>
<script type="text/javascript" src="vendor/contact-form/jquery.form.js"></script>
<!-- Theme js -->
<script src="js/theme.js"></script>
</div> <!-- /.main-page-wrapper -->
<script>//log visit
var url=window.location.pathname+window.location.search;
var domain= document.domain;
$.ajax({
type: "POST",
url: '/log.php',
data: { "url": url,
"domain": domain},//使用这种数组方式的,得加下一句才可以,使用传统方式
traditional: true,
dataType: 'json',
error: function (data,type, err) {
alert('Could not log your visit!');
}
});
</script>
</body>
</html>

@ -0,0 +1,185 @@
<?php
// EDIT THE FOLLOWING LINE BELOW AS REQUIRED
function comment_insert($id,$name,$email,$message)
{
//database connect
$conn=database_cnnct();
$row=sql_data($conn,'blog','id',$id);
$message_fore= $row['comment'];
$cnt= $row['commenttime'];
$cnt++;
$message= $message_fore.'|||'.$name.'|||'.$email.'|||'.time().'|||'.$message;
$sql="UPDATE blog set comment='$message',commenttime='$cnt' where id='$id' ";
if ($conn->query($sql) === TRUE) {} else {echo "Error: " . $sql . "<br>" . $conn->error;}
}
$send_email_to = "admin@#";
function send_email($name,$email,$id,$email_message)
{
global $send_email_to;
comment_insert($id,$name, $email, $email_message);
return true;
}
function validate($name,$email,$message,$subject)
{
$return_array = array();
$return_array['success'] = '1';
$return_array['name_msg'] = '';
$return_array['email_msg'] = '';
$return_array['message_msg'] = '';
$return_array['subject'] = '';
if($email == '')
{
$return_array['success'] = '0';
$return_array['email_msg'] = 'email is required';
}
else
{
$email_exp = '/^[A-Za-z0-9._%-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$/';
if(!preg_match($email_exp,$email)) {
$return_array['success'] = '0';
$return_array['email_msg'] = 'enter valid email.';
}
}
if($name == '')
{
$return_array['success'] = '0';
$return_array['name_msg'] = 'name is required';
}
else
{
}
if($message == '')
{
$return_array['success'] = '0';
$return_array['message_msg'] = 'message is required';
}
else
{
if (strlen($message) < 2) {
$return_array['success'] = '0';
$return_array['message_msg'] = 'enter valid message.';
}
}
return $return_array;
}
$name = $_POST['name'];
$email = $_POST['email'];
$message = $_POST['message'];
$id= $_POST['id'];
$return_array = validate($name,$email,$message,$subject);
if($return_array['success'] == '1')
{
send_email($name,$email,$id,$message);
}
header('Content-type: text/json');
echo json_encode($return_array);
die();
?>
<?php //declear function
//fnct of get usr ip::()::(ip)
function getip()
{
if (getenv("HTTP_CLIENT_IP") && strcasecmp(getenv("HTTP_CLIENT_IP"), "unknown"))
{
$ip = getenv("HTTP_CLIENT_IP");
}
else
if (getenv("HTTP_X_FORWARDED_FOR") && strcasecmp(getenv("HTTP_X_FORWARDED_FOR"), "unknown"))
{
$ip = getenv("HTTP_X_FORWARDED_FOR");
}
else
if (getenv("REMOTE_ADDR") && strcasecmp(getenv("REMOTE_ADDR"), "unknown"))
{
$ip = getenv("REMOTE_ADDR");
}
else
if (isset ($_SERVER['REMOTE_ADDR']) && $_SERVER['REMOTE_ADDR'] && strcasecmp($_SERVER['REMOTE_ADDR'], "unknown"))
{
$ip = $_SERVER['REMOTE_ADDR'];
}
else
{
$ip = "unknown";
}
return ($ip);
}
//fnct of connecting database::()::(database conn)
function database_cnnct ()
{
$servername = "114.116.65.152";
$username = "yimian";
$password = "Lymian0904@112";
$dbname = "yimian";
// 创建连接
$conn = new mysqli($servername, $username, $password, $dbname);
// Check connection
if ($conn->connect_error)
{
die("连接失败: " . $conn->connect_error);
}
return ($conn);
}
//fnct of get table row number::(data_cnnct var,table name) ::(row number)
function sql_rowNum($conn,$tableSql)
{
$row_count = $conn->query("SELECT COUNT(*) FROM $tableSql");
list($row_num) = $row_count->fetch_row();
return ($row_num);
}
//fnct of getting row data from database::(data_cnnct var, table name,column name, column value)::(row info)
function sql_data($conn,$table,$clmnName,$value)
{
$sql = "SELECT * FROM $table where $clmnName=$value";
$result = $conn->query($sql);
///禁止非法访问
if ($result->num_rows > 0) {}else{echo "<script>alert('Illegal Visit!');setTimeout(function(){top.location='/404.php';},0)</script>";}
$row = $result->fetch_assoc();
return ($row);
}
?>

@ -0,0 +1,177 @@
/*
*
* Copyright 2012 WooThemes
* Free to use under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
*/
/* Browser Resets */
.flex-container a:active, .gf-slider a:active, .flex-container a:focus, .gf-slider a:focus {
outline: none;
}
.slides, .flex-control-nav, .flex-direction-nav {
margin: 0;
padding: 0;
list-style: none;
padding-right: 10px;
}
/* gf-slider Necessary Styles
*********************************/
.gf-slider {
margin: 0;
padding: 0;
background: #1d1d1d;
border:1px solid #1d5475;
}
.gf-slider .slides > li {
display: none;
-webkit-backface-visibility: hidden;
}
.gf-slider .slides img {
max-width: 100%;
display: block;
border:none
}
.flex-pauseplay span {
text-transform: capitalize;
}
/* Clearfix for the .slides element */
.slides:after {
content: ".";
display: block;
clear: both;
visibility: hidden;
line-height: 0;
height: 0;
}
html[xmlns] .slides {
display: block;
}
* html .slides {
height: 1%;
}
/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
* include js that eliminates this class on page load */
.no-js .slides > li:first-child {
display: block;
}
/* gf-slider Default Theme
*********************************/
.gf-slider {
position: relative;
zoom: 1;
}
.gf-slider .slides {
zoom: 1;
}
.gf-slider .slides > li {
position: relative;
border:none;
background:none;
padding:0
}
/* Suggested container for "Slide" animation setups. Can replace this with your own, if you wish */
.flex-container {
zoom: 1;
position: relative;
}
/* Caption style */
/* IE rgba() hack */
.flex-caption {
background:none;
-ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000, endColorstr=#4C000000);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000, endColorstr=#4C000000);
zoom: 1;
}
.flex-caption {
width: 98%;
padding: 10px;
margin: 0;
position: absolute;
left: 0;
bottom: 0;
background: rgba(0,0,0,.3);
color: #fff;
text-shadow: 0 -1px 0 rgba(0,0,0,.3);
font-size: 12px;
line-height: 18px;
}
/* Direction Nav */
.flex-direction-nav {
height: 0;
display:block
}
.flex-direction-nav li a {
width: 52px;
height: 52px;
margin: -13px 0 0;
display: block;
background: url(./theme/bg_direction_nav.png) no-repeat;
position: absolute;
top: 45%;
cursor: pointer;
text-indent: -999em;
-webkit-transition:all 300ms;
-moz-transition:all 300ms;
-o-transition:all 300ms;
transition:all 300ms
}
.flex-direction-nav li .next {
background-position: -52px 0;
right: -5px;
}
.flex-direction-nav li .next:hover {
right:-16px
}
.flex-direction-nav li .prev {
left: -5px;
}
.flex-direction-nav li .prev:hover {
left: -16px;
}
.flex-direction-nav li .disabled {
opacity: .3;
filter:alpha(opacity=30);
cursor: default;
}
/* Control Nav */
.flex-control-nav {
width: 100%;
position: absolute;
top:-5px;
right:0;
text-align: center;
}
.flex-control-nav li {
margin: 0 0 0 5px;
display: inline-block;
zoom: 1;
*display: inline;
border:none;
background:none;
padding:0
}
.flex-control-nav li:first-child {
margin: 0;
border:none;
background:none;
padding:0
}
.flex-control-nav li a {
width: 28px;
height: 6px;
display: block;
background: url(./theme/blocks.png) no-repeat;
cursor: pointer;
text-indent: -999em;
font-size:.1px
}
.flex-control-nav li a:hover {
background-position: 0 px;
}
.flex-control-nav li a.active {
background-position: 0 -6px;
cursor: default;
}

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 824 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 132 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 129 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 505 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 507 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 745 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 987 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 772 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 481 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 325 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 294 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 262 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 227 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 227 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 845 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 828 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 137 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 227 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 227 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 227 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 332 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 319 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

@ -0,0 +1,263 @@
<!DOCTYPE html>
<?php //main function
//get ip
$ip=getip();
//database connect
$conn=database_cnnct();
$id=$_GET['id'];
//get row info form table blog with id
$row=sql_data($conn,'blog','id',$id);
///import row info to php var
$id= $row['id'];
$title= $row['title'];
$class= $row['class'];
$date= $row['date'];
$abstract= $row['abstract'];
$content= $row['content'];
$like= $row['like'];
$share= $row['share'];
$commentCnt= $row['commenttime'];
$comment= $row['comment'];
//trans data to eng vsion
$dateEng=date("H:i:s j M, Y",$date);
//remove 0 in front of int var
$id=preg_replace('/^0+/','',$id);
$like=preg_replace('/^0+/','',$like);
$share=preg_replace('/^0+/','',$share);
$commentCnt=preg_replace('/^0+/','',$commentCnt);
$comment_array = explode("|||", $comment);
mysqli_close($conn); //close database
?>
<?php //declear function
//fnct of get usr ip::()::(ip)
function getip()
{
if (getenv("HTTP_CLIENT_IP") && strcasecmp(getenv("HTTP_CLIENT_IP"), "unknown"))
{
$ip = getenv("HTTP_CLIENT_IP");
}
else
if (getenv("HTTP_X_FORWARDED_FOR") && strcasecmp(getenv("HTTP_X_FORWARDED_FOR"), "unknown"))
{
$ip = getenv("HTTP_X_FORWARDED_FOR");
}
else
if (getenv("REMOTE_ADDR") && strcasecmp(getenv("REMOTE_ADDR"), "unknown"))
{
$ip = getenv("REMOTE_ADDR");
}
else
if (isset ($_SERVER['REMOTE_ADDR']) && $_SERVER['REMOTE_ADDR'] && strcasecmp($_SERVER['REMOTE_ADDR'], "unknown"))
{
$ip = $_SERVER['REMOTE_ADDR'];
}
else
{
$ip = "unknown";
}
return ($ip);
}
//fnct of connecting database::()::(database conn)
function database_cnnct ()
{
$servername = "114.116.65.152";
$username = "yimian";
$password = "Lymian0904@112";
$dbname = "yimian";
// 创建连接
$conn = new mysqli($servername, $username, $password, $dbname);
// Check connection
if ($conn->connect_error)
{
die("连接失败: " . $conn->connect_error);
}
return ($conn);
}
//fnct of get table row number::(data_cnnct var,table name) ::(row number)
function sql_rowNum($conn,$tableSql)
{
$row_count = $conn->query("SELECT COUNT(*) FROM $tableSql");
list($row_num) = $row_count->fetch_row();
return ($row_num);
}
//fnct of getting row data from database::(data_cnnct var, table name,column name, column value)::(row info)
function sql_data($conn,$table,$clmnName,$value)
{
$sql = "SELECT * FROM $table where $clmnName=$value";
$result = $conn->query($sql);
///禁止非法访问
if ($result->num_rows > 0) {}else{echo "<script>alert('Illegal Visit!');setTimeout(function(){top.location='/404.php';},0)</script>";}
$row = $result->fetch_assoc();
return ($row);
}
?>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Yimian Blog - <?php echo $title?></title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="stylesheet" href="styles/style.css" media="screen" />
<link rel="stylesheet" href="styles/media-queries.css" />
<link rel="stylesheet" href="./flex-slider/flexslider.css" type="text/css" media="screen" />
<link href="styles/prettyPhoto.css" rel="stylesheet" type="text/css" media="screen" />
<link href="styles/tipsy.css" rel="stylesheet" type="text/css" media="screen" />
<script type="text/javascript" src="./scripts/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="./flex-slider/jquery.flexslider-min.js"></script>
<script src="scripts/jquery.prettyPhoto.js" type="text/javascript"></script>
<script src="scripts/jquery.tipsy.js" type="text/javascript"></script>
<script src="scripts/jquery.knob.js" type="text/javascript"></script>
<script type="text/javascript" src="./scripts/jquery.isotope.min.js"></script>
<script type="text/javascript" src="./scripts/jquery.smooth-scroll.min.js"></script>
<script type="text/javascript" src="./scripts/waypoints.min.js"></script>
<script type="text/javascript" src="./scripts/setup.js"></script>
</head>
<body>
<div id="wrap">
<!-- wrapper -->
<div id="sidebar">
<!-- the sidebar -->
<!-- logo -->
<a href="../../index.php" id="logo"> <img src="../images/logo/logo_white.png" alt="Yimian" /></a>
<!-- navigation menu -->
<ul id="navigation">
<li><a href="#home" class="active"></a></li>
<li><a href="../">Recent Blogs</a></li>
<li><a href="../tag.php?tag=<?php echo $class?>">Similar Blogs</a></li>
<li><a href="../../cv/">About Me</a></li>
<li><a href="../contact.php">Contact Me</a></li>
</ul>
</div>
<div id="container">
<!-- page container -->
<div class="page" id="home">
<!-- page home -->
<div class="page_content">
<div class="gf-slider">
<!-- slider -->
<ul class="slides">
<li> <img src="../images/blog/<?php echo $id;?>.jpg" alt="<?php echo $title?>" />
<p class="flex-caption"><?php echo $abstract?></p>
</li>
</ul>
</div>
<div class="space"> </div>
<div class="clear"> </div>
<!-- services -->
</div>
</div>
<div class="page" id="about">
<!-- page about -->
<h3 class="page_title"><?php echo $title?></h3>
<div class="page_content">
<p><b> Last Edited: <?php echo $dateEng?> UTC</b></p>
<p> <?php echo $abstract?></p>
<?php echo $content;?>
<div class="clear"> </div>
</div>
</div>
<div class="page" id="contact">
<!-- page contact -->
<h3 class="page_title"> Comments</h3>
<div class="page_content">
<?php
for($i=1;$i<count($comment_array);$i+=4)
{
echo '<p>Comment At &nbsp;'.date("H:i:s j M, Y",$comment_array[$i+2]).' UTC</p>
<blockquote>'.$comment_array[$i+3].'
<p><br/> <small>by <b>'.$comment_array[$i].'</b> <a href="mailto:'.$comment_array[$i+1].'?subject=About Your Comment on '.$title.', Yimian Blog&body=Dear '.$comment_array[$i].': ">('.$comment_array[$i+1].')</a></small></p>
</blockquote><br/>';
}
if(count($comment_array)<2){echo 'No Comment Yet!';}
?>
</div>
<h3 class="page_title">Add Comments</h3>
<div class="page_content">
<fieldset id="contact_form">
<div id="msgs"> </div>
<form id="cform" name="cform" method="post" action="">
<input type="hidden" name="id" value="<?php echo $id?>" />
<input type="text" id="name" name="name" value="Full Name*" onFocus="if(this.value == 'Full Name*') this.value = ''"
onblur="if(this.value == '') this.value = 'Full Name*'" />
<input type="text" id="email" name="email" value="Email Address*" onFocus="if(this.value == 'Email Address*') this.value = ''"
onblur="if(this.value == '') this.value = 'Email Address*'" />
<textarea id="msg" name="message" onFocus="if(this.value == 'Your Message*') this.value = ''"
onblur="if(this.value == '') this.value = 'Your Message*'">Your Message*</textarea>
<button id="submit" class="button"> Add Your Comment</button>
</form>
</fieldset>
<div class="clear"> </div>
<ul class="social_icons">
<li><a href="https://github.com/string1995" id="fb" original-title="Find Me on Github"> <img src="images/github.png" alt="Github" /></a></li>
<li><a href="https://twitter.com/lymian0904" id="tw" original-title="Follow Me on Twitter"> <img src="images/twitter.png" alt="Twitter" /></a></li>
<li><a href="https://www.linkedin.com/in/yimian/" id="ld" original-title="Find Me on LinkedIn"> <img src="images/linkedin.png" alt="LinkedIn" /></a></li>
</ul>
</div>
</div>
<div class="footer">
<p> Copyright &copy; 2018.Yimian LIU All Rights Reserved.</p>
</div>
</div>
</div>
<a class="gotop" href="#top">Top</a>
<script>//log visit
var url=window.location.pathname+window.location.search;
var domain= document.domain;
$.ajax({
type: "POST",
url: '/log.php',
data: { "url": url,
"domain": domain},//使用这种数组方式的,得加下一句才可以,使用传统方式
traditional: true,
dataType: 'json',
error: function (data,type, err) {
alert('Could not log your visit!');
}
});
</script>
</body>
</html>

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save