| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102 |
- <? if(!defined('IN_MYMPS')) exit('Access Denied');
- /*Mymps分类信息系统
- 官方网站:http://www.mymps.com.cn*/?>
- <script>var mobiledomain='<?=$mayimobile['mobiledomain']?>';var wwwdomain='<?=$mymps_global['SiteUrl']?>';</script>
- <? if($mod=='post') { ?><script src="<?=$mayimobile['mobiledomain']?>/template/js/jq.js"></script><?php } else { ?><script src="<?=$mayimobile['mobiledomain']?>/template/js/jq_min.211.js"></script><?php } ?>
- <script src="<?=$mayimobile['mobiledomain']?>/template/js/common.js"></script>
- <div class="header">
- <a rel="nofollow" href="javascript:void(0);" onClick="return window.history.go(-1);" class="back left8">返回</a>
- <div class="search left8" id="search_ico" onClick="showNewPage('搜索',searchHtml,newPageSearch);">搜索</div>
- <a rel="nofollow" href="<?=$mayimobile['mobiledomain']?>/index.php?mod=member" class="my left8" id="login_ico">我的</a>
- <div class="type" id="nav_ico">导航</div>
- <div id="ipageTitle" style="display:none;"><?=$mymps_global['SiteName']?></div>
- <div class="login_inner" id="login_inner"></div>
- </div>
- <? if($mod=='information' ) { ?>
- <script>var infoid = '<?=$row['id']?>';</script>
- <script src="<?=$mayimobile['mobiledomain']?>/template/js/info.js"></script>
- <div id="sharepic" ><img src="<?=$mayimobile['mobiledomain']?>/template/images/mymps_share.png" ></div>
- <div id="contactbar">
- <a rel="nofollow" href="<?=$mayimobile['mobiledomain']?>" style="width:14%;" class="bottom_index<? echo $mod == 'index' ? '_on' : '';; ?>">首页</a>
- <a rel="nofollow" style="width:14%;" id="head_share" class="bottom_fxshare<? echo $mod == 'history' ? '_on' : '';; ?>">分享</a>
- <a rel="nofollow" style="width:14%;" id="head_shoucang" class="bottom_schidden<? echo $row['ifshoucang'] == '1' ? '_on' : '';; ?>">收藏</a>
- <? if($row['usecoin'] != 0 && $iflogin == 0) { ?>
- <a rel="nofollow" style="width:29%;" id="head_comment" class="bottom_fdxems" > <i class="bottom_fdxemsicon">短信咨询</i> </a>
- <a rel="nofollow" style="width:29%;" class="bottom_ddhtel"><i class="bottom_ddhtelicon">拨打电话</i></a>
- <?php } elseif($viewid!=$id && $row['usecoin'] > 0 && $iflogin == 1) { ?>
- <a rel="nofollow" style="width:29%;" id="head_comment" class="bottom_fdxems" > <i class="bottom_fdxemsicon">短信咨询</i> </a>
- <a rel="nofollow" style="width:29%;" class="bottom_ddhtel"><i class="bottom_ddhtelicon">拨打电话</i></a>
- <?php } elseif($row['usecoin']<=0 || $viewid == $id) { ?>
- <a rel="nofollow" href="sms:<?=$row['tel']?>" style="width:29%;" id="head_comment" class="bottom_fdxems" > <i class="bottom_fdxemsicon">短信咨询</i> </a>
- <a rel="nofollow" href="tel:<?=$row['tel']?>" style="width:29%;" class="bottom_ddhtel"><i class="bottom_ddhtelicon">拨打电话</i></a>
- <?php } ?>
- </div>
- <?php } elseif($mod=='store') { ?>
- <script src="<?=$mayimobile['mobiledomain']?>/template/js/info.js"></script>
- <div id="sharepic" ><img src="<?=$mayimobile['mobiledomain']?>/template/images/mymps_share.png" ></div>
- <div id="contactbar">
- <a rel="nofollow" href="<?=$uri['corp']?>" style="width:16%;" class="bottom_store<? echo $mod == 'corp' ? '_on' : '';; ?>">商家</a>
- <a rel="nofollow" href="<?=$mayimobile['mobiledomain']?>/index.php?mod=register&action=store" style="width:16%;" class="bottom_addstore">商家入驻</a>
- <a rel="nofollow" id="head_share" style="width:16%;" class="bottom_schidden<? echo $mod == 'post' ? '_on' : '';; ?>">分享</a>
- <a rel="nofollow" href="tel:<?=$store['tel']?>" style="width:52%;" class="bottom_ddhtel"><i class="bottom_ddhtelicon">拨打电话</i></a>
- </div>
- <?php } else { ?>
- <div id="contactbar">
- <a rel="nofollow" href="<?=$mayimobile['mobiledomain']?>" class="bottom_index<? echo $mod == 'index' ? '_on' : '';; ?>" >首页</a>
- <a rel="nofollow" href="<?=$uri['corp']?>" class="bottom_store<? echo $mod == 'corp' ? '_on' : '';; ?>">商家</a>
- <a rel="nofollow" href="<?=$mayimobile['mobiledomain']?>/index.php?mod=post" class="" style="position:relative;"> <div class="pub_circle"></div> <i class="pub_iconfont"></i> <em>发布</em></a>
- <a rel="nofollow" href="<?=$mayimobile['mobiledomain']?>/index.php?mod=history" class="bottom_history<? echo $mod == 'history' ? '_on' : '';; ?>">历史</a>
- <a rel="nofollow" href="<?=$mayimobile['mobiledomain']?>/index.php?mod=member" class="bottom_member<? echo in_array($mod,array('login','member','register','forgetpass','shoucang','mypost')) ? '_on' : '';; ?>">我的</a>
- </div>
- <?php } if(!in_array($mod,array('index','post','information','member'))) { ?>
- <div class="nav_APP" id="nav_APP">
- <ul class="cfix" id="nav_APP_data2">
- <li><a href="<?=$mayimobile['mobiledomain']?>">首页<s class="s" style="background-image:url(<?=$mymps_global['SiteUrl']?>/m/template/images/home.gif);"></s></a></li><?php $navigation = get_mobile_nav(2); ?><?php if(is_array($navigation)){foreach($navigation as $mymps) { ?><li><a href="<?=$mymps['url']?>"><? echo cutstr($mymps['title'],8); ?><s class="s" style="background-image:url(<?=$mymps_global['SiteUrl']?><?=$mymps['ico']?>);"></s></a></li>
- <?php }} ?>
- </ul><span class="arrow-up"></span>
- </div>
- <?php } ?>
- <script>
- window['siteUrl'] = '<?=$mayimobile['mobiledomain']?>';
- <? if($mod=='index') { ?>
- $('.header .back').hide();
- $('#search_ico').removeClass("left8");
- $('#search_ico').addClass("right8");
- $('#nav_ico').hide();
- <?php } elseif($mod=='post'||$mod=='information'||$mod=='member') { ?>
- $('#search_ico').hide();
- $('#nav_ico').hide();
- $('#login_ico').removeClass("left8");
- $('#login_ico').addClass("right8");
- <?php } else { ?>
- $('.header .back').show();
- $('#login_ico').hide();
- $('#search_ico').hide();
- <?php } if($iflogin==1) { ?>
- $('#login_ico').addClass('ico_ok');
- <?php } ?>
- if (window['current']) {
- $('#ipageTitle').html(window['current']).show()
- } else {
- $('#ipageTitle').show()
- }
- $(function(){
- $('#nav_ico').click(function(e){
- e.preventDefault();
- $('#nav_APP').fadeToggle('fast');
- });
- if(!window['ipageTitle']){
- $('#ipageTitle').show();
- }else{
- $('#ipageTitle').html(window['ipageTitleTxt']).show();
- }
- });
- </script>
- <script>var searchHtml='<div class="searchbar2">'+'<form id="myform" action="<?=$mayimobile['mobiledomain']?>/index.php?" method="get">'+'<input name="mod" type="hidden" value="search">'+'<input type="text" name="keywords" id="keyword" class="s_ipt" value="" placeholder="输入关键字" />'+'<input type="submit" class="s_btn po_ab" value="搜索">'+'</form></div>';function newPageSearch(){$('#windowIframe .back').show();$('#myform').submit(function(){if($('#keyword').val()===''){MympsWindowMsg('index','0','请输入搜索关键字','','');return false;}else{$('#windowIframe .loading').show();}})}</script>
- <div id="sharepic" ><img src="<?=$mayimobile['mobiledomain']?>/template/images/timg.png" ></div>
|