修复问题

This commit is contained in:
zyx0814
2022-02-25 14:59:46 +08:00
Unverified
parent fdde3dbf30
commit 993185b9dc
3 changed files with 19 additions and 20 deletions

View File

@@ -4,9 +4,9 @@
}
$sid = isset($_GET['sid']) ? dzzdecode($_GET['sid'],'',0):'';
$sharedata = C::t('pichome_share')->fetch_by_idandtype($sid);
$sharedata = C::t('pichome_share')->fetch_by_id($sid);
$resourcesdata = $sharedata['resourcesdata'];
$resourcesdata['share'] = 0;
$colors = array();
foreach($resourcesdata['colors'] as $cval){
$colors[] = $cval;
@@ -26,11 +26,6 @@ foreach($resourcesdata['foldernames'] as $fval){
$foldernames[] = $fval;
}
$resourcesdata['foldernames'] = json_encode($foldernames);
$theme = GetThemeColor();
$ismobile = helper_browser::ismobile();
if (($ismobile)) {
include template('mobile/page/share');
} else {
include template('pc/page/share');
}
$theme = GetThemeColor();
include template('pc/page/share');