头部增加我的网盘空间使用情况显示
效果图
描述
在首页头部显示我的网盘存储空间使用情况。
方法
♻️ 文件:\dzz\index_simple\index.php
在if($_G['uid']){后添加下列代码
$space = dzzgetspace($_G['uid']);
$progress = set_space_progress($space['usesize'], $space['maxspacesize']);
[[EMOJI:%F0%9F%9A%A8]] 文件:\dzz\index_simple\template\header_search.htm
添加下列代码
存储空间
$space['fusesize']/$space['fmaxspacesize']
$space['fusesize']/$space['fmaxspacesize']
然后系统后台清理缓存即可。