diff options
| author | outtime <i@timewk.cn> | 2020-03-30 19:08:42 +0800 |
|---|---|---|
| committer | outtime <i@timewk.cn> | 2020-03-30 19:08:42 +0800 |
| commit | 1e1da50ce7dee921380c414822915b974d5e1712 (patch) | |
| tree | 61222d867fcdc38fc302b3a04ceb09a9850ded05 | |
| parent | a5b60155ce6f9fde246f19b05e0ef50546ec1063 (diff) | |
🖼Add: 新封面以及固定文章随机图
| -rwxr-xr-x[-rw-r--r--] | images/postbg/1.jpg | bin | 22398 -> 24259 bytes | |||
| -rwxr-xr-x[-rw-r--r--] | images/postbg/10.jpg | bin | 15945 -> 23209 bytes | |||
| -rwxr-xr-x[-rw-r--r--] | images/postbg/11.jpg | bin | 4419 -> 22053 bytes | |||
| -rwxr-xr-x[-rw-r--r--] | images/postbg/12.jpg | bin | 3892 -> 21469 bytes | |||
| -rwxr-xr-x[-rw-r--r--] | images/postbg/13.jpg | bin | 4833 -> 15421 bytes | |||
| -rwxr-xr-x[-rw-r--r--] | images/postbg/14.jpg | bin | 2685 -> 14876 bytes | |||
| -rwxr-xr-x[-rw-r--r--] | images/postbg/15.jpg | bin | 2187 -> 26013 bytes | |||
| -rw-r--r-- | images/postbg/16.jpg | bin | 27362 -> 0 bytes | |||
| -rw-r--r-- | images/postbg/17.jpg | bin | 2447 -> 0 bytes | |||
| -rw-r--r-- | images/postbg/18.jpg | bin | 30860 -> 0 bytes | |||
| -rw-r--r-- | images/postbg/19.jpg | bin | 4820 -> 0 bytes | |||
| -rwxr-xr-x[-rw-r--r--] | images/postbg/2.jpg | bin | 4830 -> 16793 bytes | |||
| -rw-r--r-- | images/postbg/20.jpg | bin | 12674 -> 0 bytes | |||
| -rwxr-xr-x[-rw-r--r--] | images/postbg/3.jpg | bin | 9100 -> 22624 bytes | |||
| -rwxr-xr-x[-rw-r--r--] | images/postbg/4.jpg | bin | 8588 -> 17821 bytes | |||
| -rwxr-xr-x[-rw-r--r--] | images/postbg/5.jpg | bin | 13185 -> 30979 bytes | |||
| -rwxr-xr-x[-rw-r--r--] | images/postbg/6.jpg | bin | 1425 -> 31489 bytes | |||
| -rwxr-xr-x[-rw-r--r--] | images/postbg/7.jpg | bin | 4928 -> 33044 bytes | |||
| -rwxr-xr-x[-rw-r--r--] | images/postbg/8.jpg | bin | 10346 -> 18536 bytes | |||
| -rwxr-xr-x[-rw-r--r--] | images/postbg/9.jpg | bin | 8019 -> 21619 bytes | |||
| -rw-r--r-- | includes/head.php | 2 | ||||
| -rw-r--r-- | index.php | 2 | ||||
| -rw-r--r-- | test.php | 3 |
23 files changed, 5 insertions, 2 deletions
diff --git a/images/postbg/1.jpg b/images/postbg/1.jpg Binary files differindex 19c0878..1aac9c4 100644..100755 --- a/images/postbg/1.jpg +++ b/images/postbg/1.jpg diff --git a/images/postbg/10.jpg b/images/postbg/10.jpg Binary files differindex 7b12f73..1eadb5a 100644..100755 --- a/images/postbg/10.jpg +++ b/images/postbg/10.jpg diff --git a/images/postbg/11.jpg b/images/postbg/11.jpg Binary files differindex 2a9b74d..d8d030e 100644..100755 --- a/images/postbg/11.jpg +++ b/images/postbg/11.jpg diff --git a/images/postbg/12.jpg b/images/postbg/12.jpg Binary files differindex b49fcb4..70ced1a 100644..100755 --- a/images/postbg/12.jpg +++ b/images/postbg/12.jpg diff --git a/images/postbg/13.jpg b/images/postbg/13.jpg Binary files differindex ddd7374..d24b77e 100644..100755 --- a/images/postbg/13.jpg +++ b/images/postbg/13.jpg diff --git a/images/postbg/14.jpg b/images/postbg/14.jpg Binary files differindex a130083..89ea502 100644..100755 --- a/images/postbg/14.jpg +++ b/images/postbg/14.jpg diff --git a/images/postbg/15.jpg b/images/postbg/15.jpg Binary files differindex 43b5639..0d7a4e2 100644..100755 --- a/images/postbg/15.jpg +++ b/images/postbg/15.jpg diff --git a/images/postbg/16.jpg b/images/postbg/16.jpg Binary files differdeleted file mode 100644 index 1a5db5e..0000000 --- a/images/postbg/16.jpg +++ /dev/null diff --git a/images/postbg/17.jpg b/images/postbg/17.jpg Binary files differdeleted file mode 100644 index 8ad2122..0000000 --- a/images/postbg/17.jpg +++ /dev/null diff --git a/images/postbg/18.jpg b/images/postbg/18.jpg Binary files differdeleted file mode 100644 index 74b113b..0000000 --- a/images/postbg/18.jpg +++ /dev/null diff --git a/images/postbg/19.jpg b/images/postbg/19.jpg Binary files differdeleted file mode 100644 index a62ea72..0000000 --- a/images/postbg/19.jpg +++ /dev/null diff --git a/images/postbg/2.jpg b/images/postbg/2.jpg Binary files differindex 3b84d70..2d88780 100644..100755 --- a/images/postbg/2.jpg +++ b/images/postbg/2.jpg diff --git a/images/postbg/20.jpg b/images/postbg/20.jpg Binary files differdeleted file mode 100644 index d7b0d85..0000000 --- a/images/postbg/20.jpg +++ /dev/null diff --git a/images/postbg/3.jpg b/images/postbg/3.jpg Binary files differindex 75d9071..7231934 100644..100755 --- a/images/postbg/3.jpg +++ b/images/postbg/3.jpg diff --git a/images/postbg/4.jpg b/images/postbg/4.jpg Binary files differindex ef8c105..36d2749 100644..100755 --- a/images/postbg/4.jpg +++ b/images/postbg/4.jpg diff --git a/images/postbg/5.jpg b/images/postbg/5.jpg Binary files differindex 0e40f97..6d2b907 100644..100755 --- a/images/postbg/5.jpg +++ b/images/postbg/5.jpg diff --git a/images/postbg/6.jpg b/images/postbg/6.jpg Binary files differindex 98ebb07..5f3664f 100644..100755 --- a/images/postbg/6.jpg +++ b/images/postbg/6.jpg diff --git a/images/postbg/7.jpg b/images/postbg/7.jpg Binary files differindex c62f767..defafac 100644..100755 --- a/images/postbg/7.jpg +++ b/images/postbg/7.jpg diff --git a/images/postbg/8.jpg b/images/postbg/8.jpg Binary files differindex 18e7fc9..2d10935 100644..100755 --- a/images/postbg/8.jpg +++ b/images/postbg/8.jpg diff --git a/images/postbg/9.jpg b/images/postbg/9.jpg Binary files differindex 2b5c325..183f4b9 100644..100755 --- a/images/postbg/9.jpg +++ b/images/postbg/9.jpg diff --git a/includes/head.php b/includes/head.php index a7e1221..d03a473 100644 --- a/includes/head.php +++ b/includes/head.php @@ -39,7 +39,7 @@ else: $this->options->bannerUrl(); endif;}?>" /> - <link rel="icon" type="image/png" href="<?php Utils::indexTheme('favicon.ico'); ?>" /> + <link rel="icon" id="icon" type="image/png" href="<?php Utils::indexTheme('favicon.ico'); ?>" /> <?php $this->header('description=&commentReply='); ?> <?php $this->options->headerEcho(); ?> <!-- css --> @@ -27,7 +27,7 @@ $this->need('includes/header.php'); echo $this->fields->banner(); else: if($this->options->randomBanner==''){ - echo Utils::indexTheme('images/postbg/'); echo mt_rand(1,mt_rand(1,20)); echo '.jpg'; + echo Utils::indexTheme('images/postbg/'); srand(mb_strlen($this->title));echo rand(1,15).'.jpg'; } else{ $banner_url = explode(',',$this->options->randomBanner); diff --git a/test.php b/test.php new file mode 100644 index 0000000..c24d8d4 --- /dev/null +++ b/test.php @@ -0,0 +1,3 @@ +<?php +srand(mb_strlen("欢迎使用 Typecho")); +echo rand(1,20);
\ No newline at end of file |
