示例#1
0
    echo $type->name;
    ?>
</a>
						<span class="new"></span>
					</h2>
					<div class="entry_post itemsimple" style="line-height:35px;position:relative;">
						<ul>
						<?php 
    if ($key == 0) {
        $ss = 'style="height:60px;"';
    } else {
        $ss = '';
    }
    ?>
						<?php 
    foreach (arrayfitter_fav($results, $type->type_id) as $key => $result) {
        ?>
							<li <?php 
        echo $ss;
        ?>
>
								<div class="divcell" <?php 
        echo $ss;
        ?>
>
								<a class="catedit" rel="<?php 
        echo $result->type_id;
        ?>
" rev="<?php 
        echo $result->id;
        ?>
示例#2
0
    if ($type->type_id == 8 || $type->type_id == 9) {
        ?>
			<?php 
        continue;
        ?>
			<?php 
    }
    ?>
			<div class="itemsimple clearfix">
				<h2 class="title"><span class="t"><b class="icon"><img src="/application/www/img/mzdh.png" style="width: 14px; height: 14px;"></b><?php 
    echo $type->name;
    ?>
</span></h2>
				<ul>
					<?php 
    foreach (arrayfitter_fav($urls, $type->type_id) as $result) {
        //$img_exists = img_exists($result->icon_url);
        if (!empty($result->icon_url)) {
            $img_exists = $result->icon_url;
        } else {
            $img_exists = 'http://insky.sinaapp.com/favicon.ico';
        }
        ?>
					<li>
						<div class="divcell">
					    	<a class="icon" rel="external nofollow" target="_blank" title="<?php 
        echo $result->title;
        ?>
" href="<?php 
        echo $result->url;
        ?>