<?php if(!defined('IN_UCHOME')) exit('Access Denied');?><?php subtplcheck('template/default/site_desktop_fill', '1409324912', 'template/default/site_desktop_fill');?><?php $i = 0; ?>
<?php $j = 0; ?>
<?php $r = 0; ?>
<?php $g = 0; ?>
<?php if(is_array($_SITE)) { foreach($_SITE as $value) { ?>
<?php if(is_array($value)) { foreach($value as $data) { ?>
<?php if($str[$g] != 0 && is_numeric($str[$g]) ) { ?>
<?php $m = $j*90; ?>
<?php $n = $r*90; ?>
<replace select="#<?=$m?>_<?=$n?>">
<div id="<?php if(($list[$str[$g]]['type'] == 'links' || $list[$str[$g]]['type'] == 'feeds') && $list[$str[$g]]['hot'] == 0) { ?>c<?php } ?><?=$list[$str[$g]]['id']?>" class="icon <?=$list[$str[$g]]['color']?>" style="top: <?=$m?>px; left: <?=$n?>px;">
<div class="iconcontent" style="background-image: url(<?=$list[$str[$g]]['icon']?>);<?php if($list[$str[$g]]['titlecolor']) { ?>color:<?=$list[$str[$g]]['titlecolor']?>;<?php } ?>">
<div id="handle_<?php if(($list[$str[$g]]['type'] == 'links' || $list[$str[$g]]['type'] == 'feeds') && $list[$str[$g]]['hot'] == 0) { ?>c<?php } ?><?=$list[$str[$g]]['id']?>" class="handle"></div><?=$list[$str[$g]]['title']?>
<?php if($list[$str[$g]]['type'] == 'feeds') { ?><img class="feedsLogo" src="/images/_feeds_logo.gif" width="10" height="10" alt="" title="" /><?php } ?><?php if($list[$str[$g]]['type'] == 'radio') { ?><img class="feedsLogo" src="/images/radio_logo.gif" width="10" height="10" alt="" title="" /><?php } ?><br /><br />
</div>
</div>
</replace>
<?php if($list[$str[$g]]['type'] == 'links') { ?>
<eval><?=$cdtat_start?>$("#<?php if($list[$str[$g]]['hot'] == 0) { ?>c<?php } ?><?=$list[$str[$g]]['id']?> div.iconcontent").click(function() { window.open('<?=$list[$str[$g]]['url']?>', ''); });<?=$cdtat_end?></eval>
<?php } elseif($list[$str[$g]]['type'] == 'radio') { ?>
<eval><?=$cdtat_start?>$("#<?=$list[$str[$g]]['id']?> div.iconcontent").click(function() { loadRadio('<?=$list[$str[$g]]['id']?>'); });<?=$cdtat_end?></eval>
<?php } elseif($list[$str[$g]]['type'] == 'widget') { ?>
<eval><?=$cdtat_start?>$("#<?=$list[$str[$g]]['id']?> div.iconcontent").click(function() { loadWidget(<?=$list[$str[$g]]['id']?>); });<?=$cdtat_end?></eval>
<?php } elseif($list[$str[$g]]['type'] == 'search') { ?>
<eval><?=$cdtat_start?>$("#<?=$list[$str[$g]]['id']?> div.iconcontent").click(function() { loadSearchModule(<?=$list[$str[$g]]['id']?>, 0, 0); });
$("#<?=$list[$str[$g]]['id']?> div.iconcontent").mouseover(function() { $(this).children(".handle").css("display", "block"); } );
$("#<?=$list[$str[$g]]['id']?> div.iconcontent").mouseout(function() { $(this).children(".handle").css("display", "none"); } );
<?=$cdtat_end?></eval>
<?php } elseif($list[$str[$g]]['type'] == 'feeds') { ?>
<eval><?=$cdtat_start?>
$("#<?php if(($list[$str[$g]]['type'] == 'links' || $list[$str[$g]]['type'] == 'feeds') && $list[$str[$g]]['hot'] == 0) { ?>c<?php } ?><?=$list[$str[$g]]['id']?> div.iconcontent").click(function() { showBoxLoading(); loadFeed('', '<?php if(($list[$str[$g]]['type'] == 'links' || $list[$str[$g]]['type'] == 'feeds') && $list[$str[$g]]['hot'] == 0) { ?>c<?php } ?><?=$list[$str[$g]]['id']?>'); });
<?=$cdtat_end?></eval>
<?php } ?>
<?php $i++; ?>
<?php } ?>
<?php $g++; ?>
<?php $r++; ?>
<?php if($r == 10) { ?>
<?php $r = 0; ?>
<?php } ?>
<?php } } ?>
<?php $j++; ?>
<?php } } ?>
<eval><?=$cdtat_start?>
$("#desktop div.icon.inactive").mouseover(function() { $(this).removeClass("inactive").addClass("inactive_hover inactive_hover_en"); } );
$("#desktop div.icon.inactive").mouseout(function() { $(this).removeClass("inactive_hover inactive_hover_en").addClass("inactive"); } );
$("#desktop div.icon.inactive").click(function() { targetPosition = $(this).attr("id"); try { clearTimeout(saveDesktopTimeout); } catch(e) {} saveDesktop(); 
<?php if($_SGLOBAL['supe_uid'] == $_SC['domain_uid'] || !$_SC['domain']) { ?>
showWindow('<?=$action?>', { width:<?=$width?>, height:<?=$height?> }); } );
<?php } else { ?>
window.open('http://www.ii888ii.com/');  } );
<?php } ?>
$(".iconcontent").mouseover(function() { $(this).children(".handle").css("display", "block"); } )
;$(".iconcontent").mouseout(function() { $(this).children(".handle").css("display", "none"); } );
desktopContentShadow = new Array();
$.merge(desktopContentShadow, <?php if($_POST['desktop_id']) { ?><?=$js_x_y?><?php } else { ?>[]<?php } ?>);
desktopContent = new Array();
$.merge(desktopContent, <?php if($_POST['desktop_id']) { ?><?=$js?><?php } else { ?>[]<?php } ?>);
if (refreshTimer != "undefined" && refreshTimer != null) {clearTimeout(refreshTimer);}
<?php if($_POST['desktop_id']) { ?>loadSearchModule(3, 0, 1);<?php } ?>
<?=$cdtat_end?></eval><?php ob_out();?>