示例#1
0
                    <?php 
echo $house->introduction;
?>
                    <div class="dl_jm_left">
                        <div class="dl_jm_left_info">
                            <div class="dl_jm_left_info_one">如需帮助,请致电</div>
                            <div class="dl_jm_left_info_two">400-870-1029</div>
                            
                        </div>
                        
                        <div class="dl_jm_left_info_right">
                            <div style="margin-top:10px;float: left">&nbsp;&nbsp;或&nbsp;&nbsp;</div>
                            <div class="dl_jm_left_info_three" style="float:right">
														
                                <?php 
$result = Bagecms::getList('Consult', 'index_consult');
?>
                                <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&amp;uin=<?php 
echo $result[0]['QQ'];
?>
&amp;site=qq&amp;menu=yes">在线咨询</a>
                                
                            </div>
                        </div>
                        <div class="cl"></div>
                    </div>
                </div>
            </div>
            <a href="javascript:;" name="fytp" style="text-indent:-99999em; display:block;margin-bottom: -5px;zoom: 1;">1</a>
            <div class="fwbj_box">
                <div class="fyxqdown_left_title">
示例#2
0
          <tbody>
            <tr>
              <td id="postContent"><?php 
echo $bagecmsShow->content;
?>
</td>
            </tr>
          </tbody>
        </table>
      </div>
      <!--上下篇-->
    <?php 
$before = Bagecms::getList('Post', 'pageBefore', array('where' => "id<{$bagecmsShow['id']} AND catalog_id={$bagecmsShow['catalog_id']} AND status_is='Y'", 'order' => 'id DESC', 'limit' => 1));
?>
    <?php 
$behind = Bagecms::getList('Post', 'pageBehind', array('where' => "id>{$bagecmsShow['id']} AND catalog_id={$bagecmsShow['catalog_id']} AND status_is='Y'", 'order' => 'id ASC', 'limit' => 1));
?>
    <div class="preNext clear" > <em class="floatL">上一篇:
      <?php 
if ($before) {
    ?>
      <a href="<?php 
    if ($before[0]['redirect_url']) {
        echo XUtils::convertHttp($before[0]['redirect_url']);
    } else {
        echo $this->createUrl('post/show', array('id' => $before[0]['id']));
    }
    ?>
"><?php 
    echo $before[0]['title'];
    ?>
示例#3
0
      没有了
      <?php 
}
?>
      </em></div>
	<!--/上下篇-->
    
	<!--相关阅读-->
    <div id="relatedPost" class="bm">
      <div class="boxTit clear">
        <h3>相关阅读</h3>
      </div>
      <div class="bmc">
        <ul class="list clear" id="raid_div">
		<?php 
foreach ((array) Bagecms::getList('post', 'index_news', array('where' => "status_is='Y' AND catalog_id={$bagecmsShow['catalog_id']} AND id!={$bagecmsShow['id']}", 'order' => 'id DESC', 'limit' => 8)) as $newsKey => $newsRow) {
    ?>
          <li>• <a href="<?php 
    if ($newsRow['redirect_url']) {
        echo XUtils::convertHttp($newsRow['redirect_url']);
    } else {
        echo $this->createUrl('post/show', array('id' => $newsRow['id']));
    }
    ?>
" target="_blank"><?php 
    echo $newsRow['title'];
    ?>
</a></li>
		<?php 
}
?>
示例#4
0
文件: index.php 项目: bigbol/ziiwo
<!--/首页模块--> 
<!--商品-->

<div class="wrap clear ">
  <div class="indexGoods">
    <div class="col">
      <h2>产品展示<em>PRODUCT</em></h2>
      <a href="<?php 
echo $this->createUrl('post/index', array('catalog' => 'new-arrival'));
?>
" class="move" target="_blank">更多</a> </div>
    <div class="scrollBox">
      <div class="goodsImage">
        <ul class="list" >
          <?php 
foreach ((array) Bagecms::getList('post', 'index_goods', array('where' => "status_is='Y' AND catalog_id=5", 'order' => 'id DESC', 'limit' => 8)) as $goodsKey => $goodsRow) {
    ?>
          <li style="float: left; width: 162px; "><a href="<?php 
    echo $this->createUrl('post/show', array('id' => $goodsRow['id']));
    ?>
" target="_blank" title="<?php 
    echo $goodsRow['title'];
    ?>
"><img src="<?php 
    echo $this->_baseUrl;
    ?>
/<?php 
    echo $goodsRow['attach_file'];
    ?>
" width="162" height="120" alt="<?php 
    echo $goodsRow['title'];
示例#5
0
文件: footer.php 项目: bigbol/ziiwo
      <h2 class="title">网站导航</h2>
      <div class="action"> <span class="actionTitle">公司介绍</span> <a href="<?php 
echo $this->createUrl('page/show', array('name' => 'about'));
?>
">公司介绍</a> <a href="<?php 
echo $this->createUrl('page/show', array('name' => 'cultural'));
?>
">企业文化</a> <a href="<?php 
echo $this->createUrl('page/show', array('name' => 'team'));
?>
">管理团队</a> <a href="<?php 
echo $this->createUrl('page/show', array('name' => 'contact'));
?>
">联系我们</a> </div>
      <div class="action"> <span class="actionTitle">友情链接</span><?php 
foreach ((array) Bagecms::getList('link', '_link', array('where' => "status_is='Y' ", 'order' => 'id DESC', 'limit' => 4)) as $link) {
    ?>
 <a href="<?php 
    echo $link['site_url'];
    ?>
" title="<?php 
    echo $link['site_name'];
    ?>
"><?php 
    echo $link['site_name'];
    ?>
</a><?php 
}
?>
 </div>
      
示例#6
0
文件: _form.php 项目: zywh/maplecity
        <td class="tb_title" >英文名称:</td>
    </tr>
    <tr>
        <td><?php 
echo $form->textField($model, 'englishName', array('size' => 20, 'maxlength' => 50, 'class' => 'validate[required]'));
?>
    </tr>
    <tr>
        <td class="tb_title" >所在省份:</td>
    </tr>
    <tr>
        <td>
            <select name="City[province_id]" id="City_province_id" class='validate[required]'>
                <option value>==所在省份==</option>
                <?php 
foreach ((array) Bagecms::getList('Province', '_province') as $province) {
    ?>
                    <option value="<?php 
    echo $province['id'];
    ?>
" <?php 
    XUtils::selected($province['id'], $model->province_id);
    ?>
><?php 
    echo $province['name'];
    ?>
</option>
                <?php 
}
?>
            </select>
示例#7
0
文件: _form.php 项目: zywh/maplecity
    <td class="tb_title" >英文名称:</td>
  </tr>
  <tr>
    <td><?php 
echo $form->textField($model, 'englishName', array('size' => 20, 'maxlength' => 50, 'class' => 'validate[required]'));
?>
  </tr>
  <tr>
    <td class="tb_title">所在城市:</td>
  </tr>
  <tr>
    <td>
      <select name="District[city_id]" id="District_city_id" class='validate[required]'>
        <option value>==所在城市==</option>
        <?php 
foreach ((array) Bagecms::getList('City', '_city') as $city) {
    ?>
          <option value="<?php 
    echo $city['id'];
    ?>
" <?php 
    XUtils::selected($city['id'], $model->city_id);
    ?>
><?php 
    echo $city['name'];
    ?>
</option>
        <?php 
}
?>
      </select>
示例#8
0
  <h3>专题管理</h3>
  <div class="searchArea">
    <ul class="action left" >
      <li><a href="<?php 
echo $this->createUrl('specialCreate');
?>
" class="actionBtn"><span>录入</span></a></li>
    </ul>
    <div class="search right">
      <?php 
$form = $this->beginWidget('CActiveForm', array('id' => 'searchForm', 'method' => 'get', 'action' => array('special'), 'htmlOptions' => array('name' => 'xform')));
?>
      <select name="catalogId" id="catalogId">
        <option value="">=全部内容=</option>
        <?php 
foreach ((array) Bagecms::getList('Catalog', '_catalog', array('where' => 'parent_id<>0')) as $catalog) {
    ?>
          <option value="<?php 
    echo $catalog['id'];
    ?>
"><?php 
    echo $catalog['str_repeat'];
    echo $catalog['catalog_name'];
    ?>
</option>
        <?php 
}
?>
      </select>
      &nbsp;&nbsp;&nbsp;&nbsp;名称
      <input id="title" type="text" name="title" value="" class="txt" size="15"/>
示例#9
0
                        周一到周日&nbsp;&nbsp;全天24小时
                    </p>
                    <!--<p style="border-bottom: none;">
                        <span>广告热线:</span>
                        021-3160 8595
                    </p>-->
                </div>
            </div>
            <div class="topone">
                <a href="javascript:void(0);" title="QQ咨询"><img src="<?php 
echo Yii::app()->theme->baseUrl;
?>
/images/layout/top_1.png" border="0" /></a>
                <div class="back back_qq" style="display:none;">
                    <?php 
foreach ((array) Bagecms::getList('Consult', 'index_consult') as $key => $row) {
    ?>
                    <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&amp;uin=<?php 
    echo $row['QQ'];
    ?>
&amp;site=qq&amp;menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:<?php 
    echo $row['QQ'];
    ?>
:52" alt="点击这里给我发消息">QQ咨询</a>
                    <?php 
}
?>
                </div>
            </div>
            <div class="topone">
                <a href="javascript:void(0);" title="分享到微博"><img src="<?php 
示例#10
0
" <?php 
    XUtils::selected($catalog['id'], $model->catalog_id);
    ?>
><?php 
    echo $catalog['str_repeat'];
    echo $catalog['catalog_name'];
    ?>
</option>
        <?php 
}
?>
      </select>
      <select name="Post[special_id]">
        <option value="0">==所属专题==</option>
        <?php 
foreach ((array) Bagecms::getList('Special', '_special') as $speical) {
    ?>
        <option value="<?php 
    echo $speical['id'];
    ?>
" <?php 
    XUtils::selected($speical['id'], $model->special_id);
    ?>
><?php 
    echo $speical['title'];
    ?>
</option>
        <?php 
}
?>
      </select></td>