修复问题
This commit is contained in:
@@ -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');
|
||||
Reference in New Issue
Block a user