diff --git a/application/modules/default/views/scripts/collection/partials/details.phtml b/application/modules/default/views/scripts/collection/partials/details.phtml index b831999e9..5345d4f94 100644 --- a/application/modules/default/views/scripts/collection/partials/details.phtml +++ b/application/modules/default/views/scripts/collection/partials/details.phtml @@ -1,340 +1,340 @@ . **/ $tableProject = new Default_Model_Project(); $this->product_views = $tableProject->fetchProjectViews($this->product->project_id); $helperUserRole = new Backend_View_Helper_UserRole(); $userRoleName = $helperUserRole->userRole(); $tableTags = new Default_Model_Tags(); $tagsArray = $tableTags->getTagsArray($this->product->project_id, $tableTags::TAG_TYPE_PROJECT, $tableTags::TAG_GHNS_EXCLUDED_GROUPID); $isGhnsExcluded = false; if(isset($tagsArray) && (count($tagsArray) == 1)) { $isGhnsExcluded = true; } $filesTable = new Default_Model_DbTable_PploadFiles(); $countDownloadsToday = $filesTable->fetchCountDownloadsTodayForProject($this->product->ppload_collection_id); $countDownloadsTodayUk = $filesTable->fetchCountDownloadsTodayForProjectNew($this->product->ppload_collection_id); if(empty($countDownloadsToday)) { $countDownloadsToday = 0; } // $heute = date("Y-m-d H:i:s"); $today = (new DateTime())->modify('-1 day'); $filterDownloadToday = $today->format("Y-m-d H:i:s"); ?>
Details
license
product->project_license_title; ?>
version
product->project_version); ?>
product->project_changed_at) { ?>
updated printDate($this->product->project_changed_at) ?>
major updated printDate($this->product->project_major_updated_at) ?>
added printDate($this->product->project_created_at) ?>
downloads today
downloads 24h -
+
page views today projectPageviewsToday($this->product->project_id) ?>
spam reports fetchReportsSpamCnt($this->product->project_id) ?>
misuse reports fetchReportsMisuseCnt($this->product->project_id)?>
link to hive delete product
(remember the cache) after you change some value below and refresh the page you may encounter some differences to your changes
product->spam_checked == 1 ? ' checked=\'checked\' ' : ''; ?> /> spam checked product->featured == 1 ? ' checked=\'checked\' ' : ''; ?> /> featured /> ghns-excluded product->pling_excluded == 1 ? ' checked=\'checked\' ' : ''; ?> /> pling-excluded /> ghns-excluded
inlineScript()->appendScript( ' $(document).ready(function(){ GhnsExcludedClick.setup('.$this->product->project_id.'); }); '); }