-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathe_status.php
More file actions
59 lines (28 loc) · 989 Bytes
/
e_status.php
File metadata and controls
59 lines (28 loc) · 989 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
/*
+---------------------------------------------------------------+
| e107 website system
| http://e107.org
|
| PView Gallery by R.F. Carter
| ronald.fuchs@hhweb.de
+---------------------------------------------------------------+
*/
if (!defined('e107_INIT')) { exit; }
// Include plugin language file, check first for site's preferred language
if (file_exists(e_PLUGIN . "pviewgallery/languages/" . e_LANGUAGE . ".php")){
include_once(e_PLUGIN."pviewgallery/languages/".e_LANGUAGE.".php");
}
else
{
include_once(e_PLUGIN . "pviewgallery/languages/German.php");
}
$pv_images = $sql->db_Count("pview_image", "(*)");
if (empty($pv_images))
{
$pv_images = 0;
}
$text .= "<div style='padding-bottom: 2px;'>
<img src='" . e_PLUGIN . "pviewgallery/images/icon_16.png' style='width: 16px; height: 16px; vertical-align: bottom;border:0;' alt='' />
".LAN_ADMIN_39.": ".$pv_images."</div>";
?>