/wordpress/wp-content/theme/isd/home.php
PHP | 281 lines | 277 code | 2 blank | 2 comment | 19 complexity | 90ed6d8ae4b20df23c664cf419445ff8 MD5 | raw file
Possible License(s): GPL-2.0
- <?php get_header() ?>
- <?php include( TEMPLATEPATH . '/menu.php' ); ?>
-
- <!--=S ??????=-->
- <div id="wrapper" class="bg_wf">
- <div class="inner">
- <div class="main">
- <!--==S ??????==-->
- <section>
- <!--===S ???===-->
- <div class="img_slides">
- <div class="wrapper">
- <ul>
- <li><a href="http://webteam.isd.com/681" target="_blank"><img src="/slide/20091204_css3.jpg" alt="?CSS3???????????" /></a></li>
- <li><a href="http://webteam.isd.com/2169" target="_blank"><img src="/slide/20091204_farm.jpg" alt="??????? - ??????????" /></a></li>
- <li><a href="http://webteam.isd.com/1694" target="_blank"><img src="/slide/20091204_vip.jpg" alt="QQ VIP ?????" /></a></li>
- <li><a href="http://webteam.isd.com/674" target="_blank"><img src="/slide/20091204_cigLighter.jpg" alt="????????" /></a></li>
- <li><a href="http://webteam.isd.com/476" target="_blank"><img src="/slide/20091204_float.jpg" alt="???????? ????????" /></a></li>
- <li><a href="http://webteam.isd.com/2150" target="_blank"><img src="/slide/20091204_mod.jpg" alt="???????????" /></a></li>
- </ul>
- </div>
- <div class="img_slides_menu_bg"></div>
- </div>
- <!--===E ???===-->
- <!--===S ????===-->
- <header class="mode_tit">
- <h2 class="img_bg">????</h2>
- <p><a href="<?php bloginfo('home') ?>/cat/project/" title="??">??</a></p>
- </header>
- <ul class="mode_list_imgtxt">
- <?php $args=array(
- #'category_name' => 'key',
- #'category__in' => array(7,8,9,10),
- 'category__and' => array(1,27),
- 'showposts'=>3,
- );
- query_posts($args);if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
- <li>
- <article>
- <header>
- <h3><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php cut_str(get_the_title(),111); ?></a></h3>
- </header>
- <footer>
- <p class="info">???<time><?php the_time('Y-m-d'); ?></time> ???<?php the_category(', '); ?> ???<?php the_author(); ?></p>
- <p class="cover"><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>">
- <?php if ( get_post_meta($post->ID, 'cover', true) ) {
- $cover=get_post_meta($post->ID, 'cover', true); ?>
- <img src="<?php echo $cover; ?>" alt="<?php the_title(); ?>" style="width:80px; height:80px;" />
- <?php }else{ ?>
- <img src="<?php bloginfo('stylesheet_directory'); ?>/img/c/pic_1.jpg" alt="<?php the_title(); ?>" style="width:80px; height:80px;" />
- <?php } ?>
- </a></p>
- </footer>
- <p title="<?php echo get_the_excerpt(); ?>"><?php cut_str(get_the_excerpt(),213); ?></p>
- </article>
- </li>
- <?php endwhile; else: ?>
- <li><p><?php _e('?????,??????.'); ?></p></li>
- <?php endif;wp_reset_query(); ?>
- </ul>
- <!--===E ????===-->
- <!--===S ??===-->
- <div class="left mode_list_index">
- <header class="mode_tit">
- <h2 class="img_bg">??</h2>
- </header>
- <?php $args=array(
- 'category__and' => array(11,27),
- 'showposts'=>1,
- );
- query_posts($args);if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
- <article>
- <header>
- <h3><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php cut_str(get_the_title(),40); ?></a></h3>
- </header>
- <footer>
- <p class="info">???<time><?php the_time('Y-m-d'); ?></time> ???<?php the_author(); ?></p>
- <p class="cover"><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>">
- <?php if ( get_post_meta($post->ID, 'cover', true) ) {
- $cover=get_post_meta($post->ID, 'cover', true); ?>
- <img src="<?php echo $cover; ?>" alt="<?php the_title(); ?>" style="width:80px; height:80px;" />
- <?php }else{ ?>
- <img src="<?php bloginfo('stylesheet_directory'); ?>/img/c/pic_1.jpg" alt="<?php the_title(); ?>" style="width:80px; height:80px;" />
- <?php } ?>
- </a></p>
- </footer>
- <p title="<?php echo get_the_excerpt(); ?>"><?php cut_str(get_the_excerpt(),78); ?></p>
- </article>
- <?php endwhile; else: ?>
- <p><?php _e('?????,??????.'); ?></p>
- <?php endif;wp_reset_query(); ?>
- <ul class="mode_list_txtime">
- <?php $bc_key=0;
- $bc_i=0;
- $args=array(
- 'category__in' => array(11),
- 'showposts'=>5,
- );
- query_posts($args);if ( have_posts() ) : while ( have_posts() ) : the_post();
- if((in_category('27') && ($bc_key == 0)) || ($bc_i == 5)){$bc_key++;$bc_i++;continue;}else{$bc_i++;}
- ?>
- <li>
- <article>
- <header>
- <h4><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php cut_str(get_the_title(),44); ?></a></h4>
- </header>
- <footer>
- <time><?php the_time('Y-m-d'); ?></time>
- </footer>
- </article>
- </li>
- <?php endwhile; else: ?>
- <li><p><?php _e('?????,??????.'); ?></p></li>
- <?php endif;wp_reset_query(); ?>
- </ul>
- </div>
- <!--===E ??===-->
- <!--===S ??===-->
- <div class="right mode_list_index">
- <header class="mode_tit">
- <h2 class="img_bg">??</h2>
- </header>
- <?php $args=array(
- 'category__and' => array(21,27),
- 'showposts'=>1,
- );
- query_posts($args);if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
- <article>
- <header>
- <h3><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php cut_str(get_the_title(),40); ?></a></h3>
- </header>
- <footer>
- <p class="info">???<time><?php the_time('Y-m-d'); ?></time> ???<?php the_author(); ?></p>
- <p class="cover"><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>">
- <?php if ( get_post_meta($post->ID, 'cover', true) ) {
- $cover=get_post_meta($post->ID, 'cover', true); ?>
- <img src="<?php echo $cover; ?>" alt="<?php the_title(); ?>" style="width:80px; height:80px;" />
- <?php }else{ ?>
- <img src="<?php bloginfo('stylesheet_directory'); ?>/img/c/pic_1.jpg" alt="<?php the_title(); ?>" style="width:80px; height:80px;" />
- <?php } ?>
- </a></p>
- </footer>
- <p title="<?php echo get_the_excerpt(); ?>"><?php cut_str(get_the_excerpt(),78); ?></p>
- </article>
- <?php endwhile; else: ?>
- <p><?php _e('?????,??????.'); ?></p>
- <?php endif;wp_reset_query(); ?>
- <ul class="mode_list_txtime">
- <?php $bc_key=0;
- $bc_i=0;
- $args=array(
- 'category__in' => array(21),
- 'showposts'=>5,
- );
- query_posts($args);if ( have_posts() ) : while ( have_posts() ) : the_post();
- if((in_category('27') && ($bc_key == 0)) || ($bc_i == 5)){$bc_key++;$bc_i++;continue;}else{$bc_i++;}
- ?>
- <li>
- <article>
- <header>
- <h4><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php cut_str(get_the_title(),44);?></a></h4>
- </header>
- <footer>
- <time><?php the_time('Y-m-d'); ?></time>
- </footer>
- </article>
- </li>
- <?php endwhile; else: ?>
- <p><?php _e('?????,??????.'); ?></p>
- <?php endif;wp_reset_query(); ?>
- </ul>
- </div>
- <!--===E ??===-->
- </section>
- <!--==E ??????==-->
- <!--==S ??????==-->
- <aside>
- <!--===S ??===-->
- <div class="mode_search">
- <form id="searchform" class="blog-search" method="get" action="<?php bloginfo('home') ?>">
- <fieldset>
- <legend>????</legend>
- <p class="mode_search_cont"><input type="text" id="s" name="s" class="int_txt" value="<?php the_search_query() ?>" /> <input type="submit" value="? ?" class="img_bg int_sub" /></p>
- <h3 class="hide">???????</h3>
- <p class="mode_tags">
- <?php wp_tag_cloud('smallest=14&largest=14&unit=px&number=14&order=RAND'); ?>
- </p>
- </fieldset>
- </form>
- </div>
- <!--===E ??===-->
- <!--===S ??===-->
- <div class="mode_aside_panel">
- <header class="mode_tit">
- <h2 class="img_bg">??</h2>
- <p><a href="<?php bloginfo('home') ?>/cat/share/" title="??">??</a></p>
- </header>
- <ul class="mode_list_txtime">
- <?php query_posts("category_name=share&showposts=5");if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
- <li>
- <article>
- <header>
- <h4><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php cut_str(get_the_title(),37); ?></a></h4>
- </header>
- <footer>
- <time><?php the_time('Y-m-d'); ?></time>
- </footer>
- </article>
- </li>
- <?php endwhile; else: ?>
- <li><p><?php _e('?????,??????.'); ?></p></li>
- <?php endif;wp_reset_query(); ?>
- </ul>
- </div>
- <!--===E ??===-->
- <!--===S ???===-->
- <div class="mode_aside_panel none">
- <header class="mode_tit">
- <h2 class="img_bg">???</h2>
- <p><a href="<?php bloginfo('home') ?>/visual-designer/" title="??">??</a></p>
- </header>
- <div class="mode_index_list_designer">
- <ul>
- <li>
- <a href="##" title="Qzoneing ????????"><img src="<?php bloginfo('stylesheet_directory'); ?>/img/c/pic_1.jpg" alt="Qzoneing ????????" style="width:80px; height:80px;" /></a>
- </li>
- <li>
- <a href="##" title="Qzoneing ????????"><img src="<?php bloginfo('stylesheet_directory'); ?>/img/c/pic_1.jpg" alt="Qzoneing ????????" style="width:80px; height:80px;" /></a>
- </li>
- <li>
- <a href="##" title="Qzoneing ????????"><img src="<?php bloginfo('stylesheet_directory'); ?>/img/c/pic_1.jpg" alt="Qzoneing ????????" style="width:80px; height:80px;" /></a>
- </li>
- <li>
- <a href="##" title="Qzoneing ????????"><img src="<?php bloginfo('stylesheet_directory'); ?>/img/c/pic_1.jpg" alt="Qzoneing ????????" style="width:80px; height:80px;" /></a>
- </li>
- <li>
- <a href="##" title="Qzoneing ????????"><img src="<?php bloginfo('stylesheet_directory'); ?>/img/c/pic_1.jpg" alt="Qzoneing ????????" style="width:80px; height:80px;" /></a>
- </li>
- <li>
- <a href="##" title="Qzoneing ????????"><img src="<?php bloginfo('stylesheet_directory'); ?>/img/c/pic_1.jpg" alt="Qzoneing ????????" style="width:80px; height:80px;" /></a>
- </li>
- </ul>
- </div>
- </div>
- <!--===E ???===-->
- <!--===S ???===-->
- <div class="mode_aside_panel mode_aside_other none">
- <p><img src="<?php bloginfo('stylesheet_directory'); ?>/img/c/pic_1.jpg" alt="Qzoneing ????????" style="width:270px; height:76px;" /></p>
- <ul class="mode_list_txtime">
- <li>
- <article>
- <header>
- <h4><a href="##" title="[??] ISD????????">[??] ISD????????</a></h4>
- </header>
- </article>
- </li>
- <li>
- <article>
- <header>
- <h4><a href="##" title="[??] ?????">[??] ?????</a></h4>
- </header>
- </article>
- </li>
- <li>
- <article>
- <header>
- <h4><a href="##" title="[??] ???????">[??] ???????</a></h4>
- </header>
- </article>
- </li>
- </ul>
- </div>
- <!--===E ???===-->
- </aside>
- <!--==E ??????==-->
- </div>
- </div>
- </div>
- <!--=E ??????=-->
-
- <?php get_footer() ?>