diff --git a/application/modules/default/views/scripts/product/partials/details.phtml b/application/modules/default/views/scripts/product/partials/details.phtml index 01c8016da..b040f12f1 100644 --- a/application/modules/default/views/scripts/product/partials/details.phtml +++ b/application/modules/default/views/scripts/product/partials/details.phtml @@ -1,427 +1,431 @@ . **/ $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; } + +// $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) ?>
added printDate($this->product->project_created_at) ?>
downloads today
0
page views today projectPageviewsToday($this->product->project_id) ?>
spam reports fetchReportsSpamCnt($this->product->project_id) ?>
misuse reports fetchReportsMisuseCnt($this->product->project_id)?>
* * package type * * * FetchProjectPackageTypes($this->product->project_id); * if(!empty($type)){ * ?> * FetchProjectPackageTypes($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 product->ghns_excluded == 1 ? ' checked=\'checked\' ' : ''; ?> /> ghns-excluded inlineScript()->appendScript( ' $(document).ready(function(){ GhnsExcludedClick.setup('.$this->product->project_id.'); }); '); }