']); //First add the installation info echo ' '; echo '

'.$l['import_soft'].'

'.$l['other_installers_btn'].' '.$l['manual_ins_btn'].'

'; //In all installations import some script import returns mysql error. if(empty($all_local_import)){ error_handle($error, '100%'); } echo '
'; // Is there any data from other auto installers ? if(!empty($other_installer) && !empty($list)){ // Success page ? if(!empty($imported)){ import_ins_list(1); }else{ echo '
'.$l['sync_notes'].'

'; import_ins_list(0); echo '

'.csrf_display().'

'; } }else{ echo '
'.$l['no_installer_data'].'

'; } echo '



'; echo '
'.$l['manual_notes'].'
'.(empty($globals['lictype']) ? '
'.$l['free_lic_alert'].'
' : '').'

'.csrf_display().'


'; echo '
'; softfooter(); } function import_ins_list($success = false){ global $l, $list, $iscripts, $theme, $all_local_import, $imported, $globals; if(empty($list)){ echo '
'.$l['no_ins'].'
'; return_wordpress_button(); return true; } if(!empty($all_local_import) || !empty($imported)){ echo '
'.$l['success_msg'].'

'; } echo '
'; if(empty($success)){ echo ''; }else{ echo ''; } echo ' '; $has_wp = 0; foreach($list as $k => $v){ foreach($v as $vk => $vv){ // Show only success installations if(!empty($success) && $vv['synced'] == false && empty($all_local_import)){ continue; } echo ''; if(empty($success)){ echo ''; }else{ echo ''; } echo ' '; } } echo '
'.$l['script_name'].' '.$l['script_url'].'
'.$iscripts[$k]['name'].' '.$vv['url'].''; if(can_wordpress_manager($k)){ $has_wp = 1; echo '  '; } echo '
'; if(!empty($has_wp)){ return_wordpress_button(); } return true; } function return_wordpress_button($return = 0){ global $globals, $l; $btn = '
'.$l['return_to_wpm'].'

'; if(empty($return)){ echo $btn; return true; } return $btn; } ?>