本文整理汇总了PHP中CommonController::getUsersFolderPath方法的典型用法代码示例。如果您正苦于以下问题:PHP CommonController::getUsersFolderPath方法的具体用法?PHP CommonController::getUsersFolderPath怎么用?PHP CommonController::getUsersFolderPath使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CommonController
的用法示例。
在下文中一共展示了CommonController::getUsersFolderPath方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: information
}
?>
</select>
<span class='error-country'></span>
</div>
</div>
<div class="col-md-3">
<legend>Basic information (optional)</legend>
<div class="form-group">
<label>Profile image</label>
<?php
if (!empty($data['image'])) {
?>
<div class="clear"></div>
<a class="fancybox" href="<?php
echo SITE_URL . (!empty($data['image']) ? $commonController->getUsersFolderPath($data['image']) : 'images/common/no-member-image.png');
?>
">
<img src="<?php
echo $commonController->resize_image($commonController->getUsersFolderPath($data['image']), 200);
?>
" alt="<?php
echo $data['username'];
?>
" />
</a>
<div class="clear"></div>
<?php
}
?>
<input placeholder="Select your picture" name="fileImage" id="fileImage" class="" type="file">
示例2:
</ul>
</div>
</nav>
</div>
<?php
} else {
?>
<div class="lang-row">
<div class="flag-right">
<a href="<?php
echo SITE_URL;
?>
account.php">
<h3>
<img class="header-profile-image" src="<?php
echo $commonController->resize_image(!empty($_SESSION['image']) ? $commonController->getUsersFolderPath($_SESSION['image']) : 'images/common/no-member-image.png', 50);
?>
" alt=" ">Welcome <?php
echo $_SESSION['username'];
?>
</h3>
</a>
</div>
</div>
<?php
}
?>
</div>
</div>
<?php
include 'menu.php';