当前位置: 首页>>代码示例>>PHP>>正文


PHP show_page_pos函数代码示例

本文整理汇总了PHP中show_page_pos函数的典型用法代码示例。如果您正苦于以下问题:PHP show_page_pos函数的具体用法?PHP show_page_pos怎么用?PHP show_page_pos使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了show_page_pos函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: dirname

include_once dirname(__FILE__) . '/../frame.php';
?>
<div id=r_c_title><?php 
echo $catename[0]->name;
?>
活动</div>
<div id=r_c_l></div>
<div id=r_c_c>
	<?php 
global $pos_name;
for ($i = 0; $i < 5; $i++) {
    $pos_name = $pos . "activity" . $i;
    ?>
	<div class=content <?php 
    show_page_pos($pos_name, 'activity');
    ?>
>
		<div class=pic><?php 
    show_page_img();
    ?>
</div>
		<div class=pictitle><?php 
    show_page_href();
    ?>
</div>
	</div>
	<?php 
}
?>
</div>
开发者ID:sauger,项目名称:forbes,代码行数:30,代码来源:activities.php

示例2: show_page_pos

  		<table width=184>
  			<tr>
  				<td width=184 height=66 ><a href="http://www.forbeschina.com/login/"><img width=184 height=66 border=0 src="http://www.forbeschina.com/images/edm/dingyeu.jpg" /></a></td>
  			</tr>
  			<tr>
  				<td height=15></td>
  			</tr>
  			<tr>
  				<td height=15></td>
  			</tr>
  			<?php 
$pos = "marrow_banner";
?>
  			<tr >
  				<td width=184 <?php 
show_page_pos($pos);
?>
><a href="<?php 
echo $doman . "/" . $pos_items->{$pos}->href;
?>
"><img border=0 width=184 height=184 src="<?php 
img_src();
?>
" /></a></td>
  			</tr>
  		</table>
  	</td>
  </tr>
  <tr>
    <td height="10" colspan="2"></td>
  </tr>
开发者ID:sauger,项目名称:forbes,代码行数:31,代码来源:marrow.php

示例3: show_page_pos

					<div id="content"><!-- content begin -->
						<div id="content-inner" class="clear"><!-- content-inner begin -->
							<div id="body-left"><!-- body-left begin -->
								<?php 
include 'left.php';
?>
							</div><!-- left end-->
							<div id="body-right"><!-- right begin-->
								<div class="right-bg-top"><img src="images/right-top.gif" /></div>
								<div class="right-warp">
								<?php 
for ($i = 0; $i < 2; $i++) {
    $pos_name = "zzh_activity" . $i;
    ?>
									<div class="r-m-t-two" <?php 
    show_page_pos($pos_name, 'zzh');
    ?>
><!-- 活动预告 begin -->
										<p class="t-title"><img src="images/t-list.gif" /><strong>活动预告</strong></p>
										<div class="main">
											<div class="more-activites">
												<img class="pic" src="<?php 
    echo $pos_items->{$pos_name}->image1;
    ?>
" />
												<p><span class="mark">活动名称:</span><?php 
    echo $pos_items->{$pos_name}->display;
    ?>
</p>
												<p><span class="mark">活动日期:</span><?php 
    echo $pos_items->{$pos_name}->title;
开发者ID:sauger,项目名称:forbes,代码行数:31,代码来源:prediction.php

示例4: show_page_pos

?>
</td>
  							</tr>
  						</table>
  					</td>
  				</tr>
  			</table>
  		</td>
  	</tr>
  	<?php 
for ($i = 0; $i < 3; $i++) {
    $pos = "marrow_invest_" . $i;
    ?>
  	<tr><td height=3></td></tr>
  	<tr <?php 
    show_page_pos($pos, 'edm_news2');
    ?>
>
  		<td width=100%  style="font-size:12px; font-family:Arial;">
  				<?php 
    show_href();
    ?>
《福布斯》记者:<?php 
    echo $pos_items->{$pos}->alias;
    ?>
 发布于:<?php 
    echo $pos_items->{$pos}->reserve;
    ?>
  		</td>
  	</tr>
  	<tr><td height=5></td></tr>
开发者ID:sauger,项目名称:forbes,代码行数:31,代码来源:tz.php

示例5: for

				<?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; ?>" />
					<div class=article>
						<div class=common_list3 <?php show_page_pos($pos_name)?>><?php show_page_href($pos_items,$pos_name)?></div>
						<div class=common_description3><?php echo $pos_items->$pos_name->description;?></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 } ?>
			</div>
		</div>
		
		
		<div id=right>
				<div id="right_inc" style="margin-top:10px;">
		  		<?php include dirname(__FILE__)."/right/ad.php";?>
		  		<?php include dirname(__FILE__)."/right/investment_list.php"?>
		  		<?php include dirname(__FILE__)."/right/favor.php"?>
		  		<?php include dirname(__FILE__)."/right/activities.php"?>
开发者ID:sauger,项目名称:forbes_old,代码行数:31,代码来源:_index.php

示例6: show_page_pos

	        <td>&nbsp;</td>
	        <td width="205" valign="top"><table width="205" border="0" cellspacing="0" cellpadding="0">
	          <tr>
	            <td height="198" valign="top">
	            	<table width="195" border="0" align="right" cellpadding="0" cellspacing="0" style="background-color:#F7F7F7">
	              <tr>
	                <td height="24" valign="middle" style="background-color:#ECECEC; color:#333333; font-size:14px; font-family:Arial;"><strong>&nbsp;福布斯本周杂志</strong></td>
	              </tr>
	              <tr>
	              	<?php 
$pos = "edm_magazine";
?>
	                <td><table width="190" border="0" cellspacing="0" cellpadding="0" style="margin-top:10px;">
	                  <tr>
	                    <td width="90" rowspan="2" valign="top"<?php 
show_page_pos($pos, 'edm_base_img');
?>
><img src="<?php 
img_src();
?>
" width="82" height="107" /></td>
	                    <td class="f3" style="font-size:13px; font-family:Arial;"><strong><?php 
show_href();
?>
</strong></td>
	                  </tr>
	                  <tr>
	                    <td valign="top" style="font-size:13px; font-family:Arial;"><?php 
show_desc();
?>
</td>
开发者ID:justin1986,项目名称:forbes,代码行数:31,代码来源:edm.php

示例7: get_db

#bottom{width:970px; margin-top:15px; text-align:center; font-size:12px; color:#666666;  float:left; display:inline;}
#bottom_b{width:970px; margin-top:10px; margin-bottom:50px; text-align:center; float:left; font-size:12px; color:#666666; display:inline;}
.bottom_a{font-size:12px; color:#666666; position:relative;  text-decoration: none;}
</style>
	<?php 
$db = get_db();
?>
<div id="bg_hr"></div>
<div id="bottom">
	<?php 
for ($i = 0; $i < 6; $i++) {
    $list = $db->query("SELECT * FROM eb_page_pos where page='index' and name like 'bottom_link_{$i}' limit 7");
    ?>
	<a class="bottom_a" <?php 
    $pos = "bottom_link_" . $i;
    show_page_pos($pos, 'link');
    ?>
 href="<?php 
    echo $list[0]->href;
    ?>
" target="_blank">
		<?php 
    echo $list[0]->title;
    if ($i != 5) {
        ?>
 -<?php 
    }
    ?>
</a>
	 <?php 
}
开发者ID:justin1986,项目名称:eachbb,代码行数:31,代码来源:bottom.php

示例8: show_page_pos

}
?>
					
					<div class="dash2"></div>
					<div class=column_edit_b>
						<div class=caption>
							<div class=captions>专栏列表</div>
							<div class=line>|</div>
							<a href="http://www.forbeschina.com/column/journalist" target="_blank" class=more></a>
						</div>
						<?php 
for ($i = 0; $i < 15; $i++) {
    $pos_name = 'column_list_' . $i;
    ?>
						<div class=t2 <?php 
    show_page_pos($pos_name, 'column_author_ntime');
    ?>
>
							<?php 
    show_page_href();
    ?>
						</div>
						<?php 
}
?>
					</div>
				</div>
			</div>
		</div>
		<div id="right_inc">
			<?php 
开发者ID:justin1986,项目名称:forbes,代码行数:31,代码来源:index.php

示例9: dirname

<?php

include_once dirname(__FILE__) . '/../frame.php';
?>
<div class=right_title>
	<div class=title_con><?php 
echo $catename[0]->name;
?>
榜单</div>
</div>
<div class="right_box">
	<?php 
global $pos_name;
for ($i = 0; $i < 4; $i++) {
    $pos_name = $pos . "list" . $i;
    ?>
		<div class=content <?php 
    show_page_pos($pos_name, 'link');
    ?>
><li><?php 
    show_page_href();
    ?>
</li></div>
	<?php 
}
?>
</div>
<div class="bottom_line"></div>
开发者ID:sauger,项目名称:forbes,代码行数:28,代码来源:investment_list.php

示例10: show_page_pos

</a><?php 
        if ($j < count($navigation2) - 1) {
            ?>
  <?php 
        }
        ?>
					<?php 
    }
    ?>
				</div>
			<?php 
}
?>
			<!-- 
			<div id=football_hy <?php 
show_page_pos('football', 'only_link2');
?>
>
				<a id=football_member></a>
			</div>
			<div style="float:none; display:none;">clear_float</div>
			<div id="football2" >
				<a href="<?php 
echo $pos_items->football->href;
?>
" title="<?php 
echo $pos_items->football->title;
?>
"><img border="0" src="/images/index/football.gif"></a>
			</div> -->
	</div>
开发者ID:sauger,项目名称:forbes,代码行数:31,代码来源:top_old.inc.php

示例11: show_page_pos

?>
		</div>
		

		<div class=forbes_r>
			
			<div id=mag>
				<div class=public_top1>
					<div class=public_caption1 style="color:#4990B9;">福布斯杂志</div>
					<a href="/magazine/" class=public_more1 target="_blank"></a>
				</div>
				<?php 
$pos_name = 'index_magazine';
?>
				<div id=mag_content  <?php 
show_page_pos($pos_name, 'magazine');
?>
>
						<div class=pic><?php 
show_page_img();
?>
</div>
						<div class=pictitle><?php 
show_page_href();
?>
</div>
						<div class=context><?php 
show_page_desc();
?>
</div>	
			 			<div id=mag_dash></div>
开发者ID:sauger,项目名称:forbes,代码行数:31,代码来源:index_old.php

示例12: show_page_href

    show_page_href();
    ?>
		</div>
	</div>
	<?php 
}
?>
</div>
<div class="right_box">
	<div class="normal_title"><div>在线调查</div><a target="_blank" href="/survey/">[...更多]</a></div>
	<?php 
$pos_name = "index_survey_0";
?>
	<div class="survey" <?php 
show_page_pos($pos_name, 'survey_title');
?>
><?php 
show_page_href();
?>
</div>
	<?php 
$pos_name = "index_survey_1";
?>
	<div class="survey" <?php 
show_page_pos($pos_name, 'survey_title');
?>
><?php 
show_page_href();
?>
</div>
</div>
开发者ID:sauger,项目名称:forbes,代码行数:31,代码来源:include.php

示例13: show_page_pos

							</div>
						</div>
						<?php 
}
?>
					</div>
					<div class="dash2"></div>
					<div id=column_edit_b>
						<div class=t>
							<div class="t_title">专栏列表</div><a class=more></a>
						</div>
						<?php 
for ($i = 0; $i < 14; $i++) {
    ?>
						<div class=t2 <?php 
    show_page_pos('column_list_' . $i);
    ?>
>
							<?php 
    show_page_href($pos_item, 'column_list_' . $i);
    ?>
						</div>
						<?php 
}
?>
					</div>
				</div>
			</div>
		</div>
		<div id="right_inc">
			<?php 
开发者ID:sauger,项目名称:forbes_old,代码行数:31,代码来源:index.php

示例14: show_page_pos

					<div class=captions><?php 
echo $catename[0]->name;
?>
专栏</div>
					<div class=line>|</div>
					<a href="/column/category/<?php 
echo $catename[0]->id;
?>
" class=more target="_blank"></a>
				</div>
				<?php 
for ($i = 0; $i < 3; $i++) {
    $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 
开发者ID:sauger,项目名称:forbes,代码行数:31,代码来源:_index.php

示例15: show_page_img

					<option value="news">文章</option>
				</select>
		</div>
		<input id="top_input" style="width:312px;" type="text"/>
		<input type="button" id="top_select" value="查  询"/>
	</div>
	<div id="magazine">
		<?php 
$pos_name = 'index_top_magazine';
?>
		<div id="photo"><?php 
show_page_img();
?>
</div>
		<div id="m_title" <?php 
show_page_pos($pos_name, 'link_img');
?>
><?php 
show_page_href();
?>
</div>
		<div id="m_bottom"><a href="/magazine/subscription"><img src="/images/index_two/magazine.jpg"></a></div>
	</div>
</div>
<div id="top_menu_banner">
	<div id="top_menu_left"></div>
	<div id="top_menu_content">
	<?php 
if ($nav == "") {
    $nav = 3;
}
开发者ID:sauger,项目名称:forbes,代码行数:31,代码来源:top.inc.php


注:本文中的show_page_pos函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。