'], 'js'); echo ''; if(!empty($updates_available)){ echo '
×
  '.lang_vars($l['updates_available'], array($updates_available)).'
'; } echo ' '; echo'
All Scripts

'; $j = 1; foreach($allcatwise as $i_ind => $ind_type){ if(empty($ind_type)) continue; echo '
'.strtoupper($i_ind).'
'; foreach($ind_type as $cat => $softs){ if(empty($softs)) continue; echo '
'; $url = $theme['images']; $ratings = array(); $deduct = 1; foreach($softs as $ins_key => $name){ //Skip child if parent exist if(!empty($scripts[$ins_key]['parent']) && !empty($iscripts[$scripts[$ins_key]['parent']])) continue; $custom_icon = ''; // For custom scripts if($ins_key > 10000){ if(file_exists($globals['euthemes'].'/'.$globals['theme_folder'].'/images/topscripts/48/'.$iscripts[$ins_key]['softname'].'.png')){ $custom_icon = $theme['images'].'topscripts/48/'.$iscripts[$ins_key]['softname'].'.png'; }else{ $custom_icon = $theme['images'].'/custom.png'; } } $fullname=$name['name']; if(strlen($name['name'])>12){ $name['name'] = substr($name['name'], 0,12); $name['name'] =$name['name'].'..'; } $r = $scripts[$ins_key]['ratings']; for($i_r=1; $i_r<=5; $i_r++){ if($r >= 1){ $ratings[$i_r] = '('.number_format($scripts[$soft]['ratings'], 2).' out of 5)'; }elseif($r > 0){ $ratings[$i_r] = '('.number_format($scripts[$soft]['ratings'], 2).' out of 5)'; }else{ $ratings[$i_r] = '('.number_format($scripts[$soft]['ratings'], 2).' out of 5)'; } $r = $r - $deduct; } echo'
'.(!empty($custom_icon) ? '' : '').'
'.(empty($globals['off_demo_link']) && empty($custom_icon) ? '' : '').'
'.$name['name'].'
'.(empty($globals['off_rating_link']) && $ins_key < 10000 ? '
'.implode('', $ratings).'
' : '').'
'; $j++; } echo '
'; } } echo '

'; // news updates box if(empty($globals['eu_news_off'])){ echo '
'.$l['news'].'
pheader) ? 'style="overflow: auto;width:auto; height:auto; "' : 'style="height:auto;"').'>
'; } softfooter(); } ?>