示例#1
0
<?php

$profil = $this->get('profil');
$settingMapper = new \Modules\User\Mappers\Setting();
?>

<link href="<?php 
echo $this->getModuleUrl('static/css/user.css');
?>
" rel="stylesheet">

<div id="panel">
    <div class="row">
        <div class="col-lg-2">
            <?php 
include APPLICATION_PATH . '/modules/user/views/panel/navi.php';
?>
        </div>
        <div class="col-lg-10">
            <legend>Avatar</legend>
            <form action="" class="form-horizontal" method="POST" enctype="multipart/form-data">
                <div class="form-group">
                    <?php 
echo $this->getTokenField();
?>
                    <div class="col-lg-2 col-sm-2 col-2">
                        <img class="panel-profile-image" src="<?php 
echo $this->getBaseUrl() . $this->escape($profil->getAvatar());
?>
" title="<?php 
echo $this->escape($profil->getName());
示例#2
0
<?php

$settingMapper = new \Modules\User\Mappers\Setting();
?>

<link href="<?php 
echo $this->getStaticUrl('js/datetimepicker/css/bootstrap-datetimepicker.min.css');
?>
" rel="stylesheet">
<style>
.input-group > .input-group-addon:not(:last-child):not(:nth-last-child(2)) {
    border-right-width: 0;
}
.input-group > :not(.input-group-addon):not(.input-group-btn) + .input-group-addon {
    border-left-width: 0;
}
.input-group > .input-group-btn:not(:first-child) > .btn,
.input-group > .input-group-btn:not(:first-child) > .btn-group > .btn {
    margin-left: -1px;
    margin-right: -1px;
}
.input-group > .input-group-btn:not(:first-child):not(:last-child) > .btn,
.input-group > .input-group-btn:not(:first-child):not(:last-child) > .btn-group > .btn {
    border-radius: 0;
}
</style>

<?php 
include APPLICATION_PATH . '/modules/events/views/index/navi.php';
?>
<form class="form-horizontal" method="POST" enctype="multipart/form-data" action="">