You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
571 lines
11 KiB
571 lines
11 KiB
# 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~/api.yimian |
|
|
|
# Last Substitute String: |
|
$ |
|
|
|
# Command Line History (newest to oldest): |
|
:w |
|
:q |
|
:wq |
|
:q! |
|
:Q! |
|
:Wq |
|
|
|
# Search String History (newest to oldest): |
|
?/api.yimian |
|
?/echo |
|
|
|
# Expression History (newest to oldest): |
|
|
|
# Input Line History (newest to oldest): |
|
|
|
# Input Line History (newest to oldest): |
|
|
|
# Registers: |
|
"0 LINE 0 |
|
include '/home/ushio/conf/dbKeys/log.db.key.php'; |
|
""1 LINE 0 |
|
$tmp_total = 0; |
|
"2 CHAR 0 |
|
|
|
|
|
|
|
$total_arr[$ii]['date']=date('Y-m-d', strtotime('-'.($ii+1).'day')); |
|
$total_arr[$ii]['total']=$tmp; |
|
|
|
|
|
|
|
|
|
$firstTime = $firstItem['datetime']; |
|
$firstDate = substr($firstTime, 0, 10); |
|
|
|
$datetime_start = date_create($firstDate); |
|
$datetime_end = date_create(date('Y-m-d')); |
|
$days = date_diff($datetime_start, $datetime_end)->days; |
|
|
|
for($ii = 0; $ii < (($days < 30) ? $days: 30); $ii ++){ |
|
|
|
$sql = "select * from account where datetime>='".date('Y-m-d',strtotime('-'.($ii+1).' day'))." 00:00:00' and datetime<'".date('Y-m-d', strtotime("-$ii day"))." 00:00:00' order by id DESC limit 1"; |
|
$result = $conn->query($sql); |
|
|
|
$tmp = 0; |
|
while($row = $result->fetch_assoc()) { |
|
$tmp = $row['total']; |
|
} |
|
$total_arr[$ii]['date']=date('Y-m-d', strtotime('-'.($ii+1).'day')); |
|
$total_arr[$ii]['total']=$tmp; |
|
|
|
|
|
} |
|
|
|
for($i = 0; $i < count($total_arr); $i++){ |
|
if($i < count($total_arr) - 1) $total_arr[$i]['val'] = $total_arr[$i]['total'] - $total_arr[$i+1]['total']; |
|
else $total_arr[$i]['val'] = 0; |
|
} |
|
|
|
for($i = 0; $i < count($total_arr); $i ++){ |
|
if($i < count($total_arr) - 7) $total_arr[$i]['week_val'] = $total_arr[$i]['total'] - $total_arr[$i+7]['total']; |
|
else $total_arr[$i]['week_val'] = 0; |
|
} |
|
|
|
|
|
"3 LINE 0 |
|
array_push($ = $row['total']; |
|
} |
|
"4 LINE 0 |
|
$firstItem = $result->fetch_assoc(); |
|
"5 LINE 0 |
|
} |
|
"6 CHAR 0 |
|
$datetime_start = date_create($firstDate); |
|
$datetime_end = date_create(date('Y-m-d')); |
|
$days = date_diff($datetime_start, $datetime_end)->days; |
|
|
|
for($ii = 0; $ii < (($days < 30) ? $days: 30); $ii ++){ |
|
|
|
$sql = "select * from account where datetime>='".date('Y-m-d',strtotime('-'.($ii+1).' day'))." 00:00:00' and datetime<'".date('Y-m-d', strtotime("-$ii day"))." 00:00:00' order by id DESC limit 1"; |
|
$result = $conn->query($sql); |
|
|
|
$tmp = 0; |
|
while($row = $result->fetch_assoc()) { |
|
$tmp = $row['total']; |
|
} |
|
$total_arr[$ii]['date']=date('Y-m-d', strtotime('-'.($ii+1).'day')); |
|
$total_arr[$ii]['total']=$tmp; |
|
|
|
|
|
} |
|
|
|
for($i = 0; $i < count($total_arr); $i++){ |
|
if($i < count($total_arr) - 1) $total_arr[$i]['val'] = $total_arr[$i]['total'] - $total_arr[$i+1]['total']; |
|
else $total_arr[$i]['val'] = 0; |
|
} |
|
|
|
for($i = 0; $i < count($total_arr); $i ++){ |
|
if($i < count($total_arr) - 7) $total_arr[$i]['week_val'] = $total_arr[$i]['total'] - $total_arr[$i+7]['total']; |
|
else $total_arr[$i]['week_val'] = 0; |
|
} |
|
|
|
|
|
"7 LINE 0 |
|
$firstItem = $result->fetch_assoc(); |
|
"8 LINE 0 |
|
|
|
"9 LINE 0 |
|
|
|
"- CHAR 0 |
|
|
|
|
|
# File marks: |
|
'0 26 6 ~/www/settlement/api/getWeekData.php |
|
'1 19 68 ~/www/settlement/api/index.php |
|
'2 73 93 ~/www/settlement/func/functions.php |
|
'3 4 0 ~/www/settlement/api/index.php |
|
'4 1 7 ~/www/settlement/imgbed/.gitignore |
|
'5 4 0 ~/www/settlement/func/functions.php |
|
'6 2 0 /home/ushio/www/api/functions.php |
|
'7 5 68 ~/www/settlement/api/test.php |
|
'8 341 0 ~/www/settlement/func/functions.php |
|
'9 122 0 ~/www/settlement/api/index.php |
|
|
|
# Jumplist (newest first): |
|
-' 26 6 ~/www/settlement/api/getWeekData.php |
|
-' 1 0 ~/www/settlement/api/getWeekData.php |
|
-' 37 43 ~/www/settlement/api/getWeekData.php |
|
-' 38 4 ~/www/settlement/api/getWeekData.php |
|
-' 19 68 ~/www/settlement/api/index.php |
|
-' 4 0 ~/www/settlement/api/index.php |
|
-' 73 93 ~/www/settlement/func/functions.php |
|
-' 70 0 ~/www/settlement/func/functions.php |
|
-' 78 0 ~/www/settlement/func/functions.php |
|
-' 87 0 ~/www/settlement/func/functions.php |
|
-' 117 73 ~/www/settlement/func/functions.php |
|
-' 118 0 ~/www/settlement/func/functions.php |
|
-' 119 0 ~/www/settlement/func/functions.php |
|
-' 121 0 ~/www/settlement/func/functions.php |
|
-' 122 0 ~/www/settlement/func/functions.php |
|
-' 151 66 ~/www/settlement/func/functions.php |
|
-' 120 0 ~/www/settlement/func/functions.php |
|
-' 86 0 ~/www/settlement/func/functions.php |
|
-' 152 0 ~/www/settlement/func/functions.php |
|
-' 157 0 ~/www/settlement/func/functions.php |
|
-' 164 0 ~/www/settlement/func/functions.php |
|
-' 179 0 ~/www/settlement/func/functions.php |
|
-' 184 0 ~/www/settlement/func/functions.php |
|
-' 189 0 ~/www/settlement/func/functions.php |
|
-' 196 0 ~/www/settlement/func/functions.php |
|
-' 199 0 ~/www/settlement/func/functions.php |
|
-' 204 0 ~/www/settlement/func/functions.php |
|
-' 207 0 ~/www/settlement/func/functions.php |
|
-' 211 0 ~/www/settlement/func/functions.php |
|
-' 213 0 ~/www/settlement/func/functions.php |
|
-' 220 0 ~/www/settlement/func/functions.php |
|
-' 222 0 ~/www/settlement/func/functions.php |
|
-' 219 0 ~/www/settlement/func/functions.php |
|
-' 195 0 ~/www/settlement/func/functions.php |
|
-' 188 0 ~/www/settlement/func/functions.php |
|
-' 178 0 ~/www/settlement/func/functions.php |
|
-' 154 0 ~/www/settlement/func/functions.php |
|
-' 59 0 ~/www/settlement/func/functions.php |
|
-' 39 0 ~/www/settlement/func/functions.php |
|
-' 67 28 ~/www/settlement/func/functions.php |
|
-' 60 0 ~/www/settlement/func/functions.php |
|
-' 61 42 ~/www/settlement/func/functions.php |
|
-' 4 0 ~/www/settlement/func/functions.php |
|
-' 122 12 ~/www/settlement/api/index.php |
|
-' 1 7 ~/www/settlement/imgbed/.gitignore |
|
-' 327 0 ~/www/settlement/func/functions.php |
|
-' 341 8 ~/www/settlement/func/functions.php |
|
-' 2 0 /home/ushio/www/api/functions.php |
|
-' 1 0 /home/ushio/www/api/functions.php |
|
-' 5 68 ~/www/settlement/api/test.php |
|
-' 1 0 ~/www/settlement/api/test.php |
|
-' 78 0 ~/www/settlement/api/index.php |
|
-' 30 58 ~/www/settlement/imgbed/upload.php |
|
-' 27 16 ~/www/settlement/imgbed/upload.php |
|
-' 1 0 ~/www/settlement/imgbed/upload |
|
-' 16 17 ~/www/settlement/imgbed/js/jquery.imageuploader.js |
|
-' 5 0 ~/www/settlement/imgbed/js/jquery.imageuploader.js |
|
-' 52 44 ~/www/settlement/imgbed/js/main.js |
|
-' 1 0 ~/www/settlement/imgbed/js/main.js |
|
-' 10 4 ~/www/settlement/imgbed/js/jquery.imageuploader.js |
|
-' 26 17 ~/www/settlement/api/getCurrent.php |
|
-' 13 0 ~/www/settlement/api/getCurrent.php |
|
-' 15 0 ~/www/settlement/api/getCurrent.php |
|
-' 1 0 ~/www/settlement/api/getCurrent.php |
|
-' 73 93 ~/www/settlement/func/functions.php |
|
-' 70 0 ~/www/settlement/func/functions.php |
|
-' 78 0 ~/www/settlement/func/functions.php |
|
-' 87 0 ~/www/settlement/func/functions.php |
|
-' 117 73 ~/www/settlement/func/functions.php |
|
-' 118 0 ~/www/settlement/func/functions.php |
|
-' 119 0 ~/www/settlement/func/functions.php |
|
-' 121 0 ~/www/settlement/func/functions.php |
|
-' 122 0 ~/www/settlement/func/functions.php |
|
-' 151 66 ~/www/settlement/func/functions.php |
|
-' 120 0 ~/www/settlement/func/functions.php |
|
-' 86 0 ~/www/settlement/func/functions.php |
|
-' 152 0 ~/www/settlement/func/functions.php |
|
-' 157 0 ~/www/settlement/func/functions.php |
|
-' 164 0 ~/www/settlement/func/functions.php |
|
-' 179 0 ~/www/settlement/func/functions.php |
|
-' 184 0 ~/www/settlement/func/functions.php |
|
-' 189 0 ~/www/settlement/func/functions.php |
|
-' 196 0 ~/www/settlement/func/functions.php |
|
-' 199 0 ~/www/settlement/func/functions.php |
|
-' 204 0 ~/www/settlement/func/functions.php |
|
-' 207 0 ~/www/settlement/func/functions.php |
|
-' 211 0 ~/www/settlement/func/functions.php |
|
-' 213 0 ~/www/settlement/func/functions.php |
|
-' 220 0 ~/www/settlement/func/functions.php |
|
-' 222 0 ~/www/settlement/func/functions.php |
|
-' 219 0 ~/www/settlement/func/functions.php |
|
-' 195 0 ~/www/settlement/func/functions.php |
|
-' 188 0 ~/www/settlement/func/functions.php |
|
-' 178 0 ~/www/settlement/func/functions.php |
|
-' 154 0 ~/www/settlement/func/functions.php |
|
-' 59 0 ~/www/settlement/func/functions.php |
|
-' 39 0 ~/www/settlement/func/functions.php |
|
-' 67 28 ~/www/settlement/func/functions.php |
|
-' 60 0 ~/www/settlement/func/functions.php |
|
|
|
# History of marks within files (newest to oldest): |
|
|
|
> ~/www/settlement/api/getWeekData.php |
|
" 26 6 |
|
^ 26 7 |
|
. 26 6 |
|
+ 29 4 |
|
+ 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 34 |
|
+ 37 33 |
|
+ 36 34 |
|
+ 38 25 |
|
+ 27 0 |
|
+ 26 6 |
|
|
|
> ~/www/settlement/api/index.php |
|
" 19 68 |
|
^ 19 69 |
|
. 19 69 |
|
+ 6 0 |
|
+ 5 56 |
|
+ 60 14 |
|
+ 48 21 |
|
+ 96 1 |
|
+ 103 1 |
|
+ 96 0 |
|
+ 103 0 |
|
+ 98 0 |
|
+ 110 20 |
|
+ 146 49 |
|
+ 110 0 |
|
+ 116 9 |
|
+ 123 13 |
|
+ 116 8 |
|
+ 117 9 |
|
+ 132 18 |
|
+ 116 9 |
|
+ 115 24 |
|
+ 116 8 |
|
+ 115 9 |
|
+ 116 36 |
|
+ 117 36 |
|
+ 123 12 |
|
+ 8 15 |
|
+ 80 15 |
|
+ 85 0 |
|
+ 86 0 |
|
+ 85 26 |
|
+ 86 1 |
|
+ 87 0 |
|
+ 85 0 |
|
+ 75 21 |
|
+ 74 62 |
|
+ 75 0 |
|
+ 5 0 |
|
+ 2 0 |
|
+ 3 37 |
|
+ 19 69 |
|
|
|
> ~/www/settlement/func/functions.php |
|
" 73 93 |
|
^ 73 94 |
|
. 73 93 |
|
+ 3 37 |
|
+ 9 2 |
|
+ 4 0 |
|
+ 61 95 |
|
+ 71 56 |
|
+ 72 86 |
|
+ 73 93 |
|
|
|
> ~/www/settlement/imgbed/.gitignore |
|
" 1 7 |
|
^ 1 8 |
|
. 1 7 |
|
+ 1 7 |
|
|
|
> /home/ushio/www/api/functions.php |
|
" 2 0 |
|
|
|
> ~/www/settlement/api/test.php |
|
" 5 68 |
|
^ 5 69 |
|
. 5 68 |
|
+ 3 57 |
|
+ 5 68 |
|
|
|
> ~/www/settlement/imgbed/upload.php |
|
" 30 58 |
|
^ 30 59 |
|
. 30 59 |
|
+ 43 0 |
|
+ 42 24 |
|
+ 43 60 |
|
+ 30 54 |
|
+ 23 34 |
|
+ 15 27 |
|
+ 27 0 |
|
+ 42 0 |
|
+ 43 1 |
|
+ 42 2 |
|
+ 30 59 |
|
|
|
> ~/www/settlement/imgbed/js/jquery.imageuploader.js |
|
" 16 17 |
|
^ 10 6 |
|
. 10 4 |
|
+ 4 412 |
|
+ 9 559 |
|
+ 23 0 |
|
+ 11 47 |
|
+ 12 54 |
|
+ 13 28 |
|
+ 14 35 |
|
+ 15 35 |
|
+ 17 24 |
|
+ 19 33 |
|
+ 20 63 |
|
+ 16 23 |
|
+ 10 52 |
|
+ 11 16 |
|
+ 11 0 |
|
+ 16 23 |
|
+ 18 13 |
|
+ 10 4 |
|
|
|
> ~/www/settlement/imgbed/js/main.js |
|
" 52 44 |
|
^ 52 45 |
|
. 52 44 |
|
+ 48 58 |
|
+ 49 50 |
|
+ 50 41 |
|
+ 52 63 |
|
+ 48 39 |
|
+ 50 25 |
|
+ 51 31 |
|
+ 52 44 |
|
|
|
> ~/www/settlement/api/getCurrent.php |
|
" 26 17 |
|
^ 26 18 |
|
. 26 17 |
|
+ 13 59 |
|
+ 22 0 |
|
+ 14 0 |
|
+ 13 57 |
|
+ 17 29 |
|
+ 18 19 |
|
+ 6 29 |
|
+ 7 9 |
|
+ 10 20 |
|
+ 18 61 |
|
+ 19 24 |
|
+ 26 17 |
|
|
|
> ~/www/settlement/api/getDetail.php |
|
" 14 32 |
|
^ 14 33 |
|
. 10 45 |
|
+ 10 45 |
|
|
|
> ~/www/settlement/api/get |
|
" 1 0 |
|
|
|
> ~/www/settlement/api/getAccountEvents.php |
|
" 10 43 |
|
^ 10 44 |
|
. 10 43 |
|
+ 7 7 |
|
+ 10 53 |
|
+ 12 0 |
|
+ 17 1 |
|
+ 17 0 |
|
+ 12 32 |
|
+ 17 0 |
|
+ 13 0 |
|
+ 17 0 |
|
+ 16 0 |
|
+ 12 0 |
|
+ 16 0 |
|
+ 17 0 |
|
+ 14 15 |
|
+ 15 0 |
|
+ 14 31 |
|
+ 17 0 |
|
+ 10 36 |
|
+ 18 0 |
|
+ 10 43 |
|
|
|
> ~/www/settlement/imgbed/index.html |
|
" 14 4 |
|
^ 14 37 |
|
. 14 36 |
|
+ 7 24 |
|
+ 18 50 |
|
+ 22 90 |
|
+ 35 60 |
|
+ 39 75 |
|
+ 47 123 |
|
+ 50 88 |
|
+ 49 27 |
|
+ 52 198 |
|
+ 54 35 |
|
+ 14 36 |
|
|
|
> ~/www/settlement/imgbed/js/jquery.min.js |
|
" 5 40 |
|
^ 1 0 |
|
|
|
> ~/www/settlement/imgbed/js/jquery.hwLayer.js |
|
" 10 0 |
|
^ 1 0 |
|
|
|
> ~/www/settlement/imgbed/style/main.css |
|
" 1 29 |
|
^ 1 0 |
|
. 1 62 |
|
+ 1 62 |
|
|
|
> ~/www/settlement/imgbed/uploadp |
|
" 1 0 |
|
^ 1 0 |
|
|
|
> ~/www/settlement/index.html |
|
" 193 29 |
|
^ 193 30 |
|
. 9 77 |
|
+ 6 9 |
|
+ 8 59 |
|
+ 9 77 |
|
|
|
> ~/www/settlement/log.db.key.php |
|
" 3 26 |
|
^ 6 28 |
|
. 6 24 |
|
+ 4 22 |
|
+ 6 24
|
|
|