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


PHP mc_get_url函数代码示例

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


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

示例1: array_reverse

    $fmimg_args = array_reverse($fmimg_args);
    ?>
					<a class="img-div" href="<?php 
    echo mc_get_url($_GET['id']);
    ?>
"><img src="<?php 
    echo $fmimg_args[0];
    ?>
" alt="<?php 
    echo mc_get_page_field($_GET['id'], 'title');
    ?>
"></a>
					<div class="caption">
						<h4>
							<a href="<?php 
    echo mc_get_url($_GET['id']);
    ?>
"><?php 
    echo mc_get_page_field($_GET['id'], 'title');
    ?>
</a>
						</h4>
						<p class="price pull-left">
							<span><?php 
    echo mc_price_now($_GET['id']);
    ?>
</span> <small>元</small>
						</p>
						<?php 
    if (mc_get_meta($_GET['id'], 'kucun') <= 0) {
        ?>
开发者ID:dalinhuang,项目名称:shouzhangmall,代码行数:31,代码来源:group.php

示例2: mc_get_meta

										<?php 
        $fmimg_args = mc_get_meta($val['page_id'], 'fmimg', false);
        ?>
										<img class="media-object" src="<?php 
        echo $fmimg_args[0];
        ?>
" alt="<?php 
        echo mc_get_page_field($val['page_id'], 'title');
        ?>
">
									</a>
								</div>
								<div class="media-body">
									<h4 class="media-heading">
										<a href="<?php 
        echo mc_get_url($val['page_id']);
        ?>
"><?php 
        echo mc_get_page_field($val['page_id'], 'title');
        ?>
</a>
									</h4>
								</div>
							</div>
						</th>
						<th class="th2">
							<?php 
        $parameter_id = M('action')->where("page_id='" . $val['id'] . "' AND action_key='parameter'")->getField('action_value');
        if ($parameter_id) {
            ?>
							<?php 
开发者ID:xiaowei521,项目名称:vamshop,代码行数:31,代码来源:cart.php

示例3: remts

 public function remts($id)
 {
     if (mc_is_admin() || mc_is_bianji()) {
         if (is_numeric($id)) {
             mc_delete_meta($id, 'tuisong');
         }
         $this->success('取消推送成功!', mc_get_url($id));
     } else {
         $this->error('请不要放弃治疗');
     }
 }
开发者ID:xiaowei521,项目名称:vamshop,代码行数:11,代码来源:PerformController.class.php

示例4: mc_get_url

    ?>
							<div class="thumbnail">
								<a href="<?php 
    echo mc_get_url($val['id']);
    ?>
" class="img-div"><img src="<?php 
    echo mc_fmimg($val['id']);
    ?>
" alt="<?php 
    echo $val['title'];
    ?>
"></a>
								<div class="caption">
									<h3 class="mt-0">
										<a href="<?php 
    echo mc_get_url($val['id']);
    ?>
"><?php 
    echo $val['title'];
    ?>
</a>
									</h3>
									<p>
										<?php 
    echo mc_cut_str(strip_tags(mc_magic_out($val['content'])), 70);
    ?>
									</p>
									<ul class="list-inline">
										<li><i class="glyphicon glyphicon-star-empty"></i> <?php 
    echo mc_shoucang_count($val['id']);
    ?>
开发者ID:xiaowei521,项目名称:vamshop,代码行数:31,代码来源:term.php

示例5: mc_get_url

        ?>
"><?php 
        echo $val['title'];
        ?>
</a>
									</h4>
									<p class="post-info">
										<i class="glyphicon glyphicon-user"></i><a href="<?php 
        echo mc_get_url($author);
        ?>
"><?php 
        echo mc_user_display_name($author);
        ?>
</a>
										<i class="glyphicon glyphicon-home"></i><a href="<?php 
        echo mc_get_url(mc_get_meta($val['id'], 'group'));
        ?>
"><?php 
        echo mc_get_page_field(mc_get_meta($val['id'], 'group'), 'title');
        ?>
</a>
										<i class="glyphicon glyphicon-time"></i><?php 
        echo date('Y-m-d H:i:s', $val['date']);
        ?>
									</p>
								</div>
							</div>
						</div>
						<div class="col-sm-6 col-md-5 col-lg-4 text-right">
							<ul class="list-inline">
							<?php 
开发者ID:dalinhuang,项目名称:shouzhangmall,代码行数:31,代码来源:search.php

示例6: mc_get_url

            }
            ?>
			</ul>	
			<?php 
        }
        ?>
		</div>
	</div>
	<?php 
    }
    ?>
	<?php 
    if ($_GET['comment'] != 'all' && mc_comment_count($page_id) > 10) {
        ?>
	<a href="<?php 
        echo mc_get_url($page_id);
        if (C('URL_MODEL') == 2) {
            ?>
?comment=all<?php 
        } else {
            ?>
&comment=all<?php 
        }
        ?>
#comment" rel="nofollow" class="mt-20 btn btn-default btn-block">更多评论</a>
	<?php 
    }
    ?>
<script>
	$('.btn-huifu').click(function(){
		var huifu = $(this).attr('huifu-data');
开发者ID:xiaowei521,项目名称:vamshop,代码行数:31,代码来源:comment.php

示例7: M

        $condition['type'] = 'pro';
        $page_term = M('page')->where($condition)->order('date desc')->page(1, 4)->select();
    }
    if ($page_term) {
        ?>
	<div class="home-pro">
		<h4 class="title mb-10">
			<i class="glyphicon glyphicon-star"></i> 推荐商品
		</h4>
		<div class="row mb-20">
			<?php 
        foreach ($page_term as $val_term) {
            ?>
			<div class="col-xs-6 col">
				<a class="pr img-div" href="<?php 
            echo mc_get_url($val_term['id']);
            ?>
">
					<?php 
            $fmimg_args = mc_get_meta($val_term['id'], 'fmimg', false);
            $fmimg_args = array_reverse($fmimg_args);
            ?>
					<img src="<?php 
            echo $fmimg_args[0];
            ?>
">
					<div class="pa txt">
						<span class="wto"><?php 
            echo $val_term['title'];
            ?>
</span>
开发者ID:xiaowei521,项目名称:vamshop,代码行数:31,代码来源:single.php

示例8: mc_get_url

        echo mc_get_url($val['id']);
        ?>
"><span class="wto"><?php 
        echo $val['title'];
        ?>
</span><?php 
        if (mc_get_page_field($val['id'], 'date') > strtotime("now")) {
            ?>
<span class="label label-danger">置顶</span><?php 
        }
        ?>
</a>
										</h4>
										<p class="post-info wto">
											<i class="glyphicon glyphicon-user"></i><a href="<?php 
        echo mc_get_url($author);
        ?>
"><?php 
        echo mc_user_display_name($author);
        ?>
</a>
											<i class="glyphicon glyphicon-time"></i><?php 
        echo date('Y-m-d H:i:s', mc_get_meta($val['id'], 'time'));
        ?>
										</p>
									</div>
								</div>
							</div>
						</div>
					</li>
					<?php 
开发者ID:xiaowei521,项目名称:vamshop,代码行数:31,代码来源:group.php

示例9: mc_get_url

		<!-- /.modal-dialog -->
	</div>
	<!-- /.modal -->
	<?php 
    }
    ?>
	<?php 
    if (mc_prev_page_id($val['id'])) {
        ?>
	<a class="prev_btn np_page_btn" href="<?php 
        echo mc_get_url(mc_prev_page_id($val['id']));
        ?>
">
		<i class="fa fa-chevron-circle-left"></i>
	</a>
	<?php 
    }
    ?>
	<?php 
    if (mc_next_page_id($val['id'])) {
        ?>
	<a class="next_btn np_page_btn" href="<?php 
        echo mc_get_url(mc_next_page_id($val['id']));
        ?>
">
		<i class="fa fa-chevron-circle-right"></i>
	</a>
	<?php 
    }
}
mc_template_part('footer');
开发者ID:xiaowei521,项目名称:vamshop,代码行数:31,代码来源:single.php

示例10: array_reverse

        $fmimg_args = array_reverse($fmimg_args);
        ?>
					<a class="img-div" href="<?php 
        echo mc_get_url($group_id);
        ?>
"><img src="<?php 
        echo $fmimg_args[0];
        ?>
" alt="<?php 
        echo mc_get_page_field($group_id, 'title');
        ?>
"></a>
					<div class="caption">
						<h4>
							<a href="<?php 
        echo mc_get_url($group_id);
        ?>
"><?php 
        echo mc_get_page_field($group_id, 'title');
        ?>
</a>
						</h4>
						<p class="price pull-left">
							<span><?php 
        echo mc_price_now($group_id);
        ?>
</span> <small>元</small>
						</p>
						<?php 
        if (mc_get_meta($group_id, 'kucun') <= 0) {
            ?>
开发者ID:dalinhuang,项目名称:shouzhangmall,代码行数:31,代码来源:index.php

示例11: mc_get_url

								<a class="pull-left" href="<?php 
    echo mc_get_url($_GET['group']);
    ?>
">
									<img width="100" src="<?php 
    echo $fmimg_args[0];
    ?>
" alt="<?php 
    echo mc_get_page_field($_GET['group'], 'title');
    ?>
">
								</a>
								<div class="media-body">
									<h4 class="media-heading mb-20">
										我想要 <a href="<?php 
    echo mc_get_url($_GET['group']);
    ?>
"><?php 
    echo mc_get_page_field($_GET['group'], 'title');
    ?>
</a>
									</h4>
									<?php 
    if ($parameter) {
        foreach ($parameter as $key => $valp) {
            $par_name = M('option')->where("id='{$key}'")->getField('meta_value');
            ?>
<p><?php 
            echo $par_name . ' : ' . $valp;
            ?>
</p><?php 
开发者ID:dalinhuang,项目名称:shouzhangmall,代码行数:31,代码来源:add_post.php


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