Exemplo n.º 1
0
echo Yii::$app->urlManager->createUrl(['jianli/index']);
?>
">更多</a></span>最新招聘</div>
    <ul class="zxzp-nr">
        <?php 
//读取求职信息
$jobs = common\models\Jobs::find()->orderBy(['id' => SORT_DESC])->limit(11)->all();
?>
            <?php 
foreach ($jobs as $k => $v) {
    ?>
            <li><a href="<?php 
    echo Yii::$app->urlManager->createUrl(['job/show', 'id' => $v->id]);
    ?>
"><span><?php 
    echo common\components\Utils::dateFormat($v->created_at, 0);
    ?>
</span>
        	    <label class="zx-fl">[招聘]</label>
                    <?php 
    echo $v->company->name;
    ?>
       	    <label class="zx-m-f-l">招聘</label>
            <label class="zx-ys"><?php 
    echo $v->zhiweiming;
    ?>
</label>
        	</a></li>
            <?php 
}
?>
Exemplo n.º 2
0
$this->title = $model->title;
$this->params['breadcrumbs'][] = ['label' => '网络试听', 'url' => ['video/index']];
$this->params['breadcrumbs'][] = ['label' => $this->title];
?>
<div class="container ">
	<div class="container-left f-l">
    	<?php 
echo $this->render('/layouts/_breadcrumbs');
?>
      <div class="detail-nr m-t-20">
          <div class="xq-bt"><?php 
echo $model->title;
?>
</div>
          <div class="time"><span>时间:<?php 
echo common\components\Utils::dateFormat($model->created_at, 5);
?>
</span><span>来源:宇斌教育</span><span>阅读数:<?php 
echo $model->views;
?>
人</span></div>
            <div class="st-nr">
            	<div class="st-video" id="video">
                    
                </div>
            </div>

           
   
            <!--<div class="st-video-key">关键词:<span>宇斌教育造价员培训 </span><span>基础课程试听</span></div>-->
            <div class="xian m-t-20"></div>