|
|
# This viminfo file was generated by Vim 7.4. |
|
|
# You may edit it if you're careful! |
|
|
|
|
|
# Value of 'encoding' when this file was written |
|
|
*encoding=utf-8 |
|
|
|
|
|
|
|
|
# hlsearch on (H) or off (h): |
|
|
~H |
|
|
# Last Search Pattern: |
|
|
~MSle0~/**sms** |
|
|
|
|
|
# Last Substitute String: |
|
|
$ |
|
|
|
|
|
# Command Line History (newest to oldest): |
|
|
:wq |
|
|
:q! |
|
|
:q |
|
|
:w |
|
|
:Wq |
|
|
:Q! |
|
|
:q1 |
|
|
:! |
|
|
:Q |
|
|
:!q |
|
|
:s |
|
|
|
|
|
# Search String History (newest to oldest): |
|
|
?/**sms**/ |
|
|
?/sms |
|
|
?/exportPayForAuthors |
|
|
?/imgbed |
|
|
?/getImg |
|
|
?/api.yimian |
|
|
?/echo |
|
|
|
|
|
# Expression History (newest to oldest): |
|
|
|
|
|
# Input Line History (newest to oldest): |
|
|
|
|
|
# Input Line History (newest to oldest): |
|
|
|
|
|
# Registers: |
|
|
"0 LINE 0 |
|
|
332 |
|
|
< <div class="pay-button" role="presentation" class="active"><button href="#alipay_author" id="alipay-tab" aria-controls="alipay_author" role="tab" data-toggle="tab" class="btn m-b-xs btn-info"><i class="iconfont icon-alipay" aria-hidden="true"></i><span> '._mt("支付宝").'</span></button> |
|
|
""1 LINE 0 |
|
|
283 |
|
|
< <button href="#wechatpay_author" id="wechatpay-tab" aria-controls="wechatpay_author" role="tab" data-toggle="tab" class="btn m-b-xs btn-success"><i class="iconfont icon-wechatpay" aria-hidden="true"></i><span> '._mt("微信").'</span></button> |
|
|
"2 LINE 0 |
|
|
328 |
|
|
< <div class="pay-button" role="presentation"><button href="#wechatpay_author" id="wechatpay-tab" aria-controls="wechatpay_author" role="tab" data-toggle="tab" class="btn m-b-xs btn-success"><i class="iconfont icon-wechatpay" aria-hidden="true"></i><span> '._mt("微信").'</span></button> |
|
|
"3 LINE 0 |
|
|
328 |
|
|
< <div class="pay-button" role="presentation"><button href="#wechatpay_author" id="wechatpay-tab" aria-controls="wechatpay_author" role="tab" data-toggle="tab" class="btn m-b-xs btn-success"><i class="iconfont icon-wechatpay" aria-hidden="true"></i><span> '._mt("微信").'</span></button> |
|
|
"4 LINE 0 |
|
|
328 |
|
|
< <div class="pay-button" role="presentation"><button href="#wechatpay_author" id="wechatpay-tab" aria-controls="wechatpay_author" role="tab" data-toggle="tab" class="btn m-b-xs btn-success"><i class="iconfont icon-wechatpay" aria-hidden="true"></i><span> '._mt("微信").'</span></button> |
|
|
"5 LINE 0 |
|
|
332 |
|
|
< <div class="pay-button" role="presentation" class="active"><button href="#alipay_author" id="alipay-tab" aria-controls="alipay_author" role="tab" data-toggle="tab" class="btn m-b-xs btn-info"><i class="iconfont icon-alipay" aria-hidden="true"></i><span> '._mt("支付宝").'</span></button> |
|
|
"6 LINE 0 |
|
|
</div> |
|
|
"7 LINE 0 |
|
|
</div> |
|
|
"8 CHAR 0 |
|
|
|
|
|
function getMatchedKeys($str, $arr){ |
|
|
if(!is_array($str)){ |
|
|
$o = array(); |
|
|
foreach($arr as $key=>$val){ |
|
|
if($val >= $str - $GLOBALS['range'] && $val <= $str + $GLOBALS['range']) array_push($o, $key); |
|
|
} |
|
|
return $o; |
|
|
}else{ |
|
|
$o = array(); |
|
|
foreach($arr as $key=>$val){ |
|
|
if($val >= $str[0] - $GLOBALS['range'] && $val <= $str[1] + $GLOBALS['range']) array_push($o, $key); |
|
|
} |
|
|
return $o; |
|
|
} |
|
|
} |
|
|
"9 CHAR 0 |
|
|
elseif($type){ |
|
|
|
|
|
$arr = getImgsInfo($type); |
|
|
|
|
|
if($id){ |
|
|
$pos = array_search($id, $arr[1]); |
|
|
if($pos) $path = $type. '/' .$arr[0][$pos]; |
|
|
} |
|
|
|
|
|
if(!$size && !$path){ |
|
|
$path = $type. '/' .$arr[0][array_rand($arr[0])]; |
|
|
}elseif(strpos($size, '-') && !$path){ |
|
|
$arr_size = explode('x',$size); |
|
|
if(strpos($arr_size[0], '-')) $arr_size_length = explode('-',$arr_size[0]); |
|
|
else $arr_size_length = $arr_size[0]; |
|
|
if(strpos($arr_size[1], '-')) $arr_size_high = explode('-',$arr_size[1]); |
|
|
else $arr_size_high = $arr_size[1]; |
|
|
$arr_length = getMatchedKeys($arr_size_length, $arr[2]); |
|
|
$arr_high = getMatchedKeys($arr_size_high, $arr[3]); |
|
|
if($arr_size[0] == '*') $arr_keys = $arr_high; |
|
|
elseif($arr_size[1] == '*') $arr_keys = $arr_length; |
|
|
else $arr_keys = array_intersect($arr_length, $arr_high); |
|
|
if(!count($arr_keys)){ |
|
|
header('content-type: application/json'); |
|
|
echo json_encode(array("err"=>"Can not find any images matching Size $size in Type $type!!")); |
|
|
die(); |
|
|
} |
|
|
do{ |
|
|
$index = array_rand($arr_keys); |
|
|
}while($R18 != true && $arr[6][$arr_keys[$index]] != "normal"); |
|
|
$path = $type. '/' .$arr[0][$arr_keys[$index]]; |
|
|
|
|
|
}elseif(!$path){ |
|
|
$arr_size = explode('x',$size); |
|
|
$arr_length = getMatchedKeys($arr_size[0], $arr[2]); |
|
|
$arr_high = getMatchedKeys($arr_size[1], $arr[3]); |
|
|
if($arr_size[0] == '*' && $arr_size[1] == '*') $arr_keys = getMatchedKeys(array(0=>0,1=>9999), $arr[2]); |
|
|
elseif($arr_size[0] == '*') $arr_keys = $arr_high; |
|
|
elseif($arr_size[1] == '*') $arr_keys = $arr_length; |
|
|
else $arr_keys = array_intersect($arr_length, $arr_high); |
|
|
if(!count($arr_keys)){ |
|
|
header('content-type: application/json'); |
|
|
echo json_encode(array("err"=>"Can not find any images matching Size $size in Type $type!!")); |
|
|
die(); |
|
|
} |
|
|
do{ |
|
|
$index = array_rand($arr_keys); |
|
|
}while($R18 != true && $arr[6][$arr_keys[$index]] != "normal"); |
|
|
$path = $type. '/' .$arr[0][$arr_keys[$index]]; |
|
|
|
|
|
"- CHAR 0 |
|
|
< |
|
|
|
|
|
# File marks: |
|
|
'0 2 0 /mnt/onedrive/git/fdc/README.md |
|
|
'1 2 0 /etc/fuse.conf |
|
|
'2 17 2 /home/ushio/opt/exrate/index.js |
|
|
'3 10 0 /home/ushio/opt/exrate/index.js |
|
|
'4 1 33 /etc/ssl.yimian.xyz/update.js |
|
|
'5 1 0 /home/ushio/www/auth/vercode/checkCode.php |
|
|
'6 162 0 ~/www/settlement/api/index.php |
|
|
'7 1 0 /home/ushio/www/api/functions.php |
|
|
'8 4 21 /home/ushio/conf/dbKeys/auth.db.key.php |
|
|
'9 1 0 /home/ushio/conf/dbKeys/log.db.key.php |
|
|
|
|
|
# Jumplist (newest first): |
|
|
-' 2 0 /mnt/onedrive/git/fdc/README.md |
|
|
-' 1 0 /mnt/onedrive/git/fdc/README.md |
|
|
-' 2 0 /etc/fuse.conf |
|
|
-' 1 0 /etc/fuse.conf |
|
|
-' 17 2 /home/ushio/opt/exrate/index.js |
|
|
-' 10 0 /home/ushio/opt/exrate/index.js |
|
|
-' 1 0 /home/ushio/opt/exrate/index.js |
|
|
-' 1 33 /etc/ssl.yimian.xyz/update.js |
|
|
-' 1 0 /home/ushio/www/auth/vercode/checkCode.php |
|
|
-' 162 0 ~/www/settlement/api/index.php |
|
|
-' 1 0 ~/www/settlement/api/index.php |
|
|
-' 1 0 /home/ushio/www/api/functions.php |
|
|
-' 536 0 /home/ushio/www/api/functions.php |
|
|
-' 4 21 /home/ushio/conf/dbKeys/auth.db.key.php |
|
|
-' 1 0 /home/ushio/conf/dbKeys/auth.db.key.php |
|
|
-' 1 0 /home/ushio/conf/dbKeys/log.db.key.php |
|
|
-' 1 0 /home/ushio/www/login/functions.php |
|
|
-' 1 0 /home/ushio/www/login/config.php |
|
|
-' 3 9 /home/ushio/www/login/checkPhone.php |
|
|
-' 1 0 /home/ushio/www/login/index.html |
|
|
-' 1 0 /home/ushio/www/login/checkPhone.php |
|
|
-' 5 1 /home/ushio/www/api/sms/index.php |
|
|
-' 1 0 /home/ushio/www/api/sms/index.php |
|
|
-' 363 3 /home/ushio/www/api/functions.php |
|
|
-' 37 0 /home/ushio/www/api/functions.php |
|
|
-' 1 0 /home/ushio/www/api/config.php |
|
|
-' 104 87 /home/ushio/www/api/img/index.php |
|
|
-' 1 0 /home/ushio/www/api/img/index.php |
|
|
-' 473 50 ~/www/blog/usr/themes/handsome/libs/Content.php |
|
|
-' 478 108 ~/www/blog/usr/themes/handsome/libs/Content.php |
|
|
-' 3 0 ~/www/blog/usr/themes/handsome/libs/Content.php |
|
|
-' 1 0 ~/www/blog/usr/themes/handsome/libs/Content.php |
|
|
-' 1 0 ~/www/blog/usr/themes/handsome/libs/Handsome.php |
|
|
-' 1 0 ~/www/blog/usr/themes/handsome/functions.php |
|
|
-' 63 3 ~/www/blog/usr/themes/handsome/post.php |
|
|
-' 99 3 ~/www/blog/usr/themes/handsome/post.php |
|
|
-' 44 8 ~/www/blog/usr/themes/handsome/page.php |
|
|
-' 26 10 ~/www/blog/usr/themes/handsome/page.php |
|
|
-' 139 10 ~/www/blog/usr/themes/handsome/component/sidebar.php |
|
|
-' 89 11 ~/www/blog/usr/themes/handsome/component/sidebar.php |
|
|
-' 72 12 ~/www/blog/usr/themes/handsome/component/sidebar.php |
|
|
-' 451 51 ~/www/blog/usr/themes/handsome/component/footer.php |
|
|
-' 418 20 ~/www/blog/usr/themes/handsome/component/footer.php |
|
|
-' 453 50 ~/www/blog/usr/themes/handsome/component/footer.php |
|
|
-' 407 12 ~/www/blog/usr/themes/handsome/component/footer.php |
|
|
-' 1 2 ~/www/blog/usr/themes/handsome/component/sidebar.php |
|
|
-' 1 0 ~/www/blog/usr/themes/handsome/post.php |
|
|
-' 1 0 ~/www/blog/usr/themes/handsome/page.php |
|
|
-' 26 85 ~/www/blog/usr/plugins/Pio/static/pio.js |
|
|
-' 1 0 ~/www/blog/usr/plugins/Pio/static/pio.js |
|
|
-' 1 1 ~/www/blog/usr/plugins/Pio/static/l2d.js |
|
|
-' 1 0 ~/www/blog/usr/plugins/Pio/models/pio/model.moc |
|
|
-' 1 0 ~/www/blog/usr/plugins/Pio/models/pio/model.json |
|
|
-' 49 0 ~/www/blog/usr/plugins/Pio/Plugin.php |
|
|
-' 1 0 ~/www/blog/usr/plugins/Pio/Plugin.php |
|
|
-' 141 53 ~/www/blog/usr/themes/handsome/component/aside.php |
|
|
-' 1 2 ~/www/blog/usr/themes/handsome/component/aside.php |
|
|
-' 59 166 ~/www/mikutap/index.html |
|
|
-' 1 0 ~/www/mikutap/index.html |
|
|
-' 10 2 ~/www/blog/usr/themes/handsome/component/footer.php |
|
|
-' 217 27 ~/www/blog/var/PasswordHash.php |
|
|
-' 1 0 ~/www/blog/var/PasswordHash.php |
|
|
-' 101 2 /home/ushio/www/api/msc/index.php |
|
|
-' 1 0 /home/ushio/www/api/msc/index.php |
|
|
-' 196 77 ~/www/settlement/api/index.php |
|
|
-' 170 8 ~/www/settlement/api/index.php |
|
|
-' 8 201 ~/www/blog/usr/themes/handsome/component/footer.php |
|
|
-' 1 0 ~/www/blog/usr/themes/handsome/component/footer.php |
|
|
-' 112 4 ~/www/blog/usr/themes/handsome/index.php |
|
|
-' 1 0 ~/www/blog/usr/themes/handsome/index.php |
|
|
-' 3 0 ~/www/shorturl/index.php |
|
|
-' 5 0 ~/www/shorturl/index.php |
|
|
-' 6 21 ~/www/shorturl/.db.key.php |
|
|
-' 1 0 ~/www/shorturl/.db.key.php |
|
|
-' 2 33 ~/www/shorturl/functions.php |
|
|
-' 1 0 ~/www/shorturl/functions.php |
|
|
-' 1 0 ~/www/shorturl/index.php |
|
|
-' 14 32 ~/conf/nginx/settlement.yimian.xyz.conf |
|
|
-' 1 0 ~/conf/nginx/settlement.yimian.xyz.conf |
|
|
-' 308 60 ~/www/settlement/index.html |
|
|
-' 456 4 ~/www/settlement/index.html |
|
|
-' 573 1 ~/www/settlement/index.html |
|
|
-' 22 28 /home/ushio/www/img/usr/themes/photograph/index.php |
|
|
-' 1 0 /home/ushio/www/img/usr/themes/photograph/index.php |
|
|
-' 1 0 /home/ushio/www/img/usr/themes/photograph/index. |
|
|
-' 1 0 /home/lib/php/anti-ddos.php |
|
|
-' 1 0 /home/ushio/www/img/index.php |
|
|
-' 38 0 /home/ushio/www/img/index.php |
|
|
-' 1 0 /home/ushio/www/img/in |
|
|
-' 32 0 /home/ushio/www/api/video/index.php |
|
|
-' 20 0 /home/ushio/www/api/video/index.php |
|
|
-' 291 3 /home/ushio/www/api/functions.php |
|
|
-' 293 0 /home/ushio/www/api/functions.php |
|
|
-' 29 4 /home/ushio/www/api/video/index.php |
|
|
-' 31 0 /home/ushio/www/api/video/index.php |
|
|
-' 298 4 /home/ushio/www/api/functions.php |
|
|
-' 491 0 /home/ushio/www/api/functions.php |
|
|
-' 588 0 /home/ushio/www/api/functions.php |
|
|
-' 2 0 /home/ushio/www/api/functions.php |
|
|
|
|
|
# History of marks within files (newest to oldest): |
|
|
|
|
|
> /mnt/onedrive/git/fdc/README.md |
|
|
" 2 0 |
|
|
^ 2 0 |
|
|
. 2 0 |
|
|
+ 2 0 |
|
|
|
|
|
> /etc/fuse.conf |
|
|
" 2 0 |
|
|
^ 2 0 |
|
|
. 2 0 |
|
|
+ 2 0 |
|
|
|
|
|
> /home/ushio/opt/exrate/index.js |
|
|
" 17 2 |
|
|
^ 17 3 |
|
|
. 17 3 |
|
|
+ 8 26 |
|
|
+ 17 3 |
|
|
|
|
|
> /etc/ssl.yimian.xyz/update.js |
|
|
" 1 33 |
|
|
^ 1 0 |
|
|
|
|
|
> /home/ushio/www/auth/vercode/checkCode.php |
|
|
" 1 0 |
|
|
|
|
|
> ~/www/settlement/api/index.php |
|
|
" 162 0 |
|
|
|
|
|
> /home/ushio/www/api/functions.php |
|
|
" 1 0 |
|
|
^ 536 20 |
|
|
. 536 19 |
|
|
+ 536 0 |
|
|
+ 536 9 |
|
|
+ 536 44 |
|
|
+ 580 0 |
|
|
+ 535 8 |
|
|
+ 536 6 |
|
|
+ 553 0 |
|
|
+ 536 19 |
|
|
|
|
|
> /home/ushio/conf/dbKeys/auth.db.key.php |
|
|
" 4 21 |
|
|
^ 4 22 |
|
|
|
|
|
> /home/ushio/conf/dbKeys/log.db.key.php |
|
|
" 1 0 |
|
|
|
|
|
> /home/ushio/www/login/functions.php |
|
|
" 1 0 |
|
|
|
|
|
> /home/ushio/www/login/config.php |
|
|
" 1 0 |
|
|
|
|
|
> /home/ushio/www/login/checkPhone.php |
|
|
" 3 9 |
|
|
^ 3 10 |
|
|
. 3 10 |
|
|
+ 3 10 |
|
|
|
|
|
> /home/ushio/www/login/index.html |
|
|
" 1 0 |
|
|
|
|
|
> /home/ushio/www/api/sms/index.php |
|
|
" 5 1 |
|
|
^ 5 2 |
|
|
. 5 1 |
|
|
+ 3 27 |
|
|
+ 4 0 |
|
|
+ 5 1 |
|
|
|
|
|
> /home/ushio/www/api/config.php |
|
|
" 1 0 |
|
|
^ 1 0 |
|
|
|
|
|
> /home/ushio/www/api/img/index.php |
|
|
" 104 87 |
|
|
^ 23 160 |
|
|
. 23 158 |
|
|
+ 23 158 |
|
|
|
|
|
> ~/www/blog/usr/themes/handsome/libs/Content.php |
|
|
" 473 50 |
|
|
^ 482 41 |
|
|
. 482 40 |
|
|
+ 475 87 |
|
|
+ 478 109 |
|
|
+ 478 0 |
|
|
+ 478 125 |
|
|
+ 481 36 |
|
|
+ 481 185 |
|
|
+ 482 29 |
|
|
+ 488 0 |
|
|
+ 488 219 |
|
|
+ 488 300 |
|
|
+ 489 0 |
|
|
+ 489 217 |
|
|
+ 488 213 |
|
|
+ 489 305 |
|
|
+ 490 0 |
|
|
+ 490 218 |
|
|
+ 490 303 |
|
|
+ 486 309 |
|
|
+ 488 305 |
|
|
+ 488 0 |
|
|
+ 488 0 |
|
|
+ 488 0 |
|
|
+ 488 0 |
|
|
+ 490 0 |
|
|
+ 489 0 |
|
|
+ 488 33 |
|
|
+ 489 32 |
|
|
+ 489 32 |
|
|
+ 490 32 |
|
|
+ 489 0 |
|
|
+ 487 0 |
|
|
+ 488 203 |
|
|
+ 489 207 |
|
|
+ 490 205 |
|
|
+ 489 199 |
|
|
+ 490 208 |
|
|
+ 488 206 |
|
|
+ 479 62 |
|
|
+ 482 40 |
|
|
|
|
|
> ~/www/blog/usr/themes/handsome/libs/Handsome.php |
|
|
" 1 0 |
|
|
^ 1 0 |
|
|
|
|
|
> ~/www/blog/usr/themes/handsome/functions.php |
|
|
" 1 0 |
|
|
^ 1 0 |
|
|
|
|
|
> ~/www/blog/usr/themes/handsome/post.php |
|
|
" 63 3 |
|
|
^ 99 3
|
|
|
|