75 lines
2.4 KiB
PHP
75 lines
2.4 KiB
PHP
<!-- Main content -->
|
|
<div class="content-wrapper">
|
|
|
|
<?php include('common/userstrip.php'); ?>
|
|
|
|
<!-- Marketing campaigns -->
|
|
<div class="panel panel-flat">
|
|
<div class="panel-heading">
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
<!-- /marketing campaigns -->
|
|
|
|
<!-- Marketing campaigns -->
|
|
<div class="panel panel-flat">
|
|
<div class="panel-heading">
|
|
<form class="form-horizontal" action="/member/picture" method='POST' enctype="multipart/form-data">
|
|
<input type="hidden" name="MAX_FILE_SIZE" value="<?=$size_limit?>" />
|
|
<div class="panel-heading">
|
|
<div class="row">
|
|
<div class="col-md-10 col-md-offset-1">
|
|
<h5 class="panel-title">Profile</h5>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="panel-body">
|
|
<div class="row">
|
|
|
|
</div>
|
|
<div class="col-md-10 col-md-offset-1">
|
|
<div class="form-group">
|
|
|
|
<div class="sidebar-user-material-content">
|
|
<a href="/member/profile"><img src="<? echo $_SESSION['profile_picture'];?>" class="img-circle img-responsive" alt=""></a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<label id="lblWarning"><?= $upload_message; ?></label>
|
|
|
|
<div class="form-group">
|
|
<hr size='1'>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label class="col-lg-2 control-label text-semibold">Change Profile Picture:</label>
|
|
<div class="col-lg-10">
|
|
<input type="file" class="file-input" name="fileToUpload" id="fileToUpload"
|
|
accept=".jpg,.jpeg,.gif,.png"
|
|
maxFileSize="<?=$size_limit/1024.0?>"
|
|
onChange="if(this.files[0].size><?=$size_limit?>) alert('File is too large, file must be under <?=sprintf("%0.0f",$size_limit/1024.0)?>KB');">
|
|
<!-- span class="help-block">Automatically convert a file input to a bootstrap file input widget by setting its class as <code>file-input</code>.</span -->
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
</form>
|
|
</div>
|
|
</div>
|
|
<!-- /marketing campaigns -->
|
|
</div>
|
|
<!-- /main content -->
|