b374k
m1n1 1.01
Apache
Linux webd001.cluster107.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
uid=2234(oyaide) gid=100(users) groups=100(users)
server ip : 213.186.33.18 | your ip : 216.73.216.136
safemode OFF
 >  / home / oyaide / www / moycompany.com / piwigo2 / themes / smartpocket / admin /
Filename/home/oyaide/www/moycompany.com/piwigo2/themes/smartpocket/admin/admin.inc.php
Size741
Permissionrwxr-xr-x
Owneroyaide : users
Create time11-Mar-2016 09:45
Last modified08-Mar-2016 15:46
Last accessed08-Mar-2016 15:46
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
<?php

// Need upgrade?
global $conf;
include(PHPWG_THEMES_PATH.'smartpocket/admin/upgrade.inc.php');

load_language('theme.lang', PHPWG_THEMES_PATH.'smartpocket/');

$config_send= array();

if(isset($_POST['submit_smartpocket']))
{
$config_send['loop'] = isset($_POST['loop']);
$config_send['autohide'] = (isset($_POST['autohide']) ? 5000 : 0);

conf_update_param('smartpocket', $config_send, true);

array_push($page['infos'], l10n('Information data registered in database'));
}

$template->set_filenames(array(
'theme_admin_content' => dirname(__FILE__) . '/admin.tpl'));

$template->assign('options', safe_unserialize($conf['smartpocket']));

$template->assign_var_from_handle('ADMIN_CONTENT', 'theme_admin_content');

?>