Esempio n. 1
0
						福布斯杂志<img src="/images/register/right_icon.jpg">
					</div>
					<div id="rmagazine"><?php 
$pos_name = 'right_magazine';
?>
						<div id="pic"><?php 
show_page_img();
?>
</div>
						<div id="piccontent">
							<span><?php 
show_page_href();
?>
</span><br>
							 <?php 
show_page_desc();
?>
						</div>
					</div>
					<select id="old_magazine" class="sel1">
						<?php 
$db = get_db();
$magazine = $db->query("SELECT substring(publish_data,1,4) as year FROM fb_magazine group by substring(publish_data,1,4)");
$year_count = $db->record_count;
for ($i = 0; $i < $year_count; $i++) {
    ?>
						<option value="<?php 
    echo $magazine[$i]->year;
    ?>
"><?php 
    echo $magazine[$i]->year;
Esempio n. 2
0
							<div class=t3 <?php 
    show_page_pos('column_edit_edit_author_' . $i);
    ?>
>
								——<?php 
    $posname = 'column_edit_edit_author_' . $i;
    echo $pos_items->{$posname}->display;
    ?>
							</div>
						</div>
						<div class=t4 <?php 
    show_page_pos('column_edit_edit_desc_' . $i);
    ?>
>
							<?php 
    show_page_desc($pos_item, 'column_edit_edit_desc_' . $i);
    ?>
						</div>
					</div>
					<?php 
}
?>
					<div id=column_edit_recommend>
						<?php 
for ($i = 0; $i < 8; $i++) {
    ?>
						<div class=t1>
							<div class=t2 <?php 
    show_page_pos('column_edit_recommend_' . $i);
    ?>
>
Esempio n. 3
0
				<?php } ?>
			</div>
			
			<div id=common_dash></div>
			
			<div class=common_box2 >
				<div class=caption>
					<div class=captions><?php echo $catename[0]->name; ?>专题</div>
					<div class=line>|</div>
					<a href="" class=more></a>
				</div>
				<?php for($i=0;$i<2;$i++){ $pos_name = $pos."them".$i;?>
				<div class=common_subject <?php show_page_pos($pos_name)?>>
					<div class=common_subject_pic><?php show_page_img($pos_items,$pos_name)?></div>
					<div class=common_subject_list><?php show_page_href($pos_items,$pos_name)?></div>
					<div class=common_subject_description><?php show_page_desc($pos_items,$pos_name)?></div>
				</div>
				<?php }?>
				
				<?php for($i=2;$i<8;$i++){ $pos_name = $pos."them".$i;?>
					<div class=common_article_lis2 <?php show_page_pos($pos_name)?>><?php show_page_href($pos_items,$pos_name)?></div>
				<?php }?>
				
				<div class=caption style="height:40px; margin-top:20px;">
					<div class=captions><?php echo $catename[0]->name; ?>专栏</div>
					<div class=line>|</div>
					<a href="" class=more></a>
				</div>
				<?php for($i=0;$i<3;$i++){ $pos_name = $pos."column".$i;?>
				<div class=column_container>
					<img src="<?php echo $pos_items->$pos_name->image2; ?>" />
Esempio n. 4
0
    $pos_name = $pos . "column" . $i;
    ?>
				<div class=column_container<?php 
    show_page_pos($pos_name, 'column_full');
    ?>
>
					<?php 
    show_page_img(null, null, 0, 'image1', null, 'reserve');
    ?>
					<div class=article>
						<div class=common_list3 ><?php 
    show_page_href();
    ?>
</div>
						<div class=common_description3><?php 
    show_page_desc(null, null);
    ?>
</div>
						<div class=common_writer><?php 
    if ($pos_items->{$pos_name}->alias != '') {
        echo "——" . $pos_items->{$pos_name}->alias;
    } else {
        echo "&nbsp;";
    }
    ?>
</div>
					</div>
				</div>
				<?php 
}
?>