']); //The necessary JavaScripts echo ''; echo '
'; error_handle($error); echo '

'.$l['searchinstallations'].'


'.$l['search_scripts_exp'].'
'.$l['only_outdated_exp'].'
'.$l['search_users_exp'].'
'.$l['only_realversion_exp'].'
'.$l['search_domains_exp'].'

'.csrf_display().'

'; if(isset($_REQUEST['listinstallations'])){ echo '
'; $upgrade_ins_button = '

'.$l['with_selected'].' : '.csrf_display().'

'; // In case there is any error than just dont show the button if(!empty($error)){ $upgrade_ins_button = ''; } $email_button = '

'.$l['with_selected'].' : '; if(!empty($real_version)){ $email_button .= ''; }else{ $email_button .= ''; } echo '

'; if(!empty($records_updated)){ echo '
'.$l['succ_update_record'].'
'; } if(empty($list)){ echo '

'.$l['no_results'].'

'; }else{ if(!empty($emailed)){ echo '
'.$l['emailed_users'].'
'; } echo '
'; if(!empty($real_version)){ echo '
'.$l['real_ver_notice'].'
'.$l['latest_ver_notice'].'

'; } echo '
'; if(!isset($_REQUEST['upgrade_installation']) || !empty($real_version)){ echo $email_button; }else{ // We are ending the table because we are not ending this in the variable. echo '
'.$upgrade_ins_button.'
'; } echo '
'. (!empty($_domainwise) ? '' : '').' '. (!empty($real_version) ? '' : ''). ''; foreach($list as $lk => $lv){ $i = 1; foreach($lv as $llk => $llv){ foreach($llv as $ik => $iv){ $outdated_class = ''; $isCustom = (is_customscript($iv['sid']) ? 1 : 0); if(!empty($isCustom)){ if($iscripts[$iv['sid']]['ver'] != $iv['ver']){ $outdated_class = 'lioutdated'; } }else{ if($iscripts[$iv['sid']]['ver'] != $iv['ver'] && file_exists($globals['softscripts'].'/'.$iscripts[$iv['sid']]['softname'].'/upgrade.xml')){ $outdated_class = 'lioutdated'; } } echo ''. (!empty($_domainwise) ? '' : ''). ' '. (!empty($iv['real_ver']) && !empty($real_version) ? '' : ''). ''; $i++; } } } echo '
'.(empty($_scriptwise) ? (empty($_domainwise) ? $l['li_user'] : $l['li_domains']) : $l['li_scripts']).' '.(empty($_scriptwise) ? $l['li_scripts'] : $l['li_user']).''.$l['li_user'].''.$l['li_url'].' '.$l['ins_time'].' '.$l['li_insver'].''.$l['li_realver'].''.$l['li_ver'].'
'; if($i == 1){ echo (empty($_scriptwise) ? (empty($_timewise) ? $lk : $llk) : (!empty($scripts[$iv['sid']]) && !empty($iscripts[$iv['sid']]) ? $scripts[$iv['sid']]['name'] : (!empty($isCustom) ? $iscripts[$iv['sid']]['name'] : $l['no_info']))); }else{ echo ''; } $real_class = 'lirealver'; $__user = (empty($_scriptwise) ? $lk : $llk); if(!empty($_domainwise)){ $__user = $iv['user']; } if(!empty($_timewise)){ $__user = $llk; } echo ' '.(empty($_scriptwise) ? (!empty($scripts[$iv['sid']]) && !empty($iscripts[$iv['sid']]) ? $scripts[$iv['sid']]['name'] : (!empty($isCustom) ? $iscripts[$iv['sid']]['name'] : $l['no_info'])) : $llk).''.$__user.''.$iv['softurl'].' '.datify($iv['itime']).' '.$iv['ver'].''.$iv['real_ver'].''.(empty($isCustom) ? $scripts[$iv['sid']]['ver'] : $iscripts[$iv['sid']]['ver']).' '.(!empty($iv['eu_auto_upgrade']) ? ' ' : '').' '.((empty($isCustom) ? ($scripts[$iv['sid']]['ver'] != $iv['ver'] && file_exists($globals['softscripts'].'/'.$scripts[$iv['sid']]['softname'].'/upgrade.xml')) : ($iscripts[$iv['sid']]['ver'] != $iv['ver'] && file_exists($globals['softscripts'].'/'.$iscripts[$iv['sid']]['softname'].'/upgrade.xml'))) ? '' : '').'
'; if(!isset($_REQUEST['upgrade_installation']) || !empty($real_version)){ echo $email_button; }else{ echo '
'.$upgrade_ins_button.'
'; } echo '
'; if(!empty($real_version)){ echo '
'.$l['real_ver_notice'].'
'.$l['latest_ver_notice'].'
'; } echo csrf_display().'
'; } } echo '

'; echo ''; softfooter(); } function autoupgrade_ins_theme(){ global $user, $globals, $scripts, $iscripts, $l, $theme, $error, $saved, $report, $softid; echo '
'.(empty($report['status']) ? '' : '').'
'.$report['log'].'
'; } ?>