echo SITE_URL; ?> icons/default/packages.png" /> <div> <div> <label> <p><?php _e('Download'); ?> </p> </label> <label class="detail"> <p> <?php if (!empty($pkg_assoc['Size'])) { echo sizeext($pkg_assoc['Size']); } ?> </p> </label> </div> </div> </a> </fieldset> <?php } $package_info = $pkg_assoc; require_once 'commercial.php'; ?> <fieldset> <?php
$totalDownloads = (int) $info[0]; $q_info = DB::query("SELECT sum(`Size`) FROM `" . DCRM_CON_PREFIX . "Packages`"); $info = DB::fetch_row($q_info); $poolSize = (int) $info[0]; $poolSize_withext = sizeext($poolSize); $q_info = DB::query("SELECT count(*) FROM `" . DCRM_CON_PREFIX . "Packages`"); $info = DB::fetch_row($q_info); $num[0] = (int) $info[0]; $q_info = DB::query("SELECT count(*) FROM `" . DCRM_CON_PREFIX . "Packages` WHERE `Stat` != '-1'"); $info = DB::fetch_row($q_info); $num[1] = (int) $info[0]; $q_info = DB::query("SELECT count(*) FROM `" . DCRM_CON_PREFIX . "Sections`"); $info = DB::fetch_row($q_info); $num[2] = (int) $info[0]; $tmpSize = dirsize("../tmp"); $tmpSize_withext = sizeext($tmpSize); $content = "\t\t\t\t\t\t" . __('Total download times: ') . $totalDownloads . '<br />' . __('Number of packages: ') . $num[0] . '<br />' . __('Number of non-hidden packages: ') . $num[1] . '<br />' . __('Number of sections: ') . $num[2] . '<br />' . __('Download pool size: ') . $poolSize_withext . '<br /><span>' . __('Cache pool size: ') . $tmpSize_withext . '</span> <span><a href="stats.php?action=clean">' . __('Clean cache') . "</span></a>\n"; echo $content; ?> <br /> <!-- Statistics Start --> <?php if (defined("AUTOFILL_STATISTICS_INFO")) { echo "\t\t\t\t\t\t" . AUTOFILL_STATISTICS_INFO . "\n"; } ?> <!-- Statistics End --> </div> </div> <?php } elseif (!empty($_GET['action']) and $_GET['action'] == "clean") {
_e('Inherit'); ?> </ul></th> <th><ul class="ctl" style="width:20%;"><?php _e('Name'); ?> </ul></th> <th><ul class="ctl" style="width:100px;"><?php _e('Size'); ?> </ul></th> </tr></thead><tbody> <?php foreach ($files as $file) { $filesize = filesize("../upload/" . $file); $filesize_withext = sizeext($filesize); ?> <tr> <td><a href="manage.php?action=delete_confirmation&file=<?php echo urlencode($file); ?> " class="close" style="line-height: 12px;">×</a></td> <td><a href="manage.php?action=force&file=<?php echo urlencode($file); ?> " class="close" style="line-height: 12px;">≡</a></td> <td><a href = "import.php?filename=<?php echo urlencode($file); ?> "><ul class="ctl"><?php echo $file;
<td><a style="color: <?php echo $color[$list['Stat']]; ?> ;" href = "view.php?id=<?php echo $list['ID']; ?> "><?php echo htmlspecialchars($list['Name']); ?> </a></td> <td><?php echo htmlspecialchars($list['Version']); ?> </ul></td> <td><?php echo sizeext($list['Size']); ?> </td> <td><?php echo $list['DownloadTimes']; ?> </td> <td style="text-align: center;"><a href="center.php?action=delete_confirm&name=<?php echo $list['Package']; ?> &id=<?php echo $list['ID']; ?> " class="fa fa-trash" style="text-align: center; color:#ed5565;"></a></td> <td style="text-align: center;"><a href="center.php?action=search&contents=<?php echo $list['Package'];
echo SITE_URL; ?> icons/default/packages.png" /> <div> <div> <label> <p><?php _e('Download'); ?> </p> </label> <label class="detail"> <p> <?php if (!empty($package_info['Size'])) { echo sizeext($package_info['Size']); } ?> </p> </label> </div> </div> </a> </fieldset> <?php } require_once 'commercial.php'; ?> <fieldset> <?php if (DCRM_SCREENSHOTS == 2) {