コード例 #1
0
                        </div>
                    </div>
                    <dl class="row information">
                        <dt class="col-xs-12 col-sm-4">Company Name:</dt>
                        <dd class="col-xs-12 col-sm-8"><?php 
echo $user->userJob->agent_company_name ? Html::encode($user->userJob->agent_company_name) : Yii::t('common', 'Not set');
?>
</dd>
                        <dt class="col-xs-12 col-sm-4">Position:</dt>
                        <dd class="col-xs-12 col-sm-8"><?php 
echo $user->userJob->agent_position ? Html::encode($user->userJob->agent_position) : Yii::t('common', 'Not set');
?>
</dd>
                        <dt class="col-xs-12 col-sm-4">Office Location:</dt>
                        <dd class="col-xs-12 col-sm-8"><?php 
echo $user->userJob->agent_office_location ? Html::encode(app\modules\job\models\JobLocation::findOne(['_id' => $user->userJob->agent_office_location])->title) : Yii::t('common', 'Not set');
?>
</dd>
                        <dt class="col-xs-12 col-sm-4">City Name:</dt>
                        <dd class="col-xs-12 col-sm-8"><?php 
echo $user->userJob->agent_city_name ? Html::encode($user->userJob->agent_city_name) : Yii::t('common', 'Not set');
?>
</dd>
                        <dt class="col-xs-12 col-sm-4">Corporate Site:</dt>
                        <dd class="col-xs-12 col-sm-8"><?php 
echo $user->userJob->agent_website ? Html::encode($user->userJob->agent_website) : Yii::t('common', 'Not set');
?>
</dd>
                        <dt class="col-xs-12 col-sm-4">Email:</dt>
                        <dd class="col-xs-12 col-sm-8"><?php 
echo Yii::$app->user->identity->email;
コード例 #2
0
ファイル: job-detail.php プロジェクト: quynhvv/stepup
}
?>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>Industry Coverage</td>
                                        <td colspan="2">
                                            <?php 
echo Html::encode($userJob->getJobIndustryCoverageTitle());
?>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>Location</td>
                                        <td colspan="2"><?php 
echo Html::encode(app\modules\job\models\JobLocation::findOne(['_id' => $userJob->agent_office_location])->title);
?>
</td>
                                    </tr>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                        <div class="col-xs-12 col-sm-3 col-sidebar">
                            <?php 
echo $this->render('_sidebar');
?>
                        </div>
                    </div>
                </div>
            </div>